René's URL Explorer Experiment


Title: gh-91051: allow setting a callback hook on PyType_Modified by carljm · Pull Request #97875 · python/cpython · GitHub

Open Graph Title: gh-91051: allow setting a callback hook on PyType_Modified by carljm · Pull Request #97875 · python/cpython

X Title: gh-91051: allow setting a callback hook on PyType_Modified by carljm · Pull Request #97875 · python/cpython

Description: Issue: gh-91051

Open Graph Description: Issue: gh-91051

X Description: Issue: gh-91051

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:fefb5cf1-779b-6cde-6a7a-4ee699e80037
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD072:14EC01:1E72217:2ABD73C:696A577A
html-safe-nonce4103d5e181addab60a8e669730ed7d00a1c1e020cb25133c74c87e90d1f7bee7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDcyOjE0RUMwMToxRTcyMjE3OjJBQkQ3M0M6Njk2QTU3N0EiLCJ2aXNpdG9yX2lkIjoiNTg2MzczMDQ5NTIwNjYxMDgxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf6cf1a5cc459876da08820ef3ed21c76b7544f30b735df7143f6639e23da822f
hovercard-subject-tagpull_request:1076623223
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/97875/files
twitter:imagehttps://avatars.githubusercontent.com/u/61586?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/61586?s=400&v=4
og:image:altIssue: gh-91051
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release63c426b30d262aba269ef14c40e3c817b384cd61
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%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
Reloadhttps://github.com/python/cpython/pull/97875/files
Reloadhttps://github.com/python/cpython/pull/97875/files
Reloadhttps://github.com/python/cpython/pull/97875/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://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 pagehttps://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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
carljm:typewatchhttps://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 pagehttps://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 pagehttps://github.com/python/cpython/pull/97875/files
Please reload this pagehttps://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.rsthttps://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 pagehttps://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.rsthttps://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 pagehttps://github.com/python/cpython/pull/97875/files
https://github.com/python/cpython/pull/97875/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
Include/cpython/object.hhttps://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.hhttps://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.pyhttps://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 pagehttps://github.com/python/cpython/pull/97875/files
Please reload this pagehttps://github.com/python/cpython/pull/97875/files
Lib/test/test_sys.pyhttps://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.rsthttps://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 pagehttps://github.com/python/cpython/pull/97875/files
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.