[issue36294] `io.BufferedIOBase` returns `None`

Martin Panter report at bugs.python.org
Fri Mar 15 04:35:11 EDT 2019


Martin Panter <vadmium+py at gmail.com> added the comment:

The general problem of non-blocking reads with BufferedIOBase is covered by Issue 13322. The documentation and implementations do not agree. I suggest to not rely on any particular behaviour reading BufferedIOBase objects in non-blocking mode.

The problem of the concrete class BufferedReader (what “stdin.buffer” usually is) was also recently raised in Issue 35869.

----------
nosy: +martin.panter
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> buffered read() and write() does not raise BlockingIOError

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36294>
_______________________________________


More information about the Python-bugs-list mailing list