You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(handlers): improve gzip reader according to recent changes in cpython.
The gzip._GzipReader we're inheriting from had some changes to stay up
to date with changes in zlib library and to perform some optimization.
Specifically:
- GzipFile.read has been optimized. There is no longer a unconsumed_tail
member to write back to padded file. This is instead handled by the
ZlibDecompressor itself, which has an internal buffer.
- _add_read_data has been inlined, as it was just two calls.
We've adapted our own code to reflect these changes.
More info: python/cpython#97664
0 commit comments