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
get_type_hints + Final + future annotations = TypeError #89329
Comments
This is my first issue on bugs.python.org, let me know if I can improve it in any way. --- Originally reported and investigated here: mkdocstrings/mkdocstrings#314
Run
Now comment the
And you'll get this traceback:
I was able to replicate in 3.8, 3.9 and 3.10. The annotations future is not available in 3.7 or lower. Didn't try on 3.11. |
Just tried on 3.11-dev, it's affected as well. This issue seems related to https://bugs.python.org/issue41249. |
Oh, I see now that there is a python/typing/ repository on GitHub. Let me know if I should open there instead. |
Thanks for the report Timothee, and Nikita for the fix! ✨ 🍰 ✨ |
get_type_hints
failure onFinal
#28279get_type_hints
failure onFinal
(GH-28279) #28560get_type_hints
failure onFinal
(GH-28279) #28561Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: