[issue17159] Remove explicit type check from inspect.Signature.from_function()

Stefan Behnel report at bugs.python.org
Fri Jan 31 20:33:46 CET 2014


Stefan Behnel added the comment:

Tried it, works for me.

Explicitly rejecting classes is a good idea, IMHO, as is requiring that any function-like object must be callable, obviously.

----------

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


More information about the Python-bugs-list mailing list