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

STINNER Victor report at bugs.python.org
Tue Dec 3 19:41:34 CET 2013


STINNER Victor added the comment:

"(I don' like the idea of documenting
possible behaviors, because it's non-portable, and really might change
in a future version)."

The description doesn't need to be precise, you can just say "depending on the platform, closing a file descriptor while selector.select() is polling may be ignored or raise an exception". Which can of exception is raised? It is possible to catch it and find the closed file descriptor?

----------

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


More information about the docs mailing list