[issue17159] Remove explicit type check from inspect.Signature.from_function()
Yury Selivanov
report at bugs.python.org
Thu Feb 13 23:19:12 CET 2014
Yury Selivanov added the comment:
> So, once again:
> If the intention is to test that a callable has a "__text_signature__",
> then the code should test for the existance of "__text_signature__".
> It should *not* try to test for types that may or may not have such
> an attribute, and then just fail if it surprisingly does not find it.
Unfortunately this is something I do *not* want to change.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17159>
_______________________________________
More information about the Python-bugs-list
mailing list