cpython/Lib/importlib
Brett Cannon f4375ef4d4 importlib.abc.SourceLoader.get_source() was re-raising SyntaxError and
UnicodeDecodeError as ImportError. That was over-reaching the point of
raising ImportError in get_source() (which is to signal the source
code was not found when it should have). Conflating the two exceptions
with ImportError could lead to masking errors with the source which
should be known outside of whether there was an error simply getting
the source to begin with.
2013-06-16 18:05:54 -04:00
..
__init__.py Issue #18193: Add importlib.reload(), documenting (but not 2013-06-14 15:04:26 -04:00
_bootstrap.py importlib.abc.SourceLoader.get_source() was re-raising SyntaxError and 2013-06-16 18:05:54 -04:00
abc.py Issues #18058, 18057: Make importlib._bootstrap.NamespaceLoader 2013-06-16 14:56:58 -04:00
machinery.py Issue #15576: Allow extension modules to be a package's __init__ 2012-08-10 13:47:54 -04:00
util.py Issue #17907: touch up the code for imp.new_module(). 2013-06-14 22:26:30 -04:00