Я вижу, что python 3.2 имеет memoization как декоратор в библиотеке functools. http://docs.python.org/py3k/library/functools.html#functools.lru_cache
К сожалению, он еще не обратился к 2.7. Есть ли какая-то конкретная причина, почему она недоступна в 2.7? Есть ли какая-либо сторонняя библиотека, предоставляющая ту же самую функцию, или я должен написать свою собственную?