]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #9792: In case of connection failure, socket.create_connection()
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 7 Sep 2010 21:05:49 +0000 (21:05 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 7 Sep 2010 21:05:49 +0000 (21:05 +0000)
commit4b92b5fad3baaa22a3ab198556e1adf5a2df7d9c
treeda28d16bf8ee3c8a13dda8a1c3bdf696669d7f8a
parenta88c83cbabb925d55714ffcfb67bd4e82dcf3547
Issue #9792: In case of connection failure, socket.create_connection()
would swallow the exception and raise a new one, making it impossible
to fetch the original errno, or to filter timeout errors.  Now the
original error is re-raised.
Lib/socket.py
Lib/test/test_socket.py
Misc/NEWS