Update PEP 674 (#2899)

* Set Python version to 3.12
* Update stats on top 5000 PyPI projects
* Complete Post History
This commit is contained in:
Victor Stinner 2022-11-23 01:33:29 +01:00 committed by GitHub
parent 6a72444a8e
commit 35dd6a15b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 4 deletions

View File

@ -5,6 +5,7 @@ Status: Draft
Type: Standards Track Type: Standards Track
Content-Type: text/x-rst Content-Type: text/x-rst
Created: 30-Nov-2021 Created: 30-Nov-2021
Python-Version: 3.12
Abstract Abstract
@ -287,6 +288,8 @@ In November 2021, this backward incompatible change got a
`Steering Council exception `Steering Council exception
<https://github.com/python/steering-council/issues/79#issuecomment-981153173>`_. <https://github.com/python/steering-council/issues/79#issuecomment-981153173>`_.
In October 2022, Python 3.11 got released with Py_TYPE() and Py_SIZE()
incompatible changes.
Backwards Compatibility Backwards Compatibility
======================= =======================
@ -314,7 +317,7 @@ affected by this PEP:
* 18 projects (53%) are not fixed yet * 18 projects (53%) are not fixed yet
(pending fix or have to regenerate their Cython code) (pending fix or have to regenerate their Cython code)
On September 9, 2022, the PEP affects 18 projects (0.4%) of the top 5000 On September 1, 2022, the PEP affects 18 projects (0.4%) of the top 5000
PyPI projects: PyPI projects:
* 15 projects (0.3%) have to regenerate their Cython code * 15 projects (0.3%) have to regenerate their Cython code
@ -329,7 +332,7 @@ Projects with a pending fix (3):
`fixed <https://github.com/h2oai/datatable/commit/02f13114828ed4567e4410f5bac579895e20355a>`__ `fixed <https://github.com/h2oai/datatable/commit/02f13114828ed4567e4410f5bac579895e20355a>`__
* guppy3 (3.1.2): * guppy3 (3.1.2):
`fixed <https://github.com/zhuyifei1999/guppy3/commit/4cb9fcb5d75327544a6875b6caabfdffb70a7e29>`__ `fixed <https://github.com/zhuyifei1999/guppy3/commit/4cb9fcb5d75327544a6875b6caabfdffb70a7e29>`__
* scipy (1.9.1): need to update boost python * scipy (1.9.3): need to update boost python
Moreover, 15 projects have to regenerate their Cython code. Moreover, 15 projects have to regenerate their Cython code.
@ -496,9 +499,13 @@ For example, ``PyList_SET_ITEM(list, 0, item) < 0`` now fails with a
compiler error as expected. compiler error as expected.
Discussion Post History
========== ============
* `PEP 674 "Disallow using macros as l-values" and Python 3.11
<https://discuss.python.org/t/pep-674-disallow-using-macros-as-l-values-and-python-3-11/18297>`__ (August 18, 2022)
* `SC reply to PEP 674 -- Disallow using macros as l-values
<https://mail.python.org/archives/list/python-dev@python.org/thread/CV6KWDRHV5WP6TIDK3Z46PW7HNSHYOWG/>`__ (February 22, 2022)
* `PEP 674: Disallow using macros as l-value (version 2) * `PEP 674: Disallow using macros as l-value (version 2)
<https://mail.python.org/archives/list/python-dev@python.org/thread/J7SXC2YQGP37UYIEULISLUTKW5FHN3Z7/>`_ <https://mail.python.org/archives/list/python-dev@python.org/thread/J7SXC2YQGP37UYIEULISLUTKW5FHN3Z7/>`_
(Jan 18, 2022) (Jan 18, 2022)