cpython/Lib/importlib
Brett Cannon a6473f9cfd Issues #15169, #14599: Make PyImport_ExecCodeModuleWithPathnames() use
Lib/imp.py for imp.source_from_cache() instead of its own C version.

Also change PyImport_ExecCodeModuleObject() to not infer the source
path from the bytecode path like
PyImport_ExecCodeModuleWithPathnames() does. This makes the function
less magical.

This also has the side-effect of removing all uses of MAXPATHLEN in
Python/import.c which can cause failures on really long filenames.
2012-07-13 13:57:03 -04:00
..
test Issue #15111: When a module was imported using a 'from import' 2012-07-10 10:05:00 -04:00
__init__.py Issue #15210: Greatly simplify the test for supporting importlib 2012-07-04 14:03:40 -04:00
_bootstrap.py Issues #15169, #14599: Make PyImport_ExecCodeModuleWithPathnames() use 2012-07-13 13:57:03 -04:00
abc.py Closes #15030: Make importlib.abc.PyPycLoader respect the new .pyc 2012-07-02 14:35:34 -04:00
machinery.py Issue #13959: Deprecate imp.get_suffixes() for new attributes on 2012-05-11 12:58:42 -04:00
util.py Add importlib.util.resolve_name(). 2012-05-13 13:45:09 -04:00