diff -r 70757af86c12 Lib/idlelib/StackViewer.py --- a/Lib/idlelib/StackViewer.py Wed Aug 19 08:04:31 2015 -0700 +++ b/Lib/idlelib/StackViewer.py Wed Aug 19 19:16:08 2015 +0300 @@ -30,6 +30,7 @@ stack = [] if tb and tb.tb_frame is None: tb = tb.tb_next + tb = tb.tb_next while tb is not None: stack.append((tb.tb_frame, tb.tb_lineno)) tb = tb.tb_next