FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-98040: Fix importbench: use types.ModuleType() by vstinner · Pull Request #105743 · python/cpython · GitHub

/ cpython Public

gh-98040: Fix importbench: use types.ModuleType() - #105743

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:importbench
Jun 13, 2023
Merged

gh-98040: Fix importbench: use types.ModuleType()#105743
vstinner merged 1 commit into
python:mainfrom
vstinner:importbench

Conversation

vstinner commented Jun 13, 2023
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Member

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).

Copy link
Copy Markdown
Contributor

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

vstinner deleted the importbench branch June 13, 2023 22:32
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 13, 2023
)

Replace removed imp.new_module(name) with types.ModuleType(name).
(cherry picked from commit 457a459)

Co-authored-by: Victor Stinner <vstinner@python.org>

Copy link
Copy Markdown

GH-105754 is a backport of this pull request to the 3.12 branch.

bedevere-bot removed the needs backport to 3.12 only security fixes label Jun 13, 2023
vstinner added a commit that referenced this pull request Jun 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 commit 457a459)

Co-authored-by: Victor Stinner <vstinner@python.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL