[issue41232] Python `functools.wraps` doesn't deal with defaults correctly

Gregory P. Smith report at bugs.python.org
Sun May 2 00:42:50 EDT 2021


Gregory P. Smith <greg at krypto.org> added the comment:

That makes sense. It seems like we're missing information signature() would need to be able to differentiate between when it should default to follow .__wrapped__ vs when it shouldn't.  Neither default can satisfy everyone.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41232>
_______________________________________


More information about the Python-bugs-list mailing list