Nick Craig-Wood wrote:
Slaunger <[EMAIL PROTECTED]> wrote:
....  I will not notice that it was an unanticpated condition
 in my own code, which caused the ValueError to be raised.
 If I had just inherited from MyError, it would fall through....

I'd say if the above code worries you, then MyParseError isn't a
ValueError and you shouldn't inherit from ValueError.

Just from the name, I'd look into making MyParseError inherit from
SyntaxError.

--Scott David Daniels
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to