[Pyrex] Reraise not inside except clause
Robert Kern
robert.kern at gmail.com
Tue Oct 16 20:12:51 CEST 2007
Greg Ewing wrote:
> Robert Kern wrote:
>> Phillip
>> is declaring PyObject_GetAttr to return "void*" rather than "object". I'm not
>> entirely sure why; he does so for other functions, but he comments that this is
>> because they return borrowed references
>
> Well, PyObject_GetAttr returns a new reference according to
> the Python/C API docs. This sounds like a mistake.
Sorry, I wasn't clear: the comment is associated with the other functions that
do the same, but not PyObject_GetAttr.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Pyrex
mailing list