[issue25476] close() behavior on non-blocking BufferedIO objects with sockets

David Beazley report at bugs.python.org
Mon Oct 26 04:48:20 EDT 2015


David Beazley added the comment:

Please don't make flush() close the file on a BlockingIOError.   That would be an unfortunate mistake and make it impossible to implement non-blocking I/O correctly with buffered I/O.

----------

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


More information about the Python-bugs-list mailing list