[issue21145] Add the @cached_property decorator
Carl Meyer
report at bugs.python.org
Thu Nov 10 16:17:19 EST 2016
Carl Meyer added the comment:
Attaching a patch with the simplest version of cached_property (tehnique is not original, similar code is found in Django, Bottle, Flask, the cached_property lib, and many other places).
----------
components: +Library (Lib)
keywords: +patch
versions: +Python 3.7 -Python 3.6
Added file: http://bugs.python.org/file45431/cached_property.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21145>
_______________________________________
More information about the Python-bugs-list
mailing list