René's URL Explorer Experiment


Title: gh-117953: Refactor Import Machinery Code for Extension Modules by ericsnowcurrently · Pull Request #118116 · python/cpython · GitHub

Open Graph Title: gh-117953: Refactor Import Machinery Code for Extension Modules by ericsnowcurrently · Pull Request #118116 · python/cpython

X Title: gh-117953: Refactor Import Machinery Code for Extension Modules by ericsnowcurrently · Pull Request #118116 · python/cpython

Description: This is a large change that involves refactoring the code that loads extension modules. The objective is partly to improve the clarity of the code, but mostly it's so that I can execute a subset o...

Open Graph Description: This is a large change that involves refactoring the code that loads extension modules. The objective is partly to improve the clarity of the code, but mostly it's so that I can execute a subs...

X Description: This is a large change that involves refactoring the code that loads extension modules. The objective is partly to improve the clarity of the code, but mostly it's so that I can execute a ...

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

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:542bd0e8-b97b-d48f-4261-24dc5a8770a5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id93CC:1672C1:11BF5E2:1727921:696B1289
html-safe-nonce3f0861c8753734c574b3f687a09740cf86ba2c5a564f96d0a7f7ad303047aecb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0NDOjE2NzJDMToxMUJGNUUyOjE3Mjc5MjE6Njk2QjEyODkiLCJ2aXNpdG9yX2lkIjoiODc5NzgyNTk1NzM4MTIxNDg1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac93324ee05a9d5ce5df3937d44b1febf9228fa81b0c0f0f4e0d69b4d0af226bc3
hovercard-subject-tagpull_request:1832696258
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/118116/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/617ddcad35eee1ffbe07ea9e38827afede60288cbbc06ed148901a3face837de/python/cpython/pull/118116
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/617ddcad35eee1ffbe07ea9e38827afede60288cbbc06ed148901a3face837de/python/cpython/pull/118116
og:image:altThis is a large change that involves refactoring the code that loads extension modules. The objective is partly to improve the clarity of the code, but mostly it's so that I can execute a subs...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericsnowcurrently
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/118116#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F118116
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%2F118116
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/118116
Reloadhttps://github.com/python/cpython/pull/118116
Reloadhttps://github.com/python/cpython/pull/118116
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/118116
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/118116
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/118116#issue-comment-box
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:split-up-load-dynamic-module-with-spechttps://github.com/ericsnowcurrently/cpython/tree/split-up-load-dynamic-module-with-spec
gh-117953: Refactor Import Machinery Code for Extension Modules https://github.com/python/cpython/pull/118116#top
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:split-up-load-dynamic-module-with-spechttps://github.com/ericsnowcurrently/cpython/tree/split-up-load-dynamic-module-with-spec
Conversation 3 https://github.com/python/cpython/pull/118116
Commits 40 https://github.com/python/cpython/pull/118116/commits
Checks 0 https://github.com/python/cpython/pull/118116/checks
Files changed https://github.com/python/cpython/pull/118116/files
Please reload this pagehttps://github.com/python/cpython/pull/118116
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Apr 20, 2024https://github.com/python/cpython/pull/118116#issue-2254308858
Please reload this pagehttps://github.com/python/cpython/pull/118116
track-all-ext-moduleshttps://github.com/ericsnowcurrently/cpython/compare/split-up-load-dynamic-module-with-spec...ericsnowcurrently:cpython:track-all-ext-modules
load-ext-in-main-interp-2https://github.com/ericsnowcurrently/cpython/compare/track-all-ext-modules...ericsnowcurrently:cpython:load-ext-in-main-interp-2
gh-117487https://github.com/python/cpython/pull/117487
Single-Phase Init Extension Module Init Functions Still Run in Isolated Interpreters #117953https://github.com/python/cpython/issues/117953
Please reload this pagehttps://github.com/python/cpython/pull/118116
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
April 16, 2024 11:10https://github.com/python/cpython/pull/118116#commits-pushed-cc67849
https://github.com/ericsnowcurrently
Factor out _PyImport_RunDynamicModule().https://github.com/python/cpython/pull/118116/commits/cc6784962b59f12e4d94d67fe6885d8e02776b20
cc67849https://github.com/python/cpython/pull/118116/commits/cc6784962b59f12e4d94d67fe6885d8e02776b20
https://github.com/ericsnowcurrently
Drop _PyImport_LoadDynamicModuleWithSpec().https://github.com/python/cpython/pull/118116/commits/2e5ecde7e210eae8636f0b7300330eef2ccb96a4
2e5ecdehttps://github.com/python/cpython/pull/118116/commits/2e5ecde7e210eae8636f0b7300330eef2ccb96a4
https://github.com/ericsnowcurrently
Add an assert.https://github.com/python/cpython/pull/118116/commits/b810cd8ae42ca37a0977d596f2fc75fa6243805f
b810cd8https://github.com/python/cpython/pull/118116/commits/b810cd8ae42ca37a0977d596f2fc75fa6243805f
https://github.com/ericsnowcurrently
Factor out fix_up_extension_for_interpreter().https://github.com/python/cpython/pull/118116/commits/8d0ef38d53c565b17fa4d49a0be2ecf86edf85d3
8d0ef38https://github.com/python/cpython/pull/118116/commits/8d0ef38d53c565b17fa4d49a0be2ecf86edf85d3
https://github.com/ericsnowcurrently
Do _extensions_cache_set() first.https://github.com/python/cpython/pull/118116/commits/7f930ccdfdb720fc344a55ab5ce1523e46027e4f
7f930cchttps://github.com/python/cpython/pull/118116/commits/7f930ccdfdb720fc344a55ab5ce1523e46027e4f
https://github.com/ericsnowcurrently
Calculate path_bytes ahead of time.https://github.com/python/cpython/pull/118116/commits/1ffeaef7f8f1ed1082de6cc5170ce3f3733b3965
1ffeaefhttps://github.com/python/cpython/pull/118116/commits/1ffeaef7f8f1ed1082de6cc5170ce3f3733b3965
https://github.com/ericsnowcurrently
Move the audit entry to _imp_create_dynamic_impl().https://github.com/python/cpython/pull/118116/commits/7500285cbd722de6670524dbcc01f3d534aeb036
7500285https://github.com/python/cpython/pull/118116/commits/7500285cbd722de6670524dbcc01f3d534aeb036
https://github.com/ericsnowcurrently
_Py_ext_module_loader_info_from_spec() -> _Py_ext_module_loader_info_…https://github.com/python/cpython/pull/118116/commits/3c0b1700ad0bf546d27df8637887360d9e37743c
3c0b170https://github.com/python/cpython/pull/118116/commits/3c0b1700ad0bf546d27df8637887360d9e37743c
https://github.com/ericsnowcurrently
Add info.newcontext.https://github.com/python/cpython/pull/118116/commits/02e24ccd22fe609b2d45ba4a1ab2ee128c7337b3
02e24cchttps://github.com/python/cpython/pull/118116/commits/02e24ccd22fe609b2d45ba4a1ab2ee128c7337b3
https://github.com/ericsnowcurrently
Split up _PyImport_RunDynamicModule() along cross-interpreter-safe bo…https://github.com/python/cpython/pull/118116/commits/ba5ffa78bc983ccc06bb32ea16c42aaa51143da0
ba5ffa7https://github.com/python/cpython/pull/118116/commits/ba5ffa78bc983ccc06bb32ea16c42aaa51143da0
https://github.com/ericsnowcurrently
Drop _PyImport_RunDynamicModule().https://github.com/python/cpython/pull/118116/commits/b89596625b1977f59a3cd7c08ac0f7988c1c04d4
b895966https://github.com/python/cpython/pull/118116/commits/b89596625b1977f59a3cd7c08ac0f7988c1c04d4
https://github.com/ericsnowcurrently
Always close the file handle.https://github.com/python/cpython/pull/118116/commits/76fa2735568194838576659d0a39008df8c7d374
76fa273https://github.com/python/cpython/pull/118116/commits/76fa2735568194838576659d0a39008df8c7d374
https://github.com/ericsnowcurrently
Revert the fclose() change.https://github.com/python/cpython/pull/118116/commits/1e936c5084fc61e06d14b9971d8b5f84cfb8a792
1e936c5https://github.com/python/cpython/pull/118116/commits/1e936c5084fc61e06d14b9971d8b5f84cfb8a792
https://github.com/ericsnowcurrently
Factor out create_dynamic().https://github.com/python/cpython/pull/118116/commits/6bb07b94720fa4479042a1a274ae8a40875091de
6bb07b9https://github.com/python/cpython/pull/118116/commits/6bb07b94720fa4479042a1a274ae8a40875091de
https://github.com/ericsnowcurrently
Drop _PyImport_FixupExtensionObject().https://github.com/python/cpython/pull/118116/commits/2705e6598e3f37db1b432cb888a4e4af36297ad3
2705e65https://github.com/python/cpython/pull/118116/commits/2705e6598e3f37db1b432cb888a4e4af36297ad3
https://github.com/ericsnowcurrently
Move setting __file__ to fix_up_extension().https://github.com/python/cpython/pull/118116/commits/98d8b4b0b78339bb7911dc57d833bd95640ce7eb
98d8b4bhttps://github.com/python/cpython/pull/118116/commits/98d8b4b0b78339bb7911dc57d833bd95640ce7eb
https://github.com/ericsnowcurrently
Pass tstate through to fix_up_extension().https://github.com/python/cpython/pull/118116/commits/ddf113535b41d211cc8e8db43492303e6416333a
ddf1135https://github.com/python/cpython/pull/118116/commits/ddf113535b41d211cc8e8db43492303e6416333a
https://github.com/ericsnowcurrently
Add a note about _PyImport_FixupBuiltin().https://github.com/python/cpython/pull/118116/commits/694a76345e8cc4a6c69403ebf244269669386c9a
694a763https://github.com/python/cpython/pull/118116/commits/694a76345e8cc4a6c69403ebf244269669386c9a
https://github.com/ericsnowcurrently
Always expect a valid modules dict passed to fix_up_extension().https://github.com/python/cpython/pull/118116/commits/72e0d73c0e3b18894d34a027cf75f5e1111fbc82
72e0d73https://github.com/python/cpython/pull/118116/commits/72e0d73c0e3b18894d34a027cf75f5e1111fbc82
https://github.com/ericsnowcurrently
Factor out reload_singlephase_extension().https://github.com/python/cpython/pull/118116/commits/3f14a67fa7bb8056fc630e914d0053570d52742e
3f14a67https://github.com/python/cpython/pull/118116/commits/3f14a67fa7bb8056fc630e914d0053570d52742e
https://github.com/ericsnowcurrently
res.singlephase -> res.kindhttps://github.com/python/cpython/pull/118116/commits/b5f58682bbfb8a09f51416b519c60cabdc8550a4
b5f5868https://github.com/python/cpython/pull/118116/commits/b5f58682bbfb8a09f51416b519c60cabdc8550a4
https://github.com/ericsnowcurrently
Factor out _extensions_cache_init().https://github.com/python/cpython/pull/118116/commits/a5f7535f9bb9e83bed392250d8f90000d4177936
a5f7535https://github.com/python/cpython/pull/118116/commits/a5f7535f9bb9e83bed392250d8f90000d4177936
https://github.com/ericsnowcurrently
Factor out _extensions_cache_find_unlocked().https://github.com/python/cpython/pull/118116/commits/e8d674a856cda44a2c2e468358743812d1a54c51
e8d674ahttps://github.com/python/cpython/pull/118116/commits/e8d674a856cda44a2c2e468358743812d1a54c51
https://github.com/ericsnowcurrently
Use _PyImport_RunModInitFunc() in create_builtin().https://github.com/python/cpython/pull/118116/commits/27b365df6a43cffbfa39b843c5e2bcab0ec608ab
27b365dhttps://github.com/python/cpython/pull/118116/commits/27b365df6a43cffbfa39b843c5e2bcab0ec608ab
https://github.com/ericsnowcurrently
Clean up _PyImport_FixupBuiltin().https://github.com/python/cpython/pull/118116/commits/512870232a57b4467b4423307241fbed1ee7866c
5128702https://github.com/python/cpython/pull/118116/commits/512870232a57b4467b4423307241fbed1ee7866c
https://github.com/ericsnowcurrently
Add some asserts to _PyImport_RunModInitFunc().https://github.com/python/cpython/pull/118116/commits/aaec36055a866b96c8f262f1ccb4c5dc0513f666
aaec360https://github.com/python/cpython/pull/118116/commits/aaec36055a866b96c8f262f1ccb4c5dc0513f666
https://github.com/ericsnowcurrently
Drop the replace arg to _extensions_cache_set().https://github.com/python/cpython/pull/118116/commits/f97671ef08b97f1e3e6bd0f9b4e50d3c53ffe578
f97671ehttps://github.com/python/cpython/pull/118116/commits/f97671ef08b97f1e3e6bd0f9b4e50d3c53ffe578
https://github.com/ericsnowcurrently
Check the module returned by import_find_extension() to ensure single…https://github.com/python/cpython/pull/118116/commits/23669837d2c3006556247c4f2738b3ea83706bea
2366983https://github.com/python/cpython/pull/118116/commits/23669837d2c3006556247c4f2738b3ea83706bea
https://github.com/ericsnowcurrently
Allow mod->md_def to be NULL.https://github.com/python/cpython/pull/118116/commits/d5039eac961d4cc7d1e7c90c5d7211fc893ce12f
d5039eahttps://github.com/python/cpython/pull/118116/commits/d5039eac961d4cc7d1e7c90c5d7211fc893ce12f
https://github.com/ericsnowcurrently
Call _PyImport_RunModInitFunc() in reload_singlephase_extension().https://github.com/python/cpython/pull/118116/commits/67d217b270b21acc35374ad277c67bdc97ab8085
67d217bhttps://github.com/python/cpython/pull/118116/commits/67d217b270b21acc35374ad277c67bdc97ab8085
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
April 18, 2024 18:15https://github.com/python/cpython/pull/118116#commits-pushed-9e40287
https://github.com/ericsnowcurrently
res->err is an array, not just a pointer.https://github.com/python/cpython/pull/118116/commits/9e40287d0333d2b7e0c3ad2ab8177f50d29d233c
9e40287https://github.com/python/cpython/pull/118116/commits/9e40287d0333d2b7e0c3ad2ab8177f50d29d233c
https://github.com/ericsnowcurrently
Factor out import_run_extension() (and drop create_dynamic()).https://github.com/python/cpython/pull/118116/commits/b8c2a1d0adc282afc61915743dcf3a7746ab5586
b8c2a1dhttps://github.com/python/cpython/pull/118116/commits/b8c2a1d0adc282afc61915743dcf3a7746ab5586
https://github.com/ericsnowcurrently
Factor out update_extension_cache() and drop fix_up_extension_for_int…https://github.com/python/cpython/pull/118116/commits/967c649f6ed1007eeb30a63d9a28d4a57167525c
967c649https://github.com/python/cpython/pull/118116/commits/967c649f6ed1007eeb30a63d9a28d4a57167525c
https://github.com/ericsnowcurrently
We already know the def is okay.https://github.com/python/cpython/pull/118116/commits/aecf56caa0d039feb031d0ecff6c30a870aaf50f
aecf56chttps://github.com/python/cpython/pull/118116/commits/aecf56caa0d039feb031d0ecff6c30a870aaf50f
https://github.com/ericsnowcurrently
Revive fix_up_extension_for_interpreter().https://github.com/python/cpython/pull/118116/commits/0d03d2308cd9bfb5312d9d652ddce190f22e0e9a
0d03d23https://github.com/python/cpython/pull/118116/commits/0d03d2308cd9bfb5312d9d652ddce190f22e0e9a
https://github.com/ericsnowcurrently
Add a distinct _Py_ext_module_loader_info.path (and old path -> filen…https://github.com/python/cpython/pull/118116/commits/cace1022c03527d6c36877e6700bbb2c9566d9e4
cace102https://github.com/python/cpython/pull/118116/commits/cace1022c03527d6c36877e6700bbb2c9566d9e4
https://github.com/ericsnowcurrently
Do not call update_extensions_cache() in fix_up_extension().https://github.com/python/cpython/pull/118116/commits/3cf0db087b9986765807e5ca136ab5a6489a11a7
3cf0db0https://github.com/python/cpython/pull/118116/commits/3cf0db087b9986765807e5ca136ab5a6489a11a7
https://github.com/ericsnowcurrently
Let the modules arg to fix_up_extension_for_interpreter() be NULL.https://github.com/python/cpython/pull/118116/commits/9b3088a6b2312a153e1bdaa6b192e96697e9039b
9b3088ahttps://github.com/python/cpython/pull/118116/commits/9b3088a6b2312a153e1bdaa6b192e96697e9039b
https://github.com/ericsnowcurrently
Let the caller of update_extensions_cache() decide if m_copy should b…https://github.com/python/cpython/pull/118116/commits/4ac1644a3558e52bc74e9d85fe279593cf078214
4ac1644https://github.com/python/cpython/pull/118116/commits/4ac1644a3558e52bc74e9d85fe279593cf078214
https://github.com/ericsnowcurrently
Fix the update_extensions_cache() signature.https://github.com/python/cpython/pull/118116/commits/393a177e8e3730852f99667b320ec497fea8c054
393a177https://github.com/python/cpython/pull/118116/commits/393a177e8e3730852f99667b320ec497fea8c054
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Apr 20, 2024https://github.com/python/cpython/pull/118116#event-12546155885
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
encukouhttps://github.com/encukou
April 20, 2024 01:24https://github.com/python/cpython/pull/118116#event-12546155891
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 20, 2024 https://github.com/python/cpython/pull/118116#ref-issue-2247045160
Single-Phase Init Extension Module Init Functions Still Run in Isolated Interpreters #117953 https://github.com/python/cpython/issues/117953
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Apr 20, 2024https://github.com/python/cpython/pull/118116#issuecomment-2067502194
@encukouhttps://github.com/encukou
Please reload this pagehttps://github.com/python/cpython/pull/118116
https://github.com/encukou
encukouhttps://github.com/encukou
Apr 22, 2024https://github.com/python/cpython/pull/118116#issuecomment-2068894082
Please reload this pagehttps://github.com/python/cpython/pull/118116
similar giant patchhttps://github.com/python/cpython/pull/116458
Please reload this pagehttps://github.com/python/cpython/pull/118116
gh-117953: Track All Extension Modules #118156 https://github.com/python/cpython/pull/118156
gh-116322: Add Py_mod_gil module slot #116882 https://github.com/python/cpython/pull/116882
gh-117953: Small Cleanup of Extensions-Related Machinery Code #118167 https://github.com/python/cpython/pull/118167
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Apr 23, 2024https://github.com/python/cpython/pull/118116#issuecomment-2071241771
Please reload this pagehttps://github.com/python/cpython/pull/118116
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Apr 23, 2024 https://github.com/python/cpython/pull/118116#ref-commit-23950be
https://github.com/ericsnowcurrently
gh-117953https://github.com/python/cpython/issues/117953
: Small Cleanup of Extensions-Related Machinery Code (https://github.com/python/cpython/commit/23950beff84c39d50f48011e930f4c6ebf32fc73
gh-118167https://github.com/python/cpython/pull/118167
23950behttps://github.com/python/cpython/commit/23950beff84c39d50f48011e930f4c6ebf32fc73
https://github.com/python/cpython/pull/118167
gh-118116https://github.com/python/cpython/pull/118116
gh-117953: Cleanups For fix_up_extension() in import.c #118192 https://github.com/python/cpython/pull/118192
gh-117953: Add Internal struct _Py_ext_module_loader_info #118194 https://github.com/python/cpython/pull/118194
gh-117953: Split Up _PyImport_LoadDynamicModuleWithSpec() #118203 https://github.com/python/cpython/pull/118203
gh-117953: Share More Machinery Code Between Builtin and Dynamic Extensions #118204 https://github.com/python/cpython/pull/118204
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Apr 24, 2024https://github.com/python/cpython/pull/118116#event-12583636729
gh-117953: Work Relative to Specific Extension Kinds in the Import Machinery #118205 https://github.com/python/cpython/pull/118205
gh-117953: Other Cleanups in the Extensions Machinery #118206 https://github.com/python/cpython/pull/118206
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Apr 24, 2024 https://github.com/python/cpython/pull/118116#ref-commit-af3c1d8
https://github.com/ericsnowcurrently
gh-117953https://github.com/python/cpython/issues/117953
: Cleanups For fix_up_extension() in import.c (https://github.com/python/cpython/commit/af3c1d817d3f8369f8003965d967332a3a721a25
gh-118192https://github.com/python/cpython/pull/118192
)https://github.com/python/cpython/commit/af3c1d817d3f8369f8003965d967332a3a721a25
af3c1d8https://github.com/python/cpython/commit/af3c1d817d3f8369f8003965d967332a3a721a25
gh-118116https://github.com/python/cpython/pull/118116
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Apr 26, 2024 https://github.com/python/cpython/pull/118116#ref-pullrequest-2259421032
gh-117953: Let update_global_state_for_extension() Caller Decide If Singlephase or Not #118193 https://github.com/python/cpython/pull/118193
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%2F118116
https://github.com/encukou
encukou https://github.com/encukou
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
https://github.com/brettcannon
brettcannon https://github.com/brettcannon
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
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/118116
https://github.com/ericsnowcurrently
https://github.com/encukou
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.