René's URL Explorer Experiment


Title: bpo-28411: Remove PyInterpreterState.modules. by ericsnowcurrently · Pull Request #3606 · python/cpython · GitHub

Open Graph Title: bpo-28411: Remove PyInterpreterState.modules. by ericsnowcurrently · Pull Request #3606 · python/cpython

X Title: bpo-28411: Remove PyInterpreterState.modules. by ericsnowcurrently · Pull Request #3606 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: The status quo for sys.modules is broken. While importlib (and a few other places) use sys.modules directly, the C-API (including PyImport_Import(), etc.) use PyInterpreterState.modules directly. ...

X Description: The status quo for sys.modules is broken. While importlib (and a few other places) use sys.modules directly, the C-API (including PyImport_Import(), etc.) use PyInterpreterState.modules directly. ...

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

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:cc89413e-c45e-4ac5-6698-53841d0d7dba
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9D74:FE029:31918B6:4700FC0:6A4FC4F8
html-safe-nonce60deb9c0e67f018211d2cf68dc7eeeb793b2e27770d5728d3e3626bb9ab938dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDc0OkZFMDI5OjMxOTE4QjY6NDcwMEZDMDo2QTRGQzRGOCIsInZpc2l0b3JfaWQiOiI3NzM0NzIyODgzMzUyNTExNzM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5a3279bb6095a56eb1123b8f3699f18044504f4502646abeb1266aa8cf2eb7e1
hovercard-subject-tagpull_request:141416001
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/3606/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2f3260749210d5c5fe02c0407dd542c9fc63a1a1f4f0a35a7c59685c065c7bbd/python/cpython/pull/3606
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2f3260749210d5c5fe02c0407dd542c9fc63a1a1f4f0a35a7c59685c065c7bbd/python/cpython/pull/3606
og:image:altThe status quo for sys.modules is broken. While importlib (and a few other places) use sys.modules directly, the C-API (including PyImport_Import(), etc.) use PyInterpreterState.modules directly. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericsnowcurrently
hostnamegithub.com
expected-hostnamegithub.com
None7d8f8209b188a80e19a6957836ab9229715797be5db1a04163963c674ccc33f6
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
releaseea848e83cf3bf3613dd7b13d52965a684fd23ec5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/3606#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3606
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F3606
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/3606
Reloadhttps://github.com/python/cpython/pull/3606
Reloadhttps://github.com/python/cpython/pull/3606
Please reload this pagehttps://github.com/python/cpython/pull/3606
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/3606
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality 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:remove-modules-from-interpreter-statehttps://github.com/ericsnowcurrently/cpython/tree/remove-modules-from-interpreter-state
Conversationhttps://github.com/python/cpython/pull/3606
Commits6 (6)https://github.com/python/cpython/pull/3606/commits
Checkshttps://github.com/python/cpython/pull/3606/checks
Files changedhttps://github.com/python/cpython/pull/3606/files
bpo-28411: Remove PyInterpreterState.modules.https://github.com/python/cpython/pull/3606#top
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:remove-modules-from-interpreter-statehttps://github.com/ericsnowcurrently/cpython/tree/remove-modules-from-interpreter-state
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Sep 15, 2017https://github.com/python/cpython/pull/3606#issue-258183592
Please reload this pagehttps://github.com/python/cpython/pull/3606
#1638https://github.com/python/cpython/pull/1638
bpo-31404https://bugs.python.org/issue31404
bpo-31404https://bugs.python.org/issue31404
https://bugs.python.org/issue28411https://bugs.python.org/issue28411
Please reload this pagehttps://github.com/python/cpython/pull/3606
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
September 15, 2017 22:36https://github.com/python/cpython/pull/3606#commits-pushed-3920902
https://github.com/ericsnowcurrently
Look up sys.modules in PyImport_GetModuleDict().https://github.com/python/cpython/pull/3606/commits/3920902cf54118351a5249166e959f568c28a57d
3920902https://github.com/python/cpython/pull/3606/commits/3920902cf54118351a5249166e959f568c28a57d
https://github.com/ericsnowcurrently
Check sys.modules in _PyImport_EnsureInitialized().https://github.com/python/cpython/pull/3606/commits/9c8f4dd08e193aa8cddfc7f55910a47f92ebc0ca
9c8f4ddhttps://github.com/python/cpython/pull/3606/commits/9c8f4dd08e193aa8cddfc7f55910a47f92ebc0ca
https://github.com/ericsnowcurrently
Drop PyInterpreterState.modules.https://github.com/python/cpython/pull/3606/commits/4e97cbfeb44de88d5741c2194d996f01b4ab7797
4e97cbfhttps://github.com/python/cpython/pull/3606/commits/4e97cbfeb44de88d5741c2194d996f01b4ab7797
https://github.com/ericsnowcurrently
Add a Misc/NEWS entry.https://github.com/python/cpython/pull/3606/commits/19694f380888fd694b91039545ed92a0f8dbc95c
19694f3https://github.com/python/cpython/pull/3606/commits/19694f380888fd694b91039545ed92a0f8dbc95c
https://github.com/ericsnowcurrently
Add a whatsnew entry for porting.https://github.com/python/cpython/pull/3606/commits/548428c6f6abd18afe28acf148e905fb31c5bfa3
548428chttps://github.com/python/cpython/pull/3606/commits/548428c6f6abd18afe28acf148e905fb31c5bfa3
https://github.com/ericsnowcurrently
Use PyImport_GetModuleDict() in pickle.https://github.com/python/cpython/pull/3606/commits/b31768e0cfb1ea1b8ab1d88789083febf7f93c08
b31768ehttps://github.com/python/cpython/pull/3606/commits/b31768e0cfb1ea1b8ab1d88789083febf7f93c08
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
September 15, 2017 22:51https://github.com/python/cpython/pull/3606#event-1251933348
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
Sep 15, 2017https://github.com/python/cpython/pull/3606#event-1251933375
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Sep 15, 2017https://github.com/python/cpython/pull/3606#event-1251933376
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
vstinnerhttps://github.com/vstinner
September 15, 2017 22:52https://github.com/python/cpython/pull/3606#event-1251934103
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 15, 2017https://github.com/python/cpython/pull/3606#event-1251953283
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 15, 2017https://github.com/python/cpython/pull/3606#issuecomment-329924565
bpo-31404https://bugs.python.org/issue?@action=redirect&bpo=31404
Please reload this pagehttps://github.com/python/cpython/pull/3606
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Sep 15, 2017https://github.com/python/cpython/pull/3606#issuecomment-329928172
Please reload this pagehttps://github.com/python/cpython/pull/3606
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Mar 23, 2018https://github.com/python/cpython/pull/3606#issuecomment-375797857
Please reload this pagehttps://github.com/python/cpython/pull/3606
@ericsnowcurrentlyhttps://github.com/ericsnowcurrently
bpo-31404https://bugs.python.org/issue31404
Please reload this pagehttps://github.com/python/cpython/pull/3606
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
May 23, 2018 https://github.com/python/cpython/pull/3606#ref-pullrequest-325617741
bpo-33330: PyImport_Cleanup check for exc leaks #7068 https://github.com/python/cpython/pull/7068
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Mar 1, 2019https://github.com/python/cpython/pull/3606#event-2175075702
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Mar 1, 2019https://github.com/python/cpython/pull/3606#event-2175080138
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Mar 1, 2019https://github.com/python/cpython/pull/3606#issuecomment-468805811
Please reload this pagehttps://github.com/python/cpython/pull/3606
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
April 17, 2019 22:44https://github.com/python/cpython/pull/3606#event-2284176116
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Apr 17, 2019https://github.com/python/cpython/pull/3606#issuecomment-484288941
Please reload this pagehttps://github.com/python/cpython/pull/3606
https://github.com/matrixise
matrixisehttps://github.com/matrixise
Sep 17, 2019https://github.com/python/cpython/pull/3606#issuecomment-532167748
@ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Please reload this pagehttps://github.com/python/cpython/pull/3606
https://github.com/alimcmaster1
alimcmaster1https://github.com/alimcmaster1
Apr 11, 2020https://github.com/python/cpython/pull/3606#issuecomment-612283599
@matrixisehttps://github.com/matrixise
@ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Please reload this pagehttps://github.com/python/cpython/pull/3606
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Apr 11, 2020https://github.com/python/cpython/pull/3606#issuecomment-612287450
Please reload this pagehttps://github.com/python/cpython/pull/3606
bpo-31404https://bugs.python.org/issue31404
Please reload this pagehttps://github.com/python/cpython/pull/3606
https://github.com/alimcmaster1
alimcmaster1https://github.com/alimcmaster1
Apr 11, 2020https://github.com/python/cpython/pull/3606#issuecomment-612452885
Please reload this pagehttps://github.com/python/cpython/pull/3606
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 22, 2022https://github.com/python/cpython/pull/3606#issuecomment-1047310278
Please reload this pagehttps://github.com/python/cpython/pull/3606
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Feb 22, 2022https://github.com/python/cpython/pull/3606#event-6114553062
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Apr 10, 2022 https://github.com/python/cpython/pull/3606#ref-issue-1198960780
[subinterpreters] Eliminate PyInterpreterState.modules. #72597 https://github.com/python/cpython/issues/72597
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/3606#event-6988864691
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Jul 29, 2022https://github.com/python/cpython/pull/3606#event-7085734845
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 31, 2022https://github.com/python/cpython/pull/3606#issuecomment-1232301573
Please reload this pagehttps://github.com/python/cpython/pull/3606
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Aug 31, 2022https://github.com/python/cpython/pull/3606#event-7291819222
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Aug 31, 2022https://github.com/python/cpython/pull/3606#issuecomment-1233152594
Please reload this pagehttps://github.com/python/cpython/pull/3606
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Aug 31, 2022https://github.com/python/cpython/pull/3606#event-7297922807
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F3606
https://github.com/vstinner
vstinner https://github.com/vstinner
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Please reload this pagehttps://github.com/python/cpython/pull/3606
https://github.com/ericsnowcurrently
https://github.com/vstinner
https://github.com/brettcannon
https://github.com/matrixise
https://github.com/alimcmaster1
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.