René's URL Explorer Experiment


Title: bpo-46765: Replace Locally Cached Strings with Statically Initialized Objects by ericsnowcurrently · Pull Request #31366 · python/cpython · GitHub

Open Graph Title: bpo-46765: Replace Locally Cached Strings with Statically Initialized Objects by ericsnowcurrently · Pull Request #31366 · python/cpython

X Title: bpo-46765: Replace Locally Cached Strings with Statically Initialized Objects by ericsnowcurrently · Pull Request #31366 · python/cpython

Description: https://bugs.python.org/issue46765

Open Graph Description: https://bugs.python.org/issue46765

X Description: https://bugs.python.org/issue46765

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:45c66b76-fe04-f644-23a5-5a893818e182
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBCEC:247E0C:1C4CC4B:26DE5A2:696AB8A6
html-safe-noncef6f05df69cd5b5079fbf404f62b21c147a02f778b91cf45f8e1b2feeef3d0eed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0VDOjI0N0UwQzoxQzRDQzRCOjI2REU1QTI6Njk2QUI4QTYiLCJ2aXNpdG9yX2lkIjoiMzk2NjE0NDc3NjY3ODQxNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5a06c8703d9a01fa4e76b346ac9d6ad6be2110599293a1c944b9a1eebfa8300a
hovercard-subject-tagpull_request:853927681
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/31366/files
twitter:imagehttps://avatars.githubusercontent.com/u/1152074?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1152074?s=400&v=4
og:image:althttps://bugs.python.org/issue46765
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/31366/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31366%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%2F31366%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/31366/files
Reloadhttps://github.com/python/cpython/pull/31366/files
Reloadhttps://github.com/python/cpython/pull/31366/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/31366/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/31366/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
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:global-objects-use-pyidhttps://github.com/ericsnowcurrently/cpython/tree/global-objects-use-pyid
Conversation 14 https://github.com/python/cpython/pull/31366
Commits 19 https://github.com/python/cpython/pull/31366/commits
Checks 0 https://github.com/python/cpython/pull/31366/checks
Files changed https://github.com/python/cpython/pull/31366/files
Please reload this pagehttps://github.com/python/cpython/pull/31366/files
bpo-46765: Replace Locally Cached Strings with Statically Initialized Objects https://github.com/python/cpython/pull/31366/files#top
Show all changes 19 commits https://github.com/python/cpython/pull/31366/files
fdf87ee Use _Py_ID() in boolobject.c. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/fdf87ee244f2d8be6e019d2f704381ad096510a8
2c2f917 Use _Py_ID() in classobject.c. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/2c2f9172de61e926f9c253aae53479965b750bcd
5f2746b Use _Py_ID() in codeobject.c. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/5f2746b3993166efa2b07065bded93dcb21931d1
1df92a0 Drop outdated entries. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/1df92a0f8033341b937bbd8db5bc655b97f08091
da9810b Move an entry to the right section. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/da9810b329a495b10691d61755237bc27530ee67
b06e610 Drop an outdated entry. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/b06e610ad159b8bd9a10388d49409418a51978ee
b8ea691 Use _Py_ID() in listobject.c. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/b8ea691b8967cfdcf9a1d5891b3678e5a1677b3e
42b714f Use _Py_ID() in _warnings.c. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/42b714ffa5b421bc157ed02448ac8b05014ba02f
c7c8faf Use _Py_ID() in ast_unparse.c. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/c7c8faf46d4970ea480095a14d5627f79f1f0a49
92b0069 Use _Py_ID() in compile.c. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/92b006909795ca0c16a4caf0b61e458c310fe11e
226671e Use _Py_ID() in symtable.c. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/226671eade882688b339a1f4cfbd4c6d75cc2041
3acf264 Drop outdated entries. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/3acf264b10c320dcddb025e6f687577885c0569a
3a02502 Use _Py_ID() in sysmodule.c. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/3a025023030eac35afcee1be5ba88a7fb2648d71
cd47553 Use _Py_ID() in the _io module. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/cd4755328c58279ed20925bd3661673bcac27130
f8b7071 Use _Py_ID() in _tracemalloc.c. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/f8b7071ad428425e10c8aea67ebc1d47804f0db4
76d2955 Drop an outdated entry. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/76d295539e16b2cde68b5a499922d542c389173e
02995b0 Use b'', not ''. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/02995b0c1186c619be339fcafcdc0ad0687c7e2c
efe208f Use a ternary expression. ericsnowcurrently Feb 16, 2022 https://github.com/python/cpython/pull/31366/commits/efe208f3cdd879251c72808b65f43247374a5d77
1852340 Merge branch 'main' into global-objects-use-pyid ericsnowcurrently Feb 17, 2022 https://github.com/python/cpython/pull/31366/commits/1852340ef4dfbc12241299974a5ab062c4f4d894
Clear filters https://github.com/python/cpython/pull/31366/files
Please reload this pagehttps://github.com/python/cpython/pull/31366/files
Please reload this pagehttps://github.com/python/cpython/pull/31366/files
pycore_global_strings.h https://github.com/python/cpython/pull/31366/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
pycore_runtime_init.h https://github.com/python/cpython/pull/31366/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
pycore_symtable.h https://github.com/python/cpython/pull/31366/files#diff-2a51d92a01c0bc62a48f185bdae9d50adebaffdc9bb4a1aff64f41edca712ddf
_iomodule.c https://github.com/python/cpython/pull/31366/files#diff-0501b143a2f566e8a760abc20a88fd2533b1f230e5322831f400a0263b8c0253
_iomodule.h https://github.com/python/cpython/pull/31366/files#diff-5316ec91b4e6cbcf680b208755cf8e7efce11e2a6682efb569ade29d6465a55b
bufferedio.c https://github.com/python/cpython/pull/31366/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
iobase.c https://github.com/python/cpython/pull/31366/files#diff-ff67b9b1e4944ed1b8750a6c53db460f2f8e98f073177e64a32e990844520e90
stringio.c https://github.com/python/cpython/pull/31366/files#diff-216e14277a43aeac4f2fcbb183e3898c54abbd90bc8e822e9e7460bc2af69667
textio.c https://github.com/python/cpython/pull/31366/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
_tracemalloc.c https://github.com/python/cpython/pull/31366/files#diff-e3c46632586859324a8cb7de0a3d6c60fcba118b5a0a262640102530ceca3a2a
boolobject.c https://github.com/python/cpython/pull/31366/files#diff-12a2cdd9ce4f3f10b023eb53cf47f732321dff1721c1c244f8f85c62ce0e0506
classobject.c https://github.com/python/cpython/pull/31366/files#diff-d36823aa86f63074d7ae49b390602ea3840cabe4b54484c42aab8ea6b04a1479
codeobject.c https://github.com/python/cpython/pull/31366/files#diff-6f869eb8beb7cbe4bc6817584b99ad567f88962fa67f7beca25d009dc401234d
listobject.c https://github.com/python/cpython/pull/31366/files#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81
_warnings.c https://github.com/python/cpython/pull/31366/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58
ast_unparse.c https://github.com/python/cpython/pull/31366/files#diff-d205bb48a85c9457b46a402a19e66c18860590b7ea8b55ae4da704444f433dba
compile.c https://github.com/python/cpython/pull/31366/files#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057
pylifecycle.c https://github.com/python/cpython/pull/31366/files#diff-69223f5bb01f359a23246afbbf75b45c622e719424418d658674fbb6c2b36fad
symtable.c https://github.com/python/cpython/pull/31366/files#diff-1029343b7709f438c869082355577469b5aa784b454afa461ca2844ce9910ea6
sysmodule.c https://github.com/python/cpython/pull/31366/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
globals-to-fix.tsv https://github.com/python/cpython/pull/31366/files#diff-8d1e9a0d5771dfc3a628047509e2d4a1027327bd89392e5a3ec5fbd3d08cfa19
ignored.tsv https://github.com/python/cpython/pull/31366/files#diff-fa2373a9a002e491408e623369773045f4b7de90114b9f5ba6933bfbf2d8c45c
Include/internal/pycore_global_strings.hhttps://github.com/python/cpython/pull/31366/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
View file https://github.com/ericsnowcurrently/cpython/blob/1852340ef4dfbc12241299974a5ab062c4f4d894/Include/internal/pycore_global_strings.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/31366/{{ revealButtonHref }}
https://github.com/python/cpython/pull/31366/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/31366/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/31366/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/31366/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/31366/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/31366/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/31366/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/31366/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/31366/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L312
Include/internal/pycore_runtime_init.hhttps://github.com/python/cpython/pull/31366/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
View file https://github.com/ericsnowcurrently/cpython/blob/1852340ef4dfbc12241299974a5ab062c4f4d894/Include/internal/pycore_runtime_init.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/31366/{{ revealButtonHref }}
https://github.com/python/cpython/pull/31366/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
https://github.com/python/cpython/pull/31366/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
https://github.com/python/cpython/pull/31366/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
https://github.com/python/cpython/pull/31366/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
https://github.com/python/cpython/pull/31366/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
https://github.com/python/cpython/pull/31366/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
https://github.com/python/cpython/pull/31366/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
https://github.com/python/cpython/pull/31366/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
https://github.com/python/cpython/pull/31366/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
Include/internal/pycore_symtable.hhttps://github.com/python/cpython/pull/31366/files#diff-2a51d92a01c0bc62a48f185bdae9d50adebaffdc9bb4a1aff64f41edca712ddf
View file https://github.com/ericsnowcurrently/cpython/blob/1852340ef4dfbc12241299974a5ab062c4f4d894/Include/internal/pycore_symtable.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/31366/{{ revealButtonHref }}
https://github.com/python/cpython/pull/31366/files#diff-2a51d92a01c0bc62a48f185bdae9d50adebaffdc9bb4a1aff64f41edca712ddf
https://github.com/python/cpython/pull/31366/files#diff-2a51d92a01c0bc62a48f185bdae9d50adebaffdc9bb4a1aff64f41edca712ddf
Please reload this pagehttps://github.com/python/cpython/pull/31366/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.