]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix packaging byte-compilation to comply with PEP 3147 (#11254).
authorÉric Araujo <merwok@netwok.org>
Sat, 8 Oct 2011 02:09:15 +0000 (04:09 +0200)
committerÉric Araujo <merwok@netwok.org>
Sat, 8 Oct 2011 02:09:15 +0000 (04:09 +0200)
commita29e4f64c1dfeb4ca1cf9f4c9636cb4528b2fd8c
treef162133d4375ac1c80313861d6e409c186a849ee
parent73b1e7dd2098279910e89454d5ba92d5b46370da
Fix packaging byte-compilation to comply with PEP 3147 (#11254).

I want to replace custom byte-compiling function with calls to
compileall before 3.3b1, but in the short term it’s good to have this
fixed.

Adapted from the distutils patch by Jeff Ramnani.  I tested with -B, -O
and -OO; test_util and test_mixin2to3 fail in -O mode because lib2to3
doesn’t support it.
Doc/library/packaging.util.rst
Lib/packaging/tests/test_command_build_py.py
Lib/packaging/tests/test_command_install_lib.py
Lib/packaging/util.py
Misc/NEWS