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
e9992292
Commit
e9992292
authored
Oct 26, 2012
by
Trent Nelson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #16274: Fix test_asyncore on Solaris.
parent
e793f44a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Lib/test/test_asyncore.py
Lib/test/test_asyncore.py
+3
-2
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_asyncore.py
View file @
e9992292
...
...
@@ -484,8 +484,9 @@ class TCPServer(asyncore.dispatcher):
return
self
.
socket
.
getsockname
()[:
2
]
def
handle_accept
(
self
):
sock
,
addr
=
self
.
accept
()
self
.
handler
(
sock
)
pair
=
self
.
accept
()
if
pair
is
not
None
:
self
.
handler
(
pair
[
0
])
def
handle_error
(
self
):
raise
...
...
Misc/NEWS
View file @
e9992292
...
...
@@ -435,6 +435,8 @@ Extension Modules
Tests
-----
-
Issue
#
16274
:
Fix
test_asyncore
on
Solaris
.
Patch
by
Giampaolo
Rodola
'.
- Issue #15040: Close files in mailbox tests for PyPy compatibility.
Original patch by Matti Picus.
...
...
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