[issue22854] Documentation/implementation out of sync for IO

Serhiy Storchaka report at bugs.python.org
Fri Mar 18 06:02:30 EDT 2016


Serhiy Storchaka added the comment:

I have doubts about changing OSError to UnsupportedOperation in the documentation of readable() and writable(). Some implementations can try to do an IO operation without checking readable() and writable() flags.

I have lesser doubt about using half-closed pipes in tests. May be it is safe, I don't know.

----------

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


More information about the Python-bugs-list mailing list