Nick Coghlan <ncogh...@gmail.com> added the comment:

On the historical front, wraps & update_wrapper were only designed to handle 
true wrapper functions (i.e. those that don't change the calling signature).

For anything else (including partial), I considered it unlikely that the doc 
string would still be accurate, let alone any of the other metadata, so I 
didn't worry about supporting them.

That sais, if it's practical to make the results of combining the two less 
broken then I agree it would make sense to do so.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46761>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to