[Pyrex] NoneType object is not callable in dealloc

AKX theakx at gmail.com
Fri Sep 30 15:52:50 CEST 2005


> Making debug an attribute keeps it alive until the AlFont instance deallocated.

That is a solution (works, thank you), but not a good solution since
other classes built similarly work without problems...
Is there a way to make an object (debug) persistent so I would have to
clean it myself, or should I maybe just clean up any debug() calls
from destructors since they may cause unstable behavior and I don't
want to have to have debug as a property of each object?

AKX



More information about the Pyrex mailing list