summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API/2021-08-31-15-21-36.bpo-45061.ZH0HVe.rst
blob: 58bd534601fb9d82eb2335e81ea135b402580e56 (plain)
1
2
3
Add a deallocator to the :class:`bool` type to detect refcount bugs in C
extensions which call ``Py_DECREF(Py_True);`` or ``Py_DECREF(Py_False);`` by
mistake. Patch by Victor Stinner.