[issue1068881] TclError not a subclass of StandardError

Neal Norwitz report at bugs.python.org
Fri Mar 21 06:07:54 CET 2008


Neal Norwitz <nnorwitz at gmail.com> added the comment:

StandardError has been removed from Python 3.0.  It's use is deprecated.
 Instead of catching StandardError, do:

  try:
    # ...
  except Exception:
    # ...

----------
assignee: loewis -> nnorwitz
nosy: +nnorwitz
resolution:  -> out of date
status: open -> closed

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1068881>
_____________________________________


More information about the Python-bugs-list mailing list