Closed Daraan closed 1 month ago
Thanks, that does seem like a bug we should address.
I've traced this back to a minimal variant that happens during the substitution causing the same error:
Unpack[Ts][str] # should equal str
I've found a fix and wrap it in a PR in the next hours.
I've written some tests to test nesting of Unpack with TypeAliasTypes, which causes
TypeError: Substitution of bare TypeVarTuple is not supported
during the recursive substitution.This is currently only relevant for 3.11 as for lower versions Issue https://github.com/python/typing_extensions/issues/103 needs to be addressed first.
Traceback: