[Python-checkins] bpo-42725: mention the changes on what's new (GH-25974)
isidentical
webhook-mailer at python.org
Sat May 8 07:49:54 EDT 2021
https://github.com/python/cpython/commit/17229ab4a2fd5db20d52ef0f3aca2a8b51869c43
commit: 17229ab4a2fd5db20d52ef0f3aca2a8b51869c43
branch: main
author: Batuhan Taskaya <isidentical at gmail.com>
committer: isidentical <isidentical at gmail.com>
date: 2021-05-08T14:49:40+03:00
summary:
bpo-42725: mention the changes on what's new (GH-25974)
files:
M Doc/whatsnew/3.10.rst
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index b6166f7acdb08..cfc560e1f4435 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -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
===========
More information about the Python-checkins
mailing list