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
It appears that the type statement in Python 3.12 generates TypeAliasType objects at runtime which are similar to the existing ForwardRef objects which trycast() already needs to understand to follow forward-references to types.
It appears that the
typestatement in Python 3.12 generatesTypeAliasTypeobjects at runtime which are similar to the existingForwardRefobjects which trycast() already needs to understand to follow forward-references to types.