| 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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:590b8154-b90b-aed8-5dcd-396e3ea6aeac |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9736:1F2F:1BD6C15:24F6B5F:6B021124 |
| html-safe-nonce | f4ce3966e2fa33737f61a46d29296d281c1b92c99da18bbd0b76086745c7f7f8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzM2OjFGMkY6MUJENkMxNToyNEY2QjVGOjZCMDIxMTI0IiwidmlzaXRvcl9pZCI6IjczODc5MzAwNDgzMTA5Mzk5NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d3c9c6109aac3d612f63221f457c5eaa9f4ee8f07a910478ea7ecbff641512ce |
| hovercard-subject-tag | pull_request:3581309628 |
| 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/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/148971/files |
| twitter:image | https://avatars.githubusercontent.com/u/72689291?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/72689291?s=400&v=4 |
| og:image:alt | Behaviour changes (Reverted)
Change
main
branch
1
all.__self__ / any.__self__
<module 'builtins'>
None
2
gc.is_tracked(all) / gc.is_tracked(any)
True
False
Issue: gh-1... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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 |
| Skip to content | https://github.com/python/cpython/pull/148971/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F148971%2Ffiles |
| 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%2F148971%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 |
| Reload | https://github.com/python/cpython/pull/148971/files |
| Reload | https://github.com/python/cpython/pull/148971/files |
| Reload | https://github.com/python/cpython/pull/148971/files |
| 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 |
| 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 |
| markshannon | https://github.com/markshannon |
| python:main | https://github.com/python/cpython/tree/main |
| NekoAsakura:gh-148871/load-common-constant | https://github.com/NekoAsakura/cpython/tree/gh-148871/load-common-constant |
|
Conversation
15
| https://github.com/python/cpython/pull/148971 |
|
Commits
12
| https://github.com/python/cpython/pull/148971/commits |
|
Checks
73
| https://github.com/python/cpython/pull/148971/checks |
|
Files changed
| https://github.com/python/cpython/pull/148971/files |
| Please reload this page | https://github.com/python/cpython/pull/148971/files |
|
gh-148871: extend and improve LOAD_COMMON_CONSTANT
| https://github.com/python/cpython/pull/148971/files#top |
|
Show all changes
12 commits
| https://github.com/python/cpython/pull/148971/files |
|
fe39cfb
gh-148871: extend and improve `LOAD_COMMON_CONSTANT`
NekoAsakura Apr 24, 2026
| https://github.com/python/cpython/pull/148971/commits/fe39cfb7eb73ca484e3e3c237331826fdf150ca2 |
|
940932f
fix error
NekoAsakura Apr 24, 2026
| https://github.com/python/cpython/pull/148971/commits/940932feab53ed93b7ee82f3ae68a315cd14a61b |
|
bec065a
update `globals-to-fix.tsv`
NekoAsakura Apr 24, 2026
| https://github.com/python/cpython/pull/148971/commits/bec065ac361758b49370e08f22561d389e66ad16 |
|
35592b1
address requested changes
NekoAsakura Apr 25, 2026
| https://github.com/python/cpython/pull/148971/commits/35592b18dde0ae2aacba7778555b9b1896a223ae |
|
22595cd
Merge branch 'main' into gh-148871/load-common-constant
NekoAsakura Apr 26, 2026
| https://github.com/python/cpython/pull/148971/commits/22595cd687230d039e5fdf95d19cd56cb1dcfb0f |
|
926bd52
fixup
NekoAsakura Apr 26, 2026
| https://github.com/python/cpython/pull/148971/commits/926bd52c2ebdaed05eadde85aadf9a0b0de2d31d |
|
f654c71
retrigger CI
NekoAsakura Apr 26, 2026
| https://github.com/python/cpython/pull/148971/commits/f654c71a805ea52daa618f6b425f00c2f1c966e4 |
|
b4068b3
revert `any`/`all` static-ification
NekoAsakura May 1, 2026
| https://github.com/python/cpython/pull/148971/commits/b4068b31a6c5ef7b8434485fa45ccc45294317ec |
|
ebd1c28
Merge branch 'main' into gh-148871/load-common-constant
NekoAsakura May 1, 2026
| https://github.com/python/cpython/pull/148971/commits/ebd1c28c856e5161b62bfb02ce329cebc5ee1a9d |
|
44dc084
fixup: revert `any`/`all` static-ification
NekoAsakura May 1, 2026
| https://github.com/python/cpython/pull/148971/commits/44dc084f4c0cd19efec9e000f99b45acdc94f532 |
|
558a5ac
Merge branch 'main' into gh-148871/load-common-constant
NekoAsakura May 1, 2026
| https://github.com/python/cpython/pull/148971/commits/558a5ac6e3b19aa32e86f8171e6d594f14c77adc |
|
b017ae9
Merge branch 'main' into gh-148871/load-common-constant
NekoAsakura May 1, 2026
| https://github.com/python/cpython/pull/148971/commits/b017ae992670ef1232f563eeb72859cf030ade6c |
|
Clear filters
| https://github.com/python/cpython/pull/148971/files |
| Please reload this page | https://github.com/python/cpython/pull/148971/files |
| Please reload this page | https://github.com/python/cpython/pull/148971/files |
|
pycore_opcode_utils.h
| https://github.com/python/cpython/pull/148971/files#diff-38427bd410ffc8fb7b8a772b4743daa4fe6a229b13264e73e232172b7219c671 |
|
dis.py
| https://github.com/python/cpython/pull/148971/files#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8 |
|
opcode.py
| https://github.com/python/cpython/pull/148971/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
test_ast.py
| https://github.com/python/cpython/pull/148971/files#diff-a6d9c051aefcdf8f9606dd2ecc5a172a5716e2b38eff96097fc2b96528ed19d0 |
|
test_opt.py
| https://github.com/python/cpython/pull/148971/files#diff-67b5bd915e37f77df79907865982648172c27d3b96fbb072b30a73c6a2735439 |
|
test_code.py
| https://github.com/python/cpython/pull/148971/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
test_compile.py
| https://github.com/python/cpython/pull/148971/files#diff-c69ceae0611c40012b4691e3536bf17efacdb5b51b8e155eec9a939108e42e43 |
|
test_dis.py
| https://github.com/python/cpython/pull/148971/files#diff-fd7b118a01a9695dfa16eea9381d3c7b0652e1b7b55f51ff052a1f620d175642 |
|
test_peepholer.py
| https://github.com/python/cpython/pull/148971/files#diff-bcf92ed219340e9e0c52401909828c2e9a821541660073e24d64dd996beaf842 |
|
codeobject.c
| https://github.com/python/cpython/pull/148971/files#diff-6f869eb8beb7cbe4bc6817584b99ad567f88962fa67f7beca25d009dc401234d |
|
test_frozenmain.h
| https://github.com/python/cpython/pull/148971/files#diff-dcbbf153f77c69fb3a08746516bb9baaf46b9465c941221d1d495123e92cc862 |
|
flowgraph.c
| https://github.com/python/cpython/pull/148971/files#diff-3cbf15668c31488528b7ab0f903c674a0ecf550f4f53c1be6cf8cd965246c2a0 |
|
optimizer_bytecodes.c
| https://github.com/python/cpython/pull/148971/files#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64 |
|
optimizer_cases.c.h
| https://github.com/python/cpython/pull/148971/files#diff-ed4567b3e67709ec57bf4df91ef058cfcbe00d7da11cd2a75e38241fa1ca99d2 |
|
pylifecycle.c
| https://github.com/python/cpython/pull/148971/files#diff-69223f5bb01f359a23246afbbf75b45c622e719424418d658674fbb6c2b36fad |
| Include/internal/pycore_opcode_utils.h | https://github.com/python/cpython/pull/148971/files#diff-38427bd410ffc8fb7b8a772b4743daa4fe6a229b13264e73e232172b7219c671 |
|
View file
| https://github.com/NekoAsakura/cpython/blob/b017ae992670ef1232f563eeb72859cf030ade6c/Include/internal/pycore_opcode_utils.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/148971/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/148971/files#diff-38427bd410ffc8fb7b8a772b4743daa4fe6a229b13264e73e232172b7219c671 |
|
| https://github.com/python/cpython/pull/148971/files#diff-38427bd410ffc8fb7b8a772b4743daa4fe6a229b13264e73e232172b7219c671 |
| Lib/dis.py | https://github.com/python/cpython/pull/148971/files#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8 |
|
View file
| https://github.com/NekoAsakura/cpython/blob/b017ae992670ef1232f563eeb72859cf030ade6c/Lib/dis.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/148971/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/148971/files#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8 |
|
| https://github.com/python/cpython/pull/148971/files#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8 |
|
| https://github.com/python/cpython/pull/148971/files#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8 |
|
| https://github.com/python/cpython/pull/148971/files#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8 |
|
| https://github.com/python/cpython/pull/148971/files#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8 |
|
| https://github.com/python/cpython/pull/148971/files#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8 |
| Lib/opcode.py | https://github.com/python/cpython/pull/148971/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
View file
| https://github.com/NekoAsakura/cpython/blob/b017ae992670ef1232f563eeb72859cf030ade6c/Lib/opcode.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/148971/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/148971/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
| https://github.com/python/cpython/pull/148971/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L203 |
| Lib/test/test_ast/test_ast.py | https://github.com/python/cpython/pull/148971/files#diff-a6d9c051aefcdf8f9606dd2ecc5a172a5716e2b38eff96097fc2b96528ed19d0 |
|
View file
| https://github.com/NekoAsakura/cpython/blob/b017ae992670ef1232f563eeb72859cf030ade6c/Lib/test/test_ast/test_ast.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/148971/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/148971/files#diff-a6d9c051aefcdf8f9606dd2ecc5a172a5716e2b38eff96097fc2b96528ed19d0 |
|
| https://github.com/python/cpython/pull/148971/files#diff-a6d9c051aefcdf8f9606dd2ecc5a172a5716e2b38eff96097fc2b96528ed19d0 |
| Lib/test/test_capi/test_opt.py | https://github.com/python/cpython/pull/148971/files#diff-67b5bd915e37f77df79907865982648172c27d3b96fbb072b30a73c6a2735439 |
|
View file
| https://github.com/NekoAsakura/cpython/blob/b017ae992670ef1232f563eeb72859cf030ade6c/Lib/test/test_capi/test_opt.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/148971/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/148971/files#diff-67b5bd915e37f77df79907865982648172c27d3b96fbb072b30a73c6a2735439 |
|
| https://github.com/python/cpython/pull/148971/files#diff-67b5bd915e37f77df79907865982648172c27d3b96fbb072b30a73c6a2735439 |
| Lib/test/test_code.py | https://github.com/python/cpython/pull/148971/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
View file
| https://github.com/NekoAsakura/cpython/blob/b017ae992670ef1232f563eeb72859cf030ade6c/Lib/test/test_code.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/148971/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/148971/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
| https://github.com/python/cpython/pull/148971/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
| https://github.com/python/cpython/pull/148971/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
| https://github.com/python/cpython/pull/148971/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
| https://github.com/python/cpython/pull/148971/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
| https://github.com/python/cpython/pull/148971/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
| Lib/test/test_compile.py | https://github.com/python/cpython/pull/148971/files#diff-c69ceae0611c40012b4691e3536bf17efacdb5b51b8e155eec9a939108e42e43 |
|
View file
| https://github.com/NekoAsakura/cpython/blob/b017ae992670ef1232f563eeb72859cf030ade6c/Lib/test/test_compile.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/148971/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/148971/files#diff-c69ceae0611c40012b4691e3536bf17efacdb5b51b8e155eec9a939108e42e43 |
|
| https://github.com/python/cpython/pull/148971/files#diff-c69ceae0611c40012b4691e3536bf17efacdb5b51b8e155eec9a939108e42e43 |
| Please reload this page | https://github.com/python/cpython/pull/148971/files |
| Please reload this page | https://github.com/python/cpython/pull/148971/files |
|
| 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 |