Issue 7846: fnmatch cache can grow without bound
Updated to solution to use the functools.lru_cache(). Restores the API so that purge() is not needed (because the cache never gets big).
Showing
Please
register
or
sign in
to comment
Updated to solution to use the functools.lru_cache(). Restores the API so that purge() is not needed (because the cache never gets big).