René's URL Explorer Experiment


Title: gh-116946: Remove gc-support from some immutable types by sergey-miryanov · Pull Request #139073 · python/cpython · GitHub

Open Graph Title: gh-116946: Remove gc-support from some immutable types by sergey-miryanov · Pull Request #139073 · python/cpython

X Title: gh-116946: Remove gc-support from some immutable types by sergey-miryanov · Pull Request #139073 · python/cpython

Description: Remove gc-support from some immutable types (see discussion in linked issue): _bz2.BZ2Compressor _bz2.BZ2Decompressor _hashlib.HMAC _lzma.LZMACompressor _lzma.LZMADecompressor Also fixed: ...

Open Graph Description: Remove gc-support from some immutable types (see discussion in linked issue): _bz2.BZ2Compressor _bz2.BZ2Decompressor _hashlib.HMAC _lzma.LZMACompressor _lzma.LZMADecompressor Also fixed: ...

X Description: Remove gc-support from some immutable types (see discussion in linked issue): _bz2.BZ2Compressor _bz2.BZ2Decompressor _hashlib.HMAC _lzma.LZMACompressor _lzma.LZMADecompressor Also fixed: ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/*id(.:format)
route-controllerpull_requests
route-actionshow
fetch-noncev2:28e89d34-24fd-c098-749a-6c049729f717
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8682:361CC5:6C12F4:90E177:6969D996
html-safe-nonce047e6ca568afce5fc01294146232d7a15a7719444dfd33a5eabcc68a842a1674
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjgyOjM2MUNDNTo2QzEyRjQ6OTBFMTc3OjY5NjlEOTk2IiwidmlzaXRvcl9pZCI6IjE4NzQwMDk3MjQ2ODM5MzQxMDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf2d3259bd738081ee08aa183f4f2e6bbdd5cbb5fe666b9affb91867c369dcdfb
hovercard-subject-tagpull_request:2837490086
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///pull_requests/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/139073
twitter:imagehttps://opengraph.githubassets.com/ae5e3f3f57ef11129c7f3e0e7b4a3466cc795257fb89e71cea2a5fa57c8bdbc0/python/cpython/pull/139073
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ae5e3f3f57ef11129c7f3e0e7b4a3466cc795257fb89e71cea2a5fa57c8bdbc0/python/cpython/pull/139073
og:image:altRemove gc-support from some immutable types (see discussion in linked issue): _bz2.BZ2Compressor _bz2.BZ2Decompressor _hashlib.HMAC _lzma.LZMACompressor _lzma.LZMADecompressor Also fixed: ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesergey-miryanov
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/139073#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139073
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%2F139073
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%2Fpull_requests%2Fshow&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/139073
Reloadhttps://github.com/python/cpython/pull/139073
Reloadhttps://github.com/python/cpython/pull/139073
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/139073
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/139073
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/139073#issue-comment-box
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
sergey-miryanov:116946-remove-gc-from-immutable-typeshttps://github.com/sergey-miryanov/cpython/tree/116946-remove-gc-from-immutable-types
gh-116946: Remove gc-support from some immutable types https://github.com/python/cpython/pull/139073#top
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
sergey-miryanov:116946-remove-gc-from-immutable-typeshttps://github.com/sergey-miryanov/cpython/tree/116946-remove-gc-from-immutable-types
Conversation 20 https://github.com/python/cpython/pull/139073
Commits 1 https://github.com/python/cpython/pull/139073/commits
Checks 49 https://github.com/python/cpython/pull/139073/checks
Files changed https://github.com/python/cpython/pull/139073/files
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 17, 2025https://github.com/python/cpython/pull/139073#issue-3427271264
Please reload this pagehttps://github.com/python/cpython/pull/139073
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/139073
https://github.com/sergey-miryanov
Remove gc-support from some immutable typeshttps://github.com/python/cpython/pull/139073/commits/d77b19c124fe4a693c228e1341b3acfaf070900b
d77b19chttps://github.com/python/cpython/pull/139073/commits/d77b19c124fe4a693c228e1341b3acfaf070900b
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
gpsheadhttps://github.com/gpshead
picnixzhttps://github.com/picnixz
code ownershttps://github.com/python/cpython/blob/d873fb42f3535165f815c3c8e67d373a8d4cdfc5/.github/CODEOWNERS#L375
September 17, 2025 17:59https://github.com/python/cpython/pull/139073#event-19756506056
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 17, 2025https://github.com/python/cpython/pull/139073#event-19756507004
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 17, 2025 https://github.com/python/cpython/pull/139073#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/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 17, 2025https://github.com/python/cpython/pull/139073#issuecomment-3304042761
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 17, 2025https://github.com/python/cpython/pull/139073#issuecomment-3304043812
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/picnixz
picnixzhttps://github.com/picnixz
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Sep 17, 2025https://github.com/python/cpython/pull/139073#event-19756920470
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Sep 17, 2025https://github.com/python/cpython/pull/139073#issuecomment-3304107346
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/neonene
neonenehttps://github.com/neonene
Sep 17, 2025https://github.com/python/cpython/pull/139073#issuecomment-3304465446
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Sep 17, 2025https://github.com/python/cpython/pull/139073#issuecomment-3304509707
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/neonene
neonenehttps://github.com/neonene
Sep 17, 2025https://github.com/python/cpython/pull/139073#issuecomment-3304847846
#118021 (comment)https://github.com/python/cpython/pull/118021#discussion_r1572062702
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 18, 2025https://github.com/python/cpython/pull/139073#issuecomment-3306395206
#20960https://github.com/python/cpython/pull/20960
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/neonene
neonenehttps://github.com/neonene
Sep 18, 2025https://github.com/python/cpython/pull/139073#issuecomment-3307018520
PEP-573https://peps.python.org/pep-0573/#adding-module-references-to-heap-types
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/neonene
neonenehttps://github.com/neonene
Sep 18, 2025https://github.com/python/cpython/pull/139073#issuecomment-3308457289
#20960https://github.com/python/cpython/pull/20960
the isolation howtohttps://docs.python.org/3.14/howto/isolating-extensions.html#garbage-collection-protocol
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 18, 2025https://github.com/python/cpython/pull/139073#issuecomment-3308521530
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 18, 2025https://github.com/python/cpython/pull/139073#issuecomment-3308523134
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Sep 18, 2025https://github.com/python/cpython/pull/139073#issuecomment-3308545866
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 18, 2025https://github.com/python/cpython/pull/139073#issuecomment-3308565646
Please reload this pagehttps://github.com/python/cpython/pull/139073
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Oct 1, 2025 https://github.com/python/cpython/pull/139073#pullrequestreview-3287948846
View reviewed changes https://github.com/python/cpython/pull/139073/files/d77b19c124fe4a693c228e1341b3acfaf070900b
kumaraditya303https://github.com/kumaraditya303
https://github.com/python/cpython/pull/139073#pullrequestreview-3287948846
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/139073
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 review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Oct 1, 2025https://github.com/python/cpython/pull/139073#event-20027589234
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
1588413https://github.com/python/cpython/commit/1588413ca7755a38aae40d25b2d24e813fca6feb
Oct 1, 2025https://github.com/python/cpython/pull/139073#event-20027616493
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Oct 1, 2025https://github.com/python/cpython/pull/139073#event-20027617504
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Oct 1, 2025https://github.com/python/cpython/pull/139073#issuecomment-3356085995
#139473https://github.com/python/cpython/pull/139473
@ZeroIntensityhttps://github.com/ZeroIntensity
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Oct 1, 2025https://github.com/python/cpython/pull/139073#issuecomment-3356115229
an FD leakhttps://github.com/python/cpython/issues/136003#issuecomment-3318100506
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Oct 1, 2025https://github.com/python/cpython/pull/139073#issuecomment-3356147763
Please reload this pagehttps://github.com/python/cpython/pull/139073
kumaraditya303https://github.com/kumaraditya303
Oct 1, 2025 https://github.com/python/cpython/pull/139073#ref-commit-3802c6f
https://github.com/kumaraditya303
Revert "https://github.com/kumaraditya303/cpython/commit/3802c6fee7e4e4f3390ecbd77be704425983edb5
pythongh-116946https://github.com/python/cpython/issues/116946
: remove unnecessary gc from immutable types (https://github.com/kumaraditya303/cpython/commit/3802c6fee7e4e4f3390ecbd77be704425983edb5
p…https://github.com/python/cpython/pull/139073
3802c6fhttps://github.com/kumaraditya303/cpython/commit/3802c6fee7e4e4f3390ecbd77be704425983edb5
…ython#139073https://github.com/python/cpython/pull/139073
1588413https://github.com/kumaraditya303/cpython/commit/1588413ca7755a38aae40d25b2d24e813fca6feb
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Oct 1, 2025https://github.com/python/cpython/pull/139073#issuecomment-3356165094
#139474https://github.com/python/cpython/pull/139474
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Oct 1, 2025 https://github.com/python/cpython/pull/139073#ref-pullrequest-2527056395
gh-123828: fix data raceing for _waiting_release method in _interpchannelsmodule.c #124107 https://github.com/python/cpython/pull/124107
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 1, 2025https://github.com/python/cpython/pull/139073#issuecomment-3356528105
Please reload this pagehttps://github.com/python/cpython/pull/139073
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Oct 1, 2025https://github.com/python/cpython/pull/139073#issuecomment-3357436164
Please reload this pagehttps://github.com/python/cpython/pull/139073
kumaraditya303https://github.com/kumaraditya303
Oct 1, 2025 https://github.com/python/cpython/pull/139073#ref-commit-76b07c0
https://github.com/kumaraditya303
gh-116946https://github.com/python/cpython/issues/116946
: partial reverthttps://github.com/python/cpython/commit/76b07c035c224fdfd7bafe5dbc087d0e88469c62
gh-139073https://github.com/python/cpython/pull/139073
for thread handle type (https://github.com/python/cpython/commit/76b07c035c224fdfd7bafe5dbc087d0e88469c62
#139474https://github.com/python/cpython/pull/139474
)https://github.com/python/cpython/commit/76b07c035c224fdfd7bafe5dbc087d0e88469c62
76b07c0https://github.com/python/cpython/commit/76b07c035c224fdfd7bafe5dbc087d0e88469c62
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%2F139073
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/139073/files/d77b19c124fe4a693c228e1341b3acfaf070900b
https://github.com/gpshead
gpshead https://github.com/gpshead
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/139073
https://github.com/sergey-miryanov
https://github.com/picnixz
https://github.com/neonene
https://github.com/kumaraditya303
https://github.com/ZeroIntensity
https://github.com/vstinner
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.