]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
importlib.__import__() now raises ValueError when level < 0.
authorBrett Cannon <brett@python.org>
Thu, 16 Feb 2012 22:47:48 +0000 (17:47 -0500)
committerBrett Cannon <brett@python.org>
Thu, 16 Feb 2012 22:47:48 +0000 (17:47 -0500)
commit3b1a06c1eaec92242683b0a3460377e03cb6c214
treea71d27d9d427a4061eefff835da8d9ae5890b0ae
parent7fab676e87302bb75a132ba0c1f7220e4702c16d
importlib.__import__() now raises ValueError when level < 0.
This is to bring it more in line with what PEP 328 set out to do with
removing ambiguous absolute/relative import semantics.
Lib/importlib/_bootstrap.py
Lib/importlib/test/import_/test_api.py
Misc/NEWS