New submission from jhwang <joeng...@gmail.com>:

I have Python 3.10.1 (Dec, 2021) installed and I see an error when inspecting 
signature of TypedDict class. This is the same issue reported on Issue43006 
(msg385535 - (view)). It was marked as resolved but the error looks persistent. 
Can someone confirm if this was fixed or any release version with the fix? 


    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'>`

----------
components: Library (Lib)
messages: 411056
nosy: jhwang
priority: normal
severity: normal
status: open
title: TypedDict inspect.signature error
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46448>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to