René's URL Explorer Experiment


Title: gh-141510: Add can_modify_dict() in dictobject.c by vstinner · Pull Request #144955 · python/cpython · GitHub

Open Graph Title: gh-141510: Add can_modify_dict() in dictobject.c by vstinner · Pull Request #144955 · python/cpython

X Title: gh-141510: Add can_modify_dict() in dictobject.c by vstinner · Pull Request #144955 · python/cpython

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

Open Graph Description: can_modify_dict() is stricter than ASSERT_DICT_LOCKED() for frozendict. It uses PyUnstable_Object_IsUniquelyReferenced() which matters for free-threaded builds. Replace anydict_setitem_take2() with...

X Description: can_modify_dict() is stricter than ASSERT_DICT_LOCKED() for frozendict. It uses PyUnstable_Object_IsUniquelyReferenced() which matters for free-threaded builds. Replace anydict_setitem_take2() with...

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

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:7538e669-f9ed-2df3-20f7-b0fd8ca19f70
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id838C:B5AA6:444462B:60775EE:6A4FB724
html-safe-nonce75c8b0af8d2731b9cf20ebeec67e039533ccf8610874ec739fdb54500b2e87b6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzhDOkI1QUE2OjQ0NDQ2MkI6NjA3NzVFRTo2QTRGQjcyNCIsInZpc2l0b3JfaWQiOiIxODAzMjcwMzQyMDIzNTU4OTQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3f81d44aab34665a316091c31d4747ae1bcfb0276380ad0cd395e86da10e0e22
hovercard-subject-tagpull_request:3298811959
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/144955/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/78a00429162a5915116a69f5998d968b01811b2b9d606207431e2ce2dbb9a4f5/python/cpython/pull/144955
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/78a00429162a5915116a69f5998d968b01811b2b9d606207431e2ce2dbb9a4f5/python/cpython/pull/144955
og:image:altcan_modify_dict() is stricter than ASSERT_DICT_LOCKED() for frozendict. It uses PyUnstable_Object_IsUniquelyReferenced() which matters for free-threaded builds. Replace anydict_setitem_take2() with...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/144955#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144955
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%2F144955
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/144955
Reloadhttps://github.com/python/cpython/pull/144955
Reloadhttps://github.com/python/cpython/pull/144955
Please reload this pagehttps://github.com/python/cpython/pull/144955
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/144955
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k 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_can_modifyhttps://github.com/vstinner/cpython/tree/frozendict_can_modify
Conversationhttps://github.com/python/cpython/pull/144955
Commits1 (1)https://github.com/python/cpython/pull/144955/commits
Checkshttps://github.com/python/cpython/pull/144955/checks
Files changedhttps://github.com/python/cpython/pull/144955/files
gh-141510: Add can_modify_dict() in dictobject.chttps://github.com/python/cpython/pull/144955#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:frozendict_can_modifyhttps://github.com/vstinner/cpython/tree/frozendict_can_modify
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 18, 2026https://github.com/python/cpython/pull/144955#issue-3957939263
Please reload this pagehttps://github.com/python/cpython/pull/144955
PEP 814: Add built-in frozendict type #141510https://github.com/python/cpython/issues/141510
Please reload this pagehttps://github.com/python/cpython/pull/144955
https://github.com/vstinner
pythongh-141510https://github.com/python/cpython/issues/141510
: Add can_modify_dict() in dictobject.chttps://github.com/python/cpython/pull/144955/commits/7d442bb646c9f3d19dad7a913bf434b103b54e18
7d442bbhttps://github.com/python/cpython/pull/144955/commits/7d442bb646c9f3d19dad7a913bf434b103b54e18
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
markshannonhttps://github.com/markshannon
methanehttps://github.com/methane
code ownershttps://github.com/python/cpython/blob/c6a142f9472f2d3e2c360b72a19450f9dd087657/.github/CODEOWNERS#L212
February 18, 2026 13:43https://github.com/python/cpython/pull/144955#event-22884771049
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 18, 2026https://github.com/python/cpython/pull/144955#event-22884771725
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 18, 2026https://github.com/python/cpython/pull/144955#event-22884773248
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 18, 2026 https://github.com/python/cpython/pull/144955#ref-issue-3621218426
PEP 814: Add built-in frozendict type #141510 https://github.com/python/cpython/issues/141510
https://github.com/corona10
corona10https://github.com/corona10
Feb 18, 2026 https://github.com/python/cpython/pull/144955#pullrequestreview-3820220324
View reviewed changes https://github.com/python/cpython/pull/144955/files/7d442bb646c9f3d19dad7a913bf434b103b54e18
corona10https://github.com/corona10
https://github.com/python/cpython/pull/144955#pullrequestreview-3820220324
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/144955
https://github.com/corona10
corona10https://github.com/corona10
Feb 18, 2026 https://github.com/python/cpython/pull/144955#pullrequestreview-3820308425
View reviewed changes https://github.com/python/cpython/pull/144955/files/7d442bb646c9f3d19dad7a913bf434b103b54e18
corona10https://github.com/corona10
Please reload this pagehttps://github.com/python/cpython/pull/144955
https://github.com/python/cpython/pull/144955#pullrequestreview-3820308425
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
cpython/Include/internal/pycore_critical_section.hhttps://github.com/python/cpython/blob/c6a142f9472f2d3e2c360b72a19450f9dd087657/Include/internal/pycore_critical_section.h#L55-L58
c6a142fhttps://github.com/python/cpython/commit/c6a142f9472f2d3e2c360b72a19450f9dd087657
Please reload this pagehttps://github.com/python/cpython/pull/144955
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 18, 2026https://github.com/python/cpython/pull/144955#event-22886487998
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 18, 2026https://github.com/python/cpython/pull/144955#issuecomment-3921248394
@corona10https://github.com/corona10
d1b541bhttps://github.com/python/cpython/commit/d1b541b047e15bb6bddea50a64d71ddb01935e33
Please reload this pagehttps://github.com/python/cpython/pull/144955
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
1ddb412https://github.com/python/cpython/commit/1ddb41268997938d5f416e1ac98ae39cc3e81535
Feb 18, 2026https://github.com/python/cpython/pull/144955#event-22886588342
Please reload this pagehttps://github.com/python/cpython/pull/144955
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
February 18, 2026 14:47https://github.com/python/cpython/pull/144955#event-22886589742
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 18, 2026https://github.com/python/cpython/pull/144955#event-22886590307
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 18, 2026https://github.com/python/cpython/pull/144955#issuecomment-3921254047
@corona10https://github.com/corona10
Please reload this pagehttps://github.com/python/cpython/pull/144955
brijkapadiahttps://github.com/brijkapadia
Feb 28, 2026 https://github.com/python/cpython/pull/144955#ref-commit-77fe2c7
https://github.com/vstinner
https://github.com/brijkapadia
pythongh-141510https://github.com/python/cpython/issues/141510
: Add can_modify_dict() in dictobject.c (https://github.com/brijkapadia/cpython/commit/77fe2c7ffcf51544e83b6ffe4c8e11780326eb0b
python#144955https://github.com/python/cpython/pull/144955
)https://github.com/brijkapadia/cpython/commit/77fe2c7ffcf51544e83b6ffe4c8e11780326eb0b
77fe2c7https://github.com/brijkapadia/cpython/commit/77fe2c7ffcf51544e83b6ffe4c8e11780326eb0b
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/144955#ref-commit-56903e1
https://github.com/vstinner
https://github.com/ljfp
pythongh-141510https://github.com/python/cpython/issues/141510
: Add can_modify_dict() in dictobject.c (https://github.com/ljfp/cpython/commit/56903e154f1b65e0f3539c5028eb509987afe507
python#144955https://github.com/python/cpython/pull/144955
)https://github.com/ljfp/cpython/commit/56903e154f1b65e0f3539c5028eb509987afe507
56903e1https://github.com/ljfp/cpython/commit/56903e154f1b65e0f3539c5028eb509987afe507
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%2F144955
https://github.com/corona10
corona10 https://github.com/corona10
https://github.com/python/cpython/pull/144955/files/7d442bb646c9f3d19dad7a913bf434b103b54e18
https://github.com/methane
methane https://github.com/methane
https://github.com/markshannon
markshannon https://github.com/markshannon
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/144955
https://github.com/vstinner
https://github.com/corona10
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.