mirror of
https://github.com/python/cpython.git
synced 2025-11-14 07:49:28 +00:00
Add release highlights for the 3.10 what's new document (GH-27150)
This commit is contained in:
parent
81b8c0a385
commit
2b47af6398
1 changed files with 29 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
:Release: |release|
|
:Release: |release|
|
||||||
:Date: |today|
|
:Date: |today|
|
||||||
|
:Editor: Pablo Galindo Salgado
|
||||||
|
|
||||||
.. Rules for maintenance:
|
.. Rules for maintenance:
|
||||||
|
|
||||||
|
|
@ -65,7 +66,34 @@ Summary -- Release highlights
|
||||||
|
|
||||||
.. PEP-sized items next.
|
.. 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
|
New Features
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue