René's URL Explorer Experiment


Title: bpo-38152: Fix refleak in the finalizer of AST type by eduardo-elizondo · Pull Request #16127 · python/cpython · GitHub

Open Graph Title: bpo-38152: Fix refleak in the finalizer of AST type by eduardo-elizondo · Pull Request #16127 · python/cpython

X Title: bpo-38152: Fix refleak in the finalizer of AST type by eduardo-elizondo · Pull Request #16127 · python/cpython

Description: The AST_object was leaking its reference to the AST type. This change properly decreases the reference to the type at deallocation time. Also, this modifies tp_free to use PyType_GetSlot to make Py...

Open Graph Description: The AST_object was leaking its reference to the AST type. This change properly decreases the reference to the type at deallocation time. Also, this modifies tp_free to use PyType_GetSlot to make Py...

X Description: The AST_object was leaking its reference to the AST type. This change properly decreases the reference to the type at deallocation time. Also, this modifies tp_free to use PyType_GetSlot to make Py...

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

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:6d1fb72a-0c2d-cd43-3d97-f6086ace344f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDE04:D0F38:5801BB:7AD982:696A0678
html-safe-noncefe82dca1280f572a360f0949b3c918145603a6a90c178a1174f91006566f7f5e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTA0OkQwRjM4OjU4MDFCQjo3QUQ5ODI6Njk2QTA2NzgiLCJ2aXNpdG9yX2lkIjoiNzk1NjM4MzA1NzQwMjUyOTQwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8454734c88359418968c80f6e1ce7185fb2a48216b3a86d1852c5667bb791d56
hovercard-subject-tagpull_request:317444213
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/16127/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fd0f14e17bef88142213f6c561eecea622206504950f229e70b34bc4f0b3ec29/python/cpython/pull/16127
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fd0f14e17bef88142213f6c561eecea622206504950f229e70b34bc4f0b3ec29/python/cpython/pull/16127
og:image:altThe AST_object was leaking its reference to the AST type. This change properly decreases the reference to the type at deallocation time. Also, this modifies tp_free to use PyType_GetSlot to make Py...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeduardo-elizondo
hostnamegithub.com
expected-hostnamegithub.com
None578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc
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
release671c2f67171dbced24284331f3133a613d08c366
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/16127#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F16127
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%2F16127
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/16127
Reloadhttps://github.com/python/cpython/pull/16127
Reloadhttps://github.com/python/cpython/pull/16127
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/16127
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/16127
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/16127#issue-comment-box
DinoVhttps://github.com/DinoV
python:masterhttps://github.com/python/cpython/tree/master
eduardo-elizondo:fix-ast-leakshttps://github.com/eduardo-elizondo/cpython/tree/fix-ast-leaks
bpo-38152: Fix refleak in the finalizer of AST type https://github.com/python/cpython/pull/16127#top
DinoVhttps://github.com/DinoV
python:masterhttps://github.com/python/cpython/tree/master
eduardo-elizondo:fix-ast-leakshttps://github.com/eduardo-elizondo/cpython/tree/fix-ast-leaks
Conversation 6 https://github.com/python/cpython/pull/16127
Commits 1 https://github.com/python/cpython/pull/16127/commits
Checks 0 https://github.com/python/cpython/pull/16127/checks
Files changed https://github.com/python/cpython/pull/16127/files
Please reload this pagehttps://github.com/python/cpython/pull/16127
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/eduardo-elizondo
eduardo-elizondohttps://github.com/eduardo-elizondo
Sep 13, 2019https://github.com/python/cpython/pull/16127#issue-493470074
Please reload this pagehttps://github.com/python/cpython/pull/16127
https://bugs.python.org/issue38152https://bugs.python.org/issue38152
Please reload this pagehttps://github.com/python/cpython/pull/16127
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
Sep 13, 2019https://github.com/python/cpython/pull/16127#event-2633260556
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 13, 2019https://github.com/python/cpython/pull/16127#event-2633260672
https://github.com/eduardo-elizondo
eduardo-elizondohttps://github.com/eduardo-elizondo
Sep 13, 2019https://github.com/python/cpython/pull/16127#event-2633261254
https://github.com/eduardo-elizondo
eduardo-elizondohttps://github.com/eduardo-elizondo
Sep 13, 2019https://github.com/python/cpython/pull/16127#event-2633262410
https://github.com/eduardo-elizondo
Fix leaks in Python-ast.chttps://github.com/python/cpython/pull/16127/commits/7d84e191c59e0c98ff1e27b6edd19ebb9ef14433
7d84e19https://github.com/python/cpython/pull/16127/commits/7d84e191c59e0c98ff1e27b6edd19ebb9ef14433
https://github.com/eduardo-elizondo
eduardo-elizondohttps://github.com/eduardo-elizondo
force-pushedhttps://github.com/python/cpython/compare/f9c9bf29f5762d2afa6ee43d24b4e95e0f1aab11..7d84e191c59e0c98ff1e27b6edd19ebb9ef14433
f9c9bf2https://github.com/python/cpython/commit/f9c9bf29f5762d2afa6ee43d24b4e95e0f1aab11
7d84e19https://github.com/python/cpython/commit/7d84e191c59e0c98ff1e27b6edd19ebb9ef14433
Compare https://github.com/python/cpython/compare/f9c9bf29f5762d2afa6ee43d24b4e95e0f1aab11..7d84e191c59e0c98ff1e27b6edd19ebb9ef14433
September 13, 2019 19:03https://github.com/python/cpython/pull/16127#event-2633282262
https://github.com/eduardo-elizondo
eduardo-elizondohttps://github.com/eduardo-elizondo
Sep 13, 2019https://github.com/python/cpython/pull/16127#issuecomment-531357686
Please reload this pagehttps://github.com/python/cpython/pull/16127
https://github.com/eduardo-elizondo
eduardo-elizondohttps://github.com/eduardo-elizondo
Sep 13, 2019https://github.com/python/cpython/pull/16127#issuecomment-531358011
@matrixisehttps://github.com/matrixise
Please reload this pagehttps://github.com/python/cpython/pull/16127
https://github.com/ammaraskar
ammaraskarhttps://github.com/ammaraskar
Sep 14, 2019 https://github.com/python/cpython/pull/16127#pullrequestreview-288312751
View reviewed changes https://github.com/python/cpython/pull/16127/files/7d84e191c59e0c98ff1e27b6edd19ebb9ef14433
ammaraskarhttps://github.com/ammaraskar
https://github.com/python/cpython/pull/16127#pullrequestreview-288312751
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
introduced INCREFhttps://github.com/python/cpython/commit/364f0b0f19cc3f0d5e63f571ec9163cf41c62958
https://docs.python.org/3/c-api/typeobj.html#c.PyTypeObject.tp_deallochttps://docs.python.org/3/c-api/typeobj.html#c.PyTypeObject.tp_dealloc
Please reload this pagehttps://github.com/python/cpython/pull/16127
Parser/asdl_c.pyhttps://github.com/python/cpython/pull/16127/files/7d84e191c59e0c98ff1e27b6edd19ebb9ef14433#diff-c4dd13901c011c278fe5b6d175fdd23ed94e51568fe6b2ee4215d5ab376be9a8
ammaraskarhttps://github.com/ammaraskar
Sep 14, 2019https://github.com/python/cpython/pull/16127#discussion_r324417023
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
cpython/Python/Python-ast.chttps://github.com/python/cpython/blob/d057b896f97e6d7447b9bf9246770c41cf205299/Python/Python-ast.c#L1236-L1237
d057b89https://github.com/python/cpython/commit/d057b896f97e6d7447b9bf9246770c41cf205299
Please reload this pagehttps://github.com/python/cpython/pull/16127
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
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 14, 2019https://github.com/python/cpython/pull/16127#event-2634023104
https://github.com/ammaraskar
ammaraskarhttps://github.com/ammaraskar
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Sep 14, 2019https://github.com/python/cpython/pull/16127#event-2634026051
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Sep 14, 2019 https://github.com/python/cpython/pull/16127#pullrequestreview-288321492
View reviewed changes https://github.com/python/cpython/pull/16127/files/7d84e191c59e0c98ff1e27b6edd19ebb9ef14433
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
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
Sep 14, 2019https://github.com/python/cpython/pull/16127#event-2634137890
https://github.com/DinoV
DinoVhttps://github.com/DinoV
0247e80https://github.com/python/cpython/commit/0247e80f3c529900689425676342cb70ea31a13d
Sep 14, 2019https://github.com/python/cpython/pull/16127#event-2634138764
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 14, 2019https://github.com/python/cpython/pull/16127#issuecomment-531480472
@DinoVhttps://github.com/DinoV
Please reload this pagehttps://github.com/python/cpython/pull/16127
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Sep 14, 2019https://github.com/python/cpython/pull/16127#event-2634138786
https://github.com/eduardo-elizondo
eduardo-elizondohttps://github.com/eduardo-elizondo
Sep 14, 2019https://github.com/python/cpython/pull/16127#issuecomment-531495370
@ammaraskarhttps://github.com/ammaraskar
Please reload this pagehttps://github.com/python/cpython/pull/16127
https://github.com/ammaraskar
ammaraskarhttps://github.com/ammaraskar
Sep 18, 2019 https://github.com/python/cpython/pull/16127#ref-pullrequest-494919008
bpo-38206: Clarify tp_dealloc requirements for heap allocated types. #16248 https://github.com/python/cpython/pull/16248
miss-islingtonhttps://github.com/miss-islington
Sep 27, 2019 https://github.com/python/cpython/pull/16127#ref-commit-5faff97
https://github.com/ammaraskar
https://github.com/miss-islington
bpo-38206https://bugs.python.org/issue?@action=redirect&bpo=38206
: Clarify tp_dealloc requirements for heap allocated types. (https://github.com/python/cpython/commit/5faff977adbe089e1f91a5916ccb2160a22dd292
G…https://github.com/python/cpython/pull/16248
5faff97https://github.com/python/cpython/commit/5faff977adbe089e1f91a5916ccb2160a22dd292
…H-16248https://github.com/python/cpython/pull/16248
#16127 (review)https://github.com/python/cpython/pull/16127#pullrequestreview-288312751
#16071 (review)https://github.com/python/cpython/pull/16071#pullrequestreview-287819525
https://bugs.python.org/issue38206https://bugs.python.org/issue38206
@encukouhttps://github.com/encukou
jacobneiltaylorhttps://github.com/jacobneiltaylor
Dec 5, 2019 https://github.com/python/cpython/pull/16127#ref-commit-77330ed
https://github.com/ammaraskar
bpo-38206: Clarify tp_dealloc requirements for heap allocated types. (https://github.com/jacobneiltaylor/cpython/commit/77330edb7aab0d3f2d793cc41375e581f4634831
p…https://github.com/python/cpython/pull/16248
77330edhttps://github.com/jacobneiltaylor/cpython/commit/77330edb7aab0d3f2d793cc41375e581f4634831
…ythonGH-16248https://github.com/python/cpython/pull/16248
python#16127 (review)https://github.com/python/cpython/pull/16127#pullrequestreview-288312751
python#16071 (review)https://github.com/python/cpython/pull/16071#pullrequestreview-287819525
https://bugs.python.org/issue38206https://bugs.python.org/issue38206
@encukouhttps://github.com/encukou
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%2F16127
https://github.com/DinoV
DinoV https://github.com/DinoV
https://github.com/python/cpython/pull/16127/files/7d84e191c59e0c98ff1e27b6edd19ebb9ef14433
https://github.com/ammaraskar
ammaraskar https://github.com/ammaraskar
https://github.com/python/cpython/pull/16127/files/7d84e191c59e0c98ff1e27b6edd19ebb9ef14433
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/16127
https://github.com/eduardo-elizondo
https://github.com/bedevere-bot
https://github.com/DinoV
https://github.com/ammaraskar
https://github.com/the-knights-who-say-ni
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.