This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author remi.lapeyre
Recipients larry, remi.lapeyre
Date 2019-03-15.16:44:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552668265.07.0.311567846773.issue36306@roundup.psfhosted.org>
In-reply-to
Content
>>> import math, inspect
>>> inspect.signature(math.log)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/remi/src/cpython/Lib/inspect.py", line 3081, in signature
    return Signature.from_callable(obj, follow_wrapped=follow_wrapped)
  File "/Users/remi/src/cpython/Lib/inspect.py", line 2830, in from_callable
    return _signature_from_callable(obj, sigcls=cls,
  File "/Users/remi/src/cpython/Lib/inspect.py", line 2284, in _signature_from_callable
    return _signature_from_builtin(sigcls, obj,
  File "/Users/remi/src/cpython/Lib/inspect.py", line 2109, in _signature_from_builtin
    raise ValueError("no signature found for builtin {!r}".format(func))
ValueError: no signature found for builtin <built-in function log>
>>>

This is the only function from math to do so, it may be related to issue    29299 but the patch from Victor Stinner does not fix this.
History
Date User Action Args
2019-03-15 16:44:25remi.lapeyresetrecipients: + remi.lapeyre, larry
2019-03-15 16:44:25remi.lapeyresetmessageid: <1552668265.07.0.311567846773.issue36306@roundup.psfhosted.org>
2019-03-15 16:44:25remi.lapeyrelinkissue36306 messages
2019-03-15 16:44:24remi.lapeyrecreate