[issue6043] HTMLParseError derivation

2009-05-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Actually, the new advice to derive from Exception since StandardError is being removed in Python 3. -- nosy: +benjamin.peterson resolution: -> wont fix status: open -> closed ___ Python tracker

[issue6043] HTMLParseError derivation

2009-05-16 Thread Fred Bayer
New submission from Fred Bayer : Acoording to documentation, only a few exceptions should inherit directly from Exception, most should inherit from StandardError. However, HTMLParser.HTMLParseError doesn't conform: isinstance(HTMLParser.HTMLParseError("foo"),StandardError) --> False --