| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:557eef0a-3726-981e-4557-7f3fe0f49a6c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BD76:1DCF5:395C6:4C2D5:6B021F84 |
| html-safe-nonce | d11874028255d2bad01b4449f94b50c328af33aa74df9852b7f6e5692d69f7d2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDc2OjFEQ0Y1OjM5NUM2OjRDMkQ1OjZCMDIxRjg0IiwidmlzaXRvcl9pZCI6IjgwNzMxMzg2ODUzNTQzMTk3NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c8c42e4574b37a4dc82e377a6227d9b0d9ddf3bcbeb0f4288f4e00adc1c164c4 |
| hovercard-subject-tag | pull_request:1983508517 |
| 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 | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/122180/commits |
| twitter:image | https://opengraph.githubassets.com/c5a7ec4ca06220000a4c84330f31d874bdc4a948a9b1324b4367b30d4110394d/python/cpython/pull/122180 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c5a7ec4ca06220000a4c84330f31d874bdc4a948a9b1324b4367b30d4110394d/python/cpython/pull/122180 |
| og:image:alt | Change _PyCode_New (intern_strings & intern_constants) to return new tuples
rather than mutating their arguments.
If possible, return the argument rather than create a copy.
In order to make co... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | encukou |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/122180/commits#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F122180%2Fcommits |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F122180%2Fcommits |
| 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%2Fcommits&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/122180/commits |
| Reload | https://github.com/python/cpython/pull/122180/commits |
| Reload | https://github.com/python/cpython/pull/122180/commits |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| https://github.com/python/cpython |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| encukou:gh-121863 | https://github.com/encukou/cpython/tree/gh-121863 |
| Conversation | https://github.com/python/cpython/pull/122180 |
| Commits20 (20) | https://github.com/python/cpython/pull/122180/commits |
| Checks | https://github.com/python/cpython/pull/122180/checks |
| Files changed | https://github.com/python/cpython/pull/122180/files |
| gh-121954: Don't mutate tuples in _PyCode_New | https://github.com/python/cpython/pull/122180/commits#top |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| encukou:gh-121863 | https://github.com/encukou/cpython/tree/gh-121863 |
| Immortalize implicit arguments; use static sting for ".0" | https://github.com/python/cpython/pull/122180/commits/3c7050e9a72ff1848e3d1c5bbc8fe751cc91c206 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 3c7050e | https://github.com/python/cpython/pull/122180/commits/3c7050e9a72ff1848e3d1c5bbc8fe751cc91c206 |
| https://github.com/python/cpython/tree/3c7050e9a72ff1848e3d1c5bbc8fe751cc91c206 |
| Intern mangled identifiers after creation | https://github.com/python/cpython/pull/122180/commits/2ebe868e6c0dcd84769be4842ac3568c54a705e3 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 2ebe868 | https://github.com/python/cpython/pull/122180/commits/2ebe868e6c0dcd84769be4842ac3568c54a705e3 |
| https://github.com/python/cpython/tree/2ebe868e6c0dcd84769be4842ac3568c54a705e3 |
| Create new tuples with _PyCode_New | https://github.com/python/cpython/pull/122180/commits/7ba01d59a7f64450d950a210e62278d69497595d |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 7ba01d5 | https://github.com/python/cpython/pull/122180/commits/7ba01d59a7f64450d950a210e62278d69497595d |
| https://github.com/python/cpython/tree/7ba01d59a7f64450d950a210e62278d69497595d |
| Intern strings in _PyCode_ConstantKey | https://github.com/python/cpython/pull/122180/commits/ff7f4e6695153c81b9955761832244ed18229c43 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| ff7f4e6 | https://github.com/python/cpython/pull/122180/commits/ff7f4e6695153c81b9955761832244ed18229c43 |
| https://github.com/python/cpython/tree/ff7f4e6695153c81b9955761832244ed18229c43 |
| Merge validate_and_copy_tuple into intern_names | https://github.com/python/cpython/pull/122180/commits/c2db0f0aa83bd3016381f335ce362106538ce070 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| c2db0f0 | https://github.com/python/cpython/pull/122180/commits/c2db0f0aa83bd3016381f335ce362106538ce070 |
| https://github.com/python/cpython/tree/c2db0f0aa83bd3016381f335ce362106538ce070 |
| Remove test that asserted a constant is *not* interned | https://github.com/python/cpython/pull/122180/commits/259d2caab39c1c4e19c1cf1ea8263af298a8cccc |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 259d2ca | https://github.com/python/cpython/pull/122180/commits/259d2caab39c1c4e19c1cf1ea8263af298a8cccc |
| https://github.com/python/cpython/tree/259d2caab39c1c4e19c1cf1ea8263af298a8cccc |
| Fix ref handling in error case | https://github.com/python/cpython/pull/122180/commits/891304ddab50e6b44509fc2a2bea1889cad96bae |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 891304d | https://github.com/python/cpython/pull/122180/commits/891304ddab50e6b44509fc2a2bea1889cad96bae |
| https://github.com/python/cpython/tree/891304ddab50e6b44509fc2a2bea1889cad96bae |
| Skip interning in _Py_Mangle (_PyCode_ConstantKey is enough) | https://github.com/python/cpython/pull/122180/commits/1e655b2dbed03989ea931807cf2960b13354abbd |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 1e655b2 | https://github.com/python/cpython/pull/122180/commits/1e655b2dbed03989ea931807cf2960b13354abbd |
| https://github.com/python/cpython/tree/1e655b2dbed03989ea931807cf2960b13354abbd |
| Add blurb | https://github.com/python/cpython/pull/122180/commits/a75078fc845313c331a278f5e72ba58971614db1 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| a75078f | https://github.com/python/cpython/pull/122180/commits/a75078fc845313c331a278f5e72ba58971614db1 |
| https://github.com/python/cpython/tree/a75078fc845313c331a278f5e72ba58971614db1 |
| Immortalize localsplusnames | https://github.com/python/cpython/pull/122180/commits/2557b5b3550b74e161b0a37eb543b78bcd6dbc46 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 2557b5b | https://github.com/python/cpython/pull/122180/commits/2557b5b3550b74e161b0a37eb543b78bcd6dbc46 |
| https://github.com/python/cpython/tree/2557b5b3550b74e161b0a37eb543b78bcd6dbc46 |
| Free-threading: Re-add lock for intern_constants | https://github.com/python/cpython/pull/122180/commits/9bca4c69d133ada11fa6c963fa3f5a8dc5d1e04e |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 9bca4c6 | https://github.com/python/cpython/pull/122180/commits/9bca4c69d133ada11fa6c963fa3f5a8dc5d1e04e |
| https://github.com/python/cpython/tree/9bca4c69d133ada11fa6c963fa3f5a8dc5d1e04e |
| Merge in the main branch | https://github.com/python/cpython/pull/122180/commits/3939ac582779d614dbee980fcde17c9051c309da |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 3939ac5 | https://github.com/python/cpython/pull/122180/commits/3939ac582779d614dbee980fcde17c9051c309da |
| https://github.com/python/cpython/tree/3939ac582779d614dbee980fcde17c9051c309da |
| Intern tuples in free-threaded build | https://github.com/python/cpython/pull/122180/commits/25dbda6f388037c833f99dfaa98c02b011000732 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 25dbda6 | https://github.com/python/cpython/pull/122180/commits/25dbda6f388037c833f99dfaa98c02b011000732 |
| https://github.com/python/cpython/tree/25dbda6f388037c833f99dfaa98c02b011000732 |
| Intern the outer tuples like any other object | https://github.com/python/cpython/pull/122180/commits/b33c1eb3c687b450eb119776a7892a48d27e292a |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| b33c1eb | https://github.com/python/cpython/pull/122180/commits/b33c1eb3c687b450eb119776a7892a48d27e292a |
| https://github.com/python/cpython/tree/b33c1eb3c687b450eb119776a7892a48d27e292a |
| Regenerate test_frozenmain.h | https://github.com/python/cpython/pull/122180/commits/cd6086f85fc0df9fadf8a0d99ac9a753280ef1f8 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| cd6086f | https://github.com/python/cpython/pull/122180/commits/cd6086f85fc0df9fadf8a0d99ac9a753280ef1f8 |
| https://github.com/python/cpython/tree/cd6086f85fc0df9fadf8a0d99ac9a753280ef1f8 |
| Adjust comment for _PyCode_Fini | https://github.com/python/cpython/pull/122180/commits/ecd7ae75a5f545033725eb118fa14361a31baa9c |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| ecd7ae7 | https://github.com/python/cpython/pull/122180/commits/ecd7ae75a5f545033725eb118fa14361a31baa9c |
| https://github.com/python/cpython/tree/ecd7ae75a5f545033725eb118fa14361a31baa9c |
| Merge in the main branch | https://github.com/python/cpython/pull/122180/commits/34f5119ffc257eaa2a75ecc76e9ad4b2700553b2 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 34f5119 | https://github.com/python/cpython/pull/122180/commits/34f5119ffc257eaa2a75ecc76e9ad4b2700553b2 |
| https://github.com/python/cpython/tree/34f5119ffc257eaa2a75ecc76e9ad4b2700553b2 |
| Add tests for converting to strict unicode | https://github.com/python/cpython/pull/122180/commits/aa1a5ca0dfa5c7f6ec393286e2f95c5213de2530 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| aa1a5ca | https://github.com/python/cpython/pull/122180/commits/aa1a5ca0dfa5c7f6ec393286e2f95c5213de2530 |
| https://github.com/python/cpython/tree/aa1a5ca0dfa5c7f6ec393286e2f95c5213de2530 |
| Unlock mutex in error path | https://github.com/python/cpython/pull/122180/commits/e705379ae5413a46c74c305a28807173b6188a0e |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| e705379 | https://github.com/python/cpython/pull/122180/commits/e705379ae5413a46c74c305a28807173b6188a0e |
| https://github.com/python/cpython/tree/e705379ae5413a46c74c305a28807173b6188a0e |
| Add braces to if bodies | https://github.com/python/cpython/pull/122180/commits/ed6115fad5f5cf9149ade8edd86d67862492949b |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| ed6115f | https://github.com/python/cpython/pull/122180/commits/ed6115fad5f5cf9149ade8edd86d67862492949b |
| https://github.com/python/cpython/tree/ed6115fad5f5cf9149ade8edd86d67862492949b |
|
| 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 |