Skip to content

gh-138151: Fix ForwardRef.evaluate() for locally defined generics#138161

Closed
dr-carlos wants to merge 4 commits intopython:mainfrom
dr-carlos:forwardref-local-generic
Closed

gh-138151: Fix ForwardRef.evaluate() for locally defined generics#138161
dr-carlos wants to merge 4 commits intopython:mainfrom
dr-carlos:forwardref-local-generic

Conversation

@dr-carlos
Copy link
Contributor

@dr-carlos dr-carlos commented Aug 26, 2025

Fixes #138151 with new associated tests.
Could be some edge cases (not covered in the test suite) which it doesn't consider.

Loading
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.

annotationlib: ref.evaluate() not working for generics as local variables

2 participants