[Python-Dev] HTMLParser and HTML5
Tres Seaver
tseaver at palladion.com
Fri Jul 29 20:31:50 CEST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/29/2011 07:22 AM, Joao S. O. Bueno wrote:
> I disaagree. Having proper html parsing out of the box is part of
> the "batteries included" thing. And it is not a matter of "having
> html 5" - as stated on this thread, fixing it for html5 will fix it
> for html that exists in the "real world".
>
> Python _has_ to work with quick 30-50 lines scripts deliverable
> everywhere, not just has proper 3rd party libraries that can work as
> part of a huge project using buildout.
Assuming it were merged today, that parser would only be available on
Python 3.3 and later: how is that "everywhere"? Having scripts that
work against html5lib (which *doesn't* need buildout to install, or even
setuptools) makes them portable to any version of Python supported by
the library (Python 2.3+, AFAICT).
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk4y/JYACgkQ+gerLs4ltQ4KKwCgkyOlmb8xxhxg1qWH9RRbEpEw
ne0AoL6NgRElbY61QRqnXJjiKoHq0ToW
=fk3k
-----END PGP SIGNATURE-----
More information about the Python-Dev
mailing list