This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients r.david.murray
Date 2010-12-16.15:51:59
SpamBayes Score 6.262274e-08
Marked as misclassified No
Message-id <1292514721.24.0.504015013998.issue10719@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-12-16 15:52:01r.david.murraysetrecipients: + r.david.murray
2010-12-16 15:52:01r.david.murraysetmessageid: <1292514721.24.0.504015013998.issue10719@psf.upfronthosting.co.za>
2010-12-16 15:51:59r.david.murraylinkissue10719 messages
2010-12-16 15:51:59r.david.murraycreate