Re: C extensions and memory leakage

2006-11-17 Thread Sheldon
Fredrik Lundh wrote: > Sheldon wrote: > > > 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

Re: C extensions and memory leakage

2006-11-17 Thread Sheldon
Fredrik Lundh wrote: > Sheldon wrote: > > > 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

Re: C extensions and memory leakage

2006-11-17 Thread Fredrik Lundh
Sheldon wrote: > 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

Re: C extensions and memory leakage

2006-11-17 Thread Sheldon
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 > > usi

Re: C extensions and memory leakage

2006-11-17 Thread Marc 'BlackJack' Rintsch
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.

C extensions and memory leakage

2006-11-16 Thread Sheldon
Hi, I have a program that I have extended with a C function. When the program is run once or twice everything is ok but in a loop of 5 to 12 iterations, the memory runs out and the program crashes. Now I have gone through this program thoroughly to check if all arrays have been deallocated prior t