Crash when **unpacking kwargs typed with a TypedDict
into a function typed with ParamSpec
in expand_actual_type
#16616
Labels
TypedDict
into a function typed with ParamSpec
in expand_actual_type
#16616
Crash Report
This originally occurred when trying to type hint keyword args to a
concurrent.Futures.ThreadPoolExecutor.submit
. I was able to get it down to a more minimal reproducer. Seems that any kwargs **unpacking where the kwargs are a typed dict can trigger it.Traceback
To Reproduce
Your Environment
7c33e7c03444ae748b82163e7b4e1666dfaf94c7
mypy.ini
(and other config files): NoneThe text was updated successfully, but these errors were encountered: