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

jeff deifik report at bugs.python.org
Mon Jun 6 22:17:36 CEST 2011


jeff deifik <jeff at jeffunit.com> added the comment:

There are many possible solutions to this problem.
Personally, I think mine is the simplest, though it changes the API.

However, there have been several suggestions on simple fixes that don't change the API, all of which fix the resource leak.

Doing nothing will not fix the resource leak.

How about a simple fix right now, using a lru cache, fixing all versions of Python, and perhaps come up with a superior solution at a later date?

----------

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


More information about the Python-bugs-list mailing list