| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
|
@ambv I am sorry to bother you. This PR fixes a behavioral change that occurs because of #27941 . Since you reviewed that PR you seem to be the most appropriate person to ping. |
Sorry, something went wrong.
|
No bother at all, thanks for pinging me on this! |
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