New submission from Fred Bayer <pyt...@bayerf.de>: 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 ---------- components: Library (Lib) messages: 87944 nosy: bayerf severity: normal status: open title: HTMLParseError derivation type: behavior versions: Python 2.5, Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6043> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com