[issue8563] [PEP 3147] compileall.compile_file() creates empty __pycache__ directories for non-.py files
Barry A. Warsaw
report at bugs.python.org
Thu Apr 29 17:49:54 CEST 2010
Barry A. Warsaw <barry at python.org> added the comment:
Thanks for finding this bug. I'm not sure about the second chunk of your diff (the one that removes __pycache__). In the future, it would help to include a unittest case that illustrates the problem. Here's a patch that includes a test for that specific problem, along with a narrowed down patch. Can you explain why the other chunk is necessary (preferably with a unittest)?
----------
Added file: http://bugs.python.org/file17129/8563.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8563>
_______________________________________
More information about the Python-bugs-list
mailing list