Skip to content

gh-132983: Convert zstd __new__ methods to Argument Clinic#133860

Merged
AA-Turner merged 9 commits intopython:mainfrom
AA-Turner:zstd-ac-new
May 12, 2025
Merged

gh-132983: Convert zstd __new__ methods to Argument Clinic#133860
AA-Turner merged 9 commits intopython:mainfrom
AA-Turner:zstd-ac-new

Conversation

@AA-Turner
Copy link
Member

@AA-Turner AA-Turner commented May 11, 2025

  • merge the tp_init functions into tp_new and convert the latter to AC. This also means we can remove the initialised member from the object structs.
  • Change the signature of ZstdDict to make the content positional-only and is_raw kw-only.
  • Use Zstandard where appropriate to refer to the compression algorithm, instead of the reference implementation.

A

cc @Rogdham

Loading
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.

3 participants