Skip to content

gh-137226: Fix behavior of ForwardRef.evaluate with type_params#137227

Merged
JelleZijlstra merged 1 commit intopython:mainfrom
JelleZijlstra:annolib-type-params
Aug 13, 2025
Merged

gh-137226: Fix behavior of ForwardRef.evaluate with type_params#137227
JelleZijlstra merged 1 commit intopython:mainfrom
JelleZijlstra:annolib-type-params

Conversation

@JelleZijlstra
Copy link
Member

@JelleZijlstra JelleZijlstra commented Jul 30, 2025

The previous behavior was copied from earlier typing code. It works around the way
typing.get_type_hints passes its namespaces, but I don't think the behavior is logical
or correct.

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

2 participants