[Pyrex] [Cython-dev] fix for tp_clear()

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Jan 29 01:40:54 CET 2008


Stefan Behnel wrote:

> while I was at it, here is a patch that diverts the tp_clear/tp_traverse type
> function pointers to the parent type if the type itself does not have any
> object attributes.

That shouldn't be necessary, because PyType_Ready is supposed
to copy down the parent's functions if the type doesn't have
any.

--
Greg



More information about the Pyrex mailing list