- Print correct exception even if source file changed since shell was

restarted.  IDLEfork Patch 869012 Noam Raphael

Modified Files:
	NEWS.txt run.py
This commit is contained in:
Kurt B. Kaiser 2004-01-02 04:04:04 +00:00
parent 44a31e1dab
commit e9802a301d
2 changed files with 7 additions and 2 deletions

View file

@ -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()