gh-98040: Fix importbench: use types.ModuleType() by vstinner · Pull Request #105743 · python/cpython
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
) Replace removed imp.new_module(name) with types.ModuleType(name). (cherry picked from commit 457a459) Co-authored-by: Victor Stinner <vstinner@python.org>
vstinner added a commit that referenced this pull request
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