summaryrefslogtreecommitdiff
path: root/lib/_lru_cache.py
Commit message (Collapse)AuthorAgeFilesLines
* Use a proper LRU cache for namedtuplesfast-namedtupleDaniele Varrazzo2019-02-021-0/+104
Previous one didn't refresh by last use. Use the stdlib version for py3 and one of our own for py2. Max size set to 512, which should be fine for everyone (tweaking is still possible by monkeypatching, as the tests do, but I don't want to make an interface of it).