]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-142029: Raise `ModuleNotFoundError` instead of crashing on nonexsistent module...
authordr-carlos <77367421+dr-carlos@users.noreply.github.com>
Mon, 15 Dec 2025 12:20:19 +0000 (22:50 +1030)
committerGitHub <noreply@github.com>
Mon, 15 Dec 2025 12:20:19 +0000 (13:20 +0100)
commitcd2ca74c53d3cb502db40e3f52911d4429797daf
tree29cebb863b53ff4e511c03b56834435a70f53fda
parent6658e2cb07fa2ebafb1476b258cbceb24e233708
gh-142029: Raise `ModuleNotFoundError` instead of crashing on nonexsistent module name given to `create_builtin()` (#142054)

Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_import/__init__.py
Misc/NEWS.d/next/Core_and_Builtins/2025-11-29-08-51-56.gh-issue-142029.rUpcmt.rst [new file with mode: 0644]
Python/import.c