[Zope3-checkins] CVS: Zope3/src/zope/proxy/context - decorator.c:1.8 wrapper.c:1.16
Marius Gedminas
mgedmin@codeworks.lt
Mon, 12 May 2003 12:18:10 -0400
Update of /cvs-repository/Zope3/src/zope/proxy/context
In directory cvs.zope.org:/tmp/cvs-serv32596/src/zope/proxy/context
Modified Files:
decorator.c wrapper.c
Log Message:
Fixed tp_iternext wrapping.
=== Zope3/src/zope/proxy/context/decorator.c 1.7 => 1.8 ===
--- Zope3/src/zope/proxy/context/decorator.c:1.7 Mon May 12 11:44:40 2003
+++ Zope3/src/zope/proxy/context/decorator.c Mon May 12 12:17:39 2003
@@ -663,7 +663,7 @@
Py_DECREF(descriptor);
return retval;
}
- return PyIter_Next(Proxy_GET_OBJECT(self));
+ return PyIter_Next(wrapped);
}
/* __contains__
=== Zope3/src/zope/proxy/context/wrapper.c 1.15 => 1.16 ===
--- Zope3/src/zope/proxy/context/wrapper.c:1.15 Mon May 12 11:44:40 2003
+++ Zope3/src/zope/proxy/context/wrapper.c Mon May 12 12:17:39 2003
@@ -913,7 +913,7 @@
Py_DECREF(descriptor);
return retval;
}
- return PyIter_Next(Proxy_GET_OBJECT(self));
+ return PyIter_Next(wrapped);
}
/* __contains__