◐ Shell
clean mode source ↗

Issue 45499: from __future__ import annotations is not mandatory in 3.11.0a1+

>>> import sys
>>> import __future__
>>> __future__.annotations
_Feature((3, 7, 0, 'beta', 1), (3, 11, 0, 'alpha', 0), 16777216)
>>> sys.version_info
sys.version_info(major=3, minor=11, micro=0, releaselevel='alpha', serial=1)
>>> sys.version_info > __future__.annotations.mandatory
True
>>> sys.version_info >= __future__.annotations.mandatory
True

Why is it still not automatically inside python 3.11.0a1?