| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fefb5cf1-779b-6cde-6a7a-4ee699e80037 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D072:14EC01:1E72217:2ABD73C:696A577A |
| html-safe-nonce | 4103d5e181addab60a8e669730ed7d00a1c1e020cb25133c74c87e90d1f7bee7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDcyOjE0RUMwMToxRTcyMjE3OjJBQkQ3M0M6Njk2QTU3N0EiLCJ2aXNpdG9yX2lkIjoiNTg2MzczMDQ5NTIwNjYxMDgxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f6cf1a5cc459876da08820ef3ed21c76b7544f30b735df7143f6639e23da822f |
| hovercard-subject-tag | pull_request:1076623223 |
| 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/97875/files |
| twitter:image | https://avatars.githubusercontent.com/u/61586?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/61586?s=400&v=4 |
| og:image:alt | Issue: gh-91051 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/97875/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F97875%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%2F97875%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/97875/files |
| Reload | https://github.com/python/cpython/pull/97875/files |
| Reload | https://github.com/python/cpython/pull/97875/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/97875/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/97875/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 |
| markshannon | https://github.com/markshannon |
| python:main | https://github.com/python/cpython/tree/main |
| carljm:typewatch | https://github.com/carljm/cpython/tree/typewatch |
|
Conversation
24
| https://github.com/python/cpython/pull/97875 |
|
Commits
21
| https://github.com/python/cpython/pull/97875/commits |
|
Checks
0
| https://github.com/python/cpython/pull/97875/checks |
|
Files changed
| https://github.com/python/cpython/pull/97875/files |
| Please reload this page | https://github.com/python/cpython/pull/97875/files |
|
gh-91051: allow setting a callback hook on PyType_Modified
| https://github.com/python/cpython/pull/97875/files#top |
|
Show all changes
21 commits
| https://github.com/python/cpython/pull/97875/files |
|
f2b70a2
gh-91051: allow setting a callback hook on PyType_Modified
carljm Oct 4, 2022
| https://github.com/python/cpython/pull/97875/commits/f2b70a2c38fc62a0aad2a878913fb504edf01c23 |
|
1a28a45
Add NEWS blurb.
carljm Oct 5, 2022
| https://github.com/python/cpython/pull/97875/commits/1a28a4595ecff52916ff86391802e0517042ce54 |
|
95e49ee
Move new API to Include/cpython so it's not in limited API
carljm Oct 5, 2022
| https://github.com/python/cpython/pull/97875/commits/95e49eeae3abc750f20455be8af4fae751475f44 |
|
1af2a98
Merge branch 'main' into typewatch
carljm Oct 6, 2022
| https://github.com/python/cpython/pull/97875/commits/1af2a98c52cbe69d40b6c22f16c94701cb8e7247 |
|
415ed49
Merge branch 'main' into typewatch
carljm Oct 6, 2022
| https://github.com/python/cpython/pull/97875/commits/415ed492de0dc27707962eb1756cf183dadd0885 |
|
29e38df
Merge branch 'main' into typewatch
carljm Oct 7, 2022
| https://github.com/python/cpython/pull/97875/commits/29e38df11b32118b218f244e25113ce6d180ef50 |
|
0de5aff
Merge branch 'main' into typewatch
carljm Oct 7, 2022
| https://github.com/python/cpython/pull/97875/commits/0de5aff88962d34258b42de20983ae0b4c4af074 |
|
27a4980
Merge branch 'main' into typewatch
carljm Oct 7, 2022
| https://github.com/python/cpython/pull/97875/commits/27a498096c921dec2377154cf6ae9bb5e5a8924c |
|
d67d6fd
Merge branch 'main' into typewatch
carljm Oct 8, 2022
| https://github.com/python/cpython/pull/97875/commits/d67d6fdd7aa8c0a9e90c632dfb21a228d429fe48 |
|
cb71ae9
Multiple watchers and per-type watching
carljm Oct 8, 2022
| https://github.com/python/cpython/pull/97875/commits/cb71ae92603e36c71490f62e4897b4f5490a0942 |
|
ab1606c
Update NEWS blurb
carljm Oct 8, 2022
| https://github.com/python/cpython/pull/97875/commits/ab1606c454f0ca7215387b82c2b260da145669a8 |
|
26ddee2
Fix doc build issues
carljm Oct 8, 2022
| https://github.com/python/cpython/pull/97875/commits/26ddee2fc861b6c849048821d1f03865b8928e8d |
|
4783e07
Fix typeobject size test
carljm Oct 8, 2022
| https://github.com/python/cpython/pull/97875/commits/4783e07be563b17daacddb79b41a53563e577711 |
|
71d48c1
Merge branch 'main' into typewatch
carljm Oct 9, 2022
| https://github.com/python/cpython/pull/97875/commits/71d48c153b75618aec2a4dd6c72ec8689d0f1ff1 |
|
21f42ee
Fix issue number in whatsnew (and add for dict watchers too)
carljm Oct 9, 2022
| https://github.com/python/cpython/pull/97875/commits/21f42ee9a029ffb9a1b51d867136426e05620f9c |
|
6e53514
Merge branch 'main' into typewatch
carljm Oct 14, 2022
| https://github.com/python/cpython/pull/97875/commits/6e53514f7cc3a1248b9be0fa21936068ac96d042 |
|
2b42bfe
Type watcher review comments
carljm Oct 14, 2022
| https://github.com/python/cpython/pull/97875/commits/2b42bfe2bbc59553f43548c7e7c5c377ff2fa13f |
|
cdbe93b
Merge branch 'main' into typewatch
carljm Oct 17, 2022
| https://github.com/python/cpython/pull/97875/commits/cdbe93ba46ca553024073737e29d909d64015b57 |
|
4329743
Review comments
carljm Oct 17, 2022
| https://github.com/python/cpython/pull/97875/commits/4329743afb637c4a32d19c0289a9de9092889002 |
|
8bba5da
Merge branch 'main' into typewatch
carljm Oct 20, 2022
| https://github.com/python/cpython/pull/97875/commits/8bba5da3257ff3464b4d5e5913ebe3ac86644fd8 |
|
22d190b
Short circuit watched bits check if no more bits are set
carljm Oct 20, 2022
| https://github.com/python/cpython/pull/97875/commits/22d190b0adced2a90130624e6e172224eb1a7741 |
|
Clear filters
| https://github.com/python/cpython/pull/97875/files |
| Please reload this page | https://github.com/python/cpython/pull/97875/files |
| Please reload this page | https://github.com/python/cpython/pull/97875/files |
|
type.rst
| https://github.com/python/cpython/pull/97875/files#diff-04d16413dd014ab960bcc7e5f56e3e087da668393f6525d10d099e5a86020016 |
|
3.12.rst
| https://github.com/python/cpython/pull/97875/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
|
object.h
| https://github.com/python/cpython/pull/97875/files#diff-7c8590641fc0d835bdab9395a95dbacfb2abb056cec4217466c0f3ca6cca8270 |
|
pycore_interp.h
| https://github.com/python/cpython/pull/97875/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
test_capi.py
| https://github.com/python/cpython/pull/97875/files#diff-a537c794ffb51531649e2b81f9ae6978c25077de6aa10c9134576ac628fcc345 |
|
test_sys.py
| https://github.com/python/cpython/pull/97875/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d |
|
2022-10-05-10-43-32.gh-issue-91051.ODDRsQ.rst
| https://github.com/python/cpython/pull/97875/files#diff-06a3fba15414c35ed8ddd59a24d3125889dc49b6a28e59b2063e461ff9aacec3 |
|
_testcapimodule.c
| https://github.com/python/cpython/pull/97875/files#diff-b2d7540efa4f376350ef77b923a6dfcc54bb90424970477f66275f19bad0d30f |
|
typeobject.c
| https://github.com/python/cpython/pull/97875/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
| Doc/c-api/type.rst | https://github.com/python/cpython/pull/97875/files#diff-04d16413dd014ab960bcc7e5f56e3e087da668393f6525d10d099e5a86020016 |
|
View file
| https://github.com/carljm/cpython/blob/22d190b0adced2a90130624e6e172224eb1a7741/Doc/c-api/type.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/97875/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/97875/files#diff-04d16413dd014ab960bcc7e5f56e3e087da668393f6525d10d099e5a86020016 |
| Please reload this page | https://github.com/python/cpython/pull/97875/files |
|
| https://github.com/python/cpython/pull/97875/files#diff-04d16413dd014ab960bcc7e5f56e3e087da668393f6525d10d099e5a86020016 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114 |
| Doc/whatsnew/3.12.rst | https://github.com/python/cpython/pull/97875/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
|
View file
| https://github.com/carljm/cpython/blob/22d190b0adced2a90130624e6e172224eb1a7741/Doc/whatsnew/3.12.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/97875/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/97875/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
| Please reload this page | https://github.com/python/cpython/pull/97875/files |
|
| https://github.com/python/cpython/pull/97875/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
| Include/cpython/object.h | https://github.com/python/cpython/pull/97875/files#diff-7c8590641fc0d835bdab9395a95dbacfb2abb056cec4217466c0f3ca6cca8270 |
|
View file
| https://github.com/carljm/cpython/blob/22d190b0adced2a90130624e6e172224eb1a7741/Include/cpython/object.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/97875/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/97875/files#diff-7c8590641fc0d835bdab9395a95dbacfb2abb056cec4217466c0f3ca6cca8270 |
|
| https://github.com/python/cpython/pull/97875/files#diff-7c8590641fc0d835bdab9395a95dbacfb2abb056cec4217466c0f3ca6cca8270 |
|
| https://github.com/python/cpython/pull/97875/files#diff-7c8590641fc0d835bdab9395a95dbacfb2abb056cec4217466c0f3ca6cca8270 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L317 |
| Include/internal/pycore_interp.h | https://github.com/python/cpython/pull/97875/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
View file
| https://github.com/carljm/cpython/blob/22d190b0adced2a90130624e6e172224eb1a7741/Include/internal/pycore_interp.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/97875/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/97875/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
| https://github.com/python/cpython/pull/97875/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
| Lib/test/test_capi.py | https://github.com/python/cpython/pull/97875/files#diff-a537c794ffb51531649e2b81f9ae6978c25077de6aa10c9134576ac628fcc345 |
|
View file
| https://github.com/carljm/cpython/blob/22d190b0adced2a90130624e6e172224eb1a7741/Lib/test/test_capi.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/97875/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/97875/files#diff-a537c794ffb51531649e2b81f9ae6978c25077de6aa10c9134576ac628fcc345 |
|
| https://github.com/python/cpython/pull/97875/files#diff-a537c794ffb51531649e2b81f9ae6978c25077de6aa10c9134576ac628fcc345 |
|
| https://github.com/python/cpython/pull/97875/files#diff-a537c794ffb51531649e2b81f9ae6978c25077de6aa10c9134576ac628fcc345 |
| Please reload this page | https://github.com/python/cpython/pull/97875/files |
| Please reload this page | https://github.com/python/cpython/pull/97875/files |
| Lib/test/test_sys.py | https://github.com/python/cpython/pull/97875/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d |
|
View file
| https://github.com/carljm/cpython/blob/22d190b0adced2a90130624e6e172224eb1a7741/Lib/test/test_sys.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/97875/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/97875/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d |
|
| https://github.com/python/cpython/pull/97875/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d |
| Misc/NEWS.d/next/C API/2022-10-05-10-43-32.gh-issue-91051.ODDRsQ.rst | https://github.com/python/cpython/pull/97875/files#diff-06a3fba15414c35ed8ddd59a24d3125889dc49b6a28e59b2063e461ff9aacec3 |
|
View file
| https://github.com/carljm/cpython/blob/22d190b0adced2a90130624e6e172224eb1a7741/Misc/NEWS.d/next/C%20API/2022-10-05-10-43-32.gh-issue-91051.ODDRsQ.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/97875/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/97875/files |
|
| 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 |