]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129005: Remove copies from _pyio using take_bytes (#141539)
authorCody Maloney <cmaloney@users.noreply.github.com>
Tue, 18 Nov 2025 09:10:32 +0000 (01:10 -0800)
committerGitHub <noreply@github.com>
Tue, 18 Nov 2025 09:10:32 +0000 (10:10 +0100)
commit58f3fe0d9b9882656e629e8caab687c7fcb21b36
treea566ec24b8b2330ee73f304ef334b0dc6953206e
parent4867f717e21c3b5f0ad0e81f950c69dac6c95e6e
gh-129005: Remove copies from _pyio using take_bytes (#141539)

Memory usage now matches that of _io for large files.
Lib/_pyio.py
Lib/test/test_io/test_bufferedio.py
Lib/test/test_io/test_largefile.py