[issue21117] inspect.signature: inaccuracies for partial functions

Nick Coghlan report at bugs.python.org
Tue Apr 1 23:34:48 CEST 2014


Nick Coghlan added the comment:

Huh, that actually sounds like a possible design flaw in the core argument binding semantics. I'll have to think about that one some more.

In the meantime, as far as this issue goes, I'm inclined to say that signature should throw an exception to be clear that such a malformed object has *no* usable signature, as attempting to call it will always fail.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21117>
_______________________________________


More information about the Python-bugs-list mailing list