-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-132983: Convert zstd __new__ methods to Argument Clinic #133860
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few suggestions but otherwise looks great!
Thanks @AA-Turner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…ythonGH-133860) (cherry picked from commit d29ddbd) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
GH-133915 is a backport of this pull request to the 3.14 branch. |
Since this was merged, buildbots started showing reference leaks, e.g. here. |
See #133962 for a fix-up. |
tp_init
functions intotp_new
and convert the latter to AC. This also means we can remove theinitialised
member from the object structs.ZstdDict
to make the content positional-only andis_raw
kw-only.A
cc @Rogdham