SIGN IN SIGN UP

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.
C
Chris Markiewicz committed
72e5b25efb580fb1f0fdfade516be90d90822164
Parent: 7879081
Committed by GitHub <noreply@github.com> on 3/8/2025, 3:04:45 AM