Skip to content

gh-137706: make typing._is_unpacked_typevartuple check for True instead of truthy #137712

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DavidCEllis
Copy link
Contributor

@DavidCEllis DavidCEllis commented Aug 13, 2025

This resolves #137706 making Annotated[undefined, ''] partially resolvable under Format.FORWARDREF

I hope I put the additional test in a reasonable place. It's a large file!

truthy output was interpreting annotationlib _Stringifier instances as unpacked TypeVarTuples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Annotated with forward references does not partially evaluate
1 participant