[issue18149] filecmp.cmp() incorrect results when previously compared file is modified within modification time resolution
Mark Levitt
report at bugs.python.org
Wed Jun 12 15:06:56 CEST 2013
Mark Levitt added the comment:
I've added a "clear_cache()" method to filecmp.py. Patch attached.
I had thought about implementing an optional parameter to only invalidate the cache of a specific file object, but figured I'd keep it simple for now.
First time submitting a patch, so apologies if I've done something the wrong way.
----------
keywords: +patch
nosy: +melevittfl
Added file: http://bugs.python.org/file30557/18149.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18149>
_______________________________________
More information about the Python-bugs-list
mailing list