Message147816
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 <report@bugs.python.org>wrote:
>
> Ezio Melotti <ezio.melotti@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 <report@bugs.python.org>
> <http://bugs.python.org/issue13358>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2011-11-17 18:01:07 | Michael.Brooks | set | recipients:
+ Michael.Brooks, ezio.melotti |
2011-11-17 18:01:06 | Michael.Brooks | link | issue13358 messages |
2011-11-17 18:01:06 | Michael.Brooks | create | |
|