Marc 'BlackJack' Rintsch wrote: > In <[EMAIL PROTECTED]>, Sheldon wrote: > > > Now I am wondering if the problem is in Python and the wrapper? Does > > anybody have any idea or experience with this? I am running on > > Mandrake10 using python 2.3. I am not exactly sure which C wrapper I am > > using as I have copied it from another person. > > What do you mean by "C wrapper"? You know that Python uses reference > counters to manage memory and that you are responsible for these counters > if you are dealing with Python objects in your C extension? > > Ciao, > Marc 'BlackJack' Rintsch
I am very new at this C extensions in Python so my term wrapper was probably a misnomer. Perhaps glue is better or the interface that allows the exchange of data between Python and C. Yes, I am using python objects in my C extension. Tell me where I can find out more about this reference counters? Or perhaps you can tell something about it. /Sheldon -- http://mail.python.org/mailman/listinfo/python-list