Issue 6043: HTMLParseError derivation - Python tracker (original) (raw)
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