[issue19893] Python cApi memory problem. Py_Initialize memory leak

Roman report at bugs.python.org
Thu Dec 5 09:50:23 CET 2013


New submission from Roman:

I wrote small test program using Python cApi, and found some memory issues while working on it. I checked it with valgrind. (test code and valgrind output appended)
Maybe I'm doing something wrong, but most of the problem occurs durring Py_Initialize. I've checked python3.2.5 and 3.3.3 version. The latest version is much less confusing, but I can still see there something nasty. 
I would be grateful if you could look at this, and tell me If I'm doing something wrong, or if I can do something to prevent this memory issues.

----------
files: pytest.tgz
messages: 205283
nosy: rstarostecki
priority: normal
severity: normal
status: open
title: Python cApi memory problem. Py_Initialize memory leak
type: resource usage
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file32983/pytest.tgz

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19893>
_______________________________________


More information about the Python-bugs-list mailing list