diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2012-03-20 15:46:57 (GMT) |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2012-03-20 15:46:57 (GMT) |
commit | 3d3cf48e53404996cff2e5a7e35812245b3e0a31 (patch) | |
tree | 067905e6d6d4fbec96af1da5df3e2afab14bf8f8 | |
parent | 0e3c1075495dfc1ed481f65091d1f9241868324a (diff) | |
download | cpython-3d3cf48e53404996cff2e5a7e35812245b3e0a31.zip cpython-3d3cf48e53404996cff2e5a7e35812245b3e0a31.tar.gz cpython-3d3cf48e53404996cff2e5a7e35812245b3e0a31.tar.bz2 |
Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.
-rw-r--r-- | Lib/asyncore.py | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 35db387..d8d28a4 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -345,6 +345,7 @@ class dispatcher: err = self.socket.connect_ex(address) if err in (EINPROGRESS, EALREADY, EWOULDBLOCK) \ or err == EINVAL and os.name in ('nt', 'ce'): + self.addr = address return if err in (0, EISCONN): self.addr = address @@ -27,6 +27,9 @@ Core and Builtins Library ------- +- Issue #13694: asynchronous connect in asyncore.dispatcher does not set addr + attribute. + - Issue #10484: Fix the CGIHTTPServer's PATH_INFO handling problem. - Issue #11199: Fix the with urllib which hangs on particular ftp urls. |