René's URL Explorer Experiment


Title: gh-116946: fully implement GC protocol for `bz2` objects by picnixz · Pull Request #138266 · python/cpython · GitHub

Open Graph Title: gh-116946: fully implement GC protocol for `bz2` objects by picnixz · Pull Request #138266 · python/cpython

X Title: gh-116946: fully implement GC protocol for `bz2` objects by picnixz · Pull Request #138266 · python/cpython

Description: AFAIU, tp_traverse will not be called if Py_TPFLAGS_HAVE_GC is not specified. Quoting the specs: Instances of heap-allocated types hold a reference to their type. Their traversal function must the...

Open Graph Description: AFAIU, tp_traverse will not be called if Py_TPFLAGS_HAVE_GC is not specified. Quoting the specs: Instances of heap-allocated types hold a reference to their type. Their traversal function must the...

X Description: AFAIU, tp_traverse will not be called if Py_TPFLAGS_HAVE_GC is not specified. Quoting the specs: Instances of heap-allocated types hold a reference to their type. Their traversal function must the...

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

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:297deaf1-58fa-ed68-99ee-65798eefc70e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idACAC:23CB5E:6C2719:98E9AC:696A555D
html-safe-nonce5bf8eb23807429010723521dffe77b99309cb61e6853ef5504a8ef205eb03c4d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0FDOjIzQ0I1RTo2QzI3MTk6OThFOUFDOjY5NkE1NTVEIiwidmlzaXRvcl9pZCI6IjYwNDQ2MzAyMjcwNDE4MDE1NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5cd244ed188b917d0f4f5829732b6cebf748541434657b26b92e9012c4ff7f9a
hovercard-subject-tagpull_request:2786835278
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/138266/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/29176275ab4c3b44b8ebc8a0d78d481177223c2440a96282da93b1b53fc394fe/python/cpython/pull/138266
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/29176275ab4c3b44b8ebc8a0d78d481177223c2440a96282da93b1b53fc394fe/python/cpython/pull/138266
og:image:altAFAIU, tp_traverse will not be called if Py_TPFLAGS_HAVE_GC is not specified. Quoting the specs: Instances of heap-allocated types hold a reference to their type. Their traversal function must the...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepicnixz
hostnamegithub.com
expected-hostnamegithub.com
None3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef
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
release63c426b30d262aba269ef14c40e3c817b384cd61
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/138266#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F138266
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%2F138266
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/138266
Reloadhttps://github.com/python/cpython/pull/138266
Reloadhttps://github.com/python/cpython/pull/138266
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/138266
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/138266
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/138266#issue-comment-box
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/gc/bz2-heap-types-116946https://github.com/picnixz/cpython/tree/fix/gc/bz2-heap-types-116946
gh-116946: fully implement GC protocol for bz2 objects https://github.com/python/cpython/pull/138266#top
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/gc/bz2-heap-types-116946https://github.com/picnixz/cpython/tree/fix/gc/bz2-heap-types-116946
Conversation 37 https://github.com/python/cpython/pull/138266
Commits 6 https://github.com/python/cpython/pull/138266/commits
Checks 57 https://github.com/python/cpython/pull/138266/checks
Files changed https://github.com/python/cpython/pull/138266/files
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 30, 2025https://github.com/python/cpython/pull/138266#issue-3369174038
Please reload this pagehttps://github.com/python/cpython/pull/138266
heap-allocated typeshttps://docs.python.org/3/c-api/typeobj.html#heap-types
Py_TYPE(self)https://docs.python.org/3/c-api/structures.html#c.Py_TYPE
@vstinnerhttps://github.com/vstinner
Heap types implemented in C must have Py_TPFLAGS_HAVE_GC and implement tp_traverse #116946https://github.com/python/cpython/issues/116946
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
fully implement GC protocol for bz2 objectshttps://github.com/python/cpython/pull/138266/commits/a8e850147d67a01c2c94db4c79f260d583b0bdb1
a8e8501https://github.com/python/cpython/pull/138266/commits/a8e850147d67a01c2c94db4c79f260d583b0bdb1
https://github.com/picnixz
picnixzhttps://github.com/picnixz
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Aug 30, 2025https://github.com/python/cpython/pull/138266#event-19424088882
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
Aug 30, 2025https://github.com/python/cpython/pull/138266#event-19424089065
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 30, 2025 https://github.com/python/cpython/pull/138266#ref-issue-2191475400
Heap types implemented in C must have Py_TPFLAGS_HAVE_GC and implement tp_traverse #116946 https://github.com/python/cpython/issues/116946
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 30, 2025 https://github.com/python/cpython/pull/138266#pullrequestreview-3171066383
View reviewed changes https://github.com/python/cpython/pull/138266/files/a8e850147d67a01c2c94db4c79f260d583b0bdb1
Modules/_bz2module.chttps://github.com/python/cpython/pull/138266/files/a8e850147d67a01c2c94db4c79f260d583b0bdb1#diff-6b7a70749b23278bf36e74a08f378b3645598912d7fa8c33f45d34dc95b7a6b7
picnixzhttps://github.com/picnixz
Aug 30, 2025https://github.com/python/cpython/pull/138266#discussion_r2311969886
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/138266
Modules/_bz2module.chttps://github.com/python/cpython/pull/138266/files/a8e850147d67a01c2c94db4c79f260d583b0bdb1#diff-6b7a70749b23278bf36e74a08f378b3645598912d7fa8c33f45d34dc95b7a6b7
picnixzhttps://github.com/picnixz
Aug 30, 2025https://github.com/python/cpython/pull/138266#discussion_r2311969954
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/138266
Modules/_bz2module.chttps://github.com/python/cpython/pull/138266/files/a8e850147d67a01c2c94db4c79f260d583b0bdb1#diff-6b7a70749b23278bf36e74a08f378b3645598912d7fa8c33f45d34dc95b7a6b7
picnixzhttps://github.com/picnixz
Aug 30, 2025https://github.com/python/cpython/pull/138266#discussion_r2311970047
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
picnixzhttps://github.com/picnixz
🔨 test-with-refleak-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-refleak-buildbots%22
Aug 30, 2025https://github.com/python/cpython/pull/138266#event-19424155872
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Aug 30, 2025https://github.com/python/cpython/pull/138266#issuecomment-3239314365
@picnixzhttps://github.com/picnixz
a8e8501https://github.com/python/cpython/commit/a8e850147d67a01c2c94db4c79f260d583b0bdb1
https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F138266%2Fmergehttps://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F138266%2Fmerge
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-refleak-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-refleak-buildbots%22
Aug 30, 2025https://github.com/python/cpython/pull/138266#event-19424155961
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 30, 2025 https://github.com/python/cpython/pull/138266#pullrequestreview-3171079901
View reviewed changes https://github.com/python/cpython/pull/138266/files/a8e850147d67a01c2c94db4c79f260d583b0bdb1
Modules/_bz2module.chttps://github.com/python/cpython/pull/138266/files/a8e850147d67a01c2c94db4c79f260d583b0bdb1#diff-6b7a70749b23278bf36e74a08f378b3645598912d7fa8c33f45d34dc95b7a6b7
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 30, 2025https://github.com/python/cpython/pull/138266#discussion_r2311983870
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/138266
picnixzhttps://github.com/picnixz
Aug 31, 2025https://github.com/python/cpython/pull/138266#discussion_r2312346682
Please reload this pagehttps://github.com/python/cpython/pull/138266
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/138266
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 31, 2025https://github.com/python/cpython/pull/138266#discussion_r2312428365
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/138266
picnixzhttps://github.com/picnixz
Aug 31, 2025https://github.com/python/cpython/pull/138266#discussion_r2312432323
Please reload this pagehttps://github.com/python/cpython/pull/138266
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://docs.python.org/3/c-api/gcsupport.html#supporting-cycle-detectionhttps://docs.python.org/3/c-api/gcsupport.html#supporting-cycle-detection
PyObject_GC_Newhttps://docs.python.org/3/c-api/gcsupport.html#c.PyObject_GC_New
PyObject_GC_NewVarhttps://docs.python.org/3/c-api/gcsupport.html#c.PyObject_GC_NewVar
https://docs.python.org/3/c-api/typeobj.html#c.Py_TPFLAGS_HEAPTYPEhttps://docs.python.org/3/c-api/typeobj.html#c.Py_TPFLAGS_HEAPTYPE
support garbage collectionhttps://docs.python.org/3/c-api/gcsupport.html#supporting-cycle-detection
https://docs.python.org/3/c-api/typeobj.html#c.PyTypeObject.tp_traversehttps://docs.python.org/3/c-api/typeobj.html#c.PyTypeObject.tp_traverse
Supporting Cyclic Garbage Collectionhttps://docs.python.org/3/c-api/gcsupport.html#supporting-cycle-detection
https://docs.python.org/3/c-api/type.html#c.PyType_GenericAllochttps://docs.python.org/3/c-api/type.html#c.PyType_GenericAlloc
Please reload this pagehttps://github.com/python/cpython/pull/138266
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 31, 2025https://github.com/python/cpython/pull/138266#discussion_r2312433863
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#125962https://github.com/python/cpython/pull/125962
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 31, 2025 https://github.com/python/cpython/pull/138266#pullrequestreview-3171519018
View reviewed changes https://github.com/python/cpython/pull/138266/files/a8e850147d67a01c2c94db4c79f260d583b0bdb1
Modules/_bz2module.chttps://github.com/python/cpython/pull/138266/files/a8e850147d67a01c2c94db4c79f260d583b0bdb1#diff-6b7a70749b23278bf36e74a08f378b3645598912d7fa8c33f45d34dc95b7a6b7
Please reload this pagehttps://github.com/python/cpython/pull/138266
Modules/_bz2module.chttps://github.com/python/cpython/pull/138266/files/a8e850147d67a01c2c94db4c79f260d583b0bdb1#diff-6b7a70749b23278bf36e74a08f378b3645598912d7fa8c33f45d34dc95b7a6b7
Please reload this pagehttps://github.com/python/cpython/pull/138266
picnixzhttps://github.com/picnixz
August 31, 2025 11:16https://github.com/python/cpython/pull/138266#commits-pushed-c9d3ab6
https://github.com/picnixz
remove redundant castshttps://github.com/python/cpython/pull/138266/commits/c9d3ab625007062ec49bfe150a621ca0d8511f7a
c9d3ab6https://github.com/python/cpython/pull/138266/commits/c9d3ab625007062ec49bfe150a621ca0d8511f7a
https://github.com/picnixz
define fields post zero-initialization when neededhttps://github.com/python/cpython/pull/138266/commits/81f77b68143132e12122fa8ddf408d7f71407eca
81f77b6https://github.com/python/cpython/pull/138266/commits/81f77b68143132e12122fa8ddf408d7f71407eca
https://github.com/picnixz
use PyObject_GC_Del for clarityhttps://github.com/python/cpython/pull/138266/commits/2b50446ad7559bd44732b91f0032ce8b517d2319
2b50446https://github.com/python/cpython/pull/138266/commits/2b50446ad7559bd44732b91f0032ce8b517d2319
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 31, 2025 https://github.com/python/cpython/pull/138266#pullrequestreview-3171592423
View reviewed changes https://github.com/python/cpython/pull/138266/files/81f77b68143132e12122fa8ddf408d7f71407eca
ZeroIntensityhttps://github.com/ZeroIntensity
https://github.com/python/cpython/pull/138266#pullrequestreview-3171592423
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/138266
Modules/_bz2module.chttps://github.com/python/cpython/pull/138266/files/a8e850147d67a01c2c94db4c79f260d583b0bdb1#diff-6b7a70749b23278bf36e74a08f378b3645598912d7fa8c33f45d34dc95b7a6b7
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 31, 2025https://github.com/python/cpython/pull/138266#discussion_r2312428365
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 31, 2025https://github.com/python/cpython/pull/138266#event-19428767907
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240090423
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240099809
Please reload this pagehttps://github.com/python/cpython/pull/138266
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240101242
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240103833
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
reduce diff for 3.14 and laterhttps://github.com/python/cpython/pull/138266/commits/a9b609685e2b0ecb94661c52ea5c7ee4ffec4edf
a9b6096https://github.com/python/cpython/pull/138266/commits/a9b609685e2b0ecb94661c52ea5c7ee4ffec4edf
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 31, 2025 https://github.com/python/cpython/pull/138266#pullrequestreview-3171603646
View reviewed changes https://github.com/python/cpython/pull/138266/files/a9b609685e2b0ecb94661c52ea5c7ee4ffec4edf
Modules/_bz2module.chttps://github.com/python/cpython/pull/138266/files/a9b609685e2b0ecb94661c52ea5c7ee4ffec4edf#diff-6b7a70749b23278bf36e74a08f378b3645598912d7fa8c33f45d34dc95b7a6b7
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 31, 2025https://github.com/python/cpython/pull/138266#discussion_r2312437436
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
new docshttps://docs.python.org/3.15/c-api/gcsupport.html#c.PyObject_GC_Del
tp_freehttps://docs.python.org/3.15/c-api/typeobj.html#c.PyTypeObject.tp_free
Please reload this pagehttps://github.com/python/cpython/pull/138266
picnixzhttps://github.com/picnixz
Aug 31, 2025https://github.com/python/cpython/pull/138266#discussion_r2312439162
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240110192
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240111461
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240116082
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://docs.python.org/3.14/c-api/gcsupport.html#c.PyObject_GC_Trackhttps://docs.python.org/3.14/c-api/gcsupport.html#c.PyObject_GC_Track
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240117427
gc.get_referrershttps://docs.python.org/3.15/library/gc.html#gc.get_referrers
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240119752
Please reload this pagehttps://github.com/python/cpython/pull/138266
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
smash diffhttps://github.com/python/cpython/pull/138266/commits/91a3e215e1c7a0067fd434df7af24640cc9843a4
91a3e21https://github.com/python/cpython/pull/138266/commits/91a3e215e1c7a0067fd434df7af24640cc9843a4
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240122072
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240133191
Please reload this pagehttps://github.com/python/cpython/pull/138266
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 change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
Aug 31, 2025https://github.com/python/cpython/pull/138266#event-19429045582
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240135760
https://docs.python.org/3.14/c-api/gcsupport.html#supporting-cycle-detectionhttps://docs.python.org/3.14/c-api/gcsupport.html#supporting-cycle-detection
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240136466
https://docs.python.org/3/c-api/gcsupport.html#supporting-cycle-detectionhttps://docs.python.org/3/c-api/gcsupport.html#supporting-cycle-detection
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240137927
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 31, 2025 https://github.com/python/cpython/pull/138266#ref-issue-3370256446
Improve guidelines for GC protocol implementation for heap types #138292 https://github.com/python/cpython/issues/138292
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240142916
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Aug 31, 2025https://github.com/python/cpython/pull/138266#issuecomment-3240170006
https://docs.python.org/dev/https://docs.python.org/dev/
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
picnixzhttps://github.com/picnixz
9be91f6https://github.com/python/cpython/commit/9be91f6a20ed2fd9b491c3e779dc45c7392f60ca
Sep 1, 2025https://github.com/python/cpython/pull/138266#event-19436872746
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/picnixz
picnixzhttps://github.com/picnixz
September 1, 2025 08:21https://github.com/python/cpython/pull/138266#event-19436873523
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
Sep 1, 2025https://github.com/python/cpython/pull/138266#event-19436873708
https://github.com/picnixz
picnixzhttps://github.com/picnixz
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Sep 1, 2025https://github.com/python/cpython/pull/138266#event-19436888846
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Sep 1, 2025https://github.com/python/cpython/pull/138266#issuecomment-3241367312
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Sep 1, 2025https://github.com/python/cpython/pull/138266#issuecomment-3241367321
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Sep 1, 2025https://github.com/python/cpython/pull/138266#issuecomment-3241367469
@picnixzhttps://github.com/picnixz
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
picnixzhttps://github.com/picnixz
Sep 1, 2025https://github.com/python/cpython/pull/138266#event-19436890978
miss-islingtonhttps://github.com/miss-islington
Sep 1, 2025 https://github.com/python/cpython/pull/138266#ref-commit-ec564e1
https://github.com/picnixz
https://github.com/miss-islington
pythongh-116946https://github.com/python/cpython/issues/116946
: fully implement GC protocol forhttps://github.com/miss-islington/cpython/commit/ec564e1cff25e94422e8e45a8943f379c82548ee
bz2https://github.com/miss-islington/cpython/commit/ec564e1cff25e94422e8e45a8943f379c82548ee
objects (https://github.com/miss-islington/cpython/commit/ec564e1cff25e94422e8e45a8943f379c82548ee
pytho…https://github.com/python/cpython/pull/138266
ec564e1https://github.com/miss-islington/cpython/commit/ec564e1cff25e94422e8e45a8943f379c82548ee
…nGH-138266https://github.com/python/cpython/pull/138266
9be91f6https://github.com/miss-islington/cpython/commit/9be91f6a20ed2fd9b491c3e779dc45c7392f60ca
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 1, 2025https://github.com/python/cpython/pull/138266#issuecomment-3241368462
GH-138320https://github.com/python/cpython/pull/138320
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Sep 1, 2025https://github.com/python/cpython/pull/138266#event-19436896381
picnixzhttps://github.com/picnixz
Sep 1, 2025 https://github.com/python/cpython/pull/138266#ref-commit-839b0f3
https://github.com/picnixz
[3.13]https://github.com/picnixz/cpython/commit/839b0f391ec722fc19b184d12e833566b17de04f
pythongh-116946https://github.com/python/cpython/issues/116946
: fully implement GC protocol forhttps://github.com/picnixz/cpython/commit/839b0f391ec722fc19b184d12e833566b17de04f
bz2https://github.com/picnixz/cpython/commit/839b0f391ec722fc19b184d12e833566b17de04f
objects (https://github.com/picnixz/cpython/commit/839b0f391ec722fc19b184d12e833566b17de04f
https://github.com/python/cpython/pull/138266
839b0f3https://github.com/picnixz/cpython/commit/839b0f391ec722fc19b184d12e833566b17de04f
…pythonGH-138266https://github.com/python/cpython/pull/138266
9be91f6https://github.com/picnixz/cpython/commit/9be91f6a20ed2fd9b491c3e779dc45c7392f60ca
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 1, 2025https://github.com/python/cpython/pull/138266#issuecomment-3241391949
GH-138322https://github.com/python/cpython/pull/138322
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/138266
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Sep 1, 2025https://github.com/python/cpython/pull/138266#event-19437030400
picnixzhttps://github.com/picnixz
Sep 1, 2025 https://github.com/python/cpython/pull/138266#ref-commit-90036f5
https://github.com/picnixz
[3.13]https://github.com/python/cpython/commit/90036f51fe4bb2eed0e5161f26712cf08e1563d2
gh-116946https://github.com/python/cpython/issues/116946
: fully implement GC protocol forhttps://github.com/python/cpython/commit/90036f51fe4bb2eed0e5161f26712cf08e1563d2
bz2https://github.com/python/cpython/commit/90036f51fe4bb2eed0e5161f26712cf08e1563d2
objects (https://github.com/python/cpython/commit/90036f51fe4bb2eed0e5161f26712cf08e1563d2
GH-1…https://github.com/python/cpython/pull/138266
90036f5https://github.com/python/cpython/commit/90036f51fe4bb2eed0e5161f26712cf08e1563d2
…38266https://github.com/python/cpython/pull/138266
#138322https://github.com/python/cpython/pull/138322
9be91f6https://github.com/python/cpython/commit/9be91f6a20ed2fd9b491c3e779dc45c7392f60ca
picnixzhttps://github.com/picnixz
Sep 1, 2025 https://github.com/python/cpython/pull/138266#ref-commit-50e1b6e
https://github.com/picnixz
Revert "[3.13]https://github.com/picnixz/cpython/commit/50e1b6e5c61efe9dde09737f4ce352a2594906a6
pythongh-116946https://github.com/python/cpython/issues/116946
: fully implement GC protocol forhttps://github.com/picnixz/cpython/commit/50e1b6e5c61efe9dde09737f4ce352a2594906a6
bz2https://github.com/picnixz/cpython/commit/50e1b6e5c61efe9dde09737f4ce352a2594906a6
https://github.com/picnixz/cpython/commit/50e1b6e5c61efe9dde09737f4ce352a2594906a6
50e1b6ehttps://github.com/picnixz/cpython/commit/50e1b6e5c61efe9dde09737f4ce352a2594906a6
pythonGH-138266https://github.com/python/cpython/pull/138266
python#138322https://github.com/python/cpython/pull/138322
90036f5https://github.com/picnixz/cpython/commit/90036f51fe4bb2eed0e5161f26712cf08e1563d2
picnixzhttps://github.com/picnixz
Sep 1, 2025 https://github.com/python/cpython/pull/138266#ref-commit-131bab6
https://github.com/picnixz
Revert "https://github.com/picnixz/cpython/commit/131bab6d057b75de9f092075b564defd007c2dbe
pythongh-116946https://github.com/python/cpython/issues/116946
: fully implement GC protocol forhttps://github.com/picnixz/cpython/commit/131bab6d057b75de9f092075b564defd007c2dbe
bz2https://github.com/picnixz/cpython/commit/131bab6d057b75de9f092075b564defd007c2dbe
objects (https://github.com/picnixz/cpython/commit/131bab6d057b75de9f092075b564defd007c2dbe
131bab6https://github.com/picnixz/cpython/commit/131bab6d057b75de9f092075b564defd007c2dbe
python#138266https://github.com/python/cpython/pull/138266
9be91f6https://github.com/picnixz/cpython/commit/9be91f6a20ed2fd9b491c3e779dc45c7392f60ca
kumaraditya303https://github.com/kumaraditya303
Sep 1, 2025 https://github.com/python/cpython/pull/138266#ref-commit-a38f026
https://github.com/picnixz
[3.13]https://github.com/python/cpython/commit/a38f0266dffd253b62fd3b9640a817a9ad1e6267
gh-116946https://github.com/python/cpython/issues/116946
: Revert GC protocol for immutable empty heap types (https://github.com/python/cpython/commit/a38f0266dffd253b62fd3b9640a817a9ad1e6267
G…https://github.com/python/cpython/pull/138322
a38f026https://github.com/python/cpython/commit/a38f0266dffd253b62fd3b9640a817a9ad1e6267
…H-138322https://github.com/python/cpython/pull/138322
GH-138323https://github.com/python/cpython/pull/138323
GH-138326https://github.com/python/cpython/pull/138326
#138337https://github.com/python/cpython/pull/138337
gh-116946https://github.com/python/cpython/issues/116946
GH-138266https://github.com/python/cpython/pull/138266
#138322https://github.com/python/cpython/pull/138322
90036f5https://github.com/python/cpython/commit/90036f51fe4bb2eed0e5161f26712cf08e1563d2
gh-116946https://github.com/python/cpython/issues/116946
GH-138288https://github.com/python/cpython/pull/138288
#138323https://github.com/python/cpython/pull/138323
828682dhttps://github.com/python/cpython/commit/828682df868217788cda695a21bb63635f6fadc7
gh-116946https://github.com/python/cpython/issues/116946
GH-138289https://github.com/python/cpython/pull/138289
#138326https://github.com/python/cpython/pull/138326
21b5932https://github.com/python/cpython/commit/21b593219ad5cf444553afaebe12ff9137d4d55e
kumaraditya303https://github.com/kumaraditya303
Sep 1, 2025 https://github.com/python/cpython/pull/138266#ref-commit-c9b252c
https://github.com/picnixz
gh-116946https://github.com/python/cpython/issues/116946
: Revert GC protocol for immutable empty heap types (https://github.com/python/cpython/commit/c9b252c2c007cd2cec3b33fc7476ae85dede8e42
GH-138266https://github.com/python/cpython/pull/138266
https://github.com/python/cpython/commit/c9b252c2c007cd2cec3b33fc7476ae85dede8e42
c9b252chttps://github.com/python/cpython/commit/c9b252c2c007cd2cec3b33fc7476ae85dede8e42
GH-138288https://github.com/python/cpython/pull/138288
GH-138289https://github.com/python/cpython/pull/138289
#138338https://github.com/python/cpython/pull/138338
gh-116946https://github.com/python/cpython/issues/116946
#138266https://github.com/python/cpython/pull/138266
9be91f6https://github.com/python/cpython/commit/9be91f6a20ed2fd9b491c3e779dc45c7392f60ca
gh-116946https://github.com/python/cpython/issues/116946
#138288https://github.com/python/cpython/pull/138288
3ea16f9https://github.com/python/cpython/commit/3ea16f990f81e1e3b2892f1dfd213937b1df2a68
gh-116946https://github.com/python/cpython/issues/116946
#138289https://github.com/python/cpython/pull/138289
6f1dd95https://github.com/python/cpython/commit/6f1dd9551a69c8c76d066a04e94db6dbc6c7597c
lkollarhttps://github.com/lkollar
Sep 9, 2025 https://github.com/python/cpython/pull/138266#ref-commit-90fc2a1
https://github.com/picnixz
https://github.com/lkollar
pythongh-116946https://github.com/python/cpython/issues/116946
: fully implement GC protocol forhttps://github.com/lkollar/cpython/commit/90fc2a185021e84807e9e5bedbf86496a9a1469a
bz2https://github.com/lkollar/cpython/commit/90fc2a185021e84807e9e5bedbf86496a9a1469a
objects (https://github.com/lkollar/cpython/commit/90fc2a185021e84807e9e5bedbf86496a9a1469a
pytho…https://github.com/python/cpython/pull/138266
90fc2a1https://github.com/lkollar/cpython/commit/90fc2a185021e84807e9e5bedbf86496a9a1469a
…n#138266https://github.com/python/cpython/pull/138266
lkollarhttps://github.com/lkollar
Sep 9, 2025 https://github.com/python/cpython/pull/138266#ref-commit-a6c052e
https://github.com/picnixz
https://github.com/lkollar
pythongh-116946https://github.com/python/cpython/issues/116946
: Revert GC protocol for immutable empty heap types (https://github.com/lkollar/cpython/commit/a6c052e0fbae21a17e55ca78bb5175fd14425b37
p…https://github.com/python/cpython/pull/138266
a6c052ehttps://github.com/lkollar/cpython/commit/a6c052e0fbae21a17e55ca78bb5175fd14425b37
…ythonGH-138266https://github.com/python/cpython/pull/138266
pythonGH-138288https://github.com/python/cpython/pull/138288
pythonGH-138289https://github.com/python/cpython/pull/138289
python#138338https://github.com/python/cpython/pull/138338
pythongh-116946https://github.com/python/cpython/issues/116946
python#138266https://github.com/python/cpython/pull/138266
9be91f6https://github.com/lkollar/cpython/commit/9be91f6a20ed2fd9b491c3e779dc45c7392f60ca
pythongh-116946https://github.com/python/cpython/issues/116946
python#138288https://github.com/python/cpython/pull/138288
3ea16f9https://github.com/lkollar/cpython/commit/3ea16f990f81e1e3b2892f1dfd213937b1df2a68
pythongh-116946https://github.com/python/cpython/issues/116946
python#138289https://github.com/python/cpython/pull/138289
6f1dd95https://github.com/lkollar/cpython/commit/6f1dd9551a69c8c76d066a04e94db6dbc6c7597c
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%2F138266
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
https://github.com/python/cpython/pull/138266/files/91a3e215e1c7a0067fd434df7af24640cc9843a4
https://github.com/picnixz
picnixz https://github.com/picnixz
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/138266
https://github.com/picnixz
https://github.com/bedevere-bot
https://github.com/ZeroIntensity
https://github.com/AA-Turner
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.