Skip to content

Recognize forward references inside TypeAliasType for Python 3.12 #29

Description

@davidfstr

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.

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions