Author: Manuel Jacob <[email protected]>
Branch: py3.3
Changeset: r79023:68c0a4532d83
Date: 2015-08-17 19:52 +0200
http://bitbucket.org/pypy/pypy/changeset/68c0a4532d83/

Log:    Re-add this Py_INCREF, which was removed in this branch for some
        reason.

diff --git a/lib_pypy/_testcapimodule.c b/lib_pypy/_testcapimodule.c
--- a/lib_pypy/_testcapimodule.c
+++ b/lib_pypy/_testcapimodule.c
@@ -1330,6 +1330,7 @@
         return NULL;
 
     obj = PyUnicode_FromString("test");
+    Py_INCREF(obj);
     PyTuple_SET_ITEM(tuple, 0, obj);
     Py_INCREF(Py_None);
     PyTuple_SET_ITEM(tuple, 1, Py_None);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to