[Zope-Checkins] CVS: StandaloneZODB/ZODB - cPickleCache.c:

Barry Warsaw barry@wooz.org
Tue, 18 Dec 2001 16:56:24 -0500

Update of /cvs-repository/StandaloneZODB/ZODB
In directory cvs.zope.org:/tmp/cvs-serv32564/ZODB

Modified Files:
      Tag: Standby-branch
Log Message:
_invalidate(): A Python 2.2-ism crept in; Python 2.1.x has no
PyObject_Call() function so substitute PyObject_CallObject() for it
(should be functionally identical since we weren't passing in the
keywords dict, but it may do additional tests we don't care about).

=== StandaloneZODB/ZODB/cPickleCache.c => ===
 		PyTuple_SET_ITEM(t, 0, v);
-		v = PyObject_Call(self->setklassstate, t, NULL);
+		v = PyObject_CallObject(self->setklassstate, t);
 		PyTuple_SET_ITEM(t, 0, NULL);