The standard str is unicode now... 2to3 . --fix unicode -wpn Ref: https://docs.python.org/3/whatsnew/3.0.html
2to3 . --fix xrange -wpn range takes the place of Py2 xrange. Py2 range was a list. Mechanical, did it by hand several times... Ref: https://docs.python.org/3/whatsnew/3.0.html#range
https://hg.mozilla.org/projects/htmlparser/ Commit: abe62ab2a9b69ccb3b5d8a231ec1ae11154c571d