Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.12] gh-98040: Fix importbench: use types.ModuleType() (GH-105743) #105754

Merged
merged 1 commit into from
Jun 13, 2023

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 [email protected]


📚 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 <[email protected]>
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