[issue44687] io.BufferedReader:peek() closes underlying file, breaking peek/read expectations
Steve Dower
report at bugs.python.org
Fri Oct 1 16:11:11 EDT 2021
Steve Dower <steve.dower at python.org> added the comment:
New changeset a450398933d265011e1e8eae7f771b70f97945fb by AngstyDuck in branch 'main':
bpo-44687: Ensure BufferedReader objects with unread buffers can peek even when the underlying file is closed (GH-28457)
https://github.com/python/cpython/commit/a450398933d265011e1e8eae7f771b70f97945fb
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44687>
_______________________________________
More information about the Python-bugs-list
mailing list