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 eric.fahlgren
Recipients eric.fahlgren
Date 2020-02-13.18:16:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581617797.68.0.659166194612.issue39629@roundup.psfhosted.org>
In-reply-to
Content
Python 3.8's new math.hypot function also appears to suffer from the same issue as math.log:

>>> import math, inspect
>>> inspect.signature(math.hypot)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Program Files\Python38\lib\inspect.py", line 3093, in signature
    return Signature.from_callable(obj, follow_wrapped=follow_wrapped)
  File "C:\Program Files\Python38\lib\inspect.py", line 2842, in from_callable
    return _signature_from_callable(obj, sigcls=cls,
  File "C:\Program Files\Python38\lib\inspect.py", line 2296, in _signature_from_callable
    return _signature_from_builtin(sigcls, obj,
  File "C:\Program Files\Python38\lib\inspect.py", line 2107, in _signature_from_builtin
    raise ValueError("no signature found for builtin {!r}".format(func))
ValueError: no signature found for builtin <built-in function hypot>

Possibly related to issue29299?
History
Date User Action Args
2020-02-13 18:16:37eric.fahlgrensetrecipients: + eric.fahlgren
2020-02-13 18:16:37eric.fahlgrensetmessageid: <1581617797.68.0.659166194612.issue39629@roundup.psfhosted.org>
2020-02-13 18:16:37eric.fahlgrenlinkissue39629 messages
2020-02-13 18:16:37eric.fahlgrencreate