]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-80109: Fix io.TextIOWrapper dropping the internal buffer during write() (GH-22535)
authorZackery Spytz <zspytz@gmail.com>
Mon, 8 Jan 2024 10:33:34 +0000 (02:33 -0800)
committerGitHub <noreply@github.com>
Mon, 8 Jan 2024 10:33:34 +0000 (12:33 +0200)
commit73c93265634257b1488262097e024c1727260cfd
tree356a9ae1cf8d5019b3bf2dad352c80c750394fdf
parente5d0316f35a62df05e1b196689f6998662631836
gh-80109: Fix io.TextIOWrapper dropping the internal buffer during write() (GH-22535)

io.TextIOWrapper was dropping the internal decoding buffer
during read() and write() calls.
Lib/_pyio.py
Lib/test/test_io.py
Misc/NEWS.d/next/Library/2020-10-03-23-47-28.bpo-35928.E0iPAa.rst [new file with mode: 0644]
Modules/_io/textio.c