]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35059: Enhance _PyObject_GC_TRACK() macros (GH-20931)
authorVictor Stinner <vstinner@python.org>
Wed, 17 Jun 2020 12:23:04 +0000 (14:23 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Jun 2020 12:23:04 +0000 (14:23 +0200)
commit07923f32b16ba39165a58a5f47e807ca04ae17aa
tree606a3c46b6b07d142cdb8bc115a8b2d389166761
parent2c4928d37edc5e4aeec3c0b79fa3460b1ec9b60d
bpo-35059: Enhance _PyObject_GC_TRACK() macros (GH-20931)

* Rename _PyObject_GC_TRACK_impl() to _PyObject_GC_TRACK()
* Rename _PyObject_GC_UNTRACK_impl() to _PyObject_GC_UNTRACK()
* Omit filename and lineno parameters if NDEBUG is defined.
Include/internal/pycore_object.h