[issue21387] Memory leaks when embedded interpreter is reinitialized

2019-10-22 Thread STINNER Victor
STINNER Victor added the comment: Duplicate of bpo-1635741. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Py_Finalize() doesn't clear all Python objects at exit ___ Python tracker

[issue21387] Memory leaks when embedded interpreter is reinitialized

2015-02-14 Thread Nick Coghlan
Nick Coghlan added the comment: For the record, the open issues about applying 3121 and 384 to the standard libary: http://bugs.python.org/issue?%40columns=id%2Cactivity%2Ctitle%2Ccreator%2Cassignee%2Cstatus%2Ctype&%40sort=-activity&%40filter=status&%40action=searchid&ignore=file%3Acontent&%40s

[issue21387] Memory leaks when embedded interpreter is reinitialized

2014-10-14 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: -skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue21387] Memory leaks when embedded interpreter is reinitialized

2014-05-14 Thread Stefan Krah
Stefan Krah added the comment: I've run Evgeniy's example under Valgrind and changed it to import various C extensions. Unfortunately they all leak more or less, so perhaps we can revisit this when (if?) the PEP 3121 and PEP 384 changes have been implemented. --

[issue21387] Memory leaks when embedded interpreter is reinitialized

2014-04-30 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue21387] Memory leaks when embedded interpreter is reinitialized

2014-04-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think fixing on a case by case is fine. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue21387] Memory leaks when embedded interpreter is reinitialized

2014-04-29 Thread Stefan Krah
Stefan Krah added the comment: Are we fixing these on a case by case basis or is it hopeless (msg146615)? -- ___ Python tracker ___ __

[issue21387] Memory leaks when embedded interpreter is reinitialized

2014-04-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks. It would be nice if you could try the same with Python 3.4, or the development version. -- nosy: +pitrou, skrah ___ Python tracker ___

[issue21387] Memory leaks when embedded interpreter is reinitialized

2014-04-29 Thread Evgeniy Stepanov
New submission from Evgeniy Stepanov: Following https://docs.python.org/2/c-api/init.html#Py_Finalize, I'm reinitializing embedded python interpreter multiple time in one process. #include void f() { Py_Initialize(); PyRun_SimpleString("from time import time,ctime\n" "import datetim