Ezio Melotti added the comment:

Well, I'm not sure what's the point of implementing that specific algorithm if 
the end result is the same.  HTMLParser implementation also has the advantage 
of being much simpler, and probably faster too.  If for some reason you want 
that specific algorithm you can always use html5lib.
Also if you find places where HTMLParser is not doing the right thing you can 
report new issues (I know a few corner cases where this happens, but they are 
so obscure that I intentionally left them unfixed to keep the code simple).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17410>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to