René's URL Explorer Experiment


Title: gh-139951: Do not track immutable tuples in GC by efimov-mikhail · Pull Request #140204 · python/cpython · GitHub

Open Graph Title: gh-139951: Do not track immutable tuples in GC by efimov-mikhail · Pull Request #140204 · python/cpython

X Title: gh-139951: Do not track immutable tuples in GC by efimov-mikhail · Pull Request #140204 · python/cpython

Description: Issue: gh-139951

Open Graph Description: Issue: gh-139951

X Description: Issue: gh-139951

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:aa17739f-61bd-eb57-bba8-17beb9d50f04
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC2EC:D7362:79D075:A4B77F:696AB55F
html-safe-nonce8e7a559a359a3aee28f61434c18e96a2f5c27f5b9f235af3cca925125b0164a1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkVDOkQ3MzYyOjc5RDA3NTpBNEI3N0Y6Njk2QUI1NUYiLCJ2aXNpdG9yX2lkIjoiNjU0MDM0ODU1NjQ0NTQyMzAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2f47ea2dcf131c329505ea092d5afd0a90f677f0e9d1811dda2e834a0f7eee46
hovercard-subject-tagpull_request:2920262188
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/140204/files
twitter:imagehttps://avatars.githubusercontent.com/u/5574866?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5574866?s=400&v=4
og:image:altIssue: gh-139951
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release41f276818bd204c4a30a0281fb3c576298d9474c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/140204/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F140204%2Ffiles
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%2F140204%2Ffiles
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/140204/files
Reloadhttps://github.com/python/cpython/pull/140204/files
Reloadhttps://github.com/python/cpython/pull/140204/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/140204/files
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/140204/files
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
efimov-mikhailhttps://github.com/efimov-mikhail
python:mainhttps://github.com/python/cpython/tree/main
efimov-mikhail:sergey-miryanov-139389-donot-track-immutable-tupleshttps://github.com/efimov-mikhail/cpython/tree/sergey-miryanov-139389-donot-track-immutable-tuples
Conversation 42 https://github.com/python/cpython/pull/140204
Commits 20 https://github.com/python/cpython/pull/140204/commits
Checks 41 https://github.com/python/cpython/pull/140204/checks
Files changed 4 https://github.com/python/cpython/pull/140204/files
gh-139951: Do not track immutable tuples in GC https://github.com/python/cpython/pull/140204/files#top
Show all changes 20 commits https://github.com/python/cpython/pull/140204/files
fbb7342 Do not track immutable tuples in PyTuple_Pack sergey-miryanov Sep 28, 2025 https://github.com/python/cpython/pull/140204/commits/fbb734250465f91a667d6cce8cb1dc812fc8afd2
be72b3f Extra stats sergey-miryanov Sep 28, 2025 https://github.com/python/cpython/pull/140204/commits/be72b3f7673b5f826712d4ac97cc7e1f31dbe03e
04f0f66 Implement for all sergey-miryanov Sep 29, 2025 https://github.com/python/cpython/pull/140204/commits/04f0f66bb3ba02d7fb2c6a82fbacaab5d2135f53
3b80c93 Merge branch 'main' into 139389-donot-track-immutable-tuples sergey-miryanov Oct 10, 2025 https://github.com/python/cpython/pull/140204/commits/3b80c93b1e88d5f319029ff50038e462ea078b80
ff81eb2 Count total tuples sergey-miryanov Oct 10, 2025 https://github.com/python/cpython/pull/140204/commits/ff81eb2fda1a19abb4e91c0803b47295fbf7a1c5
f1220e4 expirements efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/f1220e4e2ce783178bc1e8f5f3325499ab127493
8b7fcd5 some clean efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/8b7fcd5319a48069e1e0d9f1b80d5f9af67ce4db
b281fe8 Remove statistics efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/b281fe82dd5e6a4da578c29dc90635482745ecd4
5c117a7 Update PyTuple_FromArray efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/5c117a78af501b7d59b39d50d78db9dfe803fb66
0d7eff1 Helper function is added efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/0d7eff179f2e27ee6eb6b504f7cb496264397bf9
a679b50 Update Objects/tupleobject.c efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/a679b508c73b944525c57b8b2043876e516a70cf
35dfe24 Update Objects/tupleobject.c efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/35dfe2453047742432b621f7726ff63c700ef608
4297f8b Review addressed efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/4297f8b060b3b7b9903d9cb052c6247288d30ed9
ddfe151 News updated efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/ddfe151ca66cda1159b012c4c8698359c38eff2d
30dd590 expirements efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/30dd59090812cffe943b49af116020f63b074b5e
63c0e3e Revert GC changes efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/63c0e3ee9b4a857e6c3aafca9ed165da41eec854
9ce41be Check tuple tracking after tp_subscipt efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/9ce41be0b9e8fce50bdc61d63051e89dbd3ff49a
77a0373 Review addressed efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/77a0373c9d2387b7100e71e418c520e14e34eab6
567105f Address feedback efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/567105fbd919c3ac148d292523ebf845d10cf938
d00b16a Merge branch 'main' into sergey-miryanov-139389-donot-track-immutable… efimov-mikhail Oct 16, 2025 https://github.com/python/cpython/pull/140204/commits/d00b16a890e9ad23f0284ada0ba897d61451290e
Clear filters https://github.com/python/cpython/pull/140204/files
Please reload this pagehttps://github.com/python/cpython/pull/140204/files
Please reload this pagehttps://github.com/python/cpython/pull/140204/files
test_tuple.py https://github.com/python/cpython/pull/140204/files#diff-666a430c62401e7e7ef2b95168ac5523aa614e3cebaf0f524aabc9e322029b28
test_tuple.py https://github.com/python/cpython/pull/140204/files#diff-bd5127a6c487c9ad4404ea6bf4b5349507600ae1a6e4041c6d1e7d1c08fc3899
2025-10-16-15-02-11.gh-issue-139951.tqbIsW.rst https://github.com/python/cpython/pull/140204/files#diff-2c04bfec92eca6989c5494d4d1b8956c14e3c2cbbc6e5dc8ce40bf6d555bc725
tupleobject.c https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
Lib/test/test_capi/test_tuple.pyhttps://github.com/python/cpython/pull/140204/files#diff-666a430c62401e7e7ef2b95168ac5523aa614e3cebaf0f524aabc9e322029b28
View file https://github.com/efimov-mikhail/cpython/blob/d00b16a890e9ad23f0284ada0ba897d61451290e/Lib/test/test_capi/test_tuple.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/140204/{{ revealButtonHref }}
https://github.com/python/cpython/pull/140204/files#diff-666a430c62401e7e7ef2b95168ac5523aa614e3cebaf0f524aabc9e322029b28
https://github.com/python/cpython/pull/140204/files#diff-666a430c62401e7e7ef2b95168ac5523aa614e3cebaf0f524aabc9e322029b28
https://github.com/python/cpython/pull/140204/files#diff-666a430c62401e7e7ef2b95168ac5523aa614e3cebaf0f524aabc9e322029b28
https://github.com/python/cpython/pull/140204/files#diff-666a430c62401e7e7ef2b95168ac5523aa614e3cebaf0f524aabc9e322029b28
https://github.com/python/cpython/pull/140204/files#diff-666a430c62401e7e7ef2b95168ac5523aa614e3cebaf0f524aabc9e322029b28
https://github.com/python/cpython/pull/140204/files#diff-666a430c62401e7e7ef2b95168ac5523aa614e3cebaf0f524aabc9e322029b28
Lib/test/test_tuple.pyhttps://github.com/python/cpython/pull/140204/files#diff-bd5127a6c487c9ad4404ea6bf4b5349507600ae1a6e4041c6d1e7d1c08fc3899
View file https://github.com/efimov-mikhail/cpython/blob/d00b16a890e9ad23f0284ada0ba897d61451290e/Lib/test/test_tuple.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/140204/{{ revealButtonHref }}
https://github.com/python/cpython/pull/140204/files#diff-bd5127a6c487c9ad4404ea6bf4b5349507600ae1a6e4041c6d1e7d1c08fc3899
https://github.com/python/cpython/pull/140204/files#diff-bd5127a6c487c9ad4404ea6bf4b5349507600ae1a6e4041c6d1e7d1c08fc3899
https://github.com/python/cpython/pull/140204/files#diff-bd5127a6c487c9ad4404ea6bf4b5349507600ae1a6e4041c6d1e7d1c08fc3899
https://github.com/python/cpython/pull/140204/files#diff-bd5127a6c487c9ad4404ea6bf4b5349507600ae1a6e4041c6d1e7d1c08fc3899
https://github.com/python/cpython/pull/140204/files#diff-bd5127a6c487c9ad4404ea6bf4b5349507600ae1a6e4041c6d1e7d1c08fc3899
Misc/NEWS.d/next/Core_and_Builtins/2025-10-16-15-02-11.gh-issue-139951.tqbIsW.rsthttps://github.com/python/cpython/pull/140204/files#diff-2c04bfec92eca6989c5494d4d1b8956c14e3c2cbbc6e5dc8ce40bf6d555bc725
View file https://github.com/efimov-mikhail/cpython/blob/d00b16a890e9ad23f0284ada0ba897d61451290e/Misc/NEWS.d/next/Core_and_Builtins/2025-10-16-15-02-11.gh-issue-139951.tqbIsW.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/140204/{{ revealButtonHref }}
Objects/tupleobject.chttps://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
View file https://github.com/efimov-mikhail/cpython/blob/d00b16a890e9ad23f0284ada0ba897d61451290e/Objects/tupleobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/140204/{{ revealButtonHref }}
https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
Please reload this pagehttps://github.com/python/cpython/pull/140204/files
https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
https://github.com/python/cpython/pull/140204/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
Please reload this pagehttps://github.com/python/cpython/pull/140204/files
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.