[issue20189] inspect.Signature doesn't recognize all builtin types

Larry Hastings report at bugs.python.org
Wed Jan 8 18:51:11 CET 2014


Larry Hastings added the comment:

Here's a patch that adds __text_signature__ support for three more builtin types:
  method_descriptor
  classmethod_descriptor
  wrapper_descriptor
  method-wrapper

The patch also modifies inspect.Signature so it recognizes these types.

----------
Added file: http://bugs.python.org/file33365/larry.support.text_signature.on.more.types.diff.1.txt

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


More information about the Python-bugs-list mailing list