]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Py_DECREF: only pass filename if Py_REF_DEBUG is defined (GH-17870)
authorVictor Stinner <vstinner@python.org>
Wed, 8 Jan 2020 20:03:45 +0000 (21:03 +0100)
committerGitHub <noreply@github.com>
Wed, 8 Jan 2020 20:03:45 +0000 (21:03 +0100)
commitf3a0a6bbccfcd9d18afe5575617aefaee9fa37a5
tree79a1f4581da2317072a3db0329397626ecd2f472
parent5907e61a8d4da6d0f11bf1062d6d17484560a15e
Py_DECREF: only pass filename if Py_REF_DEBUG is defined (GH-17870)

Filename and line numbers are not needed when Py_REF_DEBUG are not
defined.

The static inline _Py_DECREF() function was introduced by
commit 2aaf0c12041bcaadd7f2cc5a54450eefd7a6ff12.
Include/object.h