C Extension

Eric Merritt cyberlync at yahoo.com
Wed Apr 3 08:06:43 EST 2002


> Then something is clearly wrong - either tp_repr or
> tp_str will be
> called, unless you've implemented tp_print (which
> you don't need to).
> If those *aren't* called, this is an indication that
> it either crashes
> before getting that far, or that you managed to get
> out of synch in
> your type object - double-check that every function
> is in the right
> slot (for this, it really helps if you don't need to
> cast the function
> pointers).
After sleeping on it I am thinking that python
actually deallocs the object before I get to the point
printing it. I need to reread the reference counting
docs and make sure. I will check the function
references as well.

Thanks,
Eric

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/




More information about the Python-list mailing list