René's URL Explorer Experiment


Title: gh-122291: Intern latin-1 one-byte strings at startup by encukou · Pull Request #122303 · python/cpython · GitHub

Open Graph Title: gh-122291: Intern latin-1 one-byte strings at startup by encukou · Pull Request #122303 · python/cpython

X Title: gh-122291: Intern latin-1 one-byte strings at startup by encukou · Pull Request #122303 · python/cpython

Description: Intern 1-character latin1 strings during startup. This makes _PyRuntime.cached_objects.interned_strings immutable: it's not modified after Py_Initialize() until shutdown. Issue: intern_static is...

Open Graph Description: Intern 1-character latin1 strings during startup. This makes _PyRuntime.cached_objects.interned_strings immutable: it's not modified after Py_Initialize() until shutdown. Issue: intern_stati...

X Description: Intern 1-character latin1 strings during startup. This makes _PyRuntime.cached_objects.interned_strings immutable: it's not modified after Py_Initialize() until shutdown. Issue: intern_s...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d09bf469-7299-1b5d-e302-e211df4cb9c5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAA0E:71616:7280A8:A016DE:696A7BB1
html-safe-nonce6e79f48bb82a239801374a612ed388722c10bb46df0b689370c78ae0381ad651
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTBFOjcxNjE2OjcyODBBODpBMDE2REU6Njk2QTdCQjEiLCJ2aXNpdG9yX2lkIjoiMzM1MTgxOTcyNjgzOTUxMTk4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfdc52ed4ab7faab0b88c6d205c7bf3e1ba4cb3403a2ccc92682c1f80e1e42e8a
hovercard-subject-tagpull_request:1989102169
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/122303/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/47de779e0c09e9426ec45d8d535af969dc65468594afcf4389dee9a7de913321/python/cpython/pull/122303
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/47de779e0c09e9426ec45d8d535af969dc65468594afcf4389dee9a7de913321/python/cpython/pull/122303
og:image:altIntern 1-character latin1 strings during startup. This makes _PyRuntime.cached_objects.interned_strings immutable: it's not modified after Py_Initialize() until shutdown. Issue: intern_stati...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameencukou
hostnamegithub.com
expected-hostnamegithub.com
None5b774e44f85c14a75886edd04ddda4e5a25ddebbb241bcbb590b08a3048730e8
turbo-cache-controlno-preview
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
releasecc5f4eee261b3601c1e98e217ceaf28508b9567e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/122303#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F122303
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%2F122303
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
Reloadhttps://github.com/python/cpython/pull/122303
Reloadhttps://github.com/python/cpython/pull/122303
Reloadhttps://github.com/python/cpython/pull/122303
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/122303
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/122303
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
Jump to bottomhttps://github.com/python/cpython/pull/122303#issue-comment-box
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
encukou:intern-ūnushttps://github.com/encukou/cpython/tree/intern-%C5%ABnus
gh-122291: Intern latin-1 one-byte strings at startup https://github.com/python/cpython/pull/122303#top
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
encukou:intern-ūnushttps://github.com/encukou/cpython/tree/intern-%C5%ABnus
Conversation 4 https://github.com/python/cpython/pull/122303
Commits 1 https://github.com/python/cpython/pull/122303/commits
Checks 0 https://github.com/python/cpython/pull/122303/checks
Files changed https://github.com/python/cpython/pull/122303/files
Please reload this pagehttps://github.com/python/cpython/pull/122303
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/encukou
encukouhttps://github.com/encukou
Jul 26, 2024https://github.com/python/cpython/pull/122303#issue-2431845720
Please reload this pagehttps://github.com/python/cpython/pull/122303
intern_static is not thread-safe with multiple interpreters #122291https://github.com/python/cpython/issues/122291
Please reload this pagehttps://github.com/python/cpython/pull/122303
https://github.com/encukou
Intern latin-1 one-byte strings at startuphttps://github.com/python/cpython/pull/122303/commits/a5da0a6550e7587558a1909669f9d58ffb479606
a5da0a6https://github.com/python/cpython/pull/122303/commits/a5da0a6550e7587558a1909669f9d58ffb479606
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 26, 2024 https://github.com/python/cpython/pull/122303#ref-issue-2430734538
intern_static is not thread-safe with multiple interpreters #122291 https://github.com/python/cpython/issues/122291
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jul 26, 2024https://github.com/python/cpython/pull/122303#event-13658833218
https://github.com/encukou
encukouhttps://github.com/encukou
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jul 26, 2024https://github.com/python/cpython/pull/122303#event-13658835896
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Jul 26, 2024 https://github.com/python/cpython/pull/122303#pullrequestreview-2202186043
View reviewed changes https://github.com/python/cpython/pull/122303/files/a5da0a6550e7587558a1909669f9d58ffb479606
colesburyhttps://github.com/colesbury
https://github.com/python/cpython/pull/122303#pullrequestreview-2202186043
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/122303
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jul 26, 2024https://github.com/python/cpython/pull/122303#event-13663117625
https://github.com/encukou
encukouhttps://github.com/encukou
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Jul 27, 2024https://github.com/python/cpython/pull/122303#event-13668055620
https://github.com/encukou
encukouhttps://github.com/encukou
bb09ba6https://github.com/python/cpython/commit/bb09ba679223666e01f8da780f97888a29d07131
Jul 27, 2024https://github.com/python/cpython/pull/122303#event-13668056692
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jul 27, 2024https://github.com/python/cpython/pull/122303#issuecomment-2254052169
@encukouhttps://github.com/encukou
Please reload this pagehttps://github.com/python/cpython/pull/122303
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jul 27, 2024https://github.com/python/cpython/pull/122303#event-13668056813
miss-islingtonhttps://github.com/miss-islington
Jul 27, 2024 https://github.com/python/cpython/pull/122303#ref-commit-8b26a3b
https://github.com/encukou
https://github.com/miss-islington
pythongh-122291https://github.com/python/cpython/issues/122291
: Intern latin-1 one-byte strings at startup (https://github.com/miss-islington/cpython/commit/8b26a3b7b3466b4bf8ce0c24ff534875d41ffe3c
pythonGH…https://github.com/python/cpython/pull/122303
8b26a3bhttps://github.com/miss-islington/cpython/commit/8b26a3b7b3466b4bf8ce0c24ff534875d41ffe3c
…-122303https://github.com/python/cpython/pull/122303
bb09ba6https://github.com/miss-islington/cpython/commit/bb09ba679223666e01f8da780f97888a29d07131
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 27, 2024https://github.com/python/cpython/pull/122303#issuecomment-2254052544
GH-122347https://github.com/python/cpython/pull/122347
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/122303
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Jul 27, 2024https://github.com/python/cpython/pull/122303#event-13668057337
https://github.com/encukou
encukouhttps://github.com/encukou
Jul 27, 2024https://github.com/python/cpython/pull/122303#issuecomment-2254061280
Please reload this pagehttps://github.com/python/cpython/pull/122303
https://github.com/encukou
encukouhttps://github.com/encukou
July 27, 2024 08:34https://github.com/python/cpython/pull/122303#event-13668077470
encukouhttps://github.com/encukou
Jul 27, 2024 https://github.com/python/cpython/pull/122303#ref-commit-4092510
https://github.com/miss-islington
https://github.com/encukou
[3.13]https://github.com/python/cpython/commit/40925103fc3ab81d61e1cdfef8467abe730407aa
gh-122291https://github.com/python/cpython/issues/122291
: Intern latin-1 one-byte strings at startup (https://github.com/python/cpython/commit/40925103fc3ab81d61e1cdfef8467abe730407aa
GH-122303https://github.com/python/cpython/pull/122303
https://github.com/python/cpython/commit/40925103fc3ab81d61e1cdfef8467abe730407aa
4092510https://github.com/python/cpython/commit/40925103fc3ab81d61e1cdfef8467abe730407aa
GH-122347https://github.com/python/cpython/pull/122347
bb09ba6https://github.com/python/cpython/commit/bb09ba679223666e01f8da780f97888a29d07131
https://github.com/encukou
encukouhttps://github.com/encukou
Jul 29, 2024 https://github.com/python/cpython/pull/122303#ref-issue-2079272299
Interned strings are immortal, despite what the documentation says #113993 https://github.com/python/cpython/issues/113993
encukouhttps://github.com/encukou
Aug 16, 2024 https://github.com/python/cpython/pull/122303#ref-commit-1d4a531
https://github.com/encukou
[3.12]https://github.com/encukou/cpython/commit/1d4a531f11429cf2869df0e31dffaeb27ced59ee
pythongh-122291https://github.com/python/cpython/issues/122291
: Intern latin-1 one-byte strings at startup (https://github.com/encukou/cpython/commit/1d4a531f11429cf2869df0e31dffaeb27ced59ee
p…https://github.com/python/cpython/pull/122303
1d4a531https://github.com/encukou/cpython/commit/1d4a531f11429cf2869df0e31dffaeb27ced59ee
…ythonGH-122303https://github.com/python/cpython/pull/122303
https://github.com/encukou
encukouhttps://github.com/encukou
Aug 16, 2024 https://github.com/python/cpython/pull/122303#ref-pullrequest-2470158473
[3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) #123065 https://github.com/python/cpython/pull/123065
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Aug 17, 2024 https://github.com/python/cpython/pull/122303#ref-issue-2471382935
Stable ABI: Objects/bytesobject.c:122: PyBytes_FromStringAndSize: Assertion '_Py_IsImmortal(op)' failed. #123091 https://github.com/python/cpython/issues/123091
Yhg1shttps://github.com/Yhg1s
Sep 27, 2024 https://github.com/python/cpython/pull/122303#ref-commit-49f6beb
https://github.com/encukou
https://github.com/ericsnowcurrently
[3.12]https://github.com/python/cpython/commit/49f6beb56a64dd0b688e8c728928a38eb6d78fef
gh-113993https://github.com/python/cpython/issues/113993
: Make interned strings mortal (https://github.com/python/cpython/commit/49f6beb56a64dd0b688e8c728928a38eb6d78fef
GH-120520https://github.com/python/cpython/pull/120520
,https://github.com/python/cpython/commit/49f6beb56a64dd0b688e8c728928a38eb6d78fef
GH-121364https://github.com/python/cpython/pull/121364
,https://github.com/python/cpython/commit/49f6beb56a64dd0b688e8c728928a38eb6d78fef
G…https://github.com/python/cpython/pull/121903
49f6bebhttps://github.com/python/cpython/commit/49f6beb56a64dd0b688e8c728928a38eb6d78fef
…H-121903https://github.com/python/cpython/pull/121903
GH-122303https://github.com/python/cpython/pull/122303
#123065https://github.com/python/cpython/pull/123065
gh-113993https://github.com/python/cpython/issues/113993
GH-120520https://github.com/python/cpython/pull/120520
GH-121364https://github.com/python/cpython/pull/121364
GH-121903https://github.com/python/cpython/pull/121903
GH-122303https://github.com/python/cpython/pull/122303
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F122303
https://github.com/colesbury
colesbury https://github.com/colesbury
https://github.com/python/cpython/pull/122303/files/a5da0a6550e7587558a1909669f9d58ffb479606
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/122303
https://github.com/encukou
https://github.com/colesbury
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.