]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] Add release highlights for the 3.10 what's new document (GH-27150) (GH-27152)
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Wed, 14 Jul 2021 22:22:12 +0000 (23:22 +0100)
committerGitHub <noreply@github.com>
Wed, 14 Jul 2021 22:22:12 +0000 (23:22 +0100)
(cherry picked from commit 2b47af63982e4ccc09ae14c7c66ba115804bbbf6)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Doc/whatsnew/3.10.rst

index f74c7c771d60b7d06e676e99b026cc0cbf2ff494..e395ce5ba1a0a72a4dbc28a6a65a8d0d49ed9987 100644 (file)
@@ -4,6 +4,7 @@
 
 :Release: |release|
 :Date: |today|
+:Editor: Pablo Galindo Salgado
 
 .. Rules for maintenance:
 
@@ -65,7 +66,34 @@ Summary -- Release highlights
 
 .. PEP-sized items next.
 
-* :pep:`644`, require OpenSSL 1.1.1 or newer
+New syntax features:
+
+* :pep:`634`, Structural Pattern Matching: Specification
+* :pep:`635`, Structural Pattern Matching: Motivation and Rationale
+* :pep:`636`, Structural Pattern Matching: Tutorial
+* :issue:`12782`, Parenthesized context managers are now officially allowed.
+
+New features in the standard library:
+
+* :pep:`618`, Add Optional Length-Checking To zip.
+
+Interpreter improvements:
+
+* :pep:`626`, Precise line numbers for debugging and other tools.
+
+New typing features:
+
+* :pep:`604`, Allow writing union types as X | Y
+* :pep:`613`, Explicit Type Aliases
+* :pep:`612`, Parameter Specification Variables
+
+Important deprecations, removals or restrictions:
+
+* :pep:`644`, Require OpenSSL 1.1.1 or newer
+* :pep:`632`, Deprecate distutils module.
+* :pep:`623`, Deprecate and prepare for the removal of the wstr member in PyUnicodeObject.
+* :pep:`624`, Remove Py_UNICODE encoder APIs
+* :pep:`597`, Add optional EncodingWarning
 
 
 New Features