2011/9/28 Alex Pyattaev <alex.pyatt...@gmail.com> > Py_XINCREF(resultobj); >
What is this call doing? It should not be necessary, since you called PyTuple_New. This may explain why it does not crash with CPython: the tuple object always leaks but happens to keep the necessary reference to the global object. (PyPy does not use refcounting in tuples, so behaviour differs) If you fix the tuple leak, you will certainly see that CPython needs the additional Py_XINCREF($1->node_tx) as well... -- Amaury Forgeot d'Arc
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev