René's URL Explorer Experiment


Title: gh-141510: Support frozendict in pprint by vstinner · Pull Request #144908 · python/cpython · GitHub

Open Graph Title: gh-141510: Support frozendict in pprint by vstinner · Pull Request #144908 · python/cpython

X Title: gh-141510: Support frozendict in pprint by vstinner · Pull Request #144908 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Issue: PEP 814: Add built-in frozendict type #141510

X Description: Issue: PEP 814: Add built-in frozendict type #141510

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2c87a1d0-463a-c9a5-d6d8-68caa1ba4dec
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA1EC:381ACD:1D55ED8:289B2B1:6A501CCB
html-safe-nonce16a04f342eaad8c7c5952fd9fa666ac95566492b1f7bf8721dc36b7eadbf55de
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUVDOjM4MUFDRDoxRDU1RUQ4OjI4OUIyQjE6NkE1MDFDQ0IiLCJ2aXNpdG9yX2lkIjoiNDQ2MDAwMTAwODExMDU0MjAyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca9d884b933f2043b1a324b7acb0f45d9f200d157387d0863cf807e5d707ac3b3
hovercard-subject-tagpull_request:3294048307
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/144908/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/cdb6ba1996ef7d87891705b6e01bea7f7388232429d2d2721ee67ac90318aed8/python/cpython/pull/144908
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cdb6ba1996ef7d87891705b6e01bea7f7388232429d2d2721ee67ac90318aed8/python/cpython/pull/144908
og:image:altIssue: PEP 814: Add built-in frozendict type #141510
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None14f013003d3992e8746116a6f2f55cd2fdaccd329ee0423392831ae051ecb535
turbo-cache-controlno-cache
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
release26ee7c1a62943cf19a6fcc1d1ac93ac83465c885
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/144908#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144908
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F144908
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/144908
Reloadhttps://github.com/python/cpython/pull/144908
Reloadhttps://github.com/python/cpython/pull/144908
Please reload this pagehttps://github.com/python/cpython/pull/144908
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/144908
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:frozendict_pprinthttps://github.com/vstinner/cpython/tree/frozendict_pprint
Conversationhttps://github.com/python/cpython/pull/144908
Commits7 (7)https://github.com/python/cpython/pull/144908/commits
Checkshttps://github.com/python/cpython/pull/144908/checks
Files changedhttps://github.com/python/cpython/pull/144908/files
gh-141510: Support frozendict in pprinthttps://github.com/python/cpython/pull/144908#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:frozendict_pprinthttps://github.com/vstinner/cpython/tree/frozendict_pprint
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 17, 2026https://github.com/python/cpython/pull/144908#issue-3952411321
Please reload this pagehttps://github.com/python/cpython/pull/144908
PEP 814: Add built-in frozendict type #141510https://github.com/python/cpython/issues/141510
Please reload this pagehttps://github.com/python/cpython/pull/144908
https://github.com/vstinner
pythongh-141510https://github.com/python/cpython/issues/141510
: Support frozendict in pprinthttps://github.com/python/cpython/pull/144908/commits/5d5b40d8d3f556bbce4d694a81b4fbf37a3ca225
5d5b40dhttps://github.com/python/cpython/pull/144908/commits/5d5b40d8d3f556bbce4d694a81b4fbf37a3ca225
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Feb 17, 2026https://github.com/python/cpython/pull/144908#event-22851405617
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 17, 2026https://github.com/python/cpython/pull/144908#event-22851406697
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 17, 2026 https://github.com/python/cpython/pull/144908#ref-issue-3621218426
PEP 814: Add built-in frozendict type #141510 https://github.com/python/cpython/issues/141510
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 18, 2026https://github.com/python/cpython/pull/144908#issuecomment-3922151120
@freddrakehttps://github.com/freddrake
Please reload this pagehttps://github.com/python/cpython/pull/144908
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Feb 21, 2026 https://github.com/python/cpython/pull/144908#ref-issue-3970718292
Many pure python tools that have a special cases for dict should accept frozendict as well. #145056 https://github.com/python/cpython/issues/145056
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
February 21, 2026 11:03https://github.com/python/cpython/pull/144908#event-22967535158
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Feb 21, 2026 https://github.com/python/cpython/pull/144908#pullrequestreview-3835484435
View reviewed changes https://github.com/python/cpython/pull/144908/files/5d5b40d8d3f556bbce4d694a81b4fbf37a3ca225
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/144908#pullrequestreview-3835484435
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/144908
Lib/pprint.pyhttps://github.com/python/cpython/pull/144908/files/5d5b40d8d3f556bbce4d694a81b4fbf37a3ca225#diff-2de5df6eb7096f61fad8ce401b98985b3e0f1c0710f82120b52b94df45f753be
Please reload this pagehttps://github.com/python/cpython/pull/144908
https://github.com/devdanzin
devdanzinhttps://github.com/devdanzin
Feb 21, 2026https://github.com/python/cpython/pull/144908#issuecomment-3938622937
Please reload this pagehttps://github.com/python/cpython/pull/144908
https://github.com/devdanzin
devdanzinhttps://github.com/devdanzin
Feb 21, 2026 https://github.com/python/cpython/pull/144908#ref-issue-3971848659
Teach pprint about frozendict #145070 https://github.com/python/cpython/issues/145070
vstinnerhttps://github.com/vstinner
February 21, 2026 12:26https://github.com/python/cpython/pull/144908#commits-pushed-6d36afc
https://github.com/vstinner
https://github.com/devdanzin
Move frozendict to its own functionhttps://github.com/python/cpython/pull/144908/commits/6d36afcd7e2dbcebcee52481c916a8afb9aec228
6d36afchttps://github.com/python/cpython/pull/144908/commits/6d36afcd7e2dbcebcee52481c916a8afb9aec228
https://github.com/vstinner
Add tests on keys(), values(), items()https://github.com/python/cpython/pull/144908/commits/09c2d9baa94aa9e66e1a6712a24edb5efecba462
09c2d9bhttps://github.com/python/cpython/pull/144908/commits/09c2d9baa94aa9e66e1a6712a24edb5efecba462
https://github.com/vstinner
Merge branch 'main' into frozendict_pprinthttps://github.com/python/cpython/pull/144908/commits/9e2c566622f5b1e65868263c62960202f48456d3
9e2c566https://github.com/python/cpython/pull/144908/commits/9e2c566622f5b1e65868263c62960202f48456d3
https://github.com/vstinner
Revert _pprint_dict() changeshttps://github.com/python/cpython/pull/144908/commits/fb61467203105da1396957b4a4ee235c991a6be1
fb61467https://github.com/python/cpython/pull/144908/commits/fb61467203105da1396957b4a4ee235c991a6be1
https://github.com/vstinner
Add tests on empty frozendict and subclasseshttps://github.com/python/cpython/pull/144908/commits/3ea8049e614bd7f64fa495f22371418249a3d0b1
3ea8049https://github.com/python/cpython/pull/144908/commits/3ea8049e614bd7f64fa495f22371418249a3d0b1
https://github.com/vstinner
Add frozendict support to _safe_repr()https://github.com/python/cpython/pull/144908/commits/9afd4bb6a892942d862d46a32a5a5a623346c349
9afd4bbhttps://github.com/python/cpython/pull/144908/commits/9afd4bb6a892942d862d46a32a5a5a623346c349
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 21, 2026https://github.com/python/cpython/pull/144908#issuecomment-3938676701
Please reload this pagehttps://github.com/python/cpython/pull/144908
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Feb 21, 2026 https://github.com/python/cpython/pull/144908#pullrequestreview-3835515498
View reviewed changes https://github.com/python/cpython/pull/144908/files/9afd4bb6a892942d862d46a32a5a5a623346c349
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/144908#pullrequestreview-3835515498
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/144908
Lib/pprint.pyhttps://github.com/python/cpython/pull/144908/files/9afd4bb6a892942d862d46a32a5a5a623346c349#diff-2de5df6eb7096f61fad8ce401b98985b3e0f1c0710f82120b52b94df45f753be
serhiy-storchakahttps://github.com/serhiy-storchaka
Feb 21, 2026https://github.com/python/cpython/pull/144908#discussion_r2836131827
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/144908
vstinnerhttps://github.com/vstinner
Feb 21, 2026https://github.com/python/cpython/pull/144908#discussion_r2836134026
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/144908
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 core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 21, 2026https://github.com/python/cpython/pull/144908#event-22967932140
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
770d354https://github.com/python/cpython/commit/770d354549914e3538e7db07e537dab17ece2610
Feb 21, 2026https://github.com/python/cpython/pull/144908#event-22969704701
Please reload this pagehttps://github.com/python/cpython/pull/144908
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
February 21, 2026 16:08https://github.com/python/cpython/pull/144908#event-22969704948
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
Feb 21, 2026https://github.com/python/cpython/pull/144908#event-22969705098
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 21, 2026https://github.com/python/cpython/pull/144908#issuecomment-3939024938
@devdanzinhttps://github.com/devdanzin
Please reload this pagehttps://github.com/python/cpython/pull/144908
brijkapadiahttps://github.com/brijkapadia
Feb 28, 2026 https://github.com/python/cpython/pull/144908#ref-commit-bb67255
https://github.com/vstinner
https://github.com/devdanzin
https://github.com/brijkapadia
pythongh-141510https://github.com/python/cpython/issues/141510
: Support frozendict in pprint (https://github.com/brijkapadia/cpython/commit/bb67255b8359b4c94c885f6d636af8e61930fd7f
python#144908https://github.com/python/cpython/pull/144908
)https://github.com/brijkapadia/cpython/commit/bb67255b8359b4c94c885f6d636af8e61930fd7f
bb67255https://github.com/brijkapadia/cpython/commit/bb67255b8359b4c94c885f6d636af8e61930fd7f
Use write instead of stream.write in PrettyPrinter._pprint_frozendict #145887 https://github.com/python/cpython/issues/145887
gh-145887: Use write() instead of stream.write() in PrettyPrinter._pprint_frozendict #145894 https://github.com/python/cpython/pull/145894
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/144908#ref-commit-21954f4
https://github.com/vstinner
https://github.com/devdanzin
https://github.com/ljfp
pythongh-141510https://github.com/python/cpython/issues/141510
: Support frozendict in pprint (https://github.com/ljfp/cpython/commit/21954f4b5c75470b2b21d27a935ef71d8e554e54
python#144908https://github.com/python/cpython/pull/144908
)https://github.com/ljfp/cpython/commit/21954f4b5c75470b2b21d27a935ef71d8e554e54
21954f4https://github.com/ljfp/cpython/commit/21954f4b5c75470b2b21d27a935ef71d8e554e54
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F144908
https://github.com/devdanzin
devdanzin https://github.com/devdanzin
https://github.com/python/cpython/pull/144908/files/5d5b40d8d3f556bbce4d694a81b4fbf37a3ca225
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/144908/files/9afd4bb6a892942d862d46a32a5a5a623346c349
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/144908
https://github.com/vstinner
https://github.com/devdanzin
https://github.com/serhiy-storchaka
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.