Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recognize forward references inside TypeAliasType for Python 3.12 #29

Closed
davidfstr opened this issue Mar 31, 2024 · 0 comments
Closed
Assignees
Labels
feature New feature or request
Milestone

Comments

@davidfstr
Copy link
Owner

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.

@davidfstr davidfstr added the feature New feature or request label Mar 31, 2024
@davidfstr davidfstr modified the milestones: v.1.1, v1.2 Mar 31, 2024
@davidfstr davidfstr self-assigned this Apr 3, 2024
davidfstr added a commit that referenced this issue Apr 12, 2024
davidfstr added a commit that referenced this issue Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant