René's URL Explorer Experiment


Title: GH-139389: Do not track immutable tuples in PyTuple_Pack by sergey-miryanov · Pull Request #139390 · python/cpython · GitHub

Open Graph Title: GH-139389: Do not track immutable tuples in PyTuple_Pack by sergey-miryanov · Pull Request #139390 · python/cpython

X Title: GH-139389: Do not track immutable tuples in PyTuple_Pack by sergey-miryanov · Pull Request #139390 · python/cpython

Description: When we use PyTuple_Pack all objects already well constructed. If we know that they immutable we can skip tracking it in GC, because GC will untrack them eventually. I have a PR ready and benchmark...

Open Graph Description: When we use PyTuple_Pack all objects already well constructed. If we know that they immutable we can skip tracking it in GC, because GC will untrack them eventually. I have a PR ready and benchmark...

X Description: When we use PyTuple_Pack all objects already well constructed. If we know that they immutable we can skip tracking it in GC, because GC will untrack them eventually. I have a PR ready and benchmark...

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

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:eea54f15-df3c-227e-af06-8bdf86c73c95
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB4F2:139CD4:2D4B69:3BEED5:696B390E
html-safe-noncec3b7c6093b112d2e8958f7e3fc96502b7ace7d3809449d2b22dc5b53921f3da5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEYyOjEzOUNENDoyRDRCNjk6M0JFRUQ1OjY5NkIzOTBFIiwidmlzaXRvcl9pZCI6IjMzNDA4NjE1ODg5NjgwNjE1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac841f414e0e8ee60326cfc31113a36db0363153b46c6f003bbfc367e05b10bd7c
hovercard-subject-tagpull_request:2867301792
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/139390/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/520704713b2e45d91bb9b901c733f72a96a22d7a4a803feea97f462177f1ca1a/python/cpython/pull/139390
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/520704713b2e45d91bb9b901c733f72a96a22d7a4a803feea97f462177f1ca1a/python/cpython/pull/139390
og:image:altWhen we use PyTuple_Pack all objects already well constructed. If we know that they immutable we can skip tracking it in GC, because GC will untrack them eventually. I have a PR ready and benchmark...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesergey-miryanov
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/139390#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139390
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%2F139390
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/139390
Reloadhttps://github.com/python/cpython/pull/139390
Reloadhttps://github.com/python/cpython/pull/139390
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/139390
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/139390
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/139390#issue-comment-box
sergey-miryanovhttps://github.com/sergey-miryanov
python:mainhttps://github.com/python/cpython/tree/main
sergey-miryanov:139389-donot-track-immutable-tupleshttps://github.com/sergey-miryanov/cpython/tree/139389-donot-track-immutable-tuples
GH-139389: Do not track immutable tuples in PyTuple_Pack https://github.com/python/cpython/pull/139390#top
sergey-miryanovhttps://github.com/sergey-miryanov
python:mainhttps://github.com/python/cpython/tree/main
sergey-miryanov:139389-donot-track-immutable-tupleshttps://github.com/sergey-miryanov/cpython/tree/139389-donot-track-immutable-tuples
Conversation 7 https://github.com/python/cpython/pull/139390
Commits 6 https://github.com/python/cpython/pull/139390/commits
Checks 39 https://github.com/python/cpython/pull/139390/checks
Files changed https://github.com/python/cpython/pull/139390/files
Please reload this pagehttps://github.com/python/cpython/pull/139390
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 28, 2025https://github.com/python/cpython/pull/139390#issue-3461276279
Please reload this pagehttps://github.com/python/cpython/pull/139390
48d0d0dhttps://github.com/python/cpython/commit/48d0d0dd9733eae4935f2ebd31bef786d8074fc8
Do not track immutable tuples in PyTuple_Pack #139389https://github.com/python/cpython/issues/139389
Please reload this pagehttps://github.com/python/cpython/pull/139390
https://github.com/sergey-miryanov
Do not track immutable tuples in PyTuple_Packhttps://github.com/python/cpython/pull/139390/commits/fbb734250465f91a667d6cce8cb1dc812fc8afd2
fbb7342https://github.com/python/cpython/pull/139390/commits/fbb734250465f91a667d6cce8cb1dc812fc8afd2
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 28, 2025https://github.com/python/cpython/pull/139390#event-19963559274
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 28, 2025 https://github.com/python/cpython/pull/139390#ref-issue-3461274287
Do not track immutable tuples in PyTuple_Pack #139389 https://github.com/python/cpython/issues/139389
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 28, 2025https://github.com/python/cpython/pull/139390#issuecomment-3342486379
Please reload this pagehttps://github.com/python/cpython/pull/139390
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 28, 2025https://github.com/python/cpython/pull/139390#event-19963582788
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 28, 2025https://github.com/python/cpython/pull/139390#event-19963582893
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 28, 2025https://github.com/python/cpython/pull/139390#issuecomment-3342486689
Please reload this pagehttps://github.com/python/cpython/pull/139390
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Sep 28, 2025https://github.com/python/cpython/pull/139390#issuecomment-3343744155
Please reload this pagehttps://github.com/python/cpython/pull/139390
https://github.com/sergey-miryanov
Extra statshttps://github.com/python/cpython/pull/139390/commits/be72b3f7673b5f826712d4ac97cc7e1f31dbe03e
be72b3fhttps://github.com/python/cpython/pull/139390/commits/be72b3f7673b5f826712d4ac97cc7e1f31dbe03e
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Sep 28, 2025https://github.com/python/cpython/pull/139390#issuecomment-3344220941
Please reload this pagehttps://github.com/python/cpython/pull/139390
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 29, 2025https://github.com/python/cpython/pull/139390#issuecomment-3345060443
@eendebakpthttps://github.com/eendebakpt
Please reload this pagehttps://github.com/python/cpython/pull/139390
https://github.com/sergey-miryanov
Implement for allhttps://github.com/python/cpython/pull/139390/commits/04f0f66bb3ba02d7fb2c6a82fbacaab5d2135f53
04f0f66https://github.com/python/cpython/pull/139390/commits/04f0f66bb3ba02d7fb2c6a82fbacaab5d2135f53
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Sep 29, 2025https://github.com/python/cpython/pull/139390#issuecomment-3345475317
Please reload this pagehttps://github.com/python/cpython/pull/139390
sergey-miryanovhttps://github.com/sergey-miryanov
October 11, 2025 00:06https://github.com/python/cpython/pull/139390#commits-pushed-3b80c93
https://github.com/sergey-miryanov
Merge branch 'main' into 139389-donot-track-immutable-tupleshttps://github.com/python/cpython/pull/139390/commits/3b80c93b1e88d5f319029ff50038e462ea078b80
3b80c93https://github.com/python/cpython/pull/139390/commits/3b80c93b1e88d5f319029ff50038e462ea078b80
https://github.com/sergey-miryanov
Count total tupleshttps://github.com/python/cpython/pull/139390/commits/ff81eb2fda1a19abb4e91c0803b47295fbf7a1c5
ff81eb2https://github.com/python/cpython/pull/139390/commits/ff81eb2fda1a19abb4e91c0803b47295fbf7a1c5
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Oct 10, 2025https://github.com/python/cpython/pull/139390#issuecomment-3392238210
Please reload this pagehttps://github.com/python/cpython/pull/139390
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
October 10, 2025 20:33https://github.com/python/cpython/pull/139390#event-20217299687
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
Oct 10, 2025https://github.com/python/cpython/pull/139390#event-20217300264
https://github.com/sergey-miryanov
Count tracked tupleshttps://github.com/python/cpython/pull/139390/commits/a79a2839fbd899cc59880259d9e65028017c71de
a79a283https://github.com/python/cpython/pull/139390/commits/a79a2839fbd899cc59880259d9e65028017c71de
https://github.com/efimov-mikhail
efimov-mikhailhttps://github.com/efimov-mikhail
Oct 16, 2025 https://github.com/python/cpython/pull/139390#ref-pullrequest-3522061909
gh-1339951: Count only GC tracked objects in young, not all allocated #140215 https://github.com/python/cpython/pull/140215
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%2F139390
Please reload this pagehttps://github.com/python/cpython/pull/139390
https://github.com/sergey-miryanov
https://github.com/ZeroIntensity
https://github.com/eendebakpt
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.