Weird exception in my, um, exception class constructor
Terry Reedy
tjreedy at udel.edu
Tue May 27 19:10:59 EDT 2008
"Joel Koltner" <zapwireDASHgroups at yahoo.com> wrote in message
news:Kq__j.177027$ng7.15947 at en-nntp-05.dc1.easynews.com...
| Sounds good to me. I take it that, if I don't inherit from Exception,
various
| expected behaviors will break? (This is what Beazley suggests...)
All builtin exceptions have been in the builtin namespace for a while. The
duplicate exceptions module is gone in 3.0, In 3.0, if not before, all
exceptions must subclass from one of the builtin exceptions. Exception is
the usual choice.
tjr
More information about the Python-list
mailing list