]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Trying to import a submodule from another module and not a package was raising
authorBrett Cannon <bcannon@gmail.com>
Sun, 30 Aug 2009 20:22:21 +0000 (20:22 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sun, 30 Aug 2009 20:22:21 +0000 (20:22 +0000)
commit1c1dcbfd5db9ec3e47ca9ddf28e7c6b87f09eb19
treef5c9b6ba568ea86b2c0d29c79021ca050b2e7bfd
parent82a23fe3925245086460eb7da95bbdc39cd2454a
Trying to import a submodule from another module and not a package was raising
AttributeError in importlib when it should be an ImportError.

Found when running importlib against test_runpy.
Lib/importlib/_bootstrap.py
Lib/importlib/test/import_/test_packages.py
Lib/importlib/test/regrtest.py
Misc/NEWS