[Pyrex] Reraise not inside except clause

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Oct 16 12:13:38 CEST 2007


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.

--
Greg



More information about the Pyrex mailing list