[Python-Dev] HTMLParser and HTML5

Stefan Behnel stefan_ml at behnel.de
Fri Jul 29 06:37:17 CEST 2011


Brett Cannon, 28.07.2011 23:49:
> On Thu, Jul 28, 2011 at 11:25, Matt wrote:
>> - What policies are in place for keeping parity with other HTML
>> parsers (such as those in web browsers)?
>
> There aren't any beyond "it would be nice".
>[...]
> It's more of an issue of someone caring enough to do the coding work to
> bring the parser up to spec for HTML5 (or introduce new code to live beside
> the HTML4 parsing code).

Which, given that html5lib readily exists, would likely be a lot more work 
than anyone who is interested in HTML5 handling would want to invest.

I don't think we need a new HTML5 parsing implementation only to have it in 
the stdlib. That's the old sunny Java way of doing it.

Stefan



More information about the Python-Dev mailing list