You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Suggest a future feature name in from __future__ import #145868
The error is raised at the interpreter's level. However we need to use _Py_CalculateSuggestions in this case. Currently, the only future that is not a nop is annotations so I wonder whether it will really be useful (and we also want to move away from it and only new versions will see the improved message).
Activity
picnixz commentedon Mar 12, 2026
The error is raised at the interpreter's level. However we need to use
_Py_CalculateSuggestionsin this case. Currently, the only future that is not a nop isannotationsso I wonder whether it will really be useful (and we also want to move away from it and only new versions will see the improved message).pythongh-145868: Suggest names on typos in `__future__` imports
pythongh-145868: Suggest names on typos in `__future__` imports
pythongh-145868: Suggest only valid future features
gh-145868: Suggest names on typos in `__future__` imports (#154347)