]> granicus.if.org Git - python/commit
Fixed the semantic of timeout for socket.create_connection and
authorFacundo Batista <facundobatista@gmail.com>
Thu, 29 May 2008 16:39:26 +0000 (16:39 +0000)
committerFacundo Batista <facundobatista@gmail.com>
Thu, 29 May 2008 16:39:26 +0000 (16:39 +0000)
commit4f1b1ed975fe25170d00559e63f992c9bf8e9b8a
tree0f2a0434dc9ad0181633f649611e417aa4a6ea61
parentf18a70720542268586e271bbadab3fb0332b8a39
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, :)
24 files changed:
Doc/library/ftplib.rst
Doc/library/httplib.rst
Doc/library/poplib.rst
Doc/library/smtplib.rst
Doc/library/socket.rst
Doc/library/telnetlib.rst
Doc/library/urllib2.rst
Lib/ftplib.py
Lib/httplib.py
Lib/poplib.py
Lib/smtplib.py
Lib/socket.py
Lib/telnetlib.py
Lib/test/test_ftplib.py
Lib/test/test_httplib.py
Lib/test/test_poplib.py
Lib/test/test_smtplib.py
Lib/test/test_socket.py
Lib/test/test_telnetlib.py
Lib/test/test_urllib.py
Lib/test/test_urllib2.py
Lib/test/test_urllib2net.py
Lib/urllib.py
Lib/urllib2.py