File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,10 +14,11 @@ The Python C API compatibility project is made of two parts:
1414 Python API without losing support for old Python versions. It relies on
1515 ``pythoncapi_compat.h ``.
1616
17- ``pythoncapi_compat.h `` supports Python 3.5 to Python 3.10, and Python 2.7.
18- A C99 subset is required, like ``static inline `` functions: see `PEP 7
19- <https://www.python.org/dev/peps/pep-0007/> `_. ISO C90 is partially supported
20- for Python 2.7: avoid mixed declarations and code (GCC
17+ ``pythoncapi_compat.h `` supports Python 3.5 to Python 3.10, Python 2.7,
18+ PyPy 3.6 and PyPy 2.7. A C99 subset is required, like ``static inline ``
19+ functions: see `PEP 7 <https://www.python.org/dev/peps/pep-0007/ >`_.
20+ ISO C90 is partially supported for Python 2.7:
21+ avoid mixed declarations and code (GCC
2122``-Werror=declaration-after-statement `` flag) and support Visual Studio 2008.
2223
2324``upgrade_pythoncapi.py `` requires Python 3.6 or newer.
@@ -318,7 +319,6 @@ Changelog
318319 * Add ``Py_SETREF() ``, ``Py_XSETREF() `` and ``Py_UNUSED() ``.
319320 * Add PyPy support.
320321
321- * 2021-02-16: Add ``_Py_StealRef() `` and ``_Py_XStealRef() `` functions.
322322* 2021-01-27: Fix compatibility with Visual Studio 2008 for Python 2.7.
323323* 2020-11-30: Creation of the ``upgrade_pythoncapi.py `` script.
324324* 2020-06-04: Creation of the ``pythoncapi_compat.h `` header file.
You can’t perform that action at this time.
0 commit comments