Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7941736d
Commit
7941736d
authored
Mar 20, 2012
by
Giampaolo Rodola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.
parent
71faefc3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
Lib/asyncore.py
Lib/asyncore.py
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/asyncore.py
View file @
7941736d
...
...
@@ -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
...
...
Misc/NEWS
View file @
7941736d
...
...
@@ -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).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment