ce720d3e06
Fix compileall.compile_dir() ddir= behavior on sub-packages.
Fixes compileall.compile_dir's ddir parameter and compileall command
line flag `-d` to no longer write the wrong pathname to the generated
pyc file for submodules beneath the root of the directory tree being
compiled. This fixes a regression introduced with Python 3.5.
Tests backported from GH
|
||
---|---|---|
.. | ||
builtin | ||
data | ||
data01 | ||
data02 | ||
data03 | ||
extension | ||
frozen | ||
import_ | ||
namespace_pkgs | ||
source | ||
zipdata01 | ||
zipdata02 | ||
__init__.py | ||
__main__.py | ||
abc.py | ||
fixtures.py | ||
stubs.py | ||
test_abc.py | ||
test_api.py | ||
test_lazy.py | ||
test_locks.py | ||
test_main.py | ||
test_metadata_api.py | ||
test_namespace_pkgs.py | ||
test_open.py | ||
test_path.py | ||
test_read.py | ||
test_resource.py | ||
test_spec.py | ||
test_util.py | ||
test_windows.py | ||
test_zip.py | ||
util.py |