bpo-42725: mention the changes on what's new (GH-25974)

This commit is contained in:
Batuhan Taskaya 2021-05-08 14:49:40 +03:00 committed by GitHub
parent b063b02eab
commit 17229ab4a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -812,6 +812,16 @@ Other Language Changes
:ref:`annotations-howto`.
(Contributed by Larry Hastings in :issue:`43901`.)
* Annotations consist of ``yield``, ``yield from``, ``await`` or named expressions
are now forbidden under ``from __future__ import annotations`` due to their side
effects.
(Contributed by Batuhan Taskaya in :issue:`42725`.)
* Usage of unbound variables, ``super()`` and other expressions that might
alter the processing of symbol table as annotations are now rendered
effectless under ``from __future__ import annotations``.
(Contributed by Batuhan Taskaya in :issue:`42725`.)
New Modules
===========