[issue11254] distutils doesn't byte-compile .py files to __pycache__ during installation

Jeff Ramnani report at bugs.python.org
Mon Mar 14 22:49:23 CET 2011


Jeff Ramnani <jeff at jefframnani.com> added the comment:

This patch applies cleanly as of rev 89af3880ca57 on branch default.

After applying the patch, I had two unit test failures when running,
"/python.exe -m test -v test_distutils", on OS X 10.6.  The tests were failing because they were not looking in the __pycache__ directory for byte-compiled or optimized files.

Attaching an updated patch that fixes the unit tests that were breaking.

----------
nosy: +jramnani
Added file: http://bugs.python.org/file21146/issue11254.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11254>
_______________________________________


More information about the Python-bugs-list mailing list