[pypy-commit] pypy cpyext-subclass-setattr: remove excess Py_XDECREF, test now passes untranslated unfortunately

mattip pypy.commits at gmail.com
Sun Apr 1 08:36:32 EDT 2018


Author: Matti Picus <matti.picus at gmail.com>
Branch: cpyext-subclass-setattr
Changeset: r94212:866aa67a514f
Date: 2018-04-01 15:35 +0300
http://bitbucket.org/pypy/pypy/changeset/866aa67a514f/

Log:	remove excess Py_XDECREF, test now passes untranslated unfortunately

diff --git a/pypy/module/cpyext/test/array.c b/pypy/module/cpyext/test/array.c
--- a/pypy/module/cpyext/test/array.c
+++ b/pypy/module/cpyext/test/array.c
@@ -2555,7 +2555,6 @@
         }
         Py_XDECREF(attrib);
         res = PyObject_Call(collect, tup, NULL);
-        Py_XDECREF(attrib);
         if (res == NULL) {
             Py_DECREF(tup);
             Py_DECREF(sub);


More information about the pypy-commit mailing list