[issue9396] Standardise (and publish?) cache handling in standard library

Raymond Hettinger report at bugs.python.org
Mon Aug 9 06:29:12 CEST 2010


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

Applied the lru_cache() to fnmatch and re.
See r83874 r83871.

I did find a simple way to dynamically resize the maxcache, but did not apply it yet.   Will look at more applications to see if it is really needed.

Nick, thanks for the great ideas.  These changes simplified the code where they were applied and resulted in a smarter caching strategy.

----------
resolution:  -> fixed
status: open -> closed

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


More information about the Python-bugs-list mailing list