Skip to content

Commit 715b070

Browse files
gh-92436: __future__ docs: add note on expectations for "from __future__ import annotations" (GH-92568)
(cherry picked from commit 6582c96) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent 3d1ad42 commit 715b070

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Doc/library/__future__.rst

+9-1
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/python-dev@python.org/message/CLVXXPQ2T2LQ5MP2Y53VVQFCXYWQJHKZ/>`__;
104+
`announcement for Python 3.11 <https://mail.python.org/archives/list/python-dev@python.org/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)