Commit e9992292 authored by Trent Nelson's avatar Trent Nelson

Issue #16274: Fix test_asyncore on Solaris.

parent e793f44a
......@@ -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
......
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment