| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:f6284414-a60b-c662-d9c2-50e185cca28f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B09E:320EB:561E99F:7900A38:6A4FA656 |
| html-safe-nonce | 686d5a1fedb3eb666b3d65a60b9c65c0fa3c5bfb2f384c0653bc7d99b088c874 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDlFOjMyMEVCOjU2MUU5OUY6NzkwMEEzODo2QTRGQTY1NiIsInZpc2l0b3JfaWQiOiI4MDA2OTcyNjY5NzQzMzEwNDIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 431d2cadb8602a9949f470dfe7d7aee7528429c270aa56843f91b2e1b5ff8eaf |
| hovercard-subject-tag | pull_request:141105133 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/3575/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1eaec68ed6d65f233894e428f8572e5ff0c5a6adea90bc85cabce77393171346/python/cpython/pull/3575 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1eaec68ed6d65f233894e428f8572e5ff0c5a6adea90bc85cabce77393171346/python/cpython/pull/3575 |
| og:image:alt | A bunch of code currently uses PyInterpreterState.modules directly instead of PyImport_GetModuleDict(). This complicates efforts to make changes relative to sys.modules. This patch switches to us... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericsnowcurrently |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/3575#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3575 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F3575 |
|
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 |
| Reload | https://github.com/python/cpython/pull/3575 |
| Reload | https://github.com/python/cpython/pull/3575 |
| Reload | https://github.com/python/cpython/pull/3575 |
| Please reload this page | https://github.com/python/cpython/pull/3575 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/3575 |
|
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 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| python:master | https://github.com/python/cpython/tree/master |
| ericsnowcurrently:isolate-interp-modules | https://github.com/ericsnowcurrently/cpython/tree/isolate-interp-modules |
| Conversation | https://github.com/python/cpython/pull/3575 |
| Commits18 (18) | https://github.com/python/cpython/pull/3575/commits |
| Checks | https://github.com/python/cpython/pull/3575/checks |
| Files changed | https://github.com/python/cpython/pull/3575/files |
| bpo-28411: Isolate PyInterpreterState.modules | https://github.com/python/cpython/pull/3575#top |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| python:master | https://github.com/python/cpython/tree/master |
| ericsnowcurrently:isolate-interp-modules | https://github.com/ericsnowcurrently/cpython/tree/isolate-interp-modules |
|
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Sep 14, 2017 | https://github.com/python/cpython/pull/3575#issue-257760327 |
| Please reload this page | https://github.com/python/cpython/pull/3575 |
| #1638 | https://github.com/python/cpython/pull/1638 |
| https://bugs.python.org/issue28411 | https://bugs.python.org/issue28411 |
| Please reload this page | https://github.com/python/cpython/pull/3575 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| September 14, 2017 07:21 | https://github.com/python/cpython/pull/3575#commits-pushed-2ff5d7c |
|
| https://github.com/ericsnowcurrently |
| Add _PyImport_GetModuleDict(). | https://github.com/python/cpython/pull/3575/commits/2ff5d7ca7e6d9ee13cda08467e29a00c5812ae80 |
| 2ff5d7c | https://github.com/python/cpython/pull/3575/commits/2ff5d7ca7e6d9ee13cda08467e29a00c5812ae80 |
|
| https://github.com/ericsnowcurrently |
| Import the sys module before any other imports. | https://github.com/python/cpython/pull/3575/commits/79a84612247ddbf11b0c91fc03cd2c29a704e657 |
| 79a8461 | https://github.com/python/cpython/pull/3575/commits/79a84612247ddbf11b0c91fc03cd2c29a704e657 |
|
| https://github.com/ericsnowcurrently |
| Pass the modules dict to _PyImport_FindBuiltin(). | https://github.com/python/cpython/pull/3575/commits/6f96d3a673f5a4d291c5d70c1654506a16a20e5d |
| 6f96d3a | https://github.com/python/cpython/pull/3575/commits/6f96d3a673f5a4d291c5d70c1654506a16a20e5d |
|
| https://github.com/ericsnowcurrently |
| Replace usage of interp->modules with PyImport_GetModuleDict(). | https://github.com/python/cpython/pull/3575/commits/ad8c082fa07bca377a5ea646bdaab17837bd5bb4 |
| ad8c082 | https://github.com/python/cpython/pull/3575/commits/ad8c082fa07bca377a5ea646bdaab17837bd5bb4 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| September 14, 2017 15:25 | https://github.com/python/cpython/pull/3575#event-1249450101 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Sep 14, 2017 | https://github.com/python/cpython/pull/3575#event-1249450172 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Sep 14, 2017 | https://github.com/python/cpython/pull/3575#event-1249450219 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| September 14, 2017 17:09 | https://github.com/python/cpython/pull/3575#commits-pushed-12f55d3 |
|
| https://github.com/ericsnowcurrently |
| Add _PyImport_EnsureInitialized(). | https://github.com/python/cpython/pull/3575/commits/12f55d30be0a66760cb0806e06093e08f43c60da |
| 12f55d3 | https://github.com/python/cpython/pull/3575/commits/12f55d30be0a66760cb0806e06093e08f43c60da |
|
| https://github.com/ericsnowcurrently |
| Add _PyModule_Create2(). | https://github.com/python/cpython/pull/3575/commits/eb2d6f980179a61b7b667b3dafc13a591e3efef1 |
| eb2d6f9 | https://github.com/python/cpython/pull/3575/commits/eb2d6f980179a61b7b667b3dafc13a591e3efef1 |
|
| https://github.com/ericsnowcurrently |
| Use _PyModule_Create2() for key builtin modules. | https://github.com/python/cpython/pull/3575/commits/6a04c1c2f68fe17b6c33a9274c26148d14106dab |
| 6a04c1c | https://github.com/python/cpython/pull/3575/commits/6a04c1c2f68fe17b6c33a9274c26148d14106dab |
|
| https://github.com/ericsnowcurrently |
| Check sys.modules in _PyImport_EnsureInitialized(). | https://github.com/python/cpython/pull/3575/commits/26bdb7e65ca9eb481af4801c4ca7880360495e25 |
| 26bdb7e | https://github.com/python/cpython/pull/3575/commits/26bdb7e65ca9eb481af4801c4ca7880360495e25 |
|
| https://github.com/ericsnowcurrently |
| Pass the modules dict to _PyImport_FixupBuiltin(). | https://github.com/python/cpython/pull/3575/commits/eac74033ee09643f6f1369fffe2eb30d148d0892 |
| eac7403 | https://github.com/python/cpython/pull/3575/commits/eac74033ee09643f6f1369fffe2eb30d148d0892 |
|
| https://github.com/ericsnowcurrently |
| Pass PyInterpreterState to _PyImport_GetModuleDict(). | https://github.com/python/cpython/pull/3575/commits/1166c57254c0fdda066e6b5ddc6a88e9696d707f |
| 1166c57 | https://github.com/python/cpython/pull/3575/commits/1166c57254c0fdda066e6b5ddc6a88e9696d707f |
|
| https://github.com/ericsnowcurrently |
| Drop _PyImport_GetModuleDict(). | https://github.com/python/cpython/pull/3575/commits/da3ce95e65e39be547753f39ba262b043159c929 |
| da3ce95 | https://github.com/python/cpython/pull/3575/commits/da3ce95e65e39be547753f39ba262b043159c929 |
|
| https://github.com/ericsnowcurrently |
| _PyModule_Create2 -> _PyModule_CreateInitialized | https://github.com/python/cpython/pull/3575/commits/ef17b812f0a0d06f84bb7edef148c52f769a110b |
| ef17b81 | https://github.com/python/cpython/pull/3575/commits/ef17b812f0a0d06f84bb7edef148c52f769a110b |
|
| https://github.com/ericsnowcurrently |
| _PyImport_EnsureInitialized() -> _PyImport_IsInitialized() | https://github.com/python/cpython/pull/3575/commits/a17d5ff9366aac6b5f2991e6b45968f6432595ac |
| a17d5ff | https://github.com/python/cpython/pull/3575/commits/a17d5ff9366aac6b5f2991e6b45968f6432595ac |
|
| https://github.com/ericsnowcurrently |
| Add a Misc/NEWS entry. | https://github.com/python/cpython/pull/3575/commits/acc270b2c2b126d8e55f9029a308f6753a33c4b9 |
| acc270b | https://github.com/python/cpython/pull/3575/commits/acc270b2c2b126d8e55f9029a308f6753a33c4b9 |
|
| https://github.com/ericsnowcurrently |
| Fix style (bracket placement). | https://github.com/python/cpython/pull/3575/commits/bc6a0f14b725590fc54ac02bb03f2e9823298b3e |
| bc6a0f1 | https://github.com/python/cpython/pull/3575/commits/bc6a0f14b725590fc54ac02bb03f2e9823298b3e |
|
| https://github.com/ericsnowcurrently |
| Drop _PyImport_FixupExtensionObjectEx(). | https://github.com/python/cpython/pull/3575/commits/c7a25242925afc5e6d9808463766cd8dfda22601 |
| c7a2524 | https://github.com/python/cpython/pull/3575/commits/c7a25242925afc5e6d9808463766cd8dfda22601 |
|
| https://github.com/ericsnowcurrently |
| Fix the NEWS entry. | https://github.com/python/cpython/pull/3575/commits/aceaacda94c6a40a3952088664c4cc381ad4c374 |
| aceaacd | https://github.com/python/cpython/pull/3575/commits/aceaacda94c6a40a3952088664c4cc381ad4c374 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| force-pushed | https://github.com/python/cpython/compare/6714fd9ef5c732d6d613763960e6ec413592762d..aceaacda94c6a40a3952088664c4cc381ad4c374 |
| 6714fd9 | https://github.com/python/cpython/commit/6714fd9ef5c732d6d613763960e6ec413592762d |
| aceaacd | https://github.com/python/cpython/commit/aceaacda94c6a40a3952088664c4cc381ad4c374 |
|
Compare
| https://github.com/python/cpython/compare/6714fd9ef5c732d6d613763960e6ec413592762d..aceaacda94c6a40a3952088664c4cc381ad4c374 |
| September 14, 2017 17:10 | https://github.com/python/cpython/pull/3575#event-1249646427 |
|
| https://github.com/ericsnowcurrently |
| Drop commented-out code. | https://github.com/python/cpython/pull/3575/commits/5b87111ba5359c84e3d2a027e70212ac00ef073c |
| 5b87111 | https://github.com/python/cpython/pull/3575/commits/5b87111ba5359c84e3d2a027e70212ac00ef073c |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| d393c1b | https://github.com/python/cpython/commit/d393c1b227f22fb9af66040b2b367c99a4d1fa9a |
| Sep 14, 2017 | https://github.com/python/cpython/pull/3575#event-1249759924 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| September 14, 2017 18:32 | https://github.com/python/cpython/pull/3575#event-1249784513 |
| https://github.com/Mariatta |
| Mariatta | https://github.com/Mariatta |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Oct 8, 2017 | https://github.com/python/cpython/pull/3575#event-1283082761 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
Apr 10, 2022
| https://github.com/python/cpython/pull/3575#ref-issue-1198960780 |
|
[subinterpreters] Eliminate PyInterpreterState.modules.
#72597
| https://github.com/python/cpython/issues/72597 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3575 |
| Please reload this page | https://github.com/python/cpython/pull/3575 |
|
| https://github.com/ericsnowcurrently |
|
| https://github.com/Mariatta |
|
| https://github.com/the-knights-who-say-ni |
|
| https://github.com/bedevere-bot |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |