Skip to content

Commit 6582c96

Browse files
pythongh-92436: __future__ docs: add note on expectations for "from __future__ import annotations" (python#92568)
1 parent bdf9969 commit 6582c96

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Doc/library/__future__.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,20 @@ language using this mechanism:
9090
| generator_stop | 3.5.0b1 | 3.7 | :pep:`479`: |
9191
| | | | *StopIteration handling inside generators* |
9292
+------------------+-------------+--------------+---------------------------------------------+
93-
| annotations | 3.7.0b1 | 3.11 | :pep:`563`: |
93+
| annotations | 3.7.0b1 | TBD [1]_ | :pep:`563`: |
9494
| | | | *Postponed evaluation of annotations* |
9595
+------------------+-------------+--------------+---------------------------------------------+
9696

9797
.. XXX Adding a new entry? Remember to update simple_stmts.rst, too.
9898
99+
.. [1]
100+
``from __future__ import annotations`` was previously scheduled to
101+
become mandatory in Python 3.10, but the Python Steering Council
102+
twice decided to delay the change
103+
(`announcement for Python 3.10 <https://mail.python.org/archives/list/[email protected]/message/CLVXXPQ2T2LQ5MP2Y53VVQFCXYWQJHKZ/>`__;
104+
`announcement for Python 3.11 <https://mail.python.org/archives/list/[email protected]/message/VIZEBX5EYMSYIJNDBF6DMUMZOCWHARSO/>`__).
105+
No final decision has been made yet. See also :pep:`563` and :pep:`649`.
106+
99107
100108
.. seealso::
101109

0 commit comments

Comments
 (0)