| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -49,18 +49,15 @@ Examples of projects using pythoncapi_compat.h | |||
| 49 | 49 | (`commit <https://gitlab.gnome.org/GNOME/pygobject/-/commit/074c0348417b87d3003dbb409e6fc26b61121de3>`__, | |
| 50 | 50 | `pythoncapi-compat Meson subproject | |
| 51 | 51 | <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 | + | ||
| 52 | 55 | ||
| 53 | 56 | Projects not using pythoncapi_compat.h | |
| 54 | 57 | ====================================== | |
| 55 | 58 | ||
| 56 | 59 | Projects not using ``pythoncapi_compat.h``: | |
| 57 | 60 | ||
| 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). | ||
| 64 | 61 | * Cython doesn't use pythoncapi_compat.h: | |
| 65 | 62 | `see Cython issue #3934 | |
| 66 | 63 | <https://github.com/cython/cython/issues/3934>`_. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments