[Pyrex] Reraise not inside except clause

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Oct 17 00:01:49 CEST 2007


Robert Kern wrote:

> Sorry, I wasn't clear: the comment is associated with the other functions that
> do the same, but not PyObject_GetAttr.

It sounds like it may have been declared as void * by mistake
when doing the other functions.

I'd suggest examining the code which uses the PyObject_GetAttr
that's declared this way -- it's very likely to be wrong and
be a source of refcounting bugs.

--
Greg



More information about the Pyrex mailing list