| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:156d2298-d22b-9a5d-26e1-28532144dab9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D8D0:2DD6A3:644E9:872CC:6B066334 |
| html-safe-nonce | 764d6e4486d12ae50d1d803a81127c7e5368043c911876db23662ead81eb3b3f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEQwOjJERDZBMzo2NDRFOTo4NzJDQzo2QjA2NjMzNCIsInZpc2l0b3JfaWQiOiIzOTg5NDY5MTA0NDE0NTQ4Nzg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d2b64493d7be81032c2c3cf1c01f9aff8c648c3702ca9fe68cd27196f476695a |
| hovercard-subject-tag | pull_request:3395807596 |
| 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/145925/files |
| twitter:image | https://avatars.githubusercontent.com/u/302922?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/302922?s=400&v=4 |
| og:image:alt | There are newly documented restrictions on tp_traverse:
The traversal function must not have any side effects.
It must not modify the reference counts of any Python
objects nor create or destroy a... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297 |
| 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 | 7f0aa75f4141d440c6110dc31af7ea7797abb6c4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/145925/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145925%2Ffiles |
| 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%2F145925%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/145925/files |
| Reload | https://github.com/python/cpython/pull/145925/files |
| Reload | https://github.com/python/cpython/pull/145925/files |
| 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 |
| 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 |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| encukou:during-gc | https://github.com/encukou/cpython/tree/during-gc |
|
Conversation
39
| https://github.com/python/cpython/pull/145925 |
|
Commits
15
| https://github.com/python/cpython/pull/145925/commits |
|
Checks
52
| https://github.com/python/cpython/pull/145925/checks |
|
Files changed
| https://github.com/python/cpython/pull/145925/files |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
|
gh-145921: Add "_DuringGC" functions for tp_traverse
| https://github.com/python/cpython/pull/145925/files#top |
|
Show all changes
15 commits
| https://github.com/python/cpython/pull/145925/files |
|
797312f
gh-145921: Add "_DuringGC" functions for tp_traverse
lysnikolaou Mar 13, 2026
| https://github.com/python/cpython/pull/145925/commits/797312f786dcfd2798cb3addfce05e3ea24b55e7 |
|
01cd8f7
Exclude PyObject_GetItemData_DuringGC from limited ABI
encukou Mar 13, 2026
| https://github.com/python/cpython/pull/145925/commits/01cd8f7a4b560aac37398d17ba7247aa8ecbcd98 |
|
a94159a
Fix typo in link
encukou Mar 17, 2026
| https://github.com/python/cpython/pull/145925/commits/a94159a8ff4630a3467ec6216f7ba4f3b0fd0666 |
|
f5a0b07
Move common info to a common section.
encukou Mar 17, 2026
| https://github.com/python/cpython/pull/145925/commits/f5a0b072e1442de918d751cd543e779f6452f107 |
|
6730065
return m
encukou Mar 17, 2026
| https://github.com/python/cpython/pull/145925/commits/6730065460c7294234e52134b05e95052ba51e3d |
|
1eb82d7
Merge in the main branch
encukou Mar 19, 2026
| https://github.com/python/cpython/pull/145925/commits/1eb82d7b5842d9b3f3439f1722d379a6457bd6cc |
|
30a602f
Apply suggestions from code review
encukou Mar 19, 2026
| https://github.com/python/cpython/pull/145925/commits/30a602fed19bf733e0f5700aa808f674c3e429c0 |
|
2f74db1
Merge in the GitHub branch
encukou Mar 19, 2026
| https://github.com/python/cpython/pull/145925/commits/2f74db149556e35b0a0cc262e2065648058e51a3 |
|
467ec09
Some more thread safety notes
encukou Mar 19, 2026
| https://github.com/python/cpython/pull/145925/commits/467ec09a0792f043d2f3c7d0d1d95b60714553db |
|
9d1386a
Correct function name
encukou Mar 19, 2026
| https://github.com/python/cpython/pull/145925/commits/9d1386a3de33ff49d5059f698547128edb932ceb |
|
1cb20e6
PyObject_GetItemData: parametrize raising
encukou Mar 19, 2026
| https://github.com/python/cpython/pull/145925/commits/1cb20e6ffe42fb5b160047f48e582c90ff22098e |
|
bd11e85
What's New entry
encukou Mar 19, 2026
| https://github.com/python/cpython/pull/145925/commits/bd11e85dd3885257abf154601d98db15720e9d40 |
|
df3bbfe
frogotten git add :/
encukou Mar 19, 2026
| https://github.com/python/cpython/pull/145925/commits/df3bbfe22031705f46c8ce275c895293fdbe5c35 |
|
ba544d1
Merge branch 'main' into during-gc
encukou Mar 25, 2026
| https://github.com/python/cpython/pull/145925/commits/ba544d119a0e603511415760432d6349d339db4f |
|
3b40506
Merge branch 'main' into during-gc
encukou Apr 7, 2026
| https://github.com/python/cpython/pull/145925/commits/3b405064fe4d2b0e823a2268d245f0b3b42741f3 |
|
Clear filters
| https://github.com/python/cpython/pull/145925/files |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
|
gcsupport.rst
| https://github.com/python/cpython/pull/145925/files#diff-8450fc1abe04c96a80a3fc4efddaccced77286fa01d3f32a7e20b8bb291ce420 |
|
typeobj.rst
| https://github.com/python/cpython/pull/145925/files#diff-560c6b0fbef4ddae510a4f11e165d0cd179a52506b470cead404d2b53e48bbe1 |
|
refcounts.dat
| https://github.com/python/cpython/pull/145925/files#diff-8ff1c587ae684b63fa94170a8defe58fde39ef0a7d296afffc5d89e3afb95725 |
|
stable_abi.dat
| https://github.com/python/cpython/pull/145925/files#diff-e87eccb88c979495c493aed4127b9f9932c320edfe4d95c8e28e2ca92e8e33f3 |
|
3.15.rst
| https://github.com/python/cpython/pull/145925/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
object.h
| https://github.com/python/cpython/pull/145925/files#diff-7c8590641fc0d835bdab9395a95dbacfb2abb056cec4217466c0f3ca6cca8270 |
|
pycore_moduleobject.h
| https://github.com/python/cpython/pull/145925/files#diff-e4580d8176afaa9eafde1afd646de2220746b3527aff4421f325a96f65437b81 |
|
moduleobject.h
| https://github.com/python/cpython/pull/145925/files#diff-b922950b4d9070569144f21cce5616a05ef2b86415c05e965f10acfbe8652d9f |
|
object.h
| https://github.com/python/cpython/pull/145925/files#diff-87272721a5cf1cd9915d6f503f6a7bbefa2f26c935c7ce83ca78706afd0ad05a |
|
test_stable_abi_ctypes.py
| https://github.com/python/cpython/pull/145925/files#diff-e23b7eb96b17ef58f28bd65875edc3ec27eeb85be4c342d0c2d9c74121a74c0b |
|
2026-03-13-16-37-54.gh-issue-145921.ssA7HZ.rst
| https://github.com/python/cpython/pull/145925/files#diff-e4f7b9cff32d81afb981e21be06c39b4305d4869a24a8591d4ae5f77ff5b0ee1 |
|
stable_abi.toml
| https://github.com/python/cpython/pull/145925/files#diff-f098b9ddf231fb279a9f5b4b8ed22c4241e1ffed7fe0deffb2c76bb2126d2911 |
|
_ctypes.c
| https://github.com/python/cpython/pull/145925/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
ctypes.h
| https://github.com/python/cpython/pull/145925/files#diff-53f61eb1ad6b25b3aff25b54b4df5004a1f1137ca1d2aae4c7e31fc00ec6e9f8 |
|
heaptype.c
| https://github.com/python/cpython/pull/145925/files#diff-d9a6b6a084da87b48d939dbb827660cc1926fabbd85fa0e3e173858d55cc4cd7 |
|
module.c
| https://github.com/python/cpython/pull/145925/files#diff-70f0ca6b45c9d9808e05a0ca17fe0a9dd0d0ba5b10e0ea8a54358fb4e46eb89e |
|
heaptype_relative.c
| https://github.com/python/cpython/pull/145925/files#diff-42127c1f5dc4e3ebe96395d14659d54967551b67b4c2e183b0c26ed779912d66 |
|
_testmultiphase.c
| https://github.com/python/cpython/pull/145925/files#diff-f131d2f9bbec4a8dcdcfa1509f5d01a9c39674a8caa646d5c9d5e08971fd6ce5 |
|
_testsinglephase.c
| https://github.com/python/cpython/pull/145925/files#diff-3fbe563401944538a01a71448ef93250ea97fd91892c0656b6ebc0c72f5b96c8 |
|
moduleobject.c
| https://github.com/python/cpython/pull/145925/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5 |
|
typeobject.c
| https://github.com/python/cpython/pull/145925/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
|
python3dll.c
| https://github.com/python/cpython/pull/145925/files#diff-be34b08a4cde4f0bfbf86bc3c427e4a3dcc3f2f472061a50d00040a0d8a57c88 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114 |
| Doc/c-api/gcsupport.rst | https://github.com/python/cpython/pull/145925/files#diff-8450fc1abe04c96a80a3fc4efddaccced77286fa01d3f32a7e20b8bb291ce420 |
|
View file
| https://github.com/encukou/cpython/blob/3b405064fe4d2b0e823a2268d245f0b3b42741f3/Doc/c-api/gcsupport.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/145925/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/145925/files#diff-8450fc1abe04c96a80a3fc4efddaccced77286fa01d3f32a7e20b8bb291ce420 |
| vstinner | https://github.com/vstinner |
| Mar 18, 2026 | https://github.com/python/cpython/pull/145925/files#r2956135418 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| encukou | https://github.com/encukou |
| Mar 19, 2026 | https://github.com/python/cpython/pull/145925/files#r2959157128 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| zooba | https://github.com/zooba |
| Mar 16, 2026 | https://github.com/python/cpython/pull/145925/files#r2942777874 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| encukou | https://github.com/encukou |
| Mar 17, 2026 | https://github.com/python/cpython/pull/145925/files#r2945673968 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| zooba | https://github.com/zooba |
| Mar 17, 2026 | https://github.com/python/cpython/pull/145925/files#r2948476001 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| encukou | https://github.com/encukou |
| Mar 19, 2026 | https://github.com/python/cpython/pull/145925/files#r2959231699 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://docs.python.org/3/c-api/call.html#vectorcall | https://docs.python.org/3/c-api/call.html#vectorcall |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| zooba | https://github.com/zooba |
| Mar 16, 2026 | https://github.com/python/cpython/pull/145925/files#r2942801399 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| encukou | https://github.com/encukou |
| Mar 17, 2026 | https://github.com/python/cpython/pull/145925/files#r2945692783 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| zooba | https://github.com/zooba |
| Mar 18, 2026 | https://github.com/python/cpython/pull/145925/files#r2953762721 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| encukou | https://github.com/encukou |
| Mar 19, 2026 | https://github.com/python/cpython/pull/145925/files#r2959211618 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
|
| https://github.com/python/cpython/pull/145925/files#diff-8450fc1abe04c96a80a3fc4efddaccced77286fa01d3f32a7e20b8bb291ce420 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114 |
| Doc/c-api/typeobj.rst | https://github.com/python/cpython/pull/145925/files#diff-560c6b0fbef4ddae510a4f11e165d0cd179a52506b470cead404d2b53e48bbe1 |
|
View file
| https://github.com/encukou/cpython/blob/3b405064fe4d2b0e823a2268d245f0b3b42741f3/Doc/c-api/typeobj.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/145925/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/145925/files#diff-560c6b0fbef4ddae510a4f11e165d0cd179a52506b470cead404d2b53e48bbe1 |
|
| https://github.com/python/cpython/pull/145925/files#diff-560c6b0fbef4ddae510a4f11e165d0cd179a52506b470cead404d2b53e48bbe1 |
| Doc/data/refcounts.dat | https://github.com/python/cpython/pull/145925/files#diff-8ff1c587ae684b63fa94170a8defe58fde39ef0a7d296afffc5d89e3afb95725 |
|
View file
| https://github.com/encukou/cpython/blob/3b405064fe4d2b0e823a2268d245f0b3b42741f3/Doc/data/refcounts.dat |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/145925/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/145925/files#diff-8ff1c587ae684b63fa94170a8defe58fde39ef0a7d296afffc5d89e3afb95725 |
|
| https://github.com/python/cpython/pull/145925/files#diff-8ff1c587ae684b63fa94170a8defe58fde39ef0a7d296afffc5d89e3afb95725 |
| Please reload this page | https://github.com/python/cpython/pull/145925/files |
| Please reload this page | https://github.com/python/cpython/pull/145925/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 |