[New-bugs-announce] [issue45499] from __future__ import annotations is not mandatory in 3.11.0a1+

theeshallnotknowethme report at bugs.python.org
Sun Oct 17 00:50:55 EDT 2021


New submission from theeshallnotknowethme <nohackingofkrowten at gmail.com>:

>>> 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?

----------
components: Installation
messages: 404125
nosy: February291948
priority: normal
severity: normal
status: open
title: from __future__ import annotations is not mandatory in 3.11.0a1+
type: behavior
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45499>
_______________________________________


More information about the New-bugs-announce mailing list