Skip to content

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

Merged
gpshead merged 1 commit into
python:mainfrom
emmatyping:zstd-refactor-dict-code
May 21, 2025
Merged

gpshead merged 1 commit into
python:mainfrom
emmatyping:zstd-refactor-dict-code

Conversation

@emmatyping

@emmatyping emmatyping commented May 21, 2025 •

Copy link
Copy Markdown
Member

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
@miss-islington-app

Copy link
Copy Markdown

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

bedevere-app Bot commented May 21, 2025

Copy link
Copy Markdown

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
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
gostak-dd pushed a commit to gostak-dd/cpython that referenced this pull request Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants