@@ -6,13 +6,17 @@ Python C API compatibility
66 :alt: Build status of pyperf on Travis CI
77 :target: https://travis-ci.com/github/pythoncapi/pythoncapi_compat
88
9- Header file providing new functions of the Python C API for old Python versions .
9+ Header file providing new functions of the Python C API to Python 3.6 .
1010
1111Python 3.6 to Python 3.10 are supported. It requires a subset of C99 like
1212``static inline `` functions:
1313see `PEP 7 <https://www.python.org/dev/peps/pep-0007/ >`_.
1414
15- Homepage: https://github.com/pythoncapi/pythoncapi_compat
15+ Homepage:
16+ https://github.com/pythoncapi/pythoncapi_compat
17+
18+ Latest header file:
19+ https://raw.githubusercontent.com/pythoncapi/pythoncapi_compat/master/pythoncapi_compat.h
1620
1721This project is distributed under the MIT license.
1822
@@ -38,8 +42,8 @@ Python 3.10
3842
3943 PyObject* Py_NewRef(PyObject *obj);
4044 PyObject* Py_XNewRef(PyObject *obj);
41- PyObject* Py_Borrow (PyObject *obj);
42- PyObject* Py_XBorrow (PyObject *obj);
45+ PyObject* _Py_Borrow (PyObject *obj);
46+ PyObject* _Py_XBorrow (PyObject *obj);
4347
4448Python 3.9
4549----------
@@ -88,3 +92,9 @@ To test one specific Python executable::
8892
8993 python3.6 tests/run_tests.py
9094 # add -v option for verbose mode
95+
96+
97+ Changelog
98+ =========
99+
100+ * 2020-06-04: Creation of the project.
0 commit comments