René's URL Explorer Experiment


Title: bpo-40255: Implement Immortal Instances - Optimization 3 by eduardo-elizondo · Pull Request #31490 · python/cpython · GitHub

Open Graph Title: bpo-40255: Implement Immortal Instances - Optimization 3 by eduardo-elizondo · Pull Request #31490 · python/cpython

X Title: bpo-40255: Implement Immortal Instances - Optimization 3 by eduardo-elizondo · Pull Request #31490 · python/cpython

Description: Immortalizing Modules After Import This is an optimization on top of PR19474. The improvement here uses the assumption that top-level modules and its globals will (most likely) be alive during the ...

Open Graph Description: Immortalizing Modules After Import This is an optimization on top of PR19474. The improvement here uses the assumption that top-level modules and its globals will (most likely) be alive during the ...

X Description: Immortalizing Modules After Import This is an optimization on top of PR19474. The improvement here uses the assumption that top-level modules and its globals will (most likely) be alive during the ...

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

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:5c96d9d3-a01d-cfb7-4033-1fc67e9acfce
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEB66:3F06C5:2C8BE3:3C3B46:6969D928
html-safe-nonce9fa4b08a523396b4ea6b7b6d7523e20ed9466a487020930d6fb4d8e5e6bef6b1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjY2OjNGMDZDNToyQzhCRTM6M0MzQjQ2OjY5NjlEOTI4IiwidmlzaXRvcl9pZCI6IjI5Mjc5MjI4NjE0OTkzNDEwOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1407e0424f3d2ac2668e51a8622487f08fc25ff1f9a93c4f4f4a883a65f329da
hovercard-subject-tagpull_request:860050776
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/31490/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7554a8a9ab5c861cc7cbc1f2174b4a12886830acfbb978d8270527ae49b18c9a/python/cpython/pull/31490
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7554a8a9ab5c861cc7cbc1f2174b4a12886830acfbb978d8270527ae49b18c9a/python/cpython/pull/31490
og:image:altImmortalizing Modules After Import This is an optimization on top of PR19474. The improvement here uses the assumption that top-level modules and its globals will (most likely) be alive during the ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeduardo-elizondo
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/31490#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31490
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%2F31490
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/31490
Reloadhttps://github.com/python/cpython/pull/31490
Reloadhttps://github.com/python/cpython/pull/31490
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/31490
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/31490
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/31490#issue-comment-box
eduardo-elizondohttps://github.com/eduardo-elizondo
python:mainhttps://github.com/python/cpython/tree/main
eduardo-elizondo:immortal-references-opt3https://github.com/eduardo-elizondo/cpython/tree/immortal-references-opt3
bpo-40255: Implement Immortal Instances - Optimization 3 https://github.com/python/cpython/pull/31490#top
eduardo-elizondohttps://github.com/eduardo-elizondo
python:mainhttps://github.com/python/cpython/tree/main
eduardo-elizondo:immortal-references-opt3https://github.com/eduardo-elizondo/cpython/tree/immortal-references-opt3
Conversation 6 https://github.com/python/cpython/pull/31490
Commits 4 https://github.com/python/cpython/pull/31490/commits
Checks 0 https://github.com/python/cpython/pull/31490/checks
Files changed https://github.com/python/cpython/pull/31490/files
Please reload this pagehttps://github.com/python/cpython/pull/31490
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/eduardo-elizondo
eduardo-elizondohttps://github.com/eduardo-elizondo
Feb 22, 2022https://github.com/python/cpython/pull/31490#issue-1146472652
Please reload this pagehttps://github.com/python/cpython/pull/31490
PR19474https://github.com/python/cpython/pull/19474
PR31489https://github.com/python/cpython/pull/31489
https://bugs.python.org/issue40255https://bugs.python.org/issue40255
Please reload this pagehttps://github.com/python/cpython/pull/31490
eduardo-elizondohttps://github.com/eduardo-elizondo
February 20, 2022 10:49https://github.com/python/cpython/pull/31490#commits-pushed-420967a
https://github.com/eduardo-elizondo
bpo-40255: Implement Immortal Instances - Optimization 3https://github.com/python/cpython/pull/31490/commits/420967ab3e994d847a149d28d3613112dfdddd17
420967ahttps://github.com/python/cpython/pull/31490/commits/420967ab3e994d847a149d28d3613112dfdddd17
https://github.com/eduardo-elizondo
Immortalize module as wellhttps://github.com/python/cpython/pull/31490/commits/e756b30f6343e2903c5f0ceb520fce21f0f209b0
e756b30https://github.com/python/cpython/pull/31490/commits/e756b30f6343e2903c5f0ceb520fce21f0f209b0
https://github.com/eduardo-elizondo
Only immortalize top level moduleshttps://github.com/python/cpython/pull/31490/commits/5d806aead4c73c0ab67d2c597e94a8b48bd0306c
5d806aehttps://github.com/python/cpython/pull/31490/commits/5d806aead4c73c0ab67d2c597e94a8b48bd0306c
https://github.com/eduardo-elizondo
Fix testshttps://github.com/python/cpython/pull/31490/commits/e153dc541e0b640df6fa0f714743b5e3c9da3c13
e153dc5https://github.com/python/cpython/pull/31490/commits/e153dc541e0b640df6fa0f714743b5e3c9da3c13
https://github.com/eduardo-elizondo
eduardo-elizondohttps://github.com/eduardo-elizondo
brettcannonhttps://github.com/brettcannon
encukouhttps://github.com/encukou
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
ncoghlanhttps://github.com/ncoghlan
pablogsalhttps://github.com/pablogsal
warsawhttps://github.com/warsaw
code ownershttps://github.com/python/cpython/blob/74127b89a8224d021fc76f679422b76510844ff9/.github/CODEOWNERS#L61
February 22, 2022 05:28https://github.com/python/cpython/pull/31490#event-6115400501
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 22, 2022https://github.com/python/cpython/pull/31490#event-6115400601
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Feb 22, 2022https://github.com/python/cpython/pull/31490#event-6115400624
https://github.com/methane
methanehttps://github.com/methane
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Feb 22, 2022https://github.com/python/cpython/pull/31490#event-6115415617
https://github.com/methane
methanehttps://github.com/methane
February 22, 2022 05:33https://github.com/python/cpython/pull/31490#event-6115415710
https://github.com/methane
methanehttps://github.com/methane
Feb 22, 2022 https://github.com/python/cpython/pull/31490#pullrequestreview-889307190
View reviewed changes https://github.com/python/cpython/pull/31490/files/e153dc541e0b640df6fa0f714743b5e3c9da3c13
Modules/gcmodule.chttps://github.com/python/cpython/pull/31490/files/e153dc541e0b640df6fa0f714743b5e3c9da3c13#diff-3ba495fac5f4cc4a582187117515f3177ab91823c65a59af962fe180e06d9e77
methanehttps://github.com/methane
Feb 22, 2022https://github.com/python/cpython/pull/31490#discussion_r811591188
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31490
bpo-40255: Implement Immortal Instances - Optimizations Combined #31491 https://github.com/python/cpython/pull/31491
gh-84436: Implement Immortal Objects #19474 https://github.com/python/cpython/pull/19474
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Feb 22, 2022 https://github.com/python/cpython/pull/31490#pullrequestreview-890498731
View reviewed changes https://github.com/python/cpython/pull/31490/files/e153dc541e0b640df6fa0f714743b5e3c9da3c13
Lib/test/test_builtin.pyhttps://github.com/python/cpython/pull/31490/files/e153dc541e0b640df6fa0f714743b5e3c9da3c13#diff-f23235c1f5dea0e2d79b33a58e00025ad3c440f96bb76013a1a37868e70a776b
brettcannonhttps://github.com/brettcannon
Feb 22, 2022https://github.com/python/cpython/pull/31490#discussion_r812459134
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31490
Lib/test/test_builtin.pyhttps://github.com/python/cpython/pull/31490/files/e153dc541e0b640df6fa0f714743b5e3c9da3c13#diff-f23235c1f5dea0e2d79b33a58e00025ad3c440f96bb76013a1a37868e70a776b
brettcannonhttps://github.com/brettcannon
Feb 22, 2022https://github.com/python/cpython/pull/31490#discussion_r812459164
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31490
Modules/gcmodule.chttps://github.com/python/cpython/pull/31490/files/e153dc541e0b640df6fa0f714743b5e3c9da3c13#diff-3ba495fac5f4cc4a582187117515f3177ab91823c65a59af962fe180e06d9e77
brettcannonhttps://github.com/brettcannon
Feb 22, 2022https://github.com/python/cpython/pull/31490#discussion_r812459504
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31490
Objects/object.chttps://github.com/python/cpython/pull/31490/files/e153dc541e0b640df6fa0f714743b5e3c9da3c13#diff-ba56d44ce0dd731d979970b966fde9d8dd15d12a82f727a052a8ad48d4a49363
brettcannonhttps://github.com/brettcannon
Feb 22, 2022https://github.com/python/cpython/pull/31490#discussion_r812459618
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31490
Python/import.chttps://github.com/python/cpython/pull/31490/files/e153dc541e0b640df6fa0f714743b5e3c9da3c13#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3
brettcannonhttps://github.com/brettcannon
Feb 22, 2022https://github.com/python/cpython/pull/31490#discussion_r812459667
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31490
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 13, 2022https://github.com/python/cpython/pull/31490#event-6988865631
https://github.com/python/cpython/pull/31490
eduardo-elizondohttps://github.com/python/cpython/pull/31490
Jun 6, 2022 https://github.com/python/cpython/pull/31490#ref-issue-1199034218
Fixing Copy on Writes from reference counting and immortal objects #84436 https://github.com/python/cpython/issues/84436
https://github.com/eduardo-elizondo
eduardo-elizondohttps://github.com/eduardo-elizondo
Apr 12, 2023https://github.com/python/cpython/pull/31490#event-8986134014
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%2F31490
https://github.com/brettcannon
brettcannon https://github.com/brettcannon
https://github.com/python/cpython/pull/31490/files/e153dc541e0b640df6fa0f714743b5e3c9da3c13
https://github.com/methane
methane https://github.com/methane
https://github.com/python/cpython/pull/31490/files/e153dc541e0b640df6fa0f714743b5e3c9da3c13
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/encukou
encukou https://github.com/encukou
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/ncoghlan
ncoghlan https://github.com/ncoghlan
https://github.com/warsaw
warsaw https://github.com/warsaw
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Please reload this pagehttps://github.com/python/cpython/pull/31490
https://github.com/eduardo-elizondo
https://github.com/brettcannon
https://github.com/methane
https://github.com/the-knights-who-say-ni
https://github.com/ezio-melotti
https://github.com/bedevere-bot
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.