michilu / python-functools32

Backport of the functools module from Python 3.2.3 for use with Python 2.7 and PyPy. Includes `lru_cache` (Least-recently-used cache decorator)
http://pypi.python.org/pypi/functools32
Other
52 stars 14 forks source link

Python functools32 |Build Status|_

This is a backport of the Python 3.2 functools module for use on Python versions 2.7 and PyPy. It includes new features lru_cache (Least-recently-used cache_ decorator).

Refer to the Python 3.2 documentation for usage information: http://docs.python.org/3.2/library/functools.html

Bugs? Try to reproduce them on the latest Python 3.2.x itself and file bug reports on http://bugs.python.org/.

-- ENDOH takanao djmchl@gmail.com

.. |Build Status| image:: https://secure.travis-ci.org/MiCHiLU/python-functools32.png .. Build Status: http://travis-ci.org/MiCHiLU/python-functools32 .. Least-recently-used cache: http://en.wikipedia.org/wiki/Cache_algorithms#Least_Recently_Used