Skip to content

Conversation

musicinmybrain
Copy link
Contributor

These changed from integers to mode strings in Python 3.13, and we need to remain consistent with the standard library.

Fixes #44.

Reference:
https://docs.python.org/3.13/library/gzip.html#gzip.GzipFile.mode

Checklist

  • Pull request details were added to CHANGELOG.rst
  • Documentation was updated (if needed)

These changed from integers to mode strings in Python 3.13, and we need
to remain consistent with the standard library.

Fixes pycompression#44.

Reference:
https://docs.python.org/3.13/library/gzip.html#gzip.GzipFile.mode
@rhpvorderman
Copy link
Contributor

Good find! I will merge this ASAP, it looks like MacOS is having problems on the CI, so I will fix these problems first in a separate PR.

@rhpvorderman
Copy link
Contributor

Thanks @musicinmybrain for fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failures on Python 3.13 due to read-only Gzip(NG)File
2 participants