| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:92ef9a23-61c5-0b88-dca1-8c0b2d6000eb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8AB6:1EE5:8C8F4F:C9B447:6A4F942F |
| html-safe-nonce | f1c23b63ecfdcdde880dc0e35ca77aaaa071ac8c81f7a12bc639e35e185f9bb7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUI2OjFFRTU6OEM4RjRGOkM5QjQ0Nzo2QTRGOTQyRiIsInZpc2l0b3JfaWQiOiI1NjA5MDE4NjUzNzMzMjYyMzgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f7ffeb88c893b0944cd214f0c79a2a0f8820d9da98d201f9c8a110732fefa65f |
| hovercard-subject-tag | pull_request:3355049512 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/145517/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d13f9305941841c0170d7eadcea9de9ea388203c42792c56b929ce58c5259c14/python/cpython/pull/145517 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d13f9305941841c0170d7eadcea9de9ea388203c42792c56b929ce58c5259c14/python/cpython/pull/145517 |
| og:image:alt | PyDict_Copy() now also returns a dict if the argument is a frozendict.
Remove _PyDict_CopyAsDict() function.
Fix frozendict.items() ^ frozendict.items(). Add non-regression test.
Issue: PEP 814... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/145517#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145517 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F145517 |
|
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 |
| Reload | https://github.com/python/cpython/pull/145517 |
| Reload | https://github.com/python/cpython/pull/145517 |
| Reload | https://github.com/python/cpython/pull/145517 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
|
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 |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| vstinner:dict_copy2 | https://github.com/vstinner/cpython/tree/dict_copy2 |
| Conversation | https://github.com/python/cpython/pull/145517 |
| Commits4 (4) | https://github.com/python/cpython/pull/145517/commits |
| Checks | https://github.com/python/cpython/pull/145517/checks |
| Files changed | https://github.com/python/cpython/pull/145517/files |
| gh-141510: Always return a dict in PyDict_Copy() | https://github.com/python/cpython/pull/145517#top |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| vstinner:dict_copy2 | https://github.com/vstinner/cpython/tree/dict_copy2 |
|
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Mar 4, 2026 | https://github.com/python/cpython/pull/145517#issue-4023916097 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
| PEP 814: Add built-in frozendict type #141510 | https://github.com/python/cpython/issues/141510 |
| https://cpython-previews--145517.org.readthedocs.build/ | https://cpython-previews--145517.org.readthedocs.build/ |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
|
| https://github.com/vstinner |
| pythongh-141510 | https://github.com/python/cpython/issues/141510 |
| : Always return a dict in PyDict_Copy() | https://github.com/python/cpython/pull/145517/commits/0cbef898526f73a63895d068ea4e0defe514c324 |
| 0cbef89 | https://github.com/python/cpython/pull/145517/commits/0cbef898526f73a63895d068ea4e0defe514c324 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| ZeroIntensity | https://github.com/ZeroIntensity |
| markshannon | https://github.com/markshannon |
| methane | https://github.com/methane |
| code owners | https://github.com/python/cpython/blob/a51b1b512de1d56b3714b65628a2eae2b07e535e/.github/CODEOWNERS#L114 |
| March 4, 2026 20:12 | https://github.com/python/cpython/pull/145517#event-23272339835 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Mar 4, 2026 | https://github.com/python/cpython/pull/145517#event-23272340375 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Mar 4, 2026
| https://github.com/python/cpython/pull/145517#ref-issue-3621218426 |
|
PEP 814: Add built-in frozendict type
#141510
| https://github.com/python/cpython/issues/141510 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Mar 4, 2026 | https://github.com/python/cpython/pull/145517#event-23272348128 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Mar 4, 2026
| https://github.com/python/cpython/pull/145517#ref-pullrequest-3994874858 |
|
gh-141510: Update PyDict_Copy documentation with note on frozendict
#145249
| https://github.com/python/cpython/pull/145249 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Mar 4, 2026 | https://github.com/python/cpython/pull/145517#issuecomment-4000047183 |
| gh-145508 | https://github.com/python/cpython/pull/145508 |
| @corona10 | https://github.com/corona10 |
| @ZeroIntensity | https://github.com/ZeroIntensity |
| @eendebakpt | https://github.com/eendebakpt |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
|
| https://github.com/vstinner |
| Run make clinic | https://github.com/python/cpython/pull/145517/commits/3662ec87822ff1b40f1d48c37077c439cf38ca04 |
| 3662ec8 | https://github.com/python/cpython/pull/145517/commits/3662ec87822ff1b40f1d48c37077c439cf38ca04 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Mar 4, 2026
| https://github.com/python/cpython/pull/145517#ref-pullrequest-4023678526 |
|
gh-145056: Accept frozendict in xml.etree
#145508
| https://github.com/python/cpython/pull/145508 |
|
| https://github.com/vstinner |
| Add more tests | https://github.com/python/cpython/pull/145517/commits/91e9506df7c80f54aee4f053a3306e5c4633c2d6 |
| 91e9506 | https://github.com/python/cpython/pull/145517/commits/91e9506df7c80f54aee4f053a3306e5c4633c2d6 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Mar 4, 2026 | https://github.com/python/cpython/pull/145517#issuecomment-4000288540 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Mar 5, 2026
| https://github.com/python/cpython/pull/145517#ref-pullrequest-3975218560 |
|
gh-145119: Allow frozendict to be assigned to instance __dict__
#145123
| https://github.com/python/cpython/pull/145123 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
| Mar 5, 2026 | https://github.com/python/cpython/pull/145517#issuecomment-4001669084 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Mar 5, 2026 | https://github.com/python/cpython/pull/145517#issuecomment-4004245485 |
| 95f56b1 | https://github.com/python/cpython/commit/95f56b120623f17990be81379661de270e95e3c5 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
|
| https://github.com/vstinner |
| Complete PyDict_Copy() documentation | https://github.com/python/cpython/pull/145517/commits/de6b0b7f39dbd247ac8836109535952764513a33 |
| de6b0b7 | https://github.com/python/cpython/pull/145517/commits/de6b0b7f39dbd247ac8836109535952764513a33 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Mar 5, 2026 | https://github.com/python/cpython/pull/145517#issuecomment-4004263921 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Mar 5, 2026 | https://github.com/python/cpython/pull/145517#issuecomment-4004290357 |
| gh-145123 | https://github.com/python/cpython/pull/145123 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Mar 5, 2026 | https://github.com/python/cpython/pull/145517#issuecomment-4004371284 |
| #145531 | https://github.com/python/cpython/pull/145531 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
| https://github.com/corona10 |
| corona10 | https://github.com/corona10 |
| Mar 5, 2026 | https://github.com/python/cpython/pull/145517#issuecomment-4004412808 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
| https://github.com/corona10 |
| corona10 | https://github.com/corona10 |
|
Mar 5, 2026
| https://github.com/python/cpython/pull/145517#pullrequestreview-3895864015 |
|
View reviewed changes
| https://github.com/python/cpython/pull/145517/files/de6b0b7f39dbd247ac8836109535952764513a33 |
| Objects/dictobject.c | https://github.com/python/cpython/pull/145517/files/de6b0b7f39dbd247ac8836109535952764513a33#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
| corona10 | https://github.com/corona10 |
| Mar 5, 2026 | https://github.com/python/cpython/pull/145517#discussion_r2889435255 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
| vstinner | https://github.com/vstinner |
| Mar 5, 2026 | https://github.com/python/cpython/pull/145517#discussion_r2889559673 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| gh-145531 | https://github.com/python/cpython/pull/145531 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Mar 5, 2026 | https://github.com/python/cpython/pull/145517#issuecomment-4004555862 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
| Mar 5, 2026 | https://github.com/python/cpython/pull/145517#issuecomment-4005084713 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Mar 5, 2026 | https://github.com/python/cpython/pull/145517#issuecomment-4005104398 |
| @ZeroIntensity | https://github.com/ZeroIntensity |
| @StanFromIreland | https://github.com/StanFromIreland |
| gh-145542 | https://github.com/python/cpython/pull/145542 |
| gh-145531 | https://github.com/python/cpython/pull/145531 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Mar 5, 2026 | https://github.com/python/cpython/pull/145517#event-23298009612 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| March 5, 2026 13:35 | https://github.com/python/cpython/pull/145517#event-23298015449 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145517 |
|
| https://github.com/corona10 |
|
corona10
| https://github.com/corona10 |
|
| https://github.com/python/cpython/pull/145517/files/de6b0b7f39dbd247ac8836109535952764513a33 |
|
| https://github.com/markshannon |
|
markshannon
| https://github.com/markshannon |
|
| https://github.com/methane |
|
methane
| https://github.com/methane |
|
| https://github.com/ZeroIntensity |
|
ZeroIntensity
| https://github.com/ZeroIntensity |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Please reload this page | https://github.com/python/cpython/pull/145517 |
|
| https://github.com/vstinner |
|
| https://github.com/ZeroIntensity |
|
| https://github.com/corona10 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |