[Python-ideas] Problems (and solutions?) in writing decorators

Steven D'Aprano steve at pearwood.info
Tue Mar 12 07:30:10 EDT 2019


On Tue, Mar 12, 2019 at 09:36:41AM +0000, Sylvain MARIE via Python-ideas wrote:

> I therefore proposed 
> https://smarie.github.io/python-makefun/ . In particular it provides 
> an equivalent of `@functools.wraps` that is truly signature-preserving

Tell us more about that please. I'm very interested in getting 
decorators preserve the original signature.


-- 
Steven


More information about the Python-ideas mailing list