[issue42455] Add decorator_factory function to functools module
Raymond Hettinger
report at bugs.python.org
Sun Nov 29 20:13:24 EST 2020
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
I've add Nick so that he can opine. For me, I'm -0 on this one. It does factor-out a common pattern, but I find it less obvious what it does and would not enjoy debugging code that used this decorator.
The idea is definitely interesting and worth discussing. If Nick doesn't come along shortly, please bring this up on python-ideas.
----------
nosy: +ncoghlan
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42455>
_______________________________________
More information about the Python-bugs-list
mailing list