Antoine Pitrou <pit...@free.fr> added the comment: It should be noted that repeatedly calling Py_Initialize / Py_Finalize leaks a lot (even without the "import _ctypes"):
--- 0 --- [34543 refs] --- 1 --- [37540 refs] --- 2 --- [40504 refs] --- 3 --- [43468 refs] --- 4 --- [46432 refs] --- 5 --- [49396 refs] --- 6 --- [52360 refs] --- 7 --- [55324 refs] --- 8 --- [58288 refs] --- 9 --- [61252 refs] --- 10 --- [64216 refs] And it also translates into memory consumption... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9828> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com