mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.
This commit is contained in:
parent
71faefc37e
commit
7941736ddb
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -28,6 +28,9 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #13694: asynchronous connect in asyncore.dispatcher does not set addr
|
||||
attribute.
|
||||
|
||||
- Issue #11686: Added missing entries to email package __all__ lists
|
||||
(mostly the new Bytes classes).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue