Message9307
Logged In: YES
user_id=1179122
(I wish we could do this in email instead of cluttering up
an already-messy bug...)
Forget about throwing non-Exception-based objects: it's a
red herring. The bug to focus on is the title: "exception
cannot be new-style class".
Bottom line: This subclass of Exception can not be raised
in python 2.3:
class MyException (Exception, object): pass
pje's comment below from (2002-07-11 13:12) is a nice
summary of how to solve it.
|
|
Date |
User |
Action |
Args |
2007-08-23 13:59:17 | admin | link | issue518846 messages |
2007-08-23 13:59:17 | admin | create | |
|