Skip to content

Commit e07b78c

Browse files
committed
Add a note about numpy
1 parent 1c5a338 commit e07b78c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,13 @@ Links
312312
also `2to3c: an implementation of Python's 2to3 for C code
313313
<https://dmalcolm.livejournal.com/3935.html>`_ article (2009).
314314

315+
* numpy has its own compatibility layer, ``npy_pycompat.h`` and
316+
``npy_3kcompat.h`` header files. It supports more C compilers than
317+
pythoncapi_compat.h: it supports ``__STRICT_ANSI__`` (ISO C90) for example.
318+
Reject `PR 18713: MAINT: Use pythoncapi_compat.h in npy_3kcompat.h
319+
<https://github.com/numpy/numpy/pull/18713>`_ (when it was rejected, numpy
320+
still had code for compatibility with Python 2.7).
321+
315322

316323
Changelog
317324
=========

0 commit comments

Comments
 (0)