From 52a7e375554914079d38b60e3417b5bea5ed5010 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 9 Sep 2016 09:59:34 -0700 Subject: Add a few big-ticket items to What's new in 3.6. --- Doc/whatsnew/3.6.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 8168b59..34ebadd 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: -- cgit v0.12