mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
![]() 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. |
||
---|---|---|
.. | ||
test | ||
__init__.py | ||
_bootstrap.py | ||
abc.py | ||
machinery.py | ||
util.py |