From: Guido van Rossum Date: Fri, 9 Sep 2016 16:59:34 +0000 (-0700) Subject: Add a few big-ticket items to What's new in 3.6. X-Git-Tag: v3.6.0b1~204 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=52a7e375554914079d38b60e3417b5bea5ed5010;p=thirdparty%2FPython%2Fcpython.git Add a few big-ticket items to What's new in 3.6. --- diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 8168b590ab1d..34ebadd939e6 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -64,8 +64,20 @@ Summary -- Release highlights New syntax features: +* A ``global`` or ``nonlocal`` statement must now textually appear + before the first use of the affected name in the same scope. + Previously this was a SyntaxWarning. + * PEP 498: :ref:`Formatted string literals ` +* PEP 515: Underscores in Numeric Literals + +* PEP 526: Syntax for Variable Annotations + +* PEP 525: Asynchronous Generators + +* PEP 530: Asynchronous Comprehensions + Standard library improvements: Security improvements: