diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-02-02 16:11:01 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-02-02 16:11:01 (GMT) |
commit | 4885f49e7fcef35ad25c50f4c6876c56e2a9f545 (patch) | |
tree | fe1b3367a3a5585596a2cd72f7e4df7eefe78138 /Doc/whatsnew | |
parent | 70e04f5fbc0b62c4d1d04fd982204437120f791d (diff) | |
download | cpython-4885f49e7fcef35ad25c50f4c6876c56e2a9f545.zip cpython-4885f49e7fcef35ad25c50f4c6876c56e2a9f545.tar.gz cpython-4885f49e7fcef35ad25c50f4c6876c56e2a9f545.tar.bz2 |
whatsnew: filecmp.clear_cache, and reword description of cache in docs.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.4.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 2292297..4417f74 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -675,6 +675,17 @@ handling). (Contributed by R. David Murray in :issue:`18891`.) +filecmp +------- + +A new :func:`~filecmp.clear_cache` function provides the ability to clear the +:mod:`filecmp` comparison cache, which uses :func:`os.stat` information to +determine if the file has changed since the last compare. This can be used, +for example, if the file might have been changed and re-checked in less time +than the resolution of a particular filesystem's file modification time field. +(Contributed by Mark Levitt in :issue:`18149`.) + + functools --------- |