[issue1738] filecmp.dircmp does exact match only
Oliver Nelson
report at bugs.python.org
Fri Jan 4 22:34:05 CET 2008
New submission from Oliver Nelson:
dircmp's ignore and hide list only take exact files to ignore, not unix
filename pattern's. This means you can't hide/ignore *.bak or something
similar. Changing the _filter function adds this:
def newfilter(flist, skip):
for pattern in skip:
flist = list(ifilterfalse(fnmatch.filter(flist,
pattern).__contains__, flist))
return flist
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1738>
__________________________________
More information about the Python-bugs-list
mailing list