diff options
author | Chris Markiewicz <markiewicz@stanford.edu> | 2025-03-07 22:04:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-07 21:04:45 -0600 |
commit | 72e5b25efb580fb1f0fdfade516be90d90822164 (patch) | |
tree | 64dae27e381d598dec62d62d48c6e35d65bc6a94 /Lib/test/_test_multiprocessing.py | |
parent | 78790811989ab47319e2ee725e0c435b3cdd21ab (diff) | |
download | cpython-72e5b25efb580fb1f0fdfade516be90d90822164.tar.gz cpython-72e5b25efb580fb1f0fdfade516be90d90822164.zip |
gh-128646: Implement GzipFile.readinto[1]() methods (GH-128647)
The new methods simply delegate to the underlying buffer, much like the existing GzipFile.read[1] methods. This avoids extra allocations caused by the BufferedIOBase.readinto implementation previously used.
This commit also factors out a common readability check rather than copying it an additional two times.
Diffstat (limited to 'Lib/test/_test_multiprocessing.py')
0 files changed, 0 insertions, 0 deletions