[issue17481] inspect.getfullargspec should use __signature__

Larry Hastings report at bugs.python.org
Fri Jan 24 00:56:37 CET 2014


Larry Hastings added the comment:

My solution for pydoc was to call isroutine() instead of isfunction(), and yes handle it throwing an exception.

(I just checked, and I wasn't catching TypeError, only ValueError.  I'll fix that in my next patch for #20189.)

----------

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


More information about the Python-bugs-list mailing list