4 ms·
There's also Graham Dumpleton's "How you implemented your Python decorator is wrong" blog post - http://blog.dscpl.com.au/2014/01/how-you-implemented-your-pyth
by celias 11y ago
There's also Graham Dumpleton's "How you implemented your Python decorator is wrong" blog post -
http://blog.dscpl.com.au/2014/01/how-you-implemented-your-python.html http://blog.dscpl.com.au/2014/01/how-you-implemented-your-py...
and the related "Decorators and monkey patching" list
http://blog.dscpl.com.au/p/decorators-and-monkey-patching.html http://blog.dscpl.com.au/p/decorators-and-monkey-patching.ht...
- agentultra 11y agoThe introspection argument is rather difficult... do I intend to see the descriptor of the wrapped function or the signature of the wrapper? In the case of stacked decorators it can get a little murky.