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-70319: Deprecate usage of load_module()#23469

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

Merged
brettcannon merged 12 commits intopython:masterfrombrettcannon:deprecate-load_module
Dec 4, 2020

Conversation

brettcannon
Copy link
Member

@brettcannonbrettcannon commentedNov 22, 2020
edited by bedevere-appbot
Loading

Raise an ImportWarning when the import system falls back on load_module(). As for implementations of load_module(), raise a DeprecationWarning.

https://bugs.python.org/issue26131

Automerge-Triggered-By: GH:brettcannon

@brettcannon
Copy link
MemberAuthor

The key difference between this PR and#22905 is the addition of deprecatingload_module() forzipimport and the changes totest_venv to make it all work while pip still hassix without a fix for its lack ofexec_module().

@brettcannonbrettcannon merged commit2de5097 intopython:masterDec 4, 2020
@brettcannonbrettcannon deleted the deprecate-load_module branchDecember 4, 2020 23:39
adorilson pushed a commit to adorilson/cpython that referenced this pull requestMar 13, 2021
Raise an ImportWarning when the import system falls back on load_module(). As for implementations of load_module(), raise a DeprecationWarning.
@picnixzpicnixz changed the titlebpo-26131: Deprecate usage of load_module()gh-70319: Deprecate usage of load_module()May 11, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@encukouencukouAwaiting requested review from encukou

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrently

@ncoghlanncoghlanAwaiting requested review from ncoghlan

@vsajipvsajipAwaiting requested review from vsajip

@warsawwarsawAwaiting requested review from warsaw

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

Successfully merging this pull request may close these issues.

3 participants
@brettcannon@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp