[3.8] bpo-43439: Wrapt the tuple in the audit events for the gc module (GH-24836) by pablogsal · Pull Request #24854 · python/cpython
Expand Up
@@ -1480,7 +1480,7 @@ static PyObject *
gc_get_referrers(PyObject *self, PyObject *args)
{
int i;
if (PySys_Audit("gc.get_referrers", "O", args) < 0) {
if (PySys_Audit("gc.get_referrers", "(O)", args) < 0) {
return NULL;
}
Expand Down Expand Up @@ -1512,7 +1512,7 @@ static PyObject * gc_get_referents(PyObject *self, PyObject *args) { Py_ssize_t i; if (PySys_Audit("gc.get_referents", "O", args) < 0) { if (PySys_Audit("gc.get_referents", "(O)", args) < 0) { return NULL; } PyObject *result = PyList_New(0); Expand Down
Expand Down Expand Up @@ -1512,7 +1512,7 @@ static PyObject * gc_get_referents(PyObject *self, PyObject *args) { Py_ssize_t i; if (PySys_Audit("gc.get_referents", "O", args) < 0) { if (PySys_Audit("gc.get_referents", "(O)", args) < 0) { return NULL; } PyObject *result = PyList_New(0); Expand Down