PEP 646: Add acceptance note, bump Python version (#2261)

This commit is contained in:
Petr Viktorin 2022-01-24 18:33:29 +01:00 committed by GitHub
parent 3e85270574
commit 3eeb003bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -9,8 +9,9 @@ Status: Accepted
Type: Standards Track
Content-Type: text/x-rst
Created: 16-Sep-2020
Python-Version: 3.10
Python-Version: 3.11
Post-History: 07-Oct-2020, 23-Dec-2020, 29-Dec-2020
Resolution: https://mail.python.org/archives/list/python-dev@python.org/message/OR5RKV7GAVSGLVH3JAGQ6OXFAXIP5XDX/
Abstract
========
@ -24,6 +25,14 @@ in numerical computing libraries such as NumPy and TensorFlow to be
parameterised with the array *shape*, enabling static type checkers
to catch shape-related bugs in code that uses these libraries.
Acceptance
==========
This PEP was accepted for Python 3.11, with the caveat that details around
multiple unpackings in a type expression aren't specified precisely.
This gives individual type checkers some leeway, but can be tightened
in future PEPs.
Motivation
==========