[issue12793] allow filters in os.walk
Éric Araujo
report at bugs.python.org
Sun Aug 21 14:17:53 CEST 2011
Éric Araujo <merwok at netwok.org> added the comment:
Thanks for the report. 2.7 is a stable version, so this would have to go in 3.3. Even where, breaking the function signature wouldn’t be possible, so we would have to add arguments without removing any.
Have you looked at shutil.rmtree’s ignore argument and the shutil.ignore_patterns factory function? Maybe that would be a good pattern to copy.
----------
nosy: +eric.araujo
versions: +Python 3.3 -Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12793>
_______________________________________
More information about the Python-bugs-list
mailing list