Skip to content

Commit 17229ab

Browse files
authored
bpo-42725: mention the changes on what's new (GH-25974)
1 parent b063b02 commit 17229ab

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,16 @@ Other Language Changes
812812
:ref:`annotations-howto`.
813813
(Contributed by Larry Hastings in :issue:`43901`.)
814814
815+
* Annotations consist of ``yield``, ``yield from``, ``await`` or named expressions
816+
are now forbidden under ``from __future__ import annotations`` due to their side
817+
effects.
818+
(Contributed by Batuhan Taskaya in :issue:`42725`.)
819+
820+
* Usage of unbound variables, ``super()`` and other expressions that might
821+
alter the processing of symbol table as annotations are now rendered
822+
effectless under ``from __future__ import annotations``.
823+
(Contributed by Batuhan Taskaya in :issue:`42725`.)
824+
815825
New Modules
816826
===========
817827

0 commit comments

Comments
 (0)