Michael Brooks <firealwayswo...@gmail.com> added the comment: Ok so until you fix this bug, i'll be overriding HTMLParser with my fix, becuase this is a blocking issue for my project. My HTMLParser must behave like a browser, period end of story.
Thanks. On Thu, Nov 17, 2011 at 9:24 AM, Ezio Melotti <rep...@bugs.python.org>wrote: > > Ezio Melotti <ezio.melo...@gmail.com> added the comment: > > It seems to me that the arguments are parsed correctly, but handle_data is > called multiple time between handle_starttag and handle_endtag. > This might happen, e.g. in case the source lines are fed one by one to the > parser, but in this case seems to happen whenever </ is found. > (The tests didn't detect this because they join the data to avoid buffer > artifacts.) > I'm not sure if this can be considered a bug, but the situation can indeed > be improved. > > ---------- > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue13358> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13358> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com