]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport:
authorKurt B. Kaiser <kbk@shore.net>
Mon, 24 Nov 2003 02:34:01 +0000 (02:34 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Mon, 24 Nov 2003 02:34:01 +0000 (02:34 +0000)
- 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

Update NEWS and include some items missed in IDLE1.0b2.

Bump the version.

Modified Files:
 Tag: release23-maint
 NEWS.txt idlever.py run.py

Lib/idlelib/NEWS.txt
Lib/idlelib/idlever.py
Lib/idlelib/run.py

index 0ae80262b1a70445be1430e1220d2bbc8d259b19..093dcd31282414648cd52867234ff40a31dd4357 100644 (file)
@@ -1,3 +1,17 @@
+What's New in IDLE 1.0.2?
+===================================
+
+*Release date: XX-Dec-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 now does not fail to save the file anymore if the Tk buffer is not a
+  Unicode string, yet eol_convention is.  Python Bugs 774680, 788378
+
+- IDLE will use the Python html docs on the system, if found
+
 What's New in IDLE 1.0.1?
 ===================================
 
@@ -52,6 +66,16 @@ What's New in IDLE 1.0b2?
 
 *Release date: 29-Jun-2003*
 
+- Extend AboutDialog.ViewFile() to support file encodings.  Make the CREDITS
+  file Latin-1.
+
+- Updated the About dialog to reflect re-integration into Python.  Provide
+  buttons to display Python's NEWS, License, and Credits, plus additional
+  buttons for IDLE's README and NEWS.
+
+- TextViewer() now has a third parameter which allows inserting text into the
+  viewer instead of reading from a file.
+
 - (Created the .../Lib/idlelib directory in the Python CVS, which is a clone of
   IDLEfork modified to install in the Python environment.  The code in the
   interrupt module has been moved to thread.interrupt_main(). )
index 448d9059f58c990cb041321bd0f74da2b8c08cc8..0ec4901412d6ee4b9ecb44c0f971a9d30f83a7aa 100644 (file)
@@ -1 +1 @@
-IDLE_VERSION = "1.0"
+IDLE_VERSION = "1.0.1+"
index 4e6345c8d69c263999d59ae9006d0bc3d2d5995b..d1fe08f3e880e6cf1ade426a43a9f2c1535447ce 100644 (file)
@@ -111,7 +111,8 @@ def manage_socket(address):
 def print_exception():
     flush_stdout()
     efile = sys.stderr
-    typ, val, tb = sys.exc_info()
+    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):'
     exclude = ("run.py", "rpc.py", "threading.py", "Queue.py",