Comment #3 on issue 187 by geoffers: [+PATCH] Python 3 compatibility
http://code.google.com/p/html5lib/issues/detail?id=187
I wrote a long comment but it got eaten by the Internet. Yay.
In short: the Python 3 copy in hg is up-to-date compared with Python 2, and
passes an identical number of tests. However, I would very much class it as
experimental. It is currently generated by just running through 2to3, so
any changes should be made to the Python 2 copy and then regenerate it.
There are a few areas for which we lack tests, most notably character
encoding detection, which is inevitably a likely source of issues. A good
first move would be to write tests for that (preferably in some generic
form that can be used outwith of Python, as with the other tests), and
then fix whatever issues that finds.
If you hit anything where you can't get stuff working through 2to3, say.
The longer term aim was to move to 3to2 to sort out the Unicode/binary mess
there is currently, and we can likely move this forward now.
--
You received this message because you are subscribed to the Google Groups
"html5lib-discuss" group.
To post to this group, send an email to html5lib-discuss@googlegroups.com.
To unsubscribe from this group, send email to
html5lib-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/html5lib-discuss?hl=en-GB.