C extensions and memory leakage

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Fri Nov 17 03:38:18 EST 2006


In <1163749907.941949.201880 at h48g2000cwc.googlegroups.com>, 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



More information about the Python-list mailing list