commit | 4b92b5fad3baaa22a3ab198556e1adf5a2df7d9c | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Tue Sep 07 21:05:49 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Tue Sep 07 21:05:49 2010 +0000 |
tree | da28d16bf8ee3c8a13dda8a1c3bdf696669d7f8a | |
parent | a88c83cbabb925d55714ffcfb67bd4e82dcf3547 [diff] |
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.