Visitar URL original
[3.12] gh-98040: Fix importbench: use types.ModuleType() (GH-105743) by miss-islington · Pull Request #105754 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20251001103923/https://github.com/python/cpython/pull/105754
Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented 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


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

)

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

Co-authored-by: Victor Stinner <vstinner@python.org>
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