[Python-checkins] cpython: Add a few big-ticket items to What's new in 3.6.

guido.van.rossum python-checkins at python.org
Fri Sep 9 13:00:03 EDT 2016


https://hg.python.org/cpython/rev/06d2274689c8
changeset: 103416:06d2274689c8
user: Guido van Rossum <guido at dropbox.com>
date: Fri Sep 09 09:59:34 2016 -0700
summary:
 Add a few big-ticket items to What's new in 3.6.
files:
 Doc/whatsnew/3.6.rst | 12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -64,8 +64,20 @@
 
 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:
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /