Message411056
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'>` |
|
Date |
User |
Action |
Args |
2022-01-20 23:20:43 | jhwang | set | recipients:
+ jhwang |
2022-01-20 23:20:43 | jhwang | set | messageid: <1642720843.6.0.598679137786.issue46448@roundup.psfhosted.org> |
2022-01-20 23:20:43 | jhwang | link | issue46448 messages |
2022-01-20 23:20:43 | jhwang | create | |
|