commit | 7ba0fd9f87ad75f8eda8e002c2fc71049b815f33 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Fri Jun 09 11:30:41 2023 +0200 |
committer | GitHub <noreply@github.com> | Fri Jun 09 09:30:41 2023 +0000 |
tree | 0f7c30e32dee7d2bba813c1b0b6535f0229f0ab8 | |
parent | 947ec7ab02e7673956eb7f235c330a49f11e157a [diff] |
gh-102304: Fix Py_INCREF() for limited C API 3.9 (#105550) When Python is built in debug mode (Py_REF_DEBUG macro), Py_INCREF() and Py_DECREF() of the limited C API 3.9 (and older) now call Py_IncRef() and Py_DecRef(), since _Py_IncRef() and _Py_DecRef() were added to Python 3.10.