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-98040: Fix importbench: use types.ModuleType()#105743

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
vstinner merged 1 commit intopython:mainfromvstinner:importbench
Jun 13, 2023

Conversation

vstinner
Copy link
Member

@vstinnervstinner commentedJun 13, 2023
edited by github-actionsbot
Loading

Replace removed imp.new_module(name) with types.ModuleType(name).


📚 Documentation preview 📚:https://cpython-previews--105743.org.readthedocs.build/

Replace removed imp.new_module(name) with types.ModuleType(name).
@miss-islington
Copy link
Contributor

Thanks@vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@vstinnervstinner deleted the importbench branchJune 13, 2023 22:32
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJun 13, 2023
)Replace removed imp.new_module(name) with types.ModuleType(name).(cherry picked from commit457a459)Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot
Copy link

GH-105754 is a backport of this pull request to the3.12 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.12only security fixes labelJun 13, 2023
vstinner added a commit that referenced this pull requestJun 13, 2023
…105754)gh-98040: Fix importbench: use types.ModuleType() (GH-105743)Replace removed imp.new_module(name) with types.ModuleType(name).(cherry picked from commit457a459)Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@brettcannonbrettcannonAwaiting requested review from brettcannonbrettcannon is a code owner

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrentlyericsnowcurrently is a code owner

@ncoghlanncoghlanAwaiting requested review from ncoghlanncoghlan is a code owner

@warsawwarsawAwaiting requested review from warsawwarsaw 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.

3 participants
@vstinner@miss-islington@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp