Skip to content

gh-132983: Refactor shared code in train_dict and finalize_dict #134432

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
merged 1 commit into from
May 21, 2025

Conversation

emmatyping
Copy link
Member

@emmatyping emmatyping commented May 21, 2025

This PR refactors shared code between _zstd.train_dict and _zstd.finalize_dict, related to verifying and getting the size and number of samples.

@gpshead gpshead merged commit c64a214 into python:main May 21, 2025
48 checks passed
@miss-islington-app
Copy link

Thanks @emmatyping for the PR, and @gpshead 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 21, 2025
…pythonGH-134432)

Refactor shared code in train_dict and finalize_dict
(cherry picked from commit c64a214)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
@bedevere-app
Copy link

bedevere-app bot commented May 21, 2025

GH-134442 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label May 21, 2025
gpshead pushed a commit that referenced this pull request May 21, 2025
GH-134432) (#134442)

gh-132983: Refactor shared code in train_dict and finalize_dict (GH-134432)

Refactor shared code in train_dict and finalize_dict
(cherry picked from commit c64a214)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
lkollar pushed a commit to lkollar/cpython that referenced this pull request May 26, 2025
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.

2 participants