Backport of functools.lru_cache from Python 3.3 as published at ActiveState.
Consider using this technique for importing the 'lru_cache' function:
try: from functools import lru_cache except ImportError: from backports.functools_lru_cache import lru_cache
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.