Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3.13 support #2216

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Python3.13 support #2216

wants to merge 2 commits into from

Conversation

xrmx
Copy link
Member

@xrmx xrmx commented Feb 7, 2025

What does this pull request do?

This is draft because the change in the buffering must be measured

Related issues

Closes #2213

xrmx added 2 commits February 7, 2025 11:22
With Python 3.13 our pattern of buffering broke because on exit the
underlying BytesIO fileobj gets released before gzip.GzipFile. So move
to keep the full buffer uncompressed and compress it before release.
Handle _partialmethod moving to __partialmethod__ in Python 3.13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python 3.13 support
1 participant