René's URL Explorer Experiment


Title: gh-102660: Handle m_copy Specially for the sys and builtins Modules by ericsnowcurrently · Pull Request #102661 · python/cpython · GitHub

Open Graph Title: gh-102660: Handle m_copy Specially for the sys and builtins Modules by ericsnowcurrently · Pull Request #102661 · python/cpython

X Title: gh-102660: Handle m_copy Specially for the sys and builtins Modules by ericsnowcurrently · Pull Request #102661 · python/cpython

Description: It doesn't make sense to use multi-phase init for these modules. Using a per-interpreter "m_copy" (instead of PyModuleDef.m_base.m_copy) makes this work okay. (This came up while working on gh-10...

Open Graph Description: It doesn't make sense to use multi-phase init for these modules. Using a per-interpreter "m_copy" (instead of PyModuleDef.m_base.m_copy) makes this work okay. (This came up while wo...

X Description: It doesn't make sense to use multi-phase init for these modules. Using a per-interpreter "m_copy" (instead of PyModuleDef.m_base.m_copy) makes this work okay. (This came...

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

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:3158fde3-a90a-bb22-0737-9dae45586b05
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id98D4:80349:1762D35:1F42089:6969BF36
html-safe-nonce0ce655a82263796ac85e94b770491591faea166bd5a42305dfe084f221f14a99
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEQ0OjgwMzQ5OjE3NjJEMzU6MUY0MjA4OTo2OTY5QkYzNiIsInZpc2l0b3JfaWQiOiI0NzAxOTI0NTI4NjI1NDAxNjU0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac125251286259cf88a5d34df0ce0c64ee06512d169348effcfdbe9a2ea11d66d6
hovercard-subject-tagpull_request:1274008373
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/102661/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/10693f03c229a02ca1a054a6e85e9463843172edaab9b793e4fa45c0fecdac83/python/cpython/pull/102661
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/10693f03c229a02ca1a054a6e85e9463843172edaab9b793e4fa45c0fecdac83/python/cpython/pull/102661
og:image:altIt doesn't make sense to use multi-phase init for these modules. Using a per-interpreter "m_copy" (instead of PyModuleDef.m_base.m_copy) makes this work okay. (This came up while wo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericsnowcurrently
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-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/102661#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F102661
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%2F102661
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/102661
Reloadhttps://github.com/python/cpython/pull/102661
Reloadhttps://github.com/python/cpython/pull/102661
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/102661
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/102661
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/102661#issue-comment-box
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:mcopy-for-sys-and-builtinshttps://github.com/ericsnowcurrently/cpython/tree/mcopy-for-sys-and-builtins
gh-102660: Handle m_copy Specially for the sys and builtins Modules https://github.com/python/cpython/pull/102661#top
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:mcopy-for-sys-and-builtinshttps://github.com/ericsnowcurrently/cpython/tree/mcopy-for-sys-and-builtins
Conversation 0 https://github.com/python/cpython/pull/102661
Commits 2 https://github.com/python/cpython/pull/102661/commits
Checks 0 https://github.com/python/cpython/pull/102661/checks
Files changed https://github.com/python/cpython/pull/102661/files
Please reload this pagehttps://github.com/python/cpython/pull/102661
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Mar 13, 2023https://github.com/python/cpython/pull/102661#issue-1622307424
Please reload this pagehttps://github.com/python/cpython/pull/102661
gh-101660https://github.com/python/cpython/pull/101660
Re-Loading the sys or builtins Modules is Problematic #102660https://github.com/python/cpython/issues/102660
Please reload this pagehttps://github.com/python/cpython/pull/102661
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
March 13, 2023 15:29https://github.com/python/cpython/pull/102661#commits-pushed-f6a4555
https://github.com/ericsnowcurrently
Add PyInterpreterState.sysdict_copy.https://github.com/python/cpython/pull/102661/commits/f6a45557e764f81908e18a49ea15a2a83514eaaa
f6a4555https://github.com/python/cpython/pull/102661/commits/f6a45557e764f81908e18a49ea15a2a83514eaaa
https://github.com/ericsnowcurrently
Set m_copy to None for sys and builtins.https://github.com/python/cpython/pull/102661/commits/617f03a934d7e19c13df6f670e4771726e9bffbe
617f03ahttps://github.com/python/cpython/pull/102661/commits/617f03a934d7e19c13df6f670e4771726e9bffbe
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
brettcannonhttps://github.com/brettcannon
encukouhttps://github.com/encukou
ncoghlanhttps://github.com/ncoghlan
warsawhttps://github.com/warsaw
code ownershttps://github.com/python/cpython/blob/71e37d907905b0504c5bb7b25681adeea2157492/.github/CODEOWNERS#L67
March 13, 2023 21:40https://github.com/python/cpython/pull/102661#event-8736753591
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 13, 2023 https://github.com/python/cpython/pull/102661#ref-issue-1622302411
Re-Loading the sys or builtins Modules is Problematic #102660 https://github.com/python/cpython/issues/102660
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 13, 2023https://github.com/python/cpython/pull/102661#event-8736754216
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Mar 13, 2023https://github.com/python/cpython/pull/102661#event-8736755399
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Mar 13, 2023 https://github.com/python/cpython/pull/102661#ref-pullrequest-1574867788
gh-101659: Isolate "obmalloc" State to Each Interpreter #101660 https://github.com/python/cpython/pull/101660
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
March 13, 2023 23:54https://github.com/python/cpython/pull/102661#event-8737543754
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
cdb21bahttps://github.com/python/cpython/commit/cdb21ba74d933e262bc1696b6ce78b50cb5a4443
Mar 14, 2023https://github.com/python/cpython/pull/102661#event-8748013275
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 14, 2023https://github.com/python/cpython/pull/102661#event-8748013898
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
March 14, 2023 20:01https://github.com/python/cpython/pull/102661#event-8748014023
carljmhttps://github.com/carljm
Mar 14, 2023 https://github.com/python/cpython/pull/102661#ref-commit-6c5f269
https://github.com/carljm
Merge branch 'main' into inlinecomp2https://github.com/carljm/cpython/commit/6c5f269eceb005e4d7fe5de2320d81108cd6ad3c
6c5f269https://github.com/carljm/cpython/commit/6c5f269eceb005e4d7fe5de2320d81108cd6ad3c
pythongh-102674https://github.com/python/cpython/issues/102674
python#102685https://github.com/python/cpython/pull/102685
pythongh-102660https://github.com/python/cpython/issues/102660
pythongh-102661https://github.com/python/cpython/pull/102661
pythongh-102354https://github.com/python/cpython/issues/102354
python#102696https://github.com/python/cpython/pull/102696
pythongh-81057https://github.com/python/cpython/issues/81057
pythongh-102506https://github.com/python/cpython/pull/102506
pythonGH-94851https://github.com/python/cpython/issues/94851
python#102684https://github.com/python/cpython/pull/102684
pythongh-100315https://github.com/python/cpython/issues/100315
python#102621https://github.com/python/cpython/pull/102621
pythonGH-100227https://github.com/python/cpython/issues/100227
python#102682https://github.com/python/cpython/pull/102682
pythongh-102677https://github.com/python/cpython/pull/102677
pythongh-102013https://github.com/python/cpython/issues/102013
python#102014https://github.com/python/cpython/pull/102014
pythonGH-102670https://github.com/python/cpython/issues/102670
pythonGH-102649https://github.com/python/cpython/pull/102649
pythongh-102627https://github.com/python/cpython/issues/102627
python#102630https://github.com/python/cpython/pull/102630
pythongh-98831https://github.com/python/cpython/issues/98831
python#102409https://github.com/python/cpython/pull/102409
pythongh-101659https://github.com/python/cpython/issues/101659
pythongh-102659https://github.com/python/cpython/pull/102659
pythongh-101524https://github.com/python/cpython/issues/101524
pythongh-102655https://github.com/python/cpython/pull/102655
pythongh-102069https://github.com/python/cpython/issues/102069
python#102075https://github.com/python/cpython/pull/102075
pythongh-98169https://github.com/python/cpython/issues/98169
python#98170https://github.com/python/cpython/pull/98170
pythongh-102650https://github.com/python/cpython/issues/102650
python#102651https://github.com/python/cpython/pull/102651
pythonGH-100987https://github.com/python/cpython/issues/100987
python#102640https://github.com/python/cpython/pull/102640
pythongh-87092https://github.com/python/cpython/issues/87092
python#102562https://github.com/python/cpython/pull/102562
pythongh-102192https://github.com/python/cpython/issues/102192
python#102631https://github.com/python/cpython/pull/102631
https://github.com/carljm
carljmhttps://github.com/carljm
Mar 15, 2023 https://github.com/python/cpython/pull/102661#ref-pullrequest-1563387292
gh-97933: inline list/dict/set comprehensions #101441 https://github.com/python/cpython/pull/101441
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Mar 16, 2023 https://github.com/python/cpython/pull/102661#ref-pullrequest-1626456831
gh-102660: Fix Refleaks in import.c #102744 https://github.com/python/cpython/pull/102744
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Mar 16, 2023 https://github.com/python/cpython/pull/102661#ref-commit-2a03ed0
https://github.com/ericsnowcurrently
gh-102660https://github.com/python/cpython/issues/102660
: Fix Refleaks in import.c (https://github.com/python/cpython/commit/2a03ed034edc6bb2db6fb972b2efe08db5145a28
#102744https://github.com/python/cpython/pull/102744
)https://github.com/python/cpython/commit/2a03ed034edc6bb2db6fb972b2efe08db5145a28
2a03ed0https://github.com/python/cpython/commit/2a03ed034edc6bb2db6fb972b2efe08db5145a28
gh-102661https://github.com/python/cpython/pull/102661
#102660https://github.com/python/cpython/issues/102660
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Mar 27, 2023 https://github.com/python/cpython/pull/102661#ref-commit-f4367d5
https://github.com/ericsnowcurrently
https://github.com/Fidget-Spinner
pythongh-102660https://github.com/python/cpython/issues/102660
: Handle m_copy Specially for the sys and builtins Mod…https://github.com/Fidget-Spinner/cpython/commit/f4367d5b83413c699ed89a51cff15cc155fa5f8b
f4367d5https://github.com/Fidget-Spinner/cpython/commit/f4367d5b83413c699ed89a51cff15cc155fa5f8b
pythongh-102661https://github.com/python/cpython/pull/102661
pythongh-101660https://github.com/python/cpython/pull/101660
python#102660https://github.com/python/cpython/issues/102660
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Mar 27, 2023 https://github.com/python/cpython/pull/102661#ref-commit-9368557
https://github.com/ericsnowcurrently
https://github.com/Fidget-Spinner
pythongh-102660https://github.com/python/cpython/issues/102660
: Fix Refleaks in import.c (https://github.com/Fidget-Spinner/cpython/commit/93685570a9431a34142939e44403beca951739e4
python#102744https://github.com/python/cpython/pull/102744
)https://github.com/Fidget-Spinner/cpython/commit/93685570a9431a34142939e44403beca951739e4
9368557https://github.com/Fidget-Spinner/cpython/commit/93685570a9431a34142939e44403beca951739e4
pythongh-102661https://github.com/python/cpython/pull/102661
python#102660https://github.com/python/cpython/issues/102660
warsawhttps://github.com/warsaw
Apr 11, 2023 https://github.com/python/cpython/pull/102661#ref-commit-d2aeb2a
https://github.com/ericsnowcurrently
https://github.com/warsaw
pythongh-102660https://github.com/python/cpython/issues/102660
: Handle m_copy Specially for the sys and builtins Mod…https://github.com/warsaw/cpython/commit/d2aeb2af9c91bd099d3e86f3a22afb0c3db7e34e
d2aeb2ahttps://github.com/warsaw/cpython/commit/d2aeb2af9c91bd099d3e86f3a22afb0c3db7e34e
pythongh-102661https://github.com/python/cpython/pull/102661
pythongh-101660https://github.com/python/cpython/pull/101660
python#102660https://github.com/python/cpython/issues/102660
warsawhttps://github.com/warsaw
Apr 11, 2023 https://github.com/python/cpython/pull/102661#ref-commit-bdc60ae
https://github.com/ericsnowcurrently
https://github.com/warsaw
pythongh-102660https://github.com/python/cpython/issues/102660
: Fix Refleaks in import.c (https://github.com/warsaw/cpython/commit/bdc60aeced8add64dc1415b89e1558d3decdee1d
python#102744https://github.com/python/cpython/pull/102744
)https://github.com/warsaw/cpython/commit/bdc60aeced8add64dc1415b89e1558d3decdee1d
bdc60aehttps://github.com/warsaw/cpython/commit/bdc60aeced8add64dc1415b89e1558d3decdee1d
pythongh-102661https://github.com/python/cpython/pull/102661
python#102660https://github.com/python/cpython/issues/102660
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%2F102661
https://github.com/encukou
encukou https://github.com/encukou
https://github.com/ncoghlan
ncoghlan https://github.com/ncoghlan
https://github.com/warsaw
warsaw https://github.com/warsaw
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/102661
https://github.com/ericsnowcurrently
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.