[issue23934] inspect.signature reporting "()" for all builtin & extension types

Nick Coghlan report at bugs.python.org
Mon Apr 13 21:43:31 CEST 2015


Nick Coghlan added the comment:

The main missing piece now is test fodder for this error. The simplest near-term option would be to use one of the actual builtins, such as 'str'.

In Python 3.5+ we could borrow the matmulType that was added to _testcapi to test the "@" operator, future-proofing the test against eventual conversion of the builtin types to support Argument Clinic.

----------

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


More information about the Python-bugs-list mailing list