[pypy-svn] r79731 - pypy/branch/psycopg2compatibility/pypy/module/cpyext/src
dan at codespeak.net
dan at codespeak.net
Thu Dec 2 03:27:38 CET 2010
Author: dan
Date: Thu Dec 2 03:27:35 2010
New Revision: 79731
Modified:
pypy/branch/psycopg2compatibility/pypy/module/cpyext/src/modsupport.c
Log:
Such an innocuous change made all the difference.
Modified: pypy/branch/psycopg2compatibility/pypy/module/cpyext/src/modsupport.c
==============================================================================
--- pypy/branch/psycopg2compatibility/pypy/module/cpyext/src/modsupport.c (original)
+++ pypy/branch/psycopg2compatibility/pypy/module/cpyext/src/modsupport.c Thu Dec 2 03:27:35 2010
@@ -615,8 +615,8 @@
if (result != NULL && n > 0) {
for (i = 0; i < n; ++i) {
tmp = (PyObject *)va_arg(va, PyObject *);
- PyTuple_SET_ITEM(result, i, tmp);
Py_INCREF(tmp);
+ PyTuple_SET_ITEM(result, i, tmp);
}
}
return result;
More information about the Pypy-commit
mailing list