]> granicus.if.org Git - python/commitdiff
Add a few big-ticket items to What's new in 3.6.
authorGuido van Rossum <guido@dropbox.com>
Fri, 9 Sep 2016 16:59:34 +0000 (09:59 -0700)
committerGuido van Rossum <guido@dropbox.com>
Fri, 9 Sep 2016 16:59:34 +0000 (09:59 -0700)
Doc/whatsnew/3.6.rst

index 8168b590ab1dbe200e0ba9f5bc1673021e97e552..34ebadd939e6ba9c0ce8e03b85ae588405b55a43 100644 (file)
@@ -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 <whatsnew-fstrings>`
 
+* 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: