cpython: a5add01e96be (original) (raw)
Mercurial > cpython
changeset 75841:a5add01e96be 3.2
Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr. [#13694]
Giampaolo Rodola' g.rodola@gmail.com | |
---|---|
date | Tue, 20 Mar 2012 16:49:55 +0100 |
parents | 09371e2ae84d |
children | f1e1b32d6301 a95b19b3b4cd |
files | Lib/asyncore.py Misc/NEWS |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-)[+] [-] Lib/asyncore.py 1 Misc/NEWS 3 |
line wrap: on
line diff
--- 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) [](#l1.5) or err == EINVAL and os.name in ('nt', 'ce'):
self.addr = address[](#l1.7) return[](#l1.8) if err in (0, EISCONN):[](#l1.9) self.addr = address[](#l1.10)
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -28,6 +28,9 @@ Core and Builtins Library ------- +- Issue #13694: asynchronous connect in asyncore.dispatcher does not set addr