[Python-Dev] htmllib vs. HTMLParser

Bill Janssen janssen at parc.com
Wed Oct 29 02:26:15 EST 2003


> Perhaps, but it might be a mug's game.  I was on the Lynx developer list for
> a while, and bad HTML requires many, many hacks to be processed sensibly.

Yes, I know what you mean.  I would personally be happy to simply
reject bad HTML (return None from the parser), and force the user to
do what he currently has to do to handle it.

Bill



More information about the Python-Dev mailing list