René's URL Explorer Experiment


Title: gh-141510: Optimize frozendict(frozendict) by vstinner · Pull Request #145592 · python/cpython · GitHub

Open Graph Title: gh-141510: Optimize frozendict(frozendict) by vstinner · Pull Request #145592 · python/cpython

X Title: gh-141510: Optimize frozendict(frozendict) by vstinner · Pull Request #145592 · python/cpython

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

Open Graph Description: Return the same object unmodified if it's exactly the frozendict type. Issue: PEP 814: Add built-in frozendict type #141510

X Description: Return the same object unmodified if it's exactly the frozendict type. Issue: PEP 814: Add built-in frozendict type #141510

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

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:f486b294-8189-9c32-705d-469c34890c4d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8504:1EA4:38D4B6A:51271D6:6A4FE85A
html-safe-nonce9c5447bba50f3678143f6ecfb7ae33a688b037c93e9646b2ac2d4384f787e417
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTA0OjFFQTQ6MzhENEI2QTo1MTI3MUQ2OjZBNEZFODVBIiwidmlzaXRvcl9pZCI6IjEzMTM5NTIyNzcxMzI3MzI1MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac660a15d3e27eb3bc66557d37ad33fcf5f8a224dadc9a697d41465e7b17d58ea6
hovercard-subject-tagpull_request:3364443327
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/145592/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0a3b47a16c6fc1766fc2c1892fe13ceaef07fd69f6619e95a801c4ab08f09985/python/cpython/pull/145592
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0a3b47a16c6fc1766fc2c1892fe13ceaef07fd69f6619e95a801c4ab08f09985/python/cpython/pull/145592
og:image:altReturn the same object unmodified if it's exactly the frozendict type. Issue: 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
None19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c
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
release142593e66413bbae27fd485859993597d5a3b104
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/145592#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145592
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%2F145592
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/145592
Reloadhttps://github.com/python/cpython/pull/145592
Reloadhttps://github.com/python/cpython/pull/145592
Please reload this pagehttps://github.com/python/cpython/pull/145592
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/145592
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_new_samehttps://github.com/vstinner/cpython/tree/frozendict_new_same
Conversationhttps://github.com/python/cpython/pull/145592
Commits5 (5)https://github.com/python/cpython/pull/145592/commits
Checkshttps://github.com/python/cpython/pull/145592/checks
Files changedhttps://github.com/python/cpython/pull/145592/files
gh-141510: Optimize frozendict(frozendict)https://github.com/python/cpython/pull/145592#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:frozendict_new_samehttps://github.com/vstinner/cpython/tree/frozendict_new_same
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 6, 2026https://github.com/python/cpython/pull/145592#issue-4034880264
Please reload this pagehttps://github.com/python/cpython/pull/145592
PEP 814: Add built-in frozendict type #141510https://github.com/python/cpython/issues/141510
Please reload this pagehttps://github.com/python/cpython/pull/145592
https://github.com/vstinner
pythongh-141510https://github.com/python/cpython/issues/141510
: Optimize frozendict(frozendict)https://github.com/python/cpython/pull/145592/commits/99d7ca645c5610f347101f8163264206ae16f37d
99d7ca6https://github.com/python/cpython/pull/145592/commits/99d7ca645c5610f347101f8163264206ae16f37d
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
markshannonhttps://github.com/markshannon
methanehttps://github.com/methane
code ownershttps://github.com/python/cpython/blob/d931725bc850cd096f6703bc285e885f1e015f05/.github/CODEOWNERS#L214
March 6, 2026 15:47https://github.com/python/cpython/pull/145592#event-23336921650
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Mar 6, 2026https://github.com/python/cpython/pull/145592#event-23336921873
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
Mar 6, 2026https://github.com/python/cpython/pull/145592#event-23336925031
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 6, 2026 https://github.com/python/cpython/pull/145592#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
Mar 6, 2026https://github.com/python/cpython/pull/145592#issuecomment-4012528037
@encukouhttps://github.com/encukou
Please reload this pagehttps://github.com/python/cpython/pull/145592
https://github.com/vstinner
Optimize also PyFrozenDict_New(frozendict)https://github.com/python/cpython/pull/145592/commits/5b07811f825885c56f36680714813c4706082737
5b07811https://github.com/python/cpython/pull/145592/commits/5b07811f825885c56f36680714813c4706082737
https://github.com/encukou
encukouhttps://github.com/encukou
Mar 6, 2026 https://github.com/python/cpython/pull/145592#pullrequestreview-3904612346
View reviewed changes https://github.com/python/cpython/pull/145592/files/5b07811f825885c56f36680714813c4706082737
Objects/dictobject.chttps://github.com/python/cpython/pull/145592/files/5b07811f825885c56f36680714813c4706082737#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae
Please reload this pagehttps://github.com/python/cpython/pull/145592
https://github.com/vstinner
Document PyFrozenSet_New() optimizationhttps://github.com/python/cpython/pull/145592/commits/114ffb5bfc1328675cedee1723297bc408eae9cf
114ffb5https://github.com/python/cpython/pull/145592/commits/114ffb5bfc1328675cedee1723297bc408eae9cf
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
ZeroIntensityhttps://github.com/ZeroIntensity
code ownerhttps://github.com/python/cpython/blob/b28e5f58ebf8d9badcc893cd189cb1575d4e3614/.github/CODEOWNERS#L114
March 6, 2026 16:34https://github.com/python/cpython/pull/145592#event-23338200566
vstinnerhttps://github.com/vstinner
March 6, 2026 22:37https://github.com/python/cpython/pull/145592#commits-pushed-9de1f08
https://github.com/vstinner
Simplify the doc; omit subclass special casehttps://github.com/python/cpython/pull/145592/commits/9de1f08b9c3a45a05fb270c08cd0b89a3ac91bae
9de1f08https://github.com/python/cpython/pull/145592/commits/9de1f08b9c3a45a05fb270c08cd0b89a3ac91bae
https://github.com/vstinner
Remove the note in PyFrozenDict_New() dochttps://github.com/python/cpython/pull/145592/commits/ca20231a27eda8e1f523d539019dfdd1a9600189
ca20231https://github.com/python/cpython/pull/145592/commits/ca20231a27eda8e1f523d539019dfdd1a9600189
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Mar 9, 2026 https://github.com/python/cpython/pull/145592#pullrequestreview-3915746609
View reviewed changes https://github.com/python/cpython/pull/145592/files/ca20231a27eda8e1f523d539019dfdd1a9600189
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
Mar 9, 2026https://github.com/python/cpython/pull/145592#event-23397939528
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
0dfe649https://github.com/python/cpython/commit/0dfe649400a0b67318169ec813475f4949ad7b69
Mar 9, 2026https://github.com/python/cpython/pull/145592#event-23398948569
Please reload this pagehttps://github.com/python/cpython/pull/145592
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
March 9, 2026 14:47https://github.com/python/cpython/pull/145592#event-23398950224
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
Mar 9, 2026https://github.com/python/cpython/pull/145592#event-23398951508
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 9, 2026https://github.com/python/cpython/pull/145592#issuecomment-4024312488
Please reload this pagehttps://github.com/python/cpython/pull/145592
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/145592#ref-commit-ddec0f3
https://github.com/vstinner
https://github.com/ljfp
pythongh-141510https://github.com/python/cpython/issues/141510
: Optimize frozendict(frozendict) (https://github.com/ljfp/cpython/commit/ddec0f3d3807afba9d87d10ab61fd311790cd30a
python#145592https://github.com/python/cpython/pull/145592
)https://github.com/ljfp/cpython/commit/ddec0f3d3807afba9d87d10ab61fd311790cd30a
ddec0f3https://github.com/ljfp/cpython/commit/ddec0f3d3807afba9d87d10ab61fd311790cd30a
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%2F145592
https://github.com/encukou
encukou https://github.com/encukou
https://github.com/python/cpython/pull/145592/files/5b07811f825885c56f36680714813c4706082737
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/145592/files/ca20231a27eda8e1f523d539019dfdd1a9600189
https://github.com/methane
methane https://github.com/methane
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
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/145592
https://github.com/vstinner
https://github.com/encukou
https://github.com/kumaraditya303
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.