[issue19876] selectors (and asyncio?): document behaviour on closed files/sockets

Guido van Rossum report at bugs.python.org
Mon Dec 9 19:22:46 CET 2013


Guido van Rossum added the comment:

Sadly, the optimistic code doesn't work on Windows.  I think it may be because the socketpair() helper at the top of test_selectors.py uses an extra socket ('l') and the handles just don't match up (I get a failure on assert wr2.fileno() == w).  So I propose to stick with the current solution of skipping the test on Windows.

I'll close this bug in 24 hours unless I get a response sooner.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19876>
_______________________________________


More information about the Python-bugs-list mailing list