@@ -324,27 +324,12 @@ Links
324324 <https://hpy.readthedocs.io/> `_
325325* `Cython: C-extensions for Python
326326 <https://cython.org/> `_
327-
328- * `ModuleSetupCode.c
329- <https://github.com/cython/cython/blob/0.29.x/Cython/Utility/ModuleSetupCode.c> `_
330- provides functions like ``__Pyx_SET_REFCNT() ``
331- * Cython doesn't use pythoncapi_compat.h:
332- `see Cython issue #3934
333- <https://github.com/cython/cython/issues/3934> `_
334-
335327* `Old 2to3c project <https://github.com/davidmalcolm/2to3c >`_ by David Malcolm
336328 which uses `Coccinelle <https://coccinelle.gitlabpages.inria.fr/website/ >`_
337329 to ease migration of C extensions from Python 2 to Python 3. See
338330 also `2to3c: an implementation of Python's 2to3 for C code
339331 <https://dmalcolm.livejournal.com/3935.html> `_ article (2009).
340332
341- * numpy has its own compatibility layer, ``npy_pycompat.h `` and
342- ``npy_3kcompat.h `` header files. It supports more C compilers than
343- pythoncapi_compat.h: it supports ``__STRICT_ANSI__ `` (ISO C90) for example.
344- Rejected `PR 18713: MAINT: Use pythoncapi_compat.h in npy_3kcompat.h
345- <https://github.com/numpy/numpy/pull/18713> `_ (when it was rejected, numpy
346- still had code for compatibility with Python 2.7).
347-
348333
349334Changelog
350335=========
@@ -394,3 +379,35 @@ Examples of projects using pythoncapi_compat.h
394379 Mercurial extension.
395380* `python-zstd <https://github.com/sergey-dryabzhinsky/python-zstd/ >`_
396381 (`commit <https://github.com/sergey-dryabzhinsky/python-zstd/commit/8aa6d7a4b250e1f0a4e27b4107c39dc516c87f96 >`_)
382+
383+
384+ Projects not using pythoncapi_compat.h
385+ ======================================
386+
387+ Projects not using ``pythoncapi_compat.h ``:
388+
389+ * numpy has its own compatibility layer, ``npy_pycompat.h `` and
390+ ``npy_3kcompat.h `` header files. It supports more C compilers than
391+ pythoncapi_compat.h: it supports ``__STRICT_ANSI__ `` (ISO C90) for example.
392+ Rejected `PR 18713: MAINT: Use pythoncapi_compat.h in npy_3kcompat.h
393+ <https://github.com/numpy/numpy/pull/18713> `_ (when it was rejected, numpy
394+ still had code for compatibility with Python 2.7).
395+ * Cython doesn't use pythoncapi_compat.h:
396+ `see Cython issue #3934
397+ <https://github.com/cython/cython/issues/3934> `_.
398+ For example, `ModuleSetupCode.c
399+ <https://github.com/cython/cython/blob/0.29.x/Cython/Utility/ModuleSetupCode.c> `_
400+ provides functions like ``__Pyx_SET_REFCNT() ``.
401+
402+ Project with a strict contributor agreement:
403+
404+ * `zodbpickle
405+ <https://github.com/zopefoundation/zodbpickle/pull/64> `_
406+
407+ Discussion about the MIT license of the ``pythoncapi_compat.h `` file in the
408+ immutables project:
409+
410+ * issue: `pythoncapi_compat.h is MIT licensed
411+ <https://github.com/MagicStack/immutables/pull/64> `_
412+ * commit: `Clarify the license of the included pythoncapi_compat.h header
413+ <https://github.com/MagicStack/immutables/commit/67c5edfb8284e39ab6a0be9a4644ede306c6e9bd> `_
0 commit comments