René's URL Explorer Experiment


Title: bpo-44897: WIP: Integrate trashcan into _Py_Dealloc by nascheme · Pull Request #27738 · python/cpython · GitHub

Open Graph Title: bpo-44897: WIP: Integrate trashcan into _Py_Dealloc by nascheme · Pull Request #27738 · python/cpython

X Title: bpo-44897: WIP: Integrate trashcan into _Py_Dealloc by nascheme · Pull Request #27738 · python/cpython

Description: This is a WIP/proof-of-concept of doing away with Py_TRASHCAN_BEGIN and Py_TRASHCAN_END and instead integrating the functionality into _Py_Dealloc. There are a few advantages: all container obje...

Open Graph Description: This is a WIP/proof-of-concept of doing away with Py_TRASHCAN_BEGIN and Py_TRASHCAN_END and instead integrating the functionality into _Py_Dealloc. There are a few advantages: all container obje...

X Description: This is a WIP/proof-of-concept of doing away with Py_TRASHCAN_BEGIN and Py_TRASHCAN_END and instead integrating the functionality into _Py_Dealloc. There are a few advantages: all container obje...

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

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:f4bd15e4-0ad1-49bd-11c5-d8ab4a44630a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB8C4:7EFC5:90228:C4699:696A99AA
html-safe-noncea1e49415691ab734c763fc551b706d1fb244530d8b358b9260db185c0ba7970e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEM0OjdFRkM1OjkwMjI4OkM0Njk5OjY5NkE5OUFBIiwidmlzaXRvcl9pZCI6IjI0OTczODk1NTQ0Mjc0MDI2NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0a9fbd24d88ef12460614d874bb9b8bf00667be2d44f406bc5b2a9bd9034d167
hovercard-subject-tagpull_request:710308186
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/27738/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c533f37f508e47d3e303cb8055fa1a1102a19dfbe83128d7b2768a6637adc0f3/python/cpython/pull/27738
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c533f37f508e47d3e303cb8055fa1a1102a19dfbe83128d7b2768a6637adc0f3/python/cpython/pull/27738
og:image:altThis is a WIP/proof-of-concept of doing away with Py_TRASHCAN_BEGIN and Py_TRASHCAN_END and instead integrating the functionality into _Py_Dealloc. There are a few advantages: all container obje...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenascheme
hostnamegithub.com
expected-hostnamegithub.com
Nonec0d8175e41e0e55b9e984c935b24b808cabab919dd3174aa45dac3ef503ed1af
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
release99aab454e5ddc8df30805fb76c114c3008a15842
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/27738#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F27738
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%2F27738
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/27738
Reloadhttps://github.com/python/cpython/pull/27738
Reloadhttps://github.com/python/cpython/pull/27738
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/27738
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/27738
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/27738#issue-comment-box
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:trashcan_py_deallochttps://github.com/nascheme/cpython/tree/trashcan_py_dealloc
bpo-44897: WIP: Integrate trashcan into _Py_Dealloc https://github.com/python/cpython/pull/27738#top
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:trashcan_py_deallochttps://github.com/nascheme/cpython/tree/trashcan_py_dealloc
Conversation 3 https://github.com/python/cpython/pull/27738
Commits 5 https://github.com/python/cpython/pull/27738/commits
Checks 0 https://github.com/python/cpython/pull/27738/checks
Files changed https://github.com/python/cpython/pull/27738/files
Please reload this pagehttps://github.com/python/cpython/pull/27738
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/nascheme
naschemehttps://github.com/nascheme
Aug 12, 2021https://github.com/python/cpython/pull/27738#issue-968173604
Please reload this pagehttps://github.com/python/cpython/pull/27738
https://bugs.python.org/issue44897https://bugs.python.org/issue44897
Please reload this pagehttps://github.com/python/cpython/pull/27738
https://github.com/nascheme
Integrate trashcan into _Py_Dealloc.https://github.com/python/cpython/pull/27738/commits/c3012a046272b854a6dac5f4406f8b770475b039
c3012a0https://github.com/python/cpython/pull/27738/commits/c3012a046272b854a6dac5f4406f8b770475b039
https://github.com/nascheme
naschemehttps://github.com/nascheme
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Aug 12, 2021https://github.com/python/cpython/pull/27738#event-5147017669
https://github.com/nascheme
naschemehttps://github.com/nascheme
1st1https://github.com/1st1
markshannonhttps://github.com/markshannon
methanehttps://github.com/methane
rhettingerhttps://github.com/rhettinger
code ownershttps://github.com/python/cpython/blob/f08e6d1bb3c5655f184af88c6793e90908bb6338/.github/CODEOWNERS#L11
August 12, 2021 06:35https://github.com/python/cpython/pull/27738#event-5147017703
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Aug 12, 2021https://github.com/python/cpython/pull/27738#event-5147017860
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 12, 2021https://github.com/python/cpython/pull/27738#event-5147017952
https://github.com/nascheme
Remove unneeded GC TRACK/UNTRACK calls.https://github.com/python/cpython/pull/27738/commits/a0698102a7badd2ca5b71f8a9245f068e5a8989b
a069810https://github.com/python/cpython/pull/27738/commits/a0698102a7badd2ca5b71f8a9245f068e5a8989b
https://github.com/nascheme
naschemehttps://github.com/nascheme
ctismerhttps://github.com/ctismer
tim-onehttps://github.com/tim-one
August 13, 2021 07:08https://github.com/python/cpython/pull/27738#event-5154128843
https://github.com/nascheme
Make _Py_Dealloc use _PyObject_IS_GC().https://github.com/python/cpython/pull/27738/commits/692191f72b08895cd87c009070e7156998b4f201
692191fhttps://github.com/python/cpython/pull/27738/commits/692191f72b08895cd87c009070e7156998b4f201
https://github.com/ambv
ambvhttps://github.com/ambv
Aug 16, 2021 https://github.com/python/cpython/pull/27738#ref-pullrequest-965434561
bpo-44881: Integrate GC untrack into trashcan begin. #27718 https://github.com/python/cpython/pull/27718
naschemehttps://github.com/nascheme
August 16, 2021 10:52https://github.com/python/cpython/pull/27738#commits-pushed-6ce59ff
https://github.com/nascheme
Small optimization for _Py_Dealloc().https://github.com/python/cpython/pull/27738/commits/6ce59ff98caf045b76751a1c65262ef222924497
6ce59ffhttps://github.com/python/cpython/pull/27738/commits/6ce59ff98caf045b76751a1c65262ef222924497
https://github.com/nascheme
Tidy up code, improve comments.https://github.com/python/cpython/pull/27738/commits/92653a8209c7967a5c30b884995243e3acdb089e
92653a8https://github.com/python/cpython/pull/27738/commits/92653a8209c7967a5c30b884995243e3acdb089e
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 16, 2021https://github.com/python/cpython/pull/27738#issuecomment-920473349
Please reload this pagehttps://github.com/python/cpython/pull/27738
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Sep 16, 2021https://github.com/python/cpython/pull/27738#event-5309234269
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
May 3, 2022 06:30https://github.com/python/cpython/pull/27738#event-6538590611
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 13, 2022https://github.com/python/cpython/pull/27738#event-6988865979
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Aug 11, 2022https://github.com/python/cpython/pull/27738#event-7167970967
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Oct 14, 2022 https://github.com/python/cpython/pull/27738#ref-issue-1409499035
More efficient deallocation. faster-cpython/ideas#482 https://github.com/faster-cpython/ideas/issues/482
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 9, 2022 https://github.com/python/cpython/pull/27738#ref-pullrequest-1436238174
gh-98724: Fix Py_CLEAR() macro side effects #99100 https://github.com/python/cpython/pull/99100
https://github.com/nascheme
naschemehttps://github.com/nascheme
Apr 5, 2023https://github.com/python/cpython/pull/27738#issuecomment-1498068451
GH-102356https://github.com/python/cpython/issues/102356
Please reload this pagehttps://github.com/python/cpython/pull/27738
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
January 17, 2024 20:08https://github.com/python/cpython/pull/27738#event-11515959872
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
Jan 17, 2024https://github.com/python/cpython/pull/27738#event-11515960247
https://github.com/nascheme
naschemehttps://github.com/nascheme
Sep 27, 2024https://github.com/python/cpython/pull/27738#issuecomment-2380235521
GH-124716https://github.com/python/cpython/pull/124716
Please reload this pagehttps://github.com/python/cpython/pull/27738
https://github.com/nascheme
naschemehttps://github.com/nascheme
Sep 27, 2024https://github.com/python/cpython/pull/27738#event-14437826992
https://github.com/nascheme
naschemehttps://github.com/nascheme
Sep 27, 2024 https://github.com/python/cpython/pull/27738#ref-issue-1199063342
Integrate trashcan mechanism into _Py_Dealloc #89060 https://github.com/python/cpython/issues/89060
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%2F27738
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/methane
methane https://github.com/methane
https://github.com/tim-one
tim-one https://github.com/tim-one
https://github.com/ctismer
ctismer https://github.com/ctismer
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/rhettinger
rhettinger https://github.com/rhettinger
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Please reload this pagehttps://github.com/python/cpython/pull/27738
https://github.com/nascheme
https://github.com/the-knights-who-say-ni
https://github.com/ezio-melotti
https://github.com/bedevere-bot
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.