[ python-Bugs-1068881 ] TclError not a subclass of StandardError
SourceForge.net
noreply at sourceforge.net
Thu Nov 18 18:48:24 CET 2004
Bugs item #1068881, was opened at 2004-11-18 09:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1068881&group_id=5470
Category: Tkinter
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Russell Owen (reowen)
Assigned to: Martin v. Löwis (loewis)
Summary: TclError not a subclass of StandardError
Initial Comment:
Tkinter.TclError = _tkinter.TclError should be a subclass of
StandardError, instead of just Exception.
This would allow easier error checking, e.g. GUI code that doesn't
want to catch SystemExit or Warnings, e.g.:
try:
some mixed Tkinter and normal python code
except StandardError:
bail out gracefully
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1068881&group_id=5470
More information about the Python-bugs-list
mailing list