[issue44687] io.BufferedReader:peek() closes underlying file, breaking peek/read expectations

Steve Dower report at bugs.python.org
Fri Sep 24 18:19:23 EDT 2021


Steve Dower <steve.dower at python.org> added the comment:

That change makes me much happier :)

Do you think we need a specific test added for this case? I'd guess we have plenty of coverage for the changed macro already, but clearly nothing that showed the issue before.

----------

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


More information about the Python-bugs-list mailing list