[Python-checkins] python/dist/src/Lib/idlelib NEWS.txt, 1.24, 1.25 run.py, 1.25, 1.26

kbk at users.sourceforge.net kbk at users.sourceforge.net
Tue Nov 18 23:52:34 EST 2003


Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1:/tmp/cvs-serv19984

Modified Files:
	NEWS.txt run.py 
Log Message:
- After an exception, run.py was not setting the exception vector. Noam
  Raphael suggested correcting this so pdb's postmortem pm() would work. 
  IDLEfork Patch 844675

Modified: NEWS.txt  run.py


Index: NEWS.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/NEWS.txt,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** NEWS.txt	14 Aug 2003 14:54:28 -0000	1.24
--- NEWS.txt	19 Nov 2003 04:52:32 -0000	1.25
***************
*** 4,7 ****
--- 4,11 ----
  *Release date: XX-XXX-2003*
  
+ - After an exception, run.py was not setting the exception vector. Noam
+   Raphael suggested correcting this so pdb's postmortem pm() would work. 
+   IDLEfork Patch 844675
+ 
  - IDLE didn't start correctly when Python was installed in "Program Files" on
    W2K and XP.  Python Bugs 780451, 784183

Index: run.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/run.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** run.py	22 Jun 2003 07:52:56 -0000	1.25
--- run.py	19 Nov 2003 04:52:32 -0000	1.26
***************
*** 112,116 ****
      flush_stdout()
      efile = sys.stderr
!     typ, val, tb = sys.exc_info()
      tbe = traceback.extract_tb(tb)
      print >>efile, '\nTraceback (most recent call last):'
--- 112,117 ----
      flush_stdout()
      efile = sys.stderr
!     typ, val, tb = excinfo = sys.exc_info()
!     sys.last_type, sys.last_value, sys.last_traceback = excinfo
      tbe = traceback.extract_tb(tb)
      print >>efile, '\nTraceback (most recent call last):'





More information about the Python-checkins mailing list