Gregory P. Smith
9d3252154f
issue3972: HTTPConnection and HTTPSConnection now support a
...
source_address parameter.
Also cleans up an annotation in the socket documentation.
2010-01-03 02:06:07 +00:00
Gregory P. Smith
79a3eb1058
Adds an optional source_address parameter to socket.create_connection().
...
For use by issue3972.
2010-01-03 01:29:44 +00:00
Ezio Melotti
062d2b52f3
#7388 : "python".capitalize() in the Doc
2009-12-19 22:41:49 +00:00
Georg Brandl
f3d520cc16
#6591 : add reference to ioctl in fcntl module for platforms other than Windows.
2009-07-29 16:09:17 +00:00
Amaury Forgeot d'Arc
388637d373
Remove last remnants of the ipaddr package.
...
The changes in mcast.py come from the first version of the patch for issue5379.
2009-06-23 21:53:46 +00:00
Georg Brandl
5000b3b8a7
#6175 : document that inet_aton supports alternate input formats with less than three dots.
2009-06-04 10:27:21 +00:00
Georg Brandl
e3a3726b3d
#5916 , 5917: small socket doc improvements.
2009-05-04 20:49:17 +00:00
Gregory P. Smith
8367becc02
Clarify socket timeout behavior vs system network stack behavior on connect
...
for issue5293.
2009-02-18 05:46:11 +00:00
Georg Brandl
7044b11818
Remove tabs from the documentation.
2009-01-03 21:04:55 +00:00
Georg Brandl
c62ef8b4d9
Remove trailing whitespace.
2009-01-03 20:55:06 +00:00
Benjamin Peterson
accb38c74f
clarify by splitting into multiple paragraphs
2008-11-03 20:43:20 +00:00
Andrew M. Kuchling
8798c90df2
Improve wording
2008-09-24 17:27:55 +00:00
Facundo Batista
4f1b1ed975
Fixed the semantic of timeout for socket.create_connection and
...
all the upper level libraries that use it, including urllib2.
Added and fixed some tests, and changed docs correspondingly.
Thanks to John J Lee for the patch and the pusing, :)
2008-05-29 16:39:26 +00:00
Georg Brandl
e152a77d96
socketserver renaming reversal part 3: move the module into the right
...
place and fix all references to it. Closes #2926 .
2008-05-24 18:31:28 +00:00
Alexandre Vassalotti
d192c925ac
Updated all import statements to use the new socketserver module name.
...
Renamed socketserver module in its own documentation.
Renamed documentation references.
2008-05-12 02:11:22 +00:00
Georg Brandl
a36909e10d
Fix typo.
2008-05-11 10:13:59 +00:00
Georg Brandl
d809603623
#2742 : ``''`` is not converted to NULL in getaddrinfo.
2008-05-11 07:06:05 +00:00
Georg Brandl
98fd03637f
#2752 : fix second example too.
2008-05-05 21:06:48 +00:00
Georg Brandl
08c72187ef
#2752 : wrong meaning of '' for socket host.
2008-05-04 09:15:04 +00:00
Georg Brandl
907a720f89
A lot more typo fixes by Ori Avtalion.
2008-02-22 12:31:45 +00:00
Georg Brandl
2a5d1c3493
Update IPv6 RFC number.
2008-02-01 11:59:08 +00:00
Andrew M. Kuchling
95f17bbfc0
Markup fix
2008-01-16 13:01:51 +00:00
Christian Heimes
fb2d25a154
Issue #1646 : Make socket support TIPC. The socket module now has support
...
for TIPC under Linux, see http://tipc.sf.net/ for more information.
Thanks to Alberto Bertogli for the patch
2008-01-07 16:12:44 +00:00
Georg Brandl
2fa2f5d3e5
Revert socket.rst to unix-eol.
2008-01-05 20:29:13 +00:00
Christian Heimes
04ae916fa2
Added interface to Windows' WSAIoctl and a simple example for a network sniffer.
2008-01-04 15:23:30 +00:00
Georg Brandl
b19be571e0
Some cleanup in the docs.
2007-12-29 10:57:00 +00:00
Gregory P. Smith
e9fef694b4
Change socket.error to inherit from IOError rather than being a stand
...
alone class. This addresses the primary concern in
http://bugs.python.org/issue1706815
python-dev discussion here:
http://mail.python.org/pipermail/python-dev/2007-July/073749.html
I chose IOError rather than EnvironmentError as the base class since
socket objects are often used as transparent duck typed file objects
in code already prepared to deal with IOError exceptions.
also a minor fix:
urllib2 - fix a couple places where IOError was raised rather than URLError.
for better or worse, URLError already inherits from IOError so
this won't break any existing code.
test_urllib2net - replace bad ftp urls.
2007-09-09 23:36:46 +00:00
Andrew M. Kuchling
364b841683
Wording change
2007-09-01 21:17:58 +00:00
Guido van Rossum
8ee23bbe7c
Patch 10124 by Bill Janssen, docs for the new ssl code.
2007-08-27 19:11:11 +00:00
Guido van Rossum
4f2c3ddca4
Server-side SSL and certificate validation, by Bill Janssen.
...
While cleaning up Bill's C style, I may have cleaned up some code
he didn't touch as well (in _ssl.c).
2007-08-25 15:08:43 +00:00
Georg Brandl
4ad9b8206c
Bug #1752332 : httplib no longer uses socket.getaddrinfo().
2007-08-23 21:18:44 +00:00
Georg Brandl
8ec7f65613
Move the 2.6 reST doc tree in place.
2007-08-15 14:28:01 +00:00