René's URL Explorer Experiment


Title: GH-124715: trashcan protection for all GC objects by nascheme · Pull Request #124716 · python/cpython · GitHub

Open Graph Title: GH-124715: trashcan protection for all GC objects by nascheme · Pull Request #124716 · python/cpython

X Title: GH-124715: trashcan protection for all GC objects by nascheme · Pull Request #124716 · python/cpython

Description: This is an update of my GH-89060 PR, ported to current 'main' branch. The issue and fix are still the same as when the original Roundup bug was created: https://bugs.python.org/issue44897 Integrat...

Open Graph Description: This is an update of my GH-89060 PR, ported to current 'main' branch. The issue and fix are still the same as when the original Roundup bug was created: https://bugs.python.org/issue44897 ...

X Description: This is an update of my GH-89060 PR, ported to current 'main' branch. The issue and fix are still the same as when the original Roundup bug was created: https://bugs.python.org/iss...

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

X: @github

direct link

Domain: github.com

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:865d506c-0bf1-12a9-bf5e-ac32627b9298
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDFA6:388B78:252F000:30908F2:696B5966
html-safe-nonce1668476ce0192cf87162a00f769d7ede4bcd8a40b8dcb777ac3012f1ffa876d3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkE2OjM4OEI3ODoyNTJGMDAwOjMwOTA4RjI6Njk2QjU5NjYiLCJ2aXNpdG9yX2lkIjoiNDM1MTgzODc2NzkxNjIxMDUzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd162057c9c84cab1baf085bcef0c0225d9ead5f10b1a34e7f8d84e9860c85feb
hovercard-subject-tagpull_request:2096664080
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/124716/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7f032468071306f350fba90ac7857c72cb7074525bc97ee568d06df37f37d5db/python/cpython/pull/124716
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7f032468071306f350fba90ac7857c72cb7074525bc97ee568d06df37f37d5db/python/cpython/pull/124716
og:image:altThis is an update of my GH-89060 PR, ported to current 'main' branch. The issue and fix are still the same as when the original Roundup bug was created: https://bugs.python.org/issue44897 ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenascheme
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/124716#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F124716
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%2F124716
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
Reloadhttps://github.com/python/cpython/pull/124716
Reloadhttps://github.com/python/cpython/pull/124716
Reloadhttps://github.com/python/cpython/pull/124716
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/124716
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/124716
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
Jump to bottomhttps://github.com/python/cpython/pull/124716#issue-comment-box
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:trashcan_all_gchttps://github.com/nascheme/cpython/tree/trashcan_all_gc
GH-124715: trashcan protection for all GC objects https://github.com/python/cpython/pull/124716#top
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:trashcan_all_gchttps://github.com/nascheme/cpython/tree/trashcan_all_gc
Conversation 6 https://github.com/python/cpython/pull/124716
Commits 6 https://github.com/python/cpython/pull/124716/commits
Checks 0 https://github.com/python/cpython/pull/124716/checks
Files changed https://github.com/python/cpython/pull/124716/files
Please reload this pagehttps://github.com/python/cpython/pull/124716
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/nascheme
naschemehttps://github.com/nascheme
Sep 27, 2024https://github.com/python/cpython/pull/124716#issue-2553836699
Please reload this pagehttps://github.com/python/cpython/pull/124716
GH-89060https://github.com/python/cpython/issues/89060
https://bugs.python.org/issue44897https://bugs.python.org/issue44897
Not all types have "trashcan" protection and tp_dealloc can overflow stack #124715https://github.com/python/cpython/issues/124715
Please reload this pagehttps://github.com/python/cpython/pull/124716
naschemehttps://github.com/nascheme
September 27, 2024 12:44https://github.com/python/cpython/pull/124716#commits-pushed-2173832
https://github.com/nascheme
wip: add trashcan protection to all GC objectshttps://github.com/python/cpython/pull/124716/commits/2173832f0f8de29f612dd23ad8f39c4d772b9be1
2173832https://github.com/python/cpython/pull/124716/commits/2173832f0f8de29f612dd23ad8f39c4d772b9be1
https://github.com/nascheme
wip: fix _PyObject_GC_UNTRACK callshttps://github.com/python/cpython/pull/124716/commits/73644a76b8313756d78eca64afc09df3d5c5267e
73644a7https://github.com/python/cpython/pull/124716/commits/73644a76b8313756d78eca64afc09df3d5c5267e
https://github.com/nascheme
wip: add and use _PyObject_GC_TRACK_SAFEhttps://github.com/python/cpython/pull/124716/commits/64a26ee47862d4d3899eccbdb2ea1a800cd5b46d
64a26eehttps://github.com/python/cpython/pull/124716/commits/64a26ee47862d4d3899eccbdb2ea1a800cd5b46d
https://github.com/nascheme
wip: remove _PyObject_GC_TRACK_SAFEhttps://github.com/python/cpython/pull/124716/commits/dd4db33d7035d0f60b1ee896e74581f6e02f3acf
dd4db33https://github.com/python/cpython/pull/124716/commits/dd4db33d7035d0f60b1ee896e74581f6e02f3acf
https://github.com/nascheme
naschemehttps://github.com/nascheme
1st1https://github.com/1st1
iritkatrielhttps://github.com/iritkatriel
markshannonhttps://github.com/markshannon
methanehttps://github.com/methane
rhettingerhttps://github.com/rhettinger
code ownershttps://github.com/python/cpython/blob/1ba35ea38562bfc0301bab4e098aa124e114b886/.github/CODEOWNERS#L23
September 27, 2024 22:32https://github.com/python/cpython/pull/124716#event-14437820063
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
Sep 27, 2024https://github.com/python/cpython/pull/124716#event-14437820326
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 27, 2024 https://github.com/python/cpython/pull/124716#ref-issue-2553825335
Not all types have "trashcan" protection and tp_dealloc can overflow stack #124715 https://github.com/python/cpython/issues/124715
https://github.com/nascheme
naschemehttps://github.com/nascheme
Sep 27, 2024 https://github.com/python/cpython/pull/124716#ref-pullrequest-968173604
bpo-44897: WIP: Integrate trashcan into _Py_Dealloc #27738 https://github.com/python/cpython/pull/27738
https://github.com/nascheme
Add blurb.https://github.com/python/cpython/pull/124716/commits/31b2edee58da402f0a6b57ca22bfac7fb93aacb6
31b2edehttps://github.com/python/cpython/pull/124716/commits/31b2edee58da402f0a6b57ca22bfac7fb93aacb6
https://github.com/nascheme
naschemehttps://github.com/nascheme
Sep 27, 2024 https://github.com/python/cpython/pull/124716#ref-issue-1199063342
Integrate trashcan mechanism into _Py_Dealloc #89060 https://github.com/python/cpython/issues/89060
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 28, 2024 https://github.com/python/cpython/pull/124716#pullrequestreview-2334974812
View reviewed changes https://github.com/python/cpython/pull/124716/files/31b2edee58da402f0a6b57ca22bfac7fb93aacb6
Include/cpython/object.hhttps://github.com/python/cpython/pull/124716/files/31b2edee58da402f0a6b57ca22bfac7fb93aacb6#diff-7c8590641fc0d835bdab9395a95dbacfb2abb056cec4217466c0f3ca6cca8270
vstinnerhttps://github.com/vstinner
Sep 28, 2024https://github.com/python/cpython/pull/124716#discussion_r1779450700
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/124716
naschemehttps://github.com/nascheme
Sep 28, 2024https://github.com/python/cpython/pull/124716#discussion_r1779694376
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/124716
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Sep 30, 2024 https://github.com/python/cpython/pull/124716#pullrequestreview-2338294596
View reviewed changes https://github.com/python/cpython/pull/124716/files/31b2edee58da402f0a6b57ca22bfac7fb93aacb6
Objects/object.chttps://github.com/python/cpython/pull/124716/files/31b2edee58da402f0a6b57ca22bfac7fb93aacb6#diff-ba56d44ce0dd731d979970b966fde9d8dd15d12a82f727a052a8ad48d4a49363
colesburyhttps://github.com/colesbury
Sep 30, 2024https://github.com/python/cpython/pull/124716#discussion_r1781567847
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
cpython/Python/ceval.chttps://github.com/python/cpython/blob/35541c410d894d4fa18002f7fdbebfe522f8320e/Python/ceval.c#L87-L88
35541c4https://github.com/python/cpython/commit/35541c410d894d4fa18002f7fdbebfe522f8320e
Please reload this pagehttps://github.com/python/cpython/pull/124716
naschemehttps://github.com/nascheme
Sep 30, 2024https://github.com/python/cpython/pull/124716#discussion_r1781609650
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/124716
naschemehttps://github.com/nascheme
Oct 1, 2024https://github.com/python/cpython/pull/124716#discussion_r1783431922
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/124716
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
September 30, 2024 23:15https://github.com/python/cpython/pull/124716#event-14463488340
https://github.com/nascheme
Call _Py_Dealloc from ceval.c.https://github.com/python/cpython/pull/124716/commits/8443e847c9ca6ee30b5392a91c9114cfd0a4f5b5
8443e84https://github.com/python/cpython/pull/124716/commits/8443e847c9ca6ee30b5392a91c9114cfd0a4f5b5
https://github.com/nascheme
naschemehttps://github.com/nascheme
Apr 8, 2025https://github.com/python/cpython/pull/124716#issuecomment-2787620620
GH-132280https://github.com/python/cpython/pull/132280
Please reload this pagehttps://github.com/python/cpython/pull/124716
https://github.com/nascheme
naschemehttps://github.com/nascheme
Apr 8, 2025https://github.com/python/cpython/pull/124716#event-17177720664
https://github.com/nascheme
naschemehttps://github.com/nascheme
Jun 17, 2025 https://github.com/python/cpython/pull/124716#ref-issue-3115438334
test_weakref.test_threaded_weak_key_dict_deepcopy crash: merged objects should have ob_tid == 0 #135106 https://github.com/python/cpython/issues/135106
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%2F124716
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/124716/files/31b2edee58da402f0a6b57ca22bfac7fb93aacb6
https://github.com/colesbury
colesbury https://github.com/colesbury
https://github.com/python/cpython/pull/124716/files/31b2edee58da402f0a6b57ca22bfac7fb93aacb6
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/methane
methane https://github.com/methane
https://github.com/1st1
1st1 https://github.com/1st1
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Please reload this pagehttps://github.com/python/cpython/pull/124716
https://github.com/nascheme
https://github.com/vstinner
https://github.com/colesbury
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.