[issue17481] inspect.getfullargspec should use __signature__

Yury Selivanov report at bugs.python.org
Sun Jan 19 23:18:39 CET 2014


Yury Selivanov added the comment:

> Otherwise we run the risk of introducing unexpected exceptions into introspection code.

That's a good catch. I'll make a new patch, keeping the old implementation of getfullargsspec intact, and falling back to it if no signature can be found.

----------

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


More information about the Python-bugs-list mailing list