Armin Ronacher wrote: > I created a patch now: http://paste.pocoo.org/show/79376/ One quick comment: You are restricting the parser input to unicode strings in Py3. Besides that being wrong in general, can html5lib actually handle unicode string input? Stefan