[Patches] [ python-Patches-755660 ] allow HTMLParser to continue after a parse error
SourceForge.net
noreply@sourceforge.net
Tue, 17 Jun 2003 20:13:41 -0700
Patches item #755660, was opened at 2003-06-17 02:27
Message generated for change (Comment added) made by smroid
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=755660&group_id=5470
Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Steven Rosenthal (smroid)
Assigned to: Nobody/Anonymous (nobody)
Summary: allow HTMLParser to continue after a parse error
Initial Comment:
The HTMLParser.error method raises HTMLParseError,
terminating the parse upon detection of a parse error.
This patch is to allow HTMLParser to continue parsing
if the error() method is overridden to not throw an
exception.
Doc impact is on the error() method. The existing
test_htmlparser.py unit test is unaffected by the patch.
The base file is HTMLParser.py, revision 1.11.2.1
----------------------------------------------------------------------
>Comment By: Steven Rosenthal (smroid)
Date: 2003-06-18 03:13
Message:
Logged In: YES
user_id=159908
this fixes bug #736428 (submitted by me earlier)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=755660&group_id=5470