[issue11802] filecmp.cmp needs a documented way to clear cache

Nadeem Vawda report at bugs.python.org
Sat Apr 9 16:40:50 CEST 2011


Nadeem Vawda <nadeem.vawda at gmail.com> added the comment:

Because the lru_cache decorator doesn't provide any way to invalidate
stale cache entries.

Perhaps I should factor out the duplicated code into a separate class
that can then also be exposed to users of the stdlib. But that would only
apply to 3.3, so the uglier fix is still necessary for older versions.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11802>
_______________________________________


More information about the Python-bugs-list mailing list