From: Kurt B. Kaiser Date: Mon, 24 Nov 2003 02:34:01 +0000 (+0000) Subject: Backport: X-Git-Tag: v2.3.3c1~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34bfde919e104e34eaa4135867aa2947510623b7;p=thirdparty%2FPython%2Fcpython.git Backport: - 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 --- diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index 0ae80262b1a7..093dcd312824 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -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(). ) diff --git a/Lib/idlelib/idlever.py b/Lib/idlelib/idlever.py index 448d9059f58c..0ec4901412d6 100644 --- a/Lib/idlelib/idlever.py +++ b/Lib/idlelib/idlever.py @@ -1 +1 @@ -IDLE_VERSION = "1.0" +IDLE_VERSION = "1.0.1+" diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py index 4e6345c8d69c..d1fe08f3e880 100644 --- a/Lib/idlelib/run.py +++ b/Lib/idlelib/run.py @@ -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",