-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
gh-140000: Traverse name attribute for TypeVar, TypeVarTuple, TypeAliasType, ParamSpec
#140016
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
gh-140000: Traverse name attribute for TypeVar, TypeVarTuple, TypeAliasType, ParamSpec
#140016
Conversation
name attribute for TypeVar, TypeVarTuple, TypeAliasType, ParamSpecname attribute for TypeVar, TypeVarTuple, TypeAliasType, ParamSpec
|
I've added news entry, CI is green |
|
Thanks @efimov-mikhail for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…le`, `TypeAliasType`, `ParamSpec` (pythonGH-140016) (cherry picked from commit be60e4b) Co-authored-by: Mikhail Efimov <[email protected]>
|
Sorry, @efimov-mikhail and @JelleZijlstra, I could not cleanly backport this to |
|
GH-140063 is a backport of this pull request to the 3.14 branch. |
|
GH-140073 is a backport of this pull request to the 3.13 branch. |
I'm not sure should we add tests on these.
But I've checked code snippet from the issue on all 4 types, they work as expected.
IMO, it'd be better to merge this PR first and provide a backports for 3.14 and 3.13.
We could merge #139919 after this (qualname traversing will be there).
cc @JelleZijlstra