René's URL Explorer Experiment


Title: gh-132983: Refactor shared code in train_dict and finalize_dict by emmatyping · Pull Request #134432 · python/cpython · GitHub

Open Graph Title: gh-132983: Refactor shared code in train_dict and finalize_dict by emmatyping · Pull Request #134432 · python/cpython

X Title: gh-132983: Refactor shared code in train_dict and finalize_dict by emmatyping · Pull Request #134432 · python/cpython

Description: This PR refactors shared code between _zstd.train_dict and _zstd.finalize_dict, related to verifying and getting the size and number of samples. Issue: Implement PEP 784 - Adding Zstandard to the...

Open Graph Description: This PR refactors shared code between _zstd.train_dict and _zstd.finalize_dict, related to verifying and getting the size and number of samples. Issue: Implement PEP 784 - Adding Zstandard to the...

X Description: This PR refactors shared code between _zstd.train_dict and _zstd.finalize_dict, related to verifying and getting the size and number of samples. Issue: Implement PEP 784 - Adding Zstandard to the...

Opengraph URL: https://github.com/python/cpython/pull/134432

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/*id(.:format)
route-controllerpull_requests
route-actionshow
fetch-noncev2:82047a1f-43be-1409-5bd0-3acc8018e30c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC6EE:166D49:15E67EB:1E361FC:696A98E7
html-safe-nonce267e2108a2b7012caced7f5e80aa6a283ecb87bb7314c730b0799a8e68064625
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkVFOjE2NkQ0OToxNUU2N0VCOjFFMzYxRkM6Njk2QTk4RTciLCJ2aXNpdG9yX2lkIjoiODg1NDgwOTYyMzY5Njg5ODMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf87634c4827c858eadd5680c215ee790cca6c5d2cb6568efd33ceb63f90fc59f
hovercard-subject-tagpull_request:2534642400
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/134432
twitter:imagehttps://opengraph.githubassets.com/e0cf4d731019dda03dc8a1f3d0b16d614353fd03e39372279e0d2295deb95252/python/cpython/pull/134432
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e0cf4d731019dda03dc8a1f3d0b16d614353fd03e39372279e0d2295deb95252/python/cpython/pull/134432
og:image:altThis PR refactors shared code between _zstd.train_dict and _zstd.finalize_dict, related to verifying and getting the size and number of samples. Issue: Implement PEP 784 - Adding Zstandard to the...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameemmatyping
hostnamegithub.com
expected-hostnamegithub.com
Nonec0d8175e41e0e55b9e984c935b24b808cabab919dd3174aa45dac3ef503ed1af
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release99aab454e5ddc8df30805fb76c114c3008a15842
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/134432#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F134432
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F134432
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/134432
Reloadhttps://github.com/python/cpython/pull/134432
Reloadhttps://github.com/python/cpython/pull/134432
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/134432
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/134432
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/134432#issue-comment-box
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
emmatyping:zstd-refactor-dict-codehttps://github.com/emmatyping/cpython/tree/zstd-refactor-dict-code
gh-132983: Refactor shared code in train_dict and finalize_dict https://github.com/python/cpython/pull/134432#top
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
emmatyping:zstd-refactor-dict-codehttps://github.com/emmatyping/cpython/tree/zstd-refactor-dict-code
Conversation 2 https://github.com/python/cpython/pull/134432
Commits 1 https://github.com/python/cpython/pull/134432/commits
Checks 48 https://github.com/python/cpython/pull/134432/checks
Files changed https://github.com/python/cpython/pull/134432/files
Please reload this pagehttps://github.com/python/cpython/pull/134432
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
May 21, 2025https://github.com/python/cpython/pull/134432#issue-3080501536
Please reload this pagehttps://github.com/python/cpython/pull/134432
Implement PEP 784 - Adding Zstandard to the Python standard library #132983https://github.com/python/cpython/issues/132983
Please reload this pagehttps://github.com/python/cpython/pull/134432
https://github.com/emmatyping
Refactor shared code in train_dict and finalize_dicthttps://github.com/python/cpython/pull/134432/commits/15e754c59dc4e68308b243f065c0bb781401a11f
15e754chttps://github.com/python/cpython/pull/134432/commits/15e754c59dc4e68308b243f065c0bb781401a11f
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
May 21, 2025https://github.com/python/cpython/pull/134432#event-17755457963
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 21, 2025https://github.com/python/cpython/pull/134432#event-17755459710
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 21, 2025 https://github.com/python/cpython/pull/134432#ref-issue-3021300364
Implement PEP 784 - Adding Zstandard to the Python standard library #132983 https://github.com/python/cpython/issues/132983
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
May 21, 2025 https://github.com/python/cpython/pull/134432#pullrequestreview-2858320058
View reviewed changes https://github.com/python/cpython/pull/134432/files/15e754c59dc4e68308b243f065c0bb781401a11f
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 21, 2025https://github.com/python/cpython/pull/134432#event-17756712335
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
c64a214https://github.com/python/cpython/commit/c64a21454b3c139af9e88941a286885fc4828a7e
May 21, 2025https://github.com/python/cpython/pull/134432#event-17756717660
Please reload this pagehttps://github.com/python/cpython/pull/134432
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
May 21, 2025https://github.com/python/cpython/pull/134432#issuecomment-2898460887
@emmatypinghttps://github.com/emmatyping
@gpsheadhttps://github.com/gpshead
Please reload this pagehttps://github.com/python/cpython/pull/134432
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
May 21, 2025https://github.com/python/cpython/pull/134432#event-17756718725
miss-islingtonhttps://github.com/miss-islington
May 21, 2025 https://github.com/python/cpython/pull/134432#ref-commit-24c6f25
https://github.com/emmatyping
https://github.com/miss-islington
pythongh-132983https://github.com/python/cpython/issues/132983
: Refactor shared code in train_dict and finalize_dict (https://github.com/miss-islington/cpython/commit/24c6f25273246735879ca15e474340f1f8e5735e
https://github.com/python/cpython/pull/134432
24c6f25https://github.com/miss-islington/cpython/commit/24c6f25273246735879ca15e474340f1f8e5735e
…pythonGH-134432https://github.com/python/cpython/pull/134432
c64a214https://github.com/miss-islington/cpython/commit/c64a21454b3c139af9e88941a286885fc4828a7e
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 21, 2025https://github.com/python/cpython/pull/134432#issuecomment-2898461513
GH-134442https://github.com/python/cpython/pull/134442
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/134432
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
May 21, 2025https://github.com/python/cpython/pull/134432#event-17756722283
gpsheadhttps://github.com/gpshead
May 21, 2025 https://github.com/python/cpython/pull/134432#ref-commit-cdc92cd
https://github.com/miss-islington
https://github.com/emmatyping
[3.14]https://github.com/python/cpython/commit/cdc92cd9fc17f6e06c51584cde2ab6cf21f188d4
gh-132983https://github.com/python/cpython/issues/132983
: Refactor shared code in train_dict and finalize_dict (https://github.com/python/cpython/commit/cdc92cd9fc17f6e06c51584cde2ab6cf21f188d4
cdc92cdhttps://github.com/python/cpython/commit/cdc92cd9fc17f6e06c51584cde2ab6cf21f188d4
GH-134432https://github.com/python/cpython/pull/134432
#134442https://github.com/python/cpython/pull/134442
gh-132983https://github.com/python/cpython/issues/132983
GH-134432https://github.com/python/cpython/pull/134432
c64a214https://github.com/python/cpython/commit/c64a21454b3c139af9e88941a286885fc4828a7e
lkollarhttps://github.com/lkollar
May 26, 2025 https://github.com/python/cpython/pull/134432#ref-commit-76647d2
https://github.com/emmatyping
https://github.com/lkollar
pythongh-132983https://github.com/python/cpython/issues/132983
: Refactor shared code in train_dict and finalize_dict (https://github.com/lkollar/cpython/commit/76647d2830f6f06ea8ff51ec85b89761e1d08587
https://github.com/python/cpython/pull/134432
76647d2https://github.com/lkollar/cpython/commit/76647d2830f6f06ea8ff51ec85b89761e1d08587
…pythonGH-134432https://github.com/python/cpython/pull/134432
Pranjal095https://github.com/Pranjal095
Jul 12, 2025 https://github.com/python/cpython/pull/134432#ref-commit-c2cb04b
https://github.com/emmatyping
https://github.com/Pranjal095
pythongh-132983https://github.com/python/cpython/issues/132983
: Refactor shared code in train_dict and finalize_dict (https://github.com/Pranjal095/cpython/commit/c2cb04b728c4cc1277dda82be6bfed7fb06c142f
https://github.com/python/cpython/pull/134432
c2cb04bhttps://github.com/Pranjal095/cpython/commit/c2cb04b728c4cc1277dda82be6bfed7fb06c142f
…pythonGH-134432https://github.com/python/cpython/pull/134432
taegyunkimhttps://github.com/taegyunkim
Aug 4, 2025 https://github.com/python/cpython/pull/134432#ref-commit-c267e74
https://github.com/emmatyping
https://github.com/taegyunkim
pythongh-132983https://github.com/python/cpython/issues/132983
: Refactor shared code in train_dict and finalize_dict (https://github.com/taegyunkim/cpython/commit/c267e7432033d650e4684014ed043e849e04477f
https://github.com/python/cpython/pull/134432
c267e74https://github.com/taegyunkim/cpython/commit/c267e7432033d650e4684014ed043e849e04477f
…pythonGH-134432https://github.com/python/cpython/pull/134432
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F134432
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/python/cpython/pull/134432/files/15e754c59dc4e68308b243f065c0bb781401a11f
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/134432
https://github.com/emmatyping
https://github.com/gpshead
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.