| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
This can have a 'skip news' label, but I can't add it myself. Added regression tests now and added a news item accordingly. |
Sorry, something went wrong.
This is to keep error compatibility with 3.10 and lower.
|
Closing this PR as it confounds two issues: Header and trailer |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This is to keep error compatibility with 3.10 and lower.
It was missed in my last PR #27941. When the gzip member contains an incomplete trailer (less than 8 bytes) the GzipFile-based implementation of 3.10 and below would throuw an EOF error, so the newer in-memory implementation should do the same.
Currently it throws 'struct.error: unpack requires a buffer of 8 bytes' when the trailer is truncated.
https://bugs.python.org/issue45507