File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,18 +49,15 @@ Examples of projects using pythoncapi_compat.h
4949 (`commit <https://gitlab.gnome.org/GNOME/pygobject/-/commit/074c0348417b87d3003dbb409e6fc26b61121de3 >`__,
5050 `pythoncapi-compat Meson subproject
5151 <https://gitlab.gnome.org/GNOME/pygobject/-/blob/main/subprojects/pythoncapi-compat.wrap?ref_type=heads> `__)
52+ * `Pillow <https://github.com/python-pillow/Pillow/ >`_
53+ (`src/thirdparty/pythoncapi_compat.h <https://github.com/python-pillow/Pillow/blob/main/src/thirdparty/pythoncapi_compat.h >`_)
54+
5255
5356Projects not using pythoncapi_compat.h
5457======================================
5558
5659Projects not using ``pythoncapi_compat.h ``:
5760
58- * numpy has its own compatibility layer, ``npy_pycompat.h `` and
59- ``npy_3kcompat.h `` header files. It supports more C compilers than
60- pythoncapi_compat.h: it supports ``__STRICT_ANSI__ `` (ISO C90) for example.
61- Rejected `PR 18713: MAINT: Use pythoncapi_compat.h in npy_3kcompat.h
62- <https://github.com/numpy/numpy/pull/18713> `_ (when it was rejected, numpy
63- still had code for compatibility with Python 2.7).
6461* Cython doesn't use pythoncapi_compat.h:
6562 `see Cython issue #3934
6663 <https://github.com/cython/cython/issues/3934> `_.
You can’t perform that action at this time.
0 commit comments