| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:eea54f15-df3c-227e-af06-8bdf86c73c95 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B4F2:139CD4:2D4B69:3BEED5:696B390E |
| html-safe-nonce | c3b7c6093b112d2e8958f7e3fc96502b7ace7d3809449d2b22dc5b53921f3da5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEYyOjEzOUNENDoyRDRCNjk6M0JFRUQ1OjY5NkIzOTBFIiwidmlzaXRvcl9pZCI6IjMzNDA4NjE1ODg5NjgwNjE1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 841f414e0e8ee60326cfc31113a36db0363153b46c6f003bbfc367e05b10bd7c |
| hovercard-subject-tag | pull_request:2867301792 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/139390/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/520704713b2e45d91bb9b901c733f72a96a22d7a4a803feea97f462177f1ca1a/python/cpython/pull/139390 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/520704713b2e45d91bb9b901c733f72a96a22d7a4a803feea97f462177f1ca1a/python/cpython/pull/139390 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sergey-miryanov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/python/cpython/pull/139390 |
| Reload | https://github.com/python/cpython/pull/139390 |
| Reload | https://github.com/python/cpython/pull/139390 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://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 page | https://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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/139390#issue-comment-box |
| sergey-miryanov | https://github.com/sergey-miryanov |
| python:main | https://github.com/python/cpython/tree/main |
| sergey-miryanov:139389-donot-track-immutable-tuples | https://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-miryanov | https://github.com/sergey-miryanov |
| python:main | https://github.com/python/cpython/tree/main |
| sergey-miryanov:139389-donot-track-immutable-tuples | https://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 page | https://github.com/python/cpython/pull/139390 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/sergey-miryanov |
| sergey-miryanov | https://github.com/sergey-miryanov |
| Sep 28, 2025 | https://github.com/python/cpython/pull/139390#issue-3461276279 |
| Please reload this page | https://github.com/python/cpython/pull/139390 |
| 48d0d0d | https://github.com/python/cpython/commit/48d0d0dd9733eae4935f2ebd31bef786d8074fc8 |
| Do not track immutable tuples in PyTuple_Pack #139389 | https://github.com/python/cpython/issues/139389 |
| Please reload this page | https://github.com/python/cpython/pull/139390 |
|
| https://github.com/sergey-miryanov |
| Do not track immutable tuples in PyTuple_Pack | https://github.com/python/cpython/pull/139390/commits/fbb734250465f91a667d6cce8cb1dc812fc8afd2 |
| fbb7342 | https://github.com/python/cpython/pull/139390/commits/fbb734250465f91a667d6cce8cb1dc812fc8afd2 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Sep 28, 2025 | https://github.com/python/cpython/pull/139390#event-19963559274 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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-miryanov | https://github.com/sergey-miryanov |
| Sep 28, 2025 | https://github.com/python/cpython/pull/139390#issuecomment-3342486379 |
| Please reload this page | https://github.com/python/cpython/pull/139390 |
| https://github.com/sergey-miryanov |
| sergey-miryanov | https://github.com/sergey-miryanov |
| Sep 28, 2025 | https://github.com/python/cpython/pull/139390#event-19963582788 |
| https://github.com/sergey-miryanov |
| sergey-miryanov | https://github.com/sergey-miryanov |
| Sep 28, 2025 | https://github.com/python/cpython/pull/139390#event-19963582893 |
| https://github.com/sergey-miryanov |
| sergey-miryanov | https://github.com/sergey-miryanov |
| Sep 28, 2025 | https://github.com/python/cpython/pull/139390#issuecomment-3342486689 |
| Please reload this page | https://github.com/python/cpython/pull/139390 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
| Sep 28, 2025 | https://github.com/python/cpython/pull/139390#issuecomment-3343744155 |
| Please reload this page | https://github.com/python/cpython/pull/139390 |
|
| https://github.com/sergey-miryanov |
| Extra stats | https://github.com/python/cpython/pull/139390/commits/be72b3f7673b5f826712d4ac97cc7e1f31dbe03e |
| be72b3f | https://github.com/python/cpython/pull/139390/commits/be72b3f7673b5f826712d4ac97cc7e1f31dbe03e |
| https://github.com/eendebakpt |
| eendebakpt | https://github.com/eendebakpt |
| Sep 28, 2025 | https://github.com/python/cpython/pull/139390#issuecomment-3344220941 |
| Please reload this page | https://github.com/python/cpython/pull/139390 |
| https://github.com/sergey-miryanov |
| sergey-miryanov | https://github.com/sergey-miryanov |
| Sep 29, 2025 | https://github.com/python/cpython/pull/139390#issuecomment-3345060443 |
| @eendebakpt | https://github.com/eendebakpt |
| Please reload this page | https://github.com/python/cpython/pull/139390 |
|
| https://github.com/sergey-miryanov |
| Implement for all | https://github.com/python/cpython/pull/139390/commits/04f0f66bb3ba02d7fb2c6a82fbacaab5d2135f53 |
| 04f0f66 | https://github.com/python/cpython/pull/139390/commits/04f0f66bb3ba02d7fb2c6a82fbacaab5d2135f53 |
| https://github.com/sergey-miryanov |
| sergey-miryanov | https://github.com/sergey-miryanov |
| Sep 29, 2025 | https://github.com/python/cpython/pull/139390#issuecomment-3345475317 |
| Please reload this page | https://github.com/python/cpython/pull/139390 |
| sergey-miryanov | https://github.com/sergey-miryanov |
| October 11, 2025 00:06 | https://github.com/python/cpython/pull/139390#commits-pushed-3b80c93 |
|
| https://github.com/sergey-miryanov |
| Merge branch 'main' into 139389-donot-track-immutable-tuples | https://github.com/python/cpython/pull/139390/commits/3b80c93b1e88d5f319029ff50038e462ea078b80 |
| 3b80c93 | https://github.com/python/cpython/pull/139390/commits/3b80c93b1e88d5f319029ff50038e462ea078b80 |
|
| https://github.com/sergey-miryanov |
| Count total tuples | https://github.com/python/cpython/pull/139390/commits/ff81eb2fda1a19abb4e91c0803b47295fbf7a1c5 |
| ff81eb2 | https://github.com/python/cpython/pull/139390/commits/ff81eb2fda1a19abb4e91c0803b47295fbf7a1c5 |
| https://github.com/sergey-miryanov |
| sergey-miryanov | https://github.com/sergey-miryanov |
| Oct 10, 2025 | https://github.com/python/cpython/pull/139390#issuecomment-3392238210 |
| Please reload this page | https://github.com/python/cpython/pull/139390 |
| https://github.com/sergey-miryanov |
| sergey-miryanov | https://github.com/sergey-miryanov |
| October 10, 2025 20:33 | https://github.com/python/cpython/pull/139390#event-20217299687 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Oct 10, 2025 | https://github.com/python/cpython/pull/139390#event-20217300264 |
|
| https://github.com/sergey-miryanov |
| Count tracked tuples | https://github.com/python/cpython/pull/139390/commits/a79a2839fbd899cc59880259d9e65028017c71de |
| a79a283 | https://github.com/python/cpython/pull/139390/commits/a79a2839fbd899cc59880259d9e65028017c71de |
| https://github.com/efimov-mikhail |
| efimov-mikhail | https://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 free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139390 |
| Please reload this page | https://github.com/python/cpython/pull/139390 |
|
| https://github.com/sergey-miryanov |
|
| https://github.com/ZeroIntensity |
|
| https://github.com/eendebakpt |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |