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: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

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/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:ed516388-14c8-9bcb-097c-ff692b43c9da
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC4BE:37ADE8:28AFE68:35A67EE:696B29C9
html-safe-nonce2c23a4f316a3c9564057424a768c74b13184c5fb128d49ecaa233758c987da2e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEJFOjM3QURFODoyOEFGRTY4OjM1QTY3RUU6Njk2QjI5QzkiLCJ2aXNpdG9yX2lkIjoiNzM2MDQzNjgwMjk4MTQwNzE3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9401cdc40dbf4073f222761b9f295df0ec4ecfd9583f9a52119131381c7e6dbb
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/31366/commits
twitter:imagehttps://opengraph.githubassets.com/e58fbfcbfc41da0f04c325b099a638380f14e804f873cd4206dc72227639e89f/python/cpython/pull/31366
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e58fbfcbfc41da0f04c325b099a638380f14e804f873cd4206dc72227639e89f/python/cpython/pull/31366
og:image:althttps://bugs.python.org/issue46765
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericsnowcurrently
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/31366/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31366%2Fcommits
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%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
Reloadhttps://github.com/python/cpython/pull/31366/commits
Reloadhttps://github.com/python/cpython/pull/31366/commits
Reloadhttps://github.com/python/cpython/pull/31366/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/31366/commits
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/commits
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
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
Conversationhttps://github.com/python/cpython/pull/31366
Commits19 (19)https://github.com/python/cpython/pull/31366/commits
Checkshttps://github.com/python/cpython/pull/31366/checks
Files changedhttps://github.com/python/cpython/pull/31366/files
bpo-46765: Replace Locally Cached Strings with Statically Initialized Objectshttps://github.com/python/cpython/pull/31366/commits#top
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
Use _Py_ID() in boolobject.c.https://github.com/python/cpython/pull/31366/commits/fdf87ee244f2d8be6e019d2f704381ad096510a8
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
fdf87eehttps://github.com/python/cpython/pull/31366/commits/fdf87ee244f2d8be6e019d2f704381ad096510a8
https://github.com/python/cpython/tree/fdf87ee244f2d8be6e019d2f704381ad096510a8
Use _Py_ID() in classobject.c.https://github.com/python/cpython/pull/31366/commits/2c2f9172de61e926f9c253aae53479965b750bcd
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
2c2f917https://github.com/python/cpython/pull/31366/commits/2c2f9172de61e926f9c253aae53479965b750bcd
https://github.com/python/cpython/tree/2c2f9172de61e926f9c253aae53479965b750bcd
Use _Py_ID() in codeobject.c.https://github.com/python/cpython/pull/31366/commits/5f2746b3993166efa2b07065bded93dcb21931d1
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
5f2746bhttps://github.com/python/cpython/pull/31366/commits/5f2746b3993166efa2b07065bded93dcb21931d1
https://github.com/python/cpython/tree/5f2746b3993166efa2b07065bded93dcb21931d1
Drop outdated entries.https://github.com/python/cpython/pull/31366/commits/1df92a0f8033341b937bbd8db5bc655b97f08091
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
1df92a0https://github.com/python/cpython/pull/31366/commits/1df92a0f8033341b937bbd8db5bc655b97f08091
https://github.com/python/cpython/tree/1df92a0f8033341b937bbd8db5bc655b97f08091
Move an entry to the right section.https://github.com/python/cpython/pull/31366/commits/da9810b329a495b10691d61755237bc27530ee67
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
da9810bhttps://github.com/python/cpython/pull/31366/commits/da9810b329a495b10691d61755237bc27530ee67
https://github.com/python/cpython/tree/da9810b329a495b10691d61755237bc27530ee67
Drop an outdated entry.https://github.com/python/cpython/pull/31366/commits/b06e610ad159b8bd9a10388d49409418a51978ee
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
b06e610https://github.com/python/cpython/pull/31366/commits/b06e610ad159b8bd9a10388d49409418a51978ee
https://github.com/python/cpython/tree/b06e610ad159b8bd9a10388d49409418a51978ee
Use _Py_ID() in listobject.c.https://github.com/python/cpython/pull/31366/commits/b8ea691b8967cfdcf9a1d5891b3678e5a1677b3e
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
b8ea691https://github.com/python/cpython/pull/31366/commits/b8ea691b8967cfdcf9a1d5891b3678e5a1677b3e
https://github.com/python/cpython/tree/b8ea691b8967cfdcf9a1d5891b3678e5a1677b3e
Use _Py_ID() in _warnings.c.https://github.com/python/cpython/pull/31366/commits/42b714ffa5b421bc157ed02448ac8b05014ba02f
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
42b714fhttps://github.com/python/cpython/pull/31366/commits/42b714ffa5b421bc157ed02448ac8b05014ba02f
https://github.com/python/cpython/tree/42b714ffa5b421bc157ed02448ac8b05014ba02f
Use _Py_ID() in ast_unparse.c.https://github.com/python/cpython/pull/31366/commits/c7c8faf46d4970ea480095a14d5627f79f1f0a49
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
c7c8fafhttps://github.com/python/cpython/pull/31366/commits/c7c8faf46d4970ea480095a14d5627f79f1f0a49
https://github.com/python/cpython/tree/c7c8faf46d4970ea480095a14d5627f79f1f0a49
Use _Py_ID() in compile.c.https://github.com/python/cpython/pull/31366/commits/92b006909795ca0c16a4caf0b61e458c310fe11e
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
92b0069https://github.com/python/cpython/pull/31366/commits/92b006909795ca0c16a4caf0b61e458c310fe11e
https://github.com/python/cpython/tree/92b006909795ca0c16a4caf0b61e458c310fe11e
Use _Py_ID() in symtable.c.https://github.com/python/cpython/pull/31366/commits/226671eade882688b339a1f4cfbd4c6d75cc2041
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
226671ehttps://github.com/python/cpython/pull/31366/commits/226671eade882688b339a1f4cfbd4c6d75cc2041
https://github.com/python/cpython/tree/226671eade882688b339a1f4cfbd4c6d75cc2041
Drop outdated entries.https://github.com/python/cpython/pull/31366/commits/3acf264b10c320dcddb025e6f687577885c0569a
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
3acf264https://github.com/python/cpython/pull/31366/commits/3acf264b10c320dcddb025e6f687577885c0569a
https://github.com/python/cpython/tree/3acf264b10c320dcddb025e6f687577885c0569a
Use _Py_ID() in sysmodule.c.https://github.com/python/cpython/pull/31366/commits/3a025023030eac35afcee1be5ba88a7fb2648d71
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
3a02502https://github.com/python/cpython/pull/31366/commits/3a025023030eac35afcee1be5ba88a7fb2648d71
https://github.com/python/cpython/tree/3a025023030eac35afcee1be5ba88a7fb2648d71
Use _Py_ID() in the _io module.https://github.com/python/cpython/pull/31366/commits/cd4755328c58279ed20925bd3661673bcac27130
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
cd47553https://github.com/python/cpython/pull/31366/commits/cd4755328c58279ed20925bd3661673bcac27130
https://github.com/python/cpython/tree/cd4755328c58279ed20925bd3661673bcac27130
Use _Py_ID() in _tracemalloc.c.https://github.com/python/cpython/pull/31366/commits/f8b7071ad428425e10c8aea67ebc1d47804f0db4
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
f8b7071https://github.com/python/cpython/pull/31366/commits/f8b7071ad428425e10c8aea67ebc1d47804f0db4
https://github.com/python/cpython/tree/f8b7071ad428425e10c8aea67ebc1d47804f0db4
Drop an outdated entry.https://github.com/python/cpython/pull/31366/commits/76d295539e16b2cde68b5a499922d542c389173e
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
76d2955https://github.com/python/cpython/pull/31366/commits/76d295539e16b2cde68b5a499922d542c389173e
https://github.com/python/cpython/tree/76d295539e16b2cde68b5a499922d542c389173e
Use b'', not ''.https://github.com/python/cpython/pull/31366/commits/02995b0c1186c619be339fcafcdc0ad0687c7e2c
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
02995b0https://github.com/python/cpython/pull/31366/commits/02995b0c1186c619be339fcafcdc0ad0687c7e2c
https://github.com/python/cpython/tree/02995b0c1186c619be339fcafcdc0ad0687c7e2c
Use a ternary expression.https://github.com/python/cpython/pull/31366/commits/efe208f3cdd879251c72808b65f43247374a5d77
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
efe208fhttps://github.com/python/cpython/pull/31366/commits/efe208f3cdd879251c72808b65f43247374a5d77
https://github.com/python/cpython/tree/efe208f3cdd879251c72808b65f43247374a5d77
Merge branch 'main' into global-objects-use-pyidhttps://github.com/python/cpython/pull/31366/commits/1852340ef4dfbc12241299974a5ab062c4f4d894
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
1852340https://github.com/python/cpython/pull/31366/commits/1852340ef4dfbc12241299974a5ab062c4f4d894
https://github.com/python/cpython/tree/1852340ef4dfbc12241299974a5ab062c4f4d894
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.