New submission from R. David Murray <rdmur...@bitdance.com>: The introduction of support for compiling individual files broke the previous behavior of compileall, where it would report that it could not turn a directory name into a file list if the named directory did not exist.
A fix would be to reverse the test used to determine whether or not to call compile_file: instead of calling it if the name is not a directory, we should call it if the name is a file, and pass everything else to compile_dir. This would restore the previous behaviour. Note that compileall considers not finding a named file/directory as successful compilation, so this is a low priority bug. ---------- keywords: easy messages: 124136 nosy: r.david.murray priority: low severity: normal stage: unit test needed status: open title: compileall no longer warns when cli arguments name non-existent files type: behavior versions: Python 2.7, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10719> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com