-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-132983: Remove EndlessZstdDecompressor remains #133856
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
Merged
AA-Turner
merged 4 commits into
python:main
from
Rogdham:remove-endlessdzstddecompressor-remains
May 11, 2025
Merged
gh-132983: Remove EndlessZstdDecompressor remains #133856
AA-Turner
merged 4 commits into
python:main
from
Rogdham:remove-endlessdzstddecompressor-remains
May 11, 2025
+30
−150
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 tasks
AA-Turner
reviewed
May 10, 2025
AA-Turner
reviewed
May 10, 2025
AA-Turner
approved these changes
May 10, 2025
Thanks @Rogdham for the PR, and @AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
May 11, 2025
…nGH-133856) (cherry picked from commit 878e0fb) Co-authored-by: Rogdham <3994389+Rogdham@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
GH-133859 is a backport of this pull request to the 3.14 branch. |
AA-Turner
added a commit
that referenced
this pull request
May 11, 2025
…33856) (#133859) gh-132983: Remove leftovers from EndlessZstdDecompressor (GH-133856) (cherry picked from commit 878e0fb) Co-authored-by: Rogdham <3994389+Rogdham@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
cc @emmatyping @AA-Turner (can't request review)
In
pyzstd
there was anEndlessZstdDecompressor
class implemented in the C module. Some remains of the code were left, this PR aims to remove them.In the comments,
<D>
refers toZstdDecompressor
whereas<E>
refers toEndlessZstdDecompressor
. I cleaned that up as well.There was
_unused_char_for_align
in theZstdDecompressor
struct. My understanding is that it was placed only for optimization indecompressor_reset_session
when setting several attributes to 0 at once. I removed it here, but if needed I can re-add it (twice to compensate the removal ofat_frame_edge
).