Content-Length: 302230 | pFad | https://github.com/python/cpython/pull/105754

F9 [3.12] gh-98040: Fix importbench: use types.ModuleType() (GH-105743) by miss-islington · Pull Request #105754 · python/cpython · GitHub
Skip to content

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

Merged
vstinner merged 1 commit intopython:3.12from
miss-islington:backport-457a459-3.12
Jun 13, 2023
Merged

[3.12] gh-98040: Fix importbench: use types.ModuleType() (GH-105743)#105754
vstinner merged 1 commit intopython:3.12from
miss-islington:backport-457a459-3.12

Conversation

@miss-islington
Copy link
Copy Markdown
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









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/105754

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy