Py3k and html5lib 1.0b1 support