Commit e471da4b authored by Tres Seaver's avatar Tres Seaver

Forward port fix for Collector #1799.

parent bda00d22
......@@ -26,6 +26,9 @@ Zope Changes
Bugs Fixed
- Collector #1799: Avoid lying about parent's refcount when
calling back into Python code.
- Collector #889: made 'and' operator for KeywordIndexes actually
restrict results as expected (thanks to 'aroda' for the patch!).
......
......@@ -155,9 +155,9 @@ __of__(PyObject *inst, PyObject *parent)
UNLESS(r=PyObject_GetAttr(inst, py__of__)) return NULL;
UNLESS(t=PyTuple_New(1)) goto err;
Py_INCREF(parent);
PyTuple_SET_ITEM(t,0,parent);
ASSIGN(r,PyObject_CallObject(r,t));
PyTuple_SET_ITEM(t,0,NULL);
Py_DECREF(t);
if (r != NULL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment