Feature or enhancement
Proposal:
When from __future__ import with a wrong name, maybe it is a typo. We can suggest a possible name. Just like:
>>> from __future__ import annotation
File "<python-input-0>", line 1
from __future__ import annotation
^^^^^^^^^^
SyntaxError: future feature 'annotation' is not defined. Did you mean: 'annotations'?
One possible way is just read the line and analyse.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
Feature or enhancement
Proposal:
When
from __future__ importwith a wrong name, maybe it is a typo. We can suggest a possible name. Just like:One possible way is just read the line and analyse.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
__future__imports #154347