[issue43006] Changed behaviour of inspect.signature() in Python 3.10

Zac Hatfield-Dodds report at bugs.python.org
Sat Jan 23 08:37:58 EST 2021


Zac Hatfield-Dodds <zac.hatfield.dodds at gmail.com> added the comment:

Aaaand it looks like another problem I'm having is also related:


    import inspect

    class T(typing.TypedDict):
        a: int

    print(inspect.signature(T))

was `(*args, **kwargs)` and now raises `ValueError: no signature found for builtin type <class 'dict'>`

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43006>
_______________________________________


More information about the Python-bugs-list mailing list