| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ythonGH-159974) Backport to 3.15 and 3.14. Both branches use a bytearray instead of PyBytesWriter; the test lives in Lib/test/test_io.py on 3.14. (cherry picked from commit 87eaef1) Co-authored-by: Jelle Zijlstra <jelle@openai.com>
| Back | FazBrowse Home | New Git URL |
Backport to 3.15 and 3.14. Both branches use a bytearray instead of PyBytesWriter; the test lives in Lib/test/test_io.py on 3.14.
(cherry picked from commit 87eaef1)
Co-authored-by: Jelle Zijlstra jelle@openai.com
Backport of #159974 to 3.14.
Use the size of 3.14's bytearray to compute how many bytes remain. Move the short-read regression into Lib/test/test_io.py.
Ran test_io on a free-threaded 3.14 build, including the C and Python short-read regression.