STINNER Victor <[EMAIL PROTECTED]> added the comment: Here is a patch fixing this issue: set builtins._=None at exit.
The new introduced function, PyRun_InteractiveCleanup(), might also be called at the end of other functions like PyRun_InteractiveOne() or PyRun_InteractiveOneFlags(). If not, PyRun_InteractiveCleanup() should be exported. ---------- keywords: +patch Added file: http://bugs.python.org/file11914/interactive_cleanup.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4236> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com