FICHA · AUR

python2-backports.functools_lru_cache

Backport of functools.lru_cache from Python 3.3 to Python 2.7

  • compatibility library
  • LIBRARY
  • Dev
  • Dependency only
official+codex · reviewed · Jun 4, 2026 description in en

Description

LRU cache decorators from newer Python versions can be used in Python 2.7 code. This backport helps legacy applications cache function results with the familiar functools.lru_cache API.

It is imported by applications and libraries, not opened directly. Cache behavior can affect memory use and stale data, so choose cache sizes deliberately.

Permissions

Permissions not analysed for this source yet.