kevinconway added the comment:

I've added a unit test to the patch that asserts sock.accept() is called the 
appropriate number of times.

Worth a note, I had to adjust one of the existing tests to account for the new 
backlog argument. There is a default value for the argument to preserve 
backwards compat for any callers, but the mock used in the test was not 
tolerant of having an extra arg available.

----------
Added file: http://bugs.python.org/file44289/multi-accept-2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27906>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to