| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:306e3354-2ea1-ff38-7678-d7fbff8e1bce |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9664:1A2A10:11EBF5:17385D:696B3524 |
| html-safe-nonce | 4316ee3481214c88ed14159656c5103190cebcb3af03c62b512f68366dbb18c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjY0OjFBMkExMDoxMUVCRjU6MTczODVEOjY5NkIzNTI0IiwidmlzaXRvcl9pZCI6IjYzMjU5NzQ4MzAwMjAyNDQ3NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 525a4b5b0cc3167cd621d9067f1624bf1f440c1c6db176546dcd593a7bac77d2 |
| hovercard-subject-tag | pull_request:620896117 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/25520/files |
| twitter:image | https://avatars.githubusercontent.com/u/13780613?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/13780613?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue43908 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/25520/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F25520%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| 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/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%2F25520%2Ffiles |
|
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/25520/files |
| Reload | https://github.com/python/cpython/pull/25520/files |
| Reload | https://github.com/python/cpython/pull/25520/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/25520/files |
|
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 page | https://github.com/python/cpython/pull/25520/files |
|
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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| vstinner | https://github.com/vstinner |
| python:master | https://github.com/python/cpython/tree/master |
| erlend-aasland:immutable-types | https://github.com/erlend-aasland/cpython/tree/immutable-types |
|
Conversation
37
| https://github.com/python/cpython/pull/25520 |
|
Commits
10
| https://github.com/python/cpython/pull/25520/commits |
|
Checks
0
| https://github.com/python/cpython/pull/25520/checks |
|
Files changed
| https://github.com/python/cpython/pull/25520/files |
| Please reload this page | https://github.com/python/cpython/pull/25520/files |
|
bpo-43908: Add Py_TPFLAGS_IMMUTABLETYPE flag
| https://github.com/python/cpython/pull/25520/files#top |
|
Show all changes
10 commits
| https://github.com/python/cpython/pull/25520/files |
|
8e8129f
Add Py_TPFLAGS_IMMUTABLETYPE and set it for all static types
Apr 22, 2021
| https://github.com/python/cpython/pull/25520/commits/8e8129ffcbc72b251b0736ef72ffc6c63206804a |
|
025af5b
Improve docs
Apr 28, 2021
| https://github.com/python/cpython/pull/25520/commits/025af5b0d7b7a1049fda9dc9413635965899dd85 |
|
0e8c709
Improve docs
Apr 28, 2021
| https://github.com/python/cpython/pull/25520/commits/0e8c709eae289caaaa9240b57881d2df44009ed6 |
|
8c79eae
Improve comment
Apr 28, 2021
| https://github.com/python/cpython/pull/25520/commits/8c79eaedab4156226e014d04eb4473a0356af68b |
|
068054d
Improve NEWS entry
Apr 28, 2021
| https://github.com/python/cpython/pull/25520/commits/068054d0f6a40d94d12c0ac7a68b0d65180733e9 |
|
1987c4c
Address review: Move NEWS entry to C API section
Apr 28, 2021
| https://github.com/python/cpython/pull/25520/commits/1987c4c027e41ae294711ca4c7d3ee9c905d5a7f |
|
b7560e4
Address review: Add comment ref. to bpo-43908
Apr 28, 2021
| https://github.com/python/cpython/pull/25520/commits/b7560e44ade6312656a3db94f1d8889caeb341c7 |
|
3032d3b
Spelling fix
Apr 28, 2021
| https://github.com/python/cpython/pull/25520/commits/3032d3be9e8f6396966c8b2cda4ab2013e2c8b68 |
|
edf4097
Improve NEWS wording
Apr 28, 2021
| https://github.com/python/cpython/pull/25520/commits/edf409723f2f64f9503f7c3987413da19843a52f |
|
098ef93
Whitespace fix
Apr 28, 2021
| https://github.com/python/cpython/pull/25520/commits/098ef93b9aa3583b29a7e52888fefb235b956350 |
|
Clear filters
| https://github.com/python/cpython/pull/25520/files |
| Please reload this page | https://github.com/python/cpython/pull/25520/files |
| Please reload this page | https://github.com/python/cpython/pull/25520/files |
|
typeobj.rst
| https://github.com/python/cpython/pull/25520/files#diff-560c6b0fbef4ddae510a4f11e165d0cd179a52506b470cead404d2b53e48bbe1 |
|
object.h
| https://github.com/python/cpython/pull/25520/files#diff-87272721a5cf1cd9915d6f503f6a7bbefa2f26c935c7ce83ca78706afd0ad05a |
|
2021-04-22-10-46-40.bpo-43908.Co3YhZ.rst
| https://github.com/python/cpython/pull/25520/files#diff-d338260c0263b6e2b9527bc2b53a678425cd6de0a75c4a83a15300a2e78beeae |
|
typeobject.c
| https://github.com/python/cpython/pull/25520/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
| Doc/c-api/typeobj.rst | https://github.com/python/cpython/pull/25520/files#diff-560c6b0fbef4ddae510a4f11e165d0cd179a52506b470cead404d2b53e48bbe1 |
|
View file
| https://github.com/erlend-aasland/cpython/blob/098ef93b9aa3583b29a7e52888fefb235b956350/Doc/c-api/typeobj.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25520/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25520/files#diff-560c6b0fbef4ddae510a4f11e165d0cd179a52506b470cead404d2b53e48bbe1 |
|
| https://github.com/python/cpython/pull/25520/files#diff-560c6b0fbef4ddae510a4f11e165d0cd179a52506b470cead404d2b53e48bbe1 |
| Include/object.h | https://github.com/python/cpython/pull/25520/files#diff-87272721a5cf1cd9915d6f503f6a7bbefa2f26c935c7ce83ca78706afd0ad05a |
|
View file
| https://github.com/erlend-aasland/cpython/blob/098ef93b9aa3583b29a7e52888fefb235b956350/Include/object.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25520/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25520/files#diff-87272721a5cf1cd9915d6f503f6a7bbefa2f26c935c7ce83ca78706afd0ad05a |
|
| https://github.com/python/cpython/pull/25520/files#diff-87272721a5cf1cd9915d6f503f6a7bbefa2f26c935c7ce83ca78706afd0ad05a |
| Misc/NEWS.d/next/C API/2021-04-22-10-46-40.bpo-43908.Co3YhZ.rst | https://github.com/python/cpython/pull/25520/files#diff-d338260c0263b6e2b9527bc2b53a678425cd6de0a75c4a83a15300a2e78beeae |
|
View file
| https://github.com/erlend-aasland/cpython/blob/098ef93b9aa3583b29a7e52888fefb235b956350/Misc/NEWS.d/next/C%20API/2021-04-22-10-46-40.bpo-43908.Co3YhZ.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25520/{{ revealButtonHref }} |
| Objects/typeobject.c | https://github.com/python/cpython/pull/25520/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
|
View file
| https://github.com/erlend-aasland/cpython/blob/098ef93b9aa3583b29a7e52888fefb235b956350/Objects/typeobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25520/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25520/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
| Please reload this page | https://github.com/python/cpython/pull/25520/files |
|
| https://github.com/python/cpython/pull/25520/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
|
| https://github.com/python/cpython/pull/25520/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
| Please reload this page | https://github.com/python/cpython/pull/25520/files |
|
| https://github.com/python/cpython/pull/25520/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
|
| 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 |