]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-98040: Fix importbench: use types.ModuleType() (#105743)
authorVictor Stinner <vstinner@python.org>
Tue, 13 Jun 2023 22:32:12 +0000 (00:32 +0200)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2023 22:32:12 +0000 (00:32 +0200)
commit457a459c7804950d4c27a243b176eb933ec87a06
tree8733adfbd8c12c6be2bfb91b90f45e7a8faee397
parent757b402ea1c2c6b925a55a08fd844b065b6e082f
gh-98040: Fix importbench: use types.ModuleType() (#105743)

Replace removed imp.new_module(name) with types.ModuleType(name).
Doc/whatsnew/3.12.rst
Tools/importbench/importbench.py