[issue44687] io.BufferedReader:peek() closes underlying file, breaking peek/read expectations
Steve Dower
report at bugs.python.org
Thu Sep 23 13:17:09 EDT 2021
Steve Dower <steve.dower at python.org> added the comment:
Seems like it would be better to not check the file open/closed state on peek/read when there is still buffered data?
----------
nosy: +steve.dower
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44687>
_______________________________________
More information about the Python-bugs-list
mailing list