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 gvanrossum
Recipients gvanrossum, kj, levkivskyi, rhettinger
Date 2021-10-11.22:21:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633990878.04.0.223522011328.issue45438@roundup.psfhosted.org>
In-reply-to
Content
Raymond, the bug must be in the Python code in inspect.py. Could you dig a little deeper there? I don't know much about it. Specifically I think the problem may just be in the repr() of class Parameter:

>>> inspect.signature(g).parameters['s']             
<Parameter "s: list">
>>> inspect.signature(g).parameters['s'].annotation
list[float]
>>>
History
Date User Action Args
2021-10-11 22:21:18gvanrossumsetrecipients: + gvanrossum, rhettinger, levkivskyi, kj
2021-10-11 22:21:18gvanrossumsetmessageid: <1633990878.04.0.223522011328.issue45438@roundup.psfhosted.org>
2021-10-11 22:21:18gvanrossumlinkissue45438 messages
2021-10-11 22:21:17gvanrossumcreate