You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okay, pytypes seems to expect here a Tuple with at least one element. I think the convention for Tuple varargs changed some times. This will require a look how it finally turned out.
Okay, this was not due to changes in typing semantics: tuple ellipsis worked the same all the time. This issue has a two-fold cause:
When matching the tuple arags with types from a stubfile, the ellipsis property of the tuple was not preserved.
while handled correctly in is_subtype, I somehow forgot tuple ellipsis handling when I wrote is_of_type, which accellerates type checking for certain types.
The following code:
fails as follows:
The text was updated successfully, but these errors were encountered: