Serhiy Storchaka added the comment: The bug is somewhere in print_exception() function in Lib/idlelib/run.py. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue16491> _______________________________________