René's URL Explorer Experiment


Title: gh-116946: add `Py_TPFLAGS_IMMUTABLETYPE` to several internal types by picnixz · Pull Request #138582 · python/cpython · GitHub

Open Graph Title: gh-116946: add `Py_TPFLAGS_IMMUTABLETYPE` to several internal types by picnixz · Pull Request #138582 · python/cpython

X Title: gh-116946: add `Py_TPFLAGS_IMMUTABLETYPE` to several internal types by picnixz · Pull Request #138582 · python/cpython

Description: This only adds the Py_TPFLAGS_IMMUTABLETYPE flag and assumes that other GC-related issues are solved (not all types are actually empty). I've added NEWS entries just because we also mention transfo...

Open Graph Description: This only adds the Py_TPFLAGS_IMMUTABLETYPE flag and assumes that other GC-related issues are solved (not all types are actually empty). I've added NEWS entries just because we also mention tra...

X Description: This only adds the Py_TPFLAGS_IMMUTABLETYPE flag and assumes that other GC-related issues are solved (not all types are actually empty). I've added NEWS entries just because we also mention...

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

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:11b10799-5a4c-6118-89e5-6350c515626d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA988:23CB5E:6B3B5D:979C59:696A553A
html-safe-nonce52df7e90284934b8e96b0c0eae54c0384306f2923875f1e9690766a31f9bccee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTg4OjIzQ0I1RTo2QjNCNUQ6OTc5QzU5OjY5NkE1NTNBIiwidmlzaXRvcl9pZCI6IjI4ODAxMTM0NzE2OTg2NTQ1MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9042c7ab7f32e7cebfee1f9073cef35ebffc6dea013acf2961a5f6d91c8f1b00
hovercard-subject-tagpull_request:2804917075
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/138582/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dbd5f7fb63fab387f9c4ed8c1161bac8ab1aebcd02ba68610d2ae945914e9b0b/python/cpython/pull/138582
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dbd5f7fb63fab387f9c4ed8c1161bac8ab1aebcd02ba68610d2ae945914e9b0b/python/cpython/pull/138582
og:image:altThis only adds the Py_TPFLAGS_IMMUTABLETYPE flag and assumes that other GC-related issues are solved (not all types are actually empty). I've added NEWS entries just because we also mention tra...
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-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/138582#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F138582
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%2F138582
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/138582
Reloadhttps://github.com/python/cpython/pull/138582
Reloadhttps://github.com/python/cpython/pull/138582
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/138582
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/138582
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/138582#issue-comment-box
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:feat/gc/immutable-heap-types-116946https://github.com/picnixz/cpython/tree/feat/gc/immutable-heap-types-116946
gh-116946: add Py_TPFLAGS_IMMUTABLETYPE to several internal types https://github.com/python/cpython/pull/138582#top
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:feat/gc/immutable-heap-types-116946https://github.com/picnixz/cpython/tree/feat/gc/immutable-heap-types-116946
Conversation 5 https://github.com/python/cpython/pull/138582
Commits 10 https://github.com/python/cpython/pull/138582/commits
Checks 47 https://github.com/python/cpython/pull/138582/checks
Files changed https://github.com/python/cpython/pull/138582/files
Please reload this pagehttps://github.com/python/cpython/pull/138582
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Sep 6, 2025https://github.com/python/cpython/pull/138582#issue-3390218031
Please reload this pagehttps://github.com/python/cpython/pull/138582
@serhiy-storchakahttps://github.com/serhiy-storchaka
@pablogsalhttps://github.com/pablogsal
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/138582
picnixzhttps://github.com/picnixz
September 6, 2025 14:35https://github.com/python/cpython/pull/138582#commits-pushed-53c9fe8
https://github.com/picnixz
make _tkinter.Tcl_Obj immutablehttps://github.com/python/cpython/pull/138582/commits/53c9fe80cceeb997767c2eab2f5f11eda6f502ee
53c9fe8https://github.com/python/cpython/pull/138582/commits/53c9fe80cceeb997767c2eab2f5f11eda6f502ee
https://github.com/picnixz
make _curses_panel.panel immutablehttps://github.com/python/cpython/pull/138582/commits/8db011335e99bc21231ad3dfa3559c00e418fdcb
8db0113https://github.com/python/cpython/pull/138582/commits/8db011335e99bc21231ad3dfa3559c00e418fdcb
https://github.com/picnixz
make _tkinter.tkapp immutablehttps://github.com/python/cpython/pull/138582/commits/c7213ac07acec82651c081ba764cf184c1a9ed4f
c7213achttps://github.com/python/cpython/pull/138582/commits/c7213ac07acec82651c081ba764cf184c1a9ed4f
https://github.com/picnixz
make _tkinter.tktimertoken immutablehttps://github.com/python/cpython/pull/138582/commits/443908f582add0bc17e8383b16b9ad405e5e5198
443908fhttps://github.com/python/cpython/pull/138582/commits/443908f582add0bc17e8383b16b9ad405e5e5198
https://github.com/picnixz
make zlib.Compress immutablehttps://github.com/python/cpython/pull/138582/commits/2ceb790da6d6c32482b8ed67ea6b3231bfc35715
2ceb790https://github.com/python/cpython/pull/138582/commits/2ceb790da6d6c32482b8ed67ea6b3231bfc35715
https://github.com/picnixz
make zlib.Decompress immutablehttps://github.com/python/cpython/pull/138582/commits/2b0f8efaa337109c760964d185c84cd36e5bd497
2b0f8efhttps://github.com/python/cpython/pull/138582/commits/2b0f8efaa337109c760964d185c84cd36e5bd497
https://github.com/picnixz
make [posix,nt].ScandirIterator immutablehttps://github.com/python/cpython/pull/138582/commits/ba552636c4bcba0ae0e5b7d3f3bd3376ee156219
ba55263https://github.com/python/cpython/pull/138582/commits/ba552636c4bcba0ae0e5b7d3f3bd3376ee156219
https://github.com/picnixz
make [posix,nt].DirEntry immutablehttps://github.com/python/cpython/pull/138582/commits/934432e15e380144836541796c518ac0a907f6ad
934432ehttps://github.com/python/cpython/pull/138582/commits/934432e15e380144836541796c518ac0a907f6ad
https://github.com/picnixz
picnixzhttps://github.com/picnixz
1st1https://github.com/1st1
ambvhttps://github.com/ambv
pablogsalhttps://github.com/pablogsal
code ownershttps://github.com/python/cpython/blob/c919d02edecfe9d75fe374756fb8aa1db8d95f55/.github/CODEOWNERS#L316
September 6, 2025 13:52https://github.com/python/cpython/pull/138582#event-19543498544
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 6, 2025https://github.com/python/cpython/pull/138582#event-19543498735
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 6, 2025 https://github.com/python/cpython/pull/138582#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
picnixzhttps://github.com/picnixz
September 6, 2025 15:59https://github.com/python/cpython/pull/138582#commits-pushed-60f9545
https://github.com/picnixz
make _remote_debugging.RemoteUnwinder immutablehttps://github.com/python/cpython/pull/138582/commits/60f9545097083445e0fed70e05929b108bc191dc
60f9545https://github.com/python/cpython/pull/138582/commits/60f9545097083445e0fed70e05929b108bc191dc
https://github.com/picnixz
blurbhttps://github.com/python/cpython/pull/138582/commits/6405c1cbe556e6a2026595c03084f309b7b57bf3
6405c1chttps://github.com/python/cpython/pull/138582/commits/6405c1cbe556e6a2026595c03084f309b7b57bf3
https://github.com/picnixz
picnixzhttps://github.com/picnixz
force-pushedhttps://github.com/python/cpython/compare/970baf216048f088f370a08685c8597bd0971330..6405c1cbe556e6a2026595c03084f309b7b57bf3
970baf2https://github.com/python/cpython/commit/970baf216048f088f370a08685c8597bd0971330
6405c1chttps://github.com/python/cpython/commit/6405c1cbe556e6a2026595c03084f309b7b57bf3
Compare https://github.com/python/cpython/compare/970baf216048f088f370a08685c8597bd0971330..6405c1cbe556e6a2026595c03084f309b7b57bf3
September 6, 2025 13:59https://github.com/python/cpython/pull/138582#event-19543552618
https://github.com/picnixz
picnixzhttps://github.com/picnixz
serhiy-storchakahttps://github.com/serhiy-storchaka
September 6, 2025 14:06https://github.com/python/cpython/pull/138582#event-19543616983
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Sep 6, 2025https://github.com/python/cpython/pull/138582#issuecomment-3262415398
Please reload this pagehttps://github.com/python/cpython/pull/138582
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/138582
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Sep 6, 2025https://github.com/python/cpython/pull/138582#issuecomment-3262454815
Please reload this pagehttps://github.com/python/cpython/pull/138582
Please reload this pagehttps://github.com/python/cpython/pull/138582
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Sep 6, 2025https://github.com/python/cpython/pull/138582#issuecomment-3262516544
Please reload this pagehttps://github.com/python/cpython/pull/138582
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Sep 10, 2025 https://github.com/python/cpython/pull/138582#pullrequestreview-3205746602
View reviewed changes https://github.com/python/cpython/pull/138582/files/6405c1cbe556e6a2026595c03084f309b7b57bf3
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/138582#pullrequestreview-3205746602
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/138582
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 core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 10, 2025https://github.com/python/cpython/pull/138582#event-19611148575
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Sep 10, 2025https://github.com/python/cpython/pull/138582#issuecomment-3274569857
Please reload this pagehttps://github.com/python/cpython/pull/138582
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Sep 10, 2025 https://github.com/python/cpython/pull/138582#pullrequestreview-3205781849
View reviewed changes https://github.com/python/cpython/pull/138582/files/6405c1cbe556e6a2026595c03084f309b7b57bf3
https://github.com/picnixz
picnixzhttps://github.com/picnixz
4978bfchttps://github.com/python/cpython/commit/4978bfca1033358504c7a4ebbe33f0c28bededf7
Sep 11, 2025https://github.com/python/cpython/pull/138582#event-19629725895
Please reload this pagehttps://github.com/python/cpython/pull/138582
https://github.com/picnixz
picnixzhttps://github.com/picnixz
September 11, 2025 07:56https://github.com/python/cpython/pull/138582#event-19629727718
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 11, 2025https://github.com/python/cpython/pull/138582#event-19629727819
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%2F138582
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/138582/files/6405c1cbe556e6a2026595c03084f309b7b57bf3
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/138582/files/6405c1cbe556e6a2026595c03084f309b7b57bf3
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/ambv
ambv https://github.com/ambv
https://github.com/1st1
1st1 https://github.com/1st1
Please reload this pagehttps://github.com/python/cpython/pull/138582
https://github.com/picnixz
https://github.com/pablogsal
https://github.com/serhiy-storchaka
https://github.com/kumaraditya303
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.