diff options
| author | Kurt B. Kaiser <kbk@shore.net> | 2004-01-02 04:04:04 (GMT) | 
|---|---|---|
| committer | Kurt B. Kaiser <kbk@shore.net> | 2004-01-02 04:04:04 (GMT) | 
| commit | e9802a301dc232d1273cc3928488e801d29417b2 (patch) | |
| tree | d7f3871f0d33e3393788d4550e77096328214f42 /Lib/idlelib/run.py | |
| parent | 44a31e1dab25a8528e38127e9aa58609717877b9 (diff) | |
| download | cpython-e9802a301dc232d1273cc3928488e801d29417b2.zip cpython-e9802a301dc232d1273cc3928488e801d29417b2.tar.gz cpython-e9802a301dc232d1273cc3928488e801d29417b2.tar.bz2  | |
- Print correct exception even if source file changed since shell was
  restarted.  IDLEfork Patch 869012 Noam Raphael
Modified Files:
	NEWS.txt run.py
Diffstat (limited to 'Lib/idlelib/run.py')
| -rw-r--r-- | Lib/idlelib/run.py | 2 | 
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()  | 
