[New-bugs-announce] [issue41314] __future__ doc and PEP 563 conflict

wyz23x2 report at bugs.python.org
Thu Jul 16 06:34:24 EDT 2020


New submission from wyz23x2 <wyz23x2 at 163.com>:

In https://docs.python.org/3/library/__future__.html:
annotations | 3.7.0b1 | *4.0* | PEP 563: Postponed evaluation of annotations

In PEP 563:
Starting with Python 3.7, a __future__ import is required to use the described functionality. No warnings are raised.

In Python *3.10* this will become the default behavior. Use of annotations incompatible with this PEP is no longer supported.

Python 4.0 or 3.10? Not clear.

----------
messages: 373753
nosy: wyz23x2
priority: normal
severity: normal
status: open
title: __future__ doc and PEP 563 conflict

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


More information about the New-bugs-announce mailing list