René's URL Explorer Experiment


Title: gh-145921: Clarify return value of tp_traverse by encukou · Pull Request #160455 · python/cpython · GitHub

Open Graph Title: gh-145921: Clarify return value of tp_traverse by encukou · Pull Request #160455 · python/cpython

X Title: gh-145921: Clarify return value of tp_traverse by encukou · Pull Request #160455 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Issue: Add _DuringGC functions for tp_traverse #145921

X Description: Issue: Add _DuringGC functions for tp_traverse #145921

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:df204ff1-16a0-a797-38a1-409fffe7dcd3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C16:130DD7:E491B0:132643C:6B064DF5
html-safe-nonce3ea4f92e280f3a850706b1d958c2de75034a26e9dad156aa732942e048c3817b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzE2OjEzMERENzpFNDkxQjA6MTMyNjQzQzo2QjA2NERGNSIsInZpc2l0b3JfaWQiOiIyOTc5MDUwNzA2MjY4NzM3MDEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac02fb47623eb402476f6411fadf902d62495ffb50e918665111a21319f578926c
hovercard-subject-tagpull_request:4986983016
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/160455/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/eeb43833455af5706243c42be45b1414cd0dce742c7c5f0c14c4aa5b09db5b4a/python/cpython/pull/160455
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eeb43833455af5706243c42be45b1414cd0dce742c7c5f0c14c4aa5b09db5b4a/python/cpython/pull/160455
og:image:altIssue: Add _DuringGC functions for tp_traverse #145921
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameencukou
hostnamegithub.com
expected-hostnamegithub.com
None772b6997ca4daa0428dd49a25d76052e765555ae560fe9c88517eb828bbd861e
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef1f9a08f7c769a37f1dfc18ad43d463c222a7eea
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/160455#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F160455
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F160455
Sign uphttps://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
Reloadhttps://github.com/python/cpython/pull/160455
Reloadhttps://github.com/python/cpython/pull/160455
Reloadhttps://github.com/python/cpython/pull/160455
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
encukou:tp_traverse-retvalhttps://github.com/encukou/cpython/tree/tp_traverse-retval
Conversationhttps://github.com/python/cpython/pull/160455
Commits3 (3)https://github.com/python/cpython/pull/160455/commits
Checkshttps://github.com/python/cpython/pull/160455/checks
Files changedhttps://github.com/python/cpython/pull/160455/files
gh-145921: Clarify return value of tp_traversehttps://github.com/python/cpython/pull/160455#top
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
encukou:tp_traverse-retvalhttps://github.com/encukou/cpython/tree/tp_traverse-retval
https://github.com/encukou
encukouhttps://github.com/encukou
Oct 23, 2026https://github.com/python/cpython/pull/160455#issue-6002765638
Please reload this pagehttps://github.com/python/cpython/pull/160455
Add _DuringGC functions for tp_traverse #145921https://github.com/python/cpython/issues/145921
Please reload this pagehttps://github.com/python/cpython/pull/160455
encukouhttps://github.com/encukou
October 23, 2026 10:47https://github.com/python/cpython/pull/160455#commits-pushed-03d41f6
https://github.com/encukou
pythongh-145921https://github.com/python/cpython/issues/145921
: Clarify return value of tp_traversehttps://github.com/python/cpython/pull/160455/commits/03d41f6a19f95b18a8989553f0fbbc4989747e99
03d41f6https://github.com/python/cpython/pull/160455/commits/03d41f6a19f95b18a8989553f0fbbc4989747e99
https://github.com/encukou
Fix Py_VISIT expansionhttps://github.com/python/cpython/pull/160455/commits/2303aaee1fbd25f3c9e1fed0cd02c699cf7f7976
2303aaehttps://github.com/python/cpython/pull/160455/commits/2303aaee1fbd25f3c9e1fed0cd02c699cf7f7976
https://github.com/encukou
encukouhttps://github.com/encukou
naschemehttps://github.com/nascheme
October 23, 2026 17:49https://github.com/python/cpython/pull/160455#event-34077419027
https://github.com/encukou
encukouhttps://github.com/encukou
ZeroIntensityhttps://github.com/ZeroIntensity
code ownerhttps://github.com/python/cpython/blob/8d119208074fef0f652f14f78612b044dd218c4f/.github/CODEOWNERS#L114
October 23, 2026 17:49https://github.com/python/cpython/pull/160455#event-34077420082
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Oct 23, 2026https://github.com/python/cpython/pull/160455#event-34077425736
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 23, 2026 https://github.com/python/cpython/pull/160455#ref-issue-4071745106
Add _DuringGC functions for tp_traverse #145921 https://github.com/python/cpython/issues/145921
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Oct 23, 2026https://github.com/python/cpython/pull/160455#event-34077435480
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Docs PRshttps://github.com/orgs/python/projects/50
Oct 23, 2026https://github.com/python/cpython/pull/160455#event-34077439835
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Docs PRshttps://github.com/orgs/python/projects/50
Oct 23, 2026https://github.com/python/cpython/pull/160455#event-34077442392
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Oct 23, 2026https://github.com/python/cpython/pull/160455#issuecomment-6371260723
Please reload this pagehttps://github.com/python/cpython/pull/160455
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#35367398https://app.readthedocs.org/projects/cpython-previews/builds/35367398/
c8f1f2ahttps://github.com/python/cpython/commit/c8f1f2ac0e6723eb8f2ce431bd249c40c18a389f
mainhttps://cpython-previews.readthedocs.io/en/main/
8d11920https://github.com/python/cpython/commit/8d119208074fef0f652f14f78612b044dd218c4f
  🔍 Preview build   https://cpython-previews--160455.org.readthedocs.build/en/160455/
