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

[mypyc] Using UnboundedType to access class object of a type annotation. #18874

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

advait-dixit
Copy link
Contributor

Fixes mypyc/mypyc#1087.

This fix handles cases where type annotation is nested inside an imported module (like an inner class) or imported from a different module.

@advait-dixit advait-dixit changed the title [mypyc] Using unbounded_type to access class object of a type annotation. [mypyc] Using UnboundedType to access class object of a type annotation. Apr 5, 2025
@advait-dixit
Copy link
Contributor Author

@JukkaL @aatle : This PR is ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiled class definition involving TypedDict or dataclass causes KeyError for certain annotations
1 participant