commit | 5b0c1e07ca169feced6d6458f80c2b9ccc6227e0 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Mon Aug 09 02:07:15 2010 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Mon Aug 09 02:07:15 2010 +0000 |
tree | 17ba65edefe013fcaf3edf8138dc6f38023445ca | |
parent | 44c6c155d6cc0d218decd250d84a238196be8daa [diff] |
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).