Stefan Krah <stefan-use...@bytereef.org> added the comment:

I also thought that it might be a pointer that's lost in marshal.c.
However, perhaps a pointer is lost in Py_Finalize. With this ...

Index: Modules/main.c
===================================================================
--- Modules/main.c      (revision 85766)
+++ Modules/main.c      (working copy)
@@ -697,6 +697,7 @@
         sts = PyRun_AnyFileFlags(stdin, "<stdin>", &cf) != 0;
     }
 
+    exit(0);
     Py_Finalize();
 
 #ifdef __INSURE__


... Valgrind does not report the leak.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10157>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to