]> granicus.if.org Git - python/commit
Issue #17099: Have importlib.find_loader() raise ValueError when
authorBrett Cannon <brett@python.org>
Wed, 13 Mar 2013 18:09:08 +0000 (11:09 -0700)
committerBrett Cannon <brett@python.org>
Wed, 13 Mar 2013 18:09:08 +0000 (11:09 -0700)
commit327992330e13cd6663faa8400f9ff46daab828b0
tree922c440ad749973a0d7cef94ffc46eae0ddaa92b
parent542308eae7a95ae62aa1bc8e8c6c2f8a3695ae34
Issue #17099: Have importlib.find_loader() raise ValueError when
__loader__ is not set on a module. This brings the exception in line
with when __loader__ is None (which is equivalent to not having the
attribute defined).
Doc/library/importlib.rst
Lib/importlib/__init__.py
Lib/test/test_importlib/test_api.py
Misc/NEWS