Leonid Vasilev <vsleo...@gmail.com> added the comment: Added file with sample usage (extracted from real application).
the main purpose of shutil.cleartree() is to remove unnecessary files from tree, where patterns of ignored or deleted files are computed dynamically. Yes I agree, that it might be done by shell expression, but in case of dynamic patterns it will be hacky. ---------- Added file: http://bugs.python.org/file22807/example.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12661> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com