builtins/functions.htmlhttps://cpython-previews--160455.org.readthedocs.build/en/160455/builtins/functions.html
c-api/gcsupport.htmlhttps://cpython-previews--160455.org.readthedocs.build/en/160455/c-api/gcsupport.html
c-api/pyexpat.htmlhttps://cpython-previews--160455.org.readthedocs.build/en/160455/c-api/pyexpat.html
deprecations/index.htmlhttps://cpython-previews--160455.org.readthedocs.build/en/160455/deprecations/index.html
deprecations/pending-removal-in-3.19.htmlhttps://cpython-previews--160455.org.readthedocs.build/en/160455/deprecations/pending-removal-in-3.19.html
deprecations/pending-removal-in-future.htmlhttps://cpython-previews--160455.org.readthedocs.build/en/160455/deprecations/pending-removal-in-future.html
library/concurrent.futures.htmlhttps://cpython-previews--160455.org.readthedocs.build/en/160455/library/concurrent.futures.html
library/datetime.htmlhttps://cpython-previews--160455.org.readthedocs.build/en/160455/library/datetime.html
library/json.htmlhttps://cpython-previews--160455.org.readthedocs.build/en/160455/library/json.html
library/re.htmlhttps://cpython-previews--160455.org.readthedocs.build/en/160455/library/re.html
Please reload this pagehttps://github.com/python/cpython/pull/160455
https://github.com/nascheme
naschemehttps://github.com/nascheme
Oct 23, 2026 https://github.com/python/cpython/pull/160455#pullrequestreview-5632967367
View reviewed changes https://github.com/python/cpython/pull/160455/files/2303aaee1fbd25f3c9e1fed0cd02c699cf7f7976
naschemehttps://github.com/nascheme
https://github.com/python/cpython/pull/160455#pullrequestreview-5632967367
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/160455
Doc/c-api/gcsupport.rsthttps://github.com/python/cpython/pull/160455/files/2303aaee1fbd25f3c9e1fed0cd02c699cf7f7976#diff-8450fc1abe04c96a80a3fc4efddaccced77286fa01d3f32a7e20b8bb291ce420
naschemehttps://github.com/nascheme
Oct 23, 2026https://github.com/python/cpython/pull/160455#discussion_r4363077318
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/160455
naschemehttps://github.com/nascheme
Oct 23, 2026https://github.com/python/cpython/pull/160455#discussion_r4363107216
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/160455
encukouhttps://github.com/encukou
Oct 23, 2026https://github.com/python/cpython/pull/160455#discussion_r4364773211
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/160455
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 23, 2026https://github.com/python/cpython/pull/160455#event-34081880421
https://github.com/encukou
More precise wordinghttps://github.com/python/cpython/pull/160455/commits/c8f1f2ac0e6723eb8f2ce431bd249c40c18a389f
c8f1f2ahttps://github.com/python/cpython/pull/160455/commits/c8f1f2ac0e6723eb8f2ce431bd249c40c18a389f
https://github.com/encukou
encukouhttps://github.com/encukou
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Oct 28, 2026https://github.com/python/cpython/pull/160455#event-34486576342
https://github.com/encukou
encukouhttps://github.com/encukou
cfe7e0ahttps://github.com/python/cpython/commit/cfe7e0a5ea5043991492ee71a8c6a322172b353a
Oct 28, 2026https://github.com/python/cpython/pull/160455#event-34486618652
Please reload this pagehttps://github.com/python/cpython/pull/160455
https://github.com/encukou
encukouhttps://github.com/encukou
October 28, 2026 14:49https://github.com/python/cpython/pull/160455#event-34486624863
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 28, 2026https://github.com/python/cpython/pull/160455#issuecomment-6472212132
@encukouhttps://github.com/encukou
Please reload this pagehttps://github.com/python/cpython/pull/160455
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Oct 28, 2026https://github.com/python/cpython/pull/160455#event-34486625936
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Docs PRshttps://github.com/orgs/python/projects/50
Oct 28, 2026https://github.com/python/cpython/pull/160455#event-34486628067
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 28, 2026https://github.com/python/cpython/pull/160455#issuecomment-6472215590
@encukouhttps://github.com/encukou
cherry_pickerhttps://pypi.org/project/cherry-picker/
devguidehttps://devguide.python.org/getting-started/git-boot-camp/#backporting-merged-changes
Please reload this pagehttps://github.com/python/cpython/pull/160455
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
encukouhttps://github.com/encukou
Oct 28, 2026https://github.com/python/cpython/pull/160455#event-34486643351
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 28, 2026https://github.com/python/cpython/pull/160455#issuecomment-6472220050
GH-160826https://github.com/python/cpython/pull/160826
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/160455
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Oct 28, 2026https://github.com/python/cpython/pull/160455#event-34486662667
encukouhttps://github.com/encukou
Oct 28, 2026 https://github.com/python/cpython/pull/160455#ref-commit-a6616f2
https://github.com/miss-islington
https://github.com/encukou
[3.15]https://github.com/python/cpython/commit/a6616f25d95a497ed05e3bb23ae7aa982c2845ce
gh-145921https://github.com/python/cpython/issues/145921
: Clarify return value of tp_traverse (https://github.com/python/cpython/commit/a6616f25d95a497ed05e3bb23ae7aa982c2845ce
GH-160455https://github.com/python/cpython/pull/160455
) (https://github.com/python/cpython/commit/a6616f25d95a497ed05e3bb23ae7aa982c2845ce
GH…https://github.com/python/cpython/pull/160826
a6616f2https://github.com/python/cpython/commit/a6616f25d95a497ed05e3bb23ae7aa982c2845ce
…-160826https://github.com/python/cpython/pull/160826
cfe7e0ahttps://github.com/python/cpython/commit/cfe7e0a5ea5043991492ee71a8c6a322172b353a
https://github.com/encukou
encukouhttps://github.com/encukou
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Oct 29, 2026https://github.com/python/cpython/pull/160455#event-34564258653
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Nov 21, 2026 https://github.com/python/cpython/pull/160455#ref-issue-6534916703
gc regression on main; live objects can be cleared due to tp_traverse races #162407 https://github.com/python/cpython/issues/162407
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Nov 21, 2026 https://github.com/python/cpython/pull/160455#pullrequestreview-6008471613
View reviewed changes https://github.com/python/cpython/pull/160455/files/c8f1f2ac0e6723eb8f2ce431bd249c40c18a389f
Doc/c-api/gcsupport.rsthttps://github.com/python/cpython/pull/160455/files/c8f1f2ac0e6723eb8f2ce431bd249c40c18a389f#diff-8450fc1abe04c96a80a3fc4efddaccced77286fa01d3f32a7e20b8bb291ce420
gpsheadhttps://github.com/gpshead
Nov 21, 2026https://github.com/python/cpython/pull/160455#discussion_r4655197362
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#162407https://github.com/python/cpython/issues/162407
Please reload this pagehttps://github.com/python/cpython/pull/160455
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F160455
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/python/cpython/pull/160455/files/c8f1f2ac0e6723eb8f2ce431bd249c40c18a389f
https://github.com/nascheme
nascheme https://github.com/nascheme
https://github.com/python/cpython/pull/160455/files/2303aaee1fbd25f3c9e1fed0cd02c699cf7f7976
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
Please reload this pagehttps://github.com/python/cpython/pull/160455
https://github.com/encukou
encukou https://github.com/encukou
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Docs PRs https://github.com/orgs/python/projects/50
Please reload this pagehttps://github.com/python/cpython/pull/160455
https://github.com/encukou
https://github.com/gpshead
https://github.com/nascheme
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.