diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2008-01-19 20:47:59 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2008-01-19 20:47:59 (GMT) |
commit | 060e6855a802a9e9bf2e6905342f704f64a3a26d (patch) | |
tree | 4e7aacd975ced3b4a7c73c29e985983bc6cda79f /Misc/NEWS | |
parent | e3979f776a3837716aa7e566e388332d85314ceb (diff) | |
download | cpython-060e6855a802a9e9bf2e6905342f704f64a3a26d.zip cpython-060e6855a802a9e9bf2e6905342f704f64a3a26d.tar.gz cpython-060e6855a802a9e9bf2e6905342f704f64a3a26d.tar.bz2 |
Patch #1019808 from Federico Schwindt: Return correct socket error when
a default timeout has been set, by using getsockopt() to get the error
condition (instead of trying another connect() call, which seems to be
a Linuxism).
2.5 bugfix candidate, assuming no one reports any problems with this change.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1120,6 +1120,9 @@ Extension Modules - Patch #1544279: Improve thread-safety of the socket module by moving the sock_addr_t storage out of the socket object. +- Patch #1019808: fix bug that causes an incorrect error to be returned + when a socket timeout is set and a connection attempt fails. + - Speed up function calls into the math module. - Bug #1588217: don't parse "= " as a soft line break in binascii's |