Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-117953: Track All Extension Modules#118156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
ericsnowcurrently wants to merge44 commits intopython:main
base:main
Choose a base branch
Loading
fromericsnowcurrently:track-all-ext-modules

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrentlyericsnowcurrently commentedApr 22, 2024
edited by bedevere-appbot
Loading

When an extension module is loaded, the init function is looked up and run. If that doesn't fail then the module is "fixed up", which includes adding itsPyModuleDef to a global mapping that is used if the module is re-loaded. However, that has not applied to multi-phase init modules. Adding those modules to the global mapping would identify that we already loaded the module (or at least tried), as well as the module's kind. That's especially useful for a follow up PR I have planned.

(This is based ongh-118116. For the diff, see mytrack-all-ext-modules branch.)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@kumaraditya303kumaraditya303Awaiting requested review from kumaraditya303kumaraditya303 will be requested when the pull request is marked ready for reviewkumaraditya303 is a code owner

@brettcannonbrettcannonAwaiting requested review from brettcannonbrettcannon will be requested when the pull request is marked ready for reviewbrettcannon is a code owner

@ncoghlanncoghlanAwaiting requested review from ncoghlanncoghlan will be requested when the pull request is marked ready for reviewncoghlan is a code owner

@warsawwarsawAwaiting requested review from warsawwarsaw will be requested when the pull request is marked ready for reviewwarsaw is a code owner

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@ericsnowcurrently

[8]ページ先頭

©2009-2025 Movatter.jp