summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/run.py')
-rw-r--r--Lib/idlelib/run.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py
index d1fe08f..8cfa808 100644
--- a/Lib/idlelib/run.py
+++ b/Lib/idlelib/run.py
@@ -109,6 +109,8 @@ def manage_socket(address):
server.handle_request() # A single request only
def print_exception():
+ import linecache
+ linecache.checkcache()
flush_stdout()
efile = sys.stderr
typ, val, tb = excinfo = sys.exc_info()