[Zope] Can't locate PyObject_SetItem

Tim Peters tim.peters at gmail.com
Tue Sep 21 15:33:06 EDT 2004


[Jonathan Hobbs]
> I am trying to track down the cause of a performance problem in ZCTextIndex
> (OkapiIndex is the leading contender - thanks to Dieter to for the tip!) and
> have gotten as far as the 'score' routine in okascore.c - which references a
> routine called 'PyObject_SetItem', for which I cannot locate the source
> routine.  Does anyone know where the source for the 'PyObject_xxx' routines
> are stored (linux installation)?

PyXYZ_ABC() functions are part of Python's C API, are supplied by your
Python installation, and are documented in the "Python/C API" manual.

    http://docs.python.org/api/object.html#l2h-208


More information about the Zope mailing list