| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:a88cc7d0-62bf-1754-c4a3-c506ff5deeb7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BD00:2AAD2E:34D49ED:4680292:6B020572 |
| html-safe-nonce | af0f745069d6c0bf2ca1dba611bb27d25ff592bfbd1a945ddc509925a69d71f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDAwOjJBQUQyRTozNEQ0OUVEOjQ2ODAyOTI6NkIwMjA1NzIiLCJ2aXNpdG9yX2lkIjoiODI4NTMzMjgwMzAzODYxMDgwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ceebb2c4e7d35f88917a27d30a063c8db485297429a9ece38e433e842b043da8 |
| hovercard-subject-tag | pull_request:2900837306 |
| 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/139848/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1ecfa54cb155fb810e4e3832e73e3084610d0f28de5b4c64e5fb81d4165faf1a/python/cpython/pull/139848 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1ecfa54cb155fb810e4e3832e73e3084610d0f28de5b4c64e5fb81d4165faf1a/python/cpython/pull/139848 |
| og:image:alt | Issue: [C API] Add PyType_Lookup() function #139847
📚 Documentation preview 📚: https://cpython-previews--139848.org.readthedocs.build/ |
| 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 | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/139848#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139848 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139848 |
| 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/139848 |
| Reload | https://github.com/python/cpython/pull/139848 |
| Reload | https://github.com/python/cpython/pull/139848 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| https://github.com/python/cpython |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| vstinner:type_lookup | https://github.com/vstinner/cpython/tree/type_lookup |
| Conversation | https://github.com/python/cpython/pull/139848 |
| Commits9 (9) | https://github.com/python/cpython/pull/139848/commits |
| Checks | https://github.com/python/cpython/pull/139848/checks |
| Files changed | https://github.com/python/cpython/pull/139848/files |
| gh-139847: Add PyType_Lookup() function | https://github.com/python/cpython/pull/139848#top |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| vstinner:type_lookup | https://github.com/vstinner/cpython/tree/type_lookup |
|
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Oct 9, 2025 | https://github.com/python/cpython/pull/139848#issue-3499278632 |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
| [C API] Add PyType_Lookup() function #139847 | https://github.com/python/cpython/issues/139847 |
| https://cpython-previews--139848.org.readthedocs.build/ | https://cpython-previews--139848.org.readthedocs.build/ |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
|
| https://github.com/vstinner |
| pythongh-139847 | https://github.com/python/cpython/issues/139847 |
| : Add PyType_Lookup() function | https://github.com/python/cpython/pull/139848/commits/480faa664ad737226d0e41bb7e94a6055e12dc94 |
| 480faa6 | https://github.com/python/cpython/pull/139848/commits/480faa664ad737226d0e41bb7e94a6055e12dc94 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
type-feature
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature |
|
interpreter-core
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Ainterpreter-core |
|
topic-C-API
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-C-API |
| Oct 9, 2025 | https://github.com/python/cpython/pull/139848#event-20186205298 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| AA-Turner | https://github.com/AA-Turner |
| markshannon | https://github.com/markshannon |
| code owners | https://github.com/python/cpython/blob/d2deb8fdef1ac5e54564448677cdb1522f1b776d/.github/CODEOWNERS#L114 |
| October 9, 2025 13:51 | https://github.com/python/cpython/pull/139848#event-20186208973 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Oct 9, 2025
| https://github.com/python/cpython/pull/139848#ref-issue-3499245432 |
|
[C API] Add PyType_Lookup() function
#139847
| https://github.com/python/cpython/issues/139847 |
| 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 |
| Oct 9, 2025 | https://github.com/python/cpython/pull/139848#event-20186212105 |
|
| https://github.com/vstinner |
| Fix the function name in the NEWS entry | https://github.com/python/cpython/pull/139848/commits/1303db26a4ffeb0fe13ec667cec75017d938d1e8 |
| 1303db2 | https://github.com/python/cpython/pull/139848/commits/1303db26a4ffeb0fe13ec667cec75017d938d1e8 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
type-feature
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature |
| Oct 9, 2025 | https://github.com/python/cpython/pull/139848#event-20187547295 |
| https://github.com/colesbury |
| colesbury | https://github.com/colesbury |
|
Oct 9, 2025
| https://github.com/python/cpython/pull/139848#pullrequestreview-3320116269 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139848/files/1303db26a4ffeb0fe13ec667cec75017d938d1e8 |
| Doc/c-api/type.rst | https://github.com/python/cpython/pull/139848/files/1303db26a4ffeb0fe13ec667cec75017d938d1e8#diff-04d16413dd014ab960bcc7e5f56e3e087da668393f6525d10d099e5a86020016 |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
| vstinner | https://github.com/vstinner |
| October 9, 2025 20:49 | https://github.com/python/cpython/pull/139848#commits-pushed-1c3e523 |
|
| https://github.com/vstinner |
|
| https://github.com/colesbury |
| Update Doc/c-api/type.rst | https://github.com/python/cpython/pull/139848/commits/1c3e523483bbb4bd77cece4a1152364291fa8b49 |
| 1c3e523 | https://github.com/python/cpython/pull/139848/commits/1c3e523483bbb4bd77cece4a1152364291fa8b49 |
|
| https://github.com/vstinner |
| Doc: link to PyObject_GetOptionalAttr() | https://github.com/python/cpython/pull/139848/commits/8f24f7a1f30262d74c093560a1477d46f5811d0c |
| 8f24f7a | https://github.com/python/cpython/pull/139848/commits/8f24f7a1f30262d74c093560a1477d46f5811d0c |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
type-feature
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Oct 9, 2025 | https://github.com/python/cpython/pull/139848#event-20194431059 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Oct 9, 2025 | https://github.com/python/cpython/pull/139848#issuecomment-3387558283 |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
|
| https://github.com/vstinner |
| Merge branch 'main' into type_lookup | https://github.com/python/cpython/pull/139848/commits/daf85465058981dbfd67fb9a64b573e481c1cce7 |
| daf8546 | https://github.com/python/cpython/pull/139848/commits/daf85465058981dbfd67fb9a64b573e481c1cce7 |
| https://github.com/efimov-mikhail |
| efimov-mikhail | https://github.com/efimov-mikhail |
|
Oct 11, 2025
| https://github.com/python/cpython/pull/139848#pullrequestreview-3327190950 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139848/files/daf85465058981dbfd67fb9a64b573e481c1cce7 |
| Doc/whatsnew/3.15.rst | https://github.com/python/cpython/pull/139848/files/daf85465058981dbfd67fb9a64b573e481c1cce7#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
| https://github.com/efimov-mikhail |
| efimov-mikhail | https://github.com/efimov-mikhail |
|
Oct 11, 2025
| https://github.com/python/cpython/pull/139848#pullrequestreview-3327197235 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139848/files/daf85465058981dbfd67fb9a64b573e481c1cce7 |
| Modules/_testcapi/type.c | https://github.com/python/cpython/pull/139848/files/daf85465058981dbfd67fb9a64b573e481c1cce7#diff-5fa65eba0f48c15305af55792d489cf96b71ca1555858025dc5c8984e066ba95 |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
| vstinner | https://github.com/vstinner |
| October 11, 2025 19:21 | https://github.com/python/cpython/pull/139848#commits-pushed-c3b9324 |
|
| https://github.com/vstinner |
| Don't schedule _PyType_Lookup() removal in this PR | https://github.com/python/cpython/pull/139848/commits/c3b9324fd417518773d75e8ac6b23ba113d5ed71 |
| c3b9324 | https://github.com/python/cpython/pull/139848/commits/c3b9324fd417518773d75e8ac6b23ba113d5ed71 |
|
| https://github.com/vstinner |
| Revert Doc/whatsnew/3.15.rst changes | https://github.com/python/cpython/pull/139848/commits/01a141ffc1097aeeb8d95c60c9c05732db8b29e2 |
| 01a141f | https://github.com/python/cpython/pull/139848/commits/01a141ffc1097aeeb8d95c60c9c05732db8b29e2 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Oct 11, 2025 | https://github.com/python/cpython/pull/139848#issuecomment-3393526520 |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Oct 14, 2025 | https://github.com/python/cpython/pull/139848#issuecomment-3401686241 |
| @encukou | https://github.com/encukou |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Oct 14, 2025 | https://github.com/python/cpython/pull/139848#issuecomment-3402099339 |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
|
| https://github.com/vstinner |
| Do not invoke descriptors or metaclass __getattr__() | https://github.com/python/cpython/pull/139848/commits/12901716ed4964ba39fd257469119c855f95db1e |
| 1290171 | https://github.com/python/cpython/pull/139848/commits/12901716ed4964ba39fd257469119c855f95db1e |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Oct 14, 2025 | https://github.com/python/cpython/pull/139848#issuecomment-3402222513 |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Oct 16, 2025
| https://github.com/python/cpython/pull/139848#ref-issue-3521707572 |
|
Add PyType_Lookup() function
capi-workgroup/decisions#83
| https://github.com/capi-workgroup/decisions/issues/83 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
Jan 13, 2026
| https://github.com/python/cpython/pull/139848#pullrequestreview-3655876713 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139848/files/12901716ed4964ba39fd257469119c855f95db1e |
| Doc/c-api/type.rst | https://github.com/python/cpython/pull/139848/files/12901716ed4964ba39fd257469119c855f95db1e#diff-04d16413dd014ab960bcc7e5f56e3e087da668393f6525d10d099e5a86020016 |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
|
| https://github.com/vstinner |
|
| https://github.com/encukou |
| Update Doc/c-api/type.rst | https://github.com/python/cpython/pull/139848/commits/2cc877c41fccc1466168e63957d47f681dedd6cf |
| 2cc877c | https://github.com/python/cpython/pull/139848/commits/2cc877c41fccc1466168e63957d47f681dedd6cf |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Feb 10, 2026 | https://github.com/python/cpython/pull/139848#issuecomment-3876951835 |
| #139847 (comment) | https://github.com/python/cpython/issues/139847#issuecomment-3876950305 |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Feb 10, 2026 | https://github.com/python/cpython/pull/139848#event-22670822825 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| July 10, 2026 20:20 | https://github.com/python/cpython/pull/139848#event-27832211005 |
| 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%2F139848 |
|
| https://github.com/encukou |
|
encukou
| https://github.com/encukou |
|
| https://github.com/python/cpython/pull/139848/files/12901716ed4964ba39fd257469119c855f95db1e |
|
| https://github.com/colesbury |
|
colesbury
| https://github.com/colesbury |
|
| https://github.com/python/cpython/pull/139848/files/1303db26a4ffeb0fe13ec667cec75017d938d1e8 |
|
| https://github.com/efimov-mikhail |
|
efimov-mikhail
| https://github.com/efimov-mikhail |
|
| https://github.com/python/cpython/pull/139848/files/daf85465058981dbfd67fb9a64b573e481c1cce7 |
|
| https://github.com/markshannon |
|
markshannon
| https://github.com/markshannon |
|
| https://github.com/AA-Turner |
|
AA-Turner
| https://github.com/AA-Turner |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
interpreter-core
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Ainterpreter-core |
|
topic-C-API
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-C-API |
|
type-feature
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature |
| Please reload this page | https://github.com/python/cpython/pull/139848 |
|
| https://github.com/vstinner |
|
| https://github.com/encukou |
|
| https://github.com/colesbury |
|
| https://github.com/efimov-mikhail |
|
| 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 |