mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
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. Also marks the _new_ in 3.9 from PR #16012 parameters to compile_dir as keyword only (as that is the only way they will be used) and fixes an omission of them in one place from the docs. |
||
|---|---|---|
| .. | ||
| 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_pkg_import.py | ||
| test_read.py | ||
| test_resource.py | ||
| test_spec.py | ||
| test_threaded_import.py | ||
| test_util.py | ||
| test_windows.py | ||
| test_zip.py | ||
| threaded_import_hangers.py | ||
| util.py | ||