Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP 674: only 9 projects are affected #2280

Merged
merged 1 commit into from
Jan 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions pep-0674.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Incompatible C API change disallowing using macros as an l-value to:
* Ease the C API implementation on other Python implementation;
* Help migrating existing C extensions to the HPy API.

Only 13 out of the top 5000 PyPI projects (0.3%) are affected by 2 macro
Only 9 out of the top 5000 PyPI projects (0.2%) are affected by 2 macro
changes. An additional 22 projects just have to regenerate their Cython
code.

Expand Down Expand Up @@ -234,23 +234,19 @@ The proposed C API changes are backward incompatible on purpose.

On January 26, 2022, a code search on the top 5000 PyPI projects (4762
projects in practice; others don't have a source archive) found that
only 13 projects are affected (0.3%):
only 9 projects are affected (0.2%):

* Cython (0.29.26)
* PyGObject (3.42.0)
* datatable (1.0.0)
* guppy3 (3.1.2)
* numpy (1.22.1)
* pickle5 (0.0.12)
* psycopg2 (2.9.3)
* pycurl (7.44.1)
* pysha3 (1.0.2)
* python-snappy (0.6.0)
* recordclass (0.17.1)
* scipy (1.7.3)
* zodbpickle (2.2.0)

Of these 13 projects, only 2 macros are used as an l-value:
Of these 9 projects, only 2 macros are used as an l-value:
``Py_TYPE()`` and ``Py_SIZE()``.

An additional 22 projects just have to regenerate their Cython code to
Expand Down