[issue27933] functools.lru_cache seems to not work when renaming decorated functions

Федор Лянгузов report at bugs.python.org
Thu Sep 1 14:44:15 EDT 2016


Федор Лянгузов added the comment:

Ok, thank you very much, i've got a little smarter today. Now i understand, that user_function (in this case factorial) is not modified by decorator, it is my job to change factorial to wrapper by assignment. Enlightning.

----------
resolution:  -> not a bug
status: open -> closed

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


More information about the Python-bugs-list mailing list