-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
typing.evaluate_forward_ref
is not fully covered
#128661
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
Labels
Comments
Aaaand I found a bug! Lines 1021 to 1030 in a1284e9
|
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Jan 9, 2025
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Jan 9, 2025
JelleZijlstra
added a commit
to JelleZijlstra/cpython
that referenced
this issue
Jan 17, 2025
It doesn't make sense to use a deprecation for evaluate_forward_ref, as it is a new function in Python 3.14 and doesn't have compatibility guarantees. I considered making it throw an error if type_params it not passed and there is no owner. However, I think this is too unfriendly for users. The case where this param is really needed is fairly esoteric and I don't think this case is worth the pain of forcing users to write "type_params=()".
JelleZijlstra
added a commit
that referenced
this issue
Apr 3, 2025
It doesn't make sense to use a deprecation for evaluate_forward_ref, as it is a new function in Python 3.14 and doesn't have compatibility guarantees. I considered making it throw an error if type_params it not passed and there is no owner. However, I think this is too unfriendly for users. The case where this param is really needed is fairly esoteric and I don't think this case is worth the pain of forcing users to write "type_params=()".
seehwan
pushed a commit
to seehwan/cpython
that referenced
this issue
Apr 16, 2025
…ython#128930) It doesn't make sense to use a deprecation for evaluate_forward_ref, as it is a new function in Python 3.14 and doesn't have compatibility guarantees. I considered making it throw an error if type_params it not passed and there is no owner. However, I think this is too unfriendly for users. The case where this param is really needed is fairly esoteric and I don't think this case is worth the pain of forcing users to write "type_params=()".
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Right now it is:

I have a PR ready.
Linked PRs
typing.evaluate_forward_ref
not showing deprecation #128663The text was updated successfully, but these errors were encountered: