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-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to