[issue21145] Add the @cached_property decorator

Daniel Greenfeld report at bugs.python.org
Sun May 18 20:11:48 CEST 2014


Daniel Greenfeld added the comment:

For what it's worth, I just released cached-property on PyPI and someone suggested I join the discussion here. 

Package: https://pypi.python.org/pypi/cached-property
Repo: https://github.com/pydanny/cached-property

Notes:

* 92% test coverage, albeit with a simple, arguably naive test.
* I plan to increase the coverage to 100%.
* I'm not entirely sure where to give credit for the original implementation. Right now I think it's Bottle, but I'm not certain. See  https://github.com/pydanny/cached-property/issues/1

----------
nosy: +pydanny

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21145>
_______________________________________


More information about the Python-bugs-list mailing list