[Patches] [ python-Patches-1228112 ] code.py use sys.excepthook to display exceptions
SourceForge.net
noreply at sourceforge.net
Mon Jun 27 12:57:24 CEST 2005
Patches item #1228112, was opened at 2005-06-27 10:33
Message generated for change (Comment added) made by mwh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1228112&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Miki Tebeka (tebeka)
Assigned to: Nobody/Anonymous (nobody)
Summary: code.py use sys.excepthook to display exceptions
Initial Comment:
This patch makes code.py InteractiveInterpreter use
sys.excepthook to display exceptions.
This way if a user changes sys.excepthook it will be
used by the InteractiveInterpreter.
----------------------------------------------------------------------
>Comment By: Michael Hudson (mwh)
Date: 2005-06-27 11:57
Message:
Logged In: YES
user_id=6656
Seems like a good idea to me.
The only quibble around the area of self.write -- it might break code that
overrides that (IDLE?). Also, shouldn't showsyntaxerror be changed too?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1228112&group_id=5470
More information about the Patches
mailing list