Status: New
Owner: ----
New issue 184 by kos...@gmail.com: broken html5lib in trunk (default)
http://code.google.com/p/html5lib/issues/detail?id=184
On code from tutorial right now you will get error like:
Traceback (most recent call last):
File "./test_tokenizer_speed.py", line 29, in <module>
main()
File "./test_tokenizer_speed.py", line 19, in main
dom_tree = p.parse(f, encoding='utf-8')
File "/home/kost/src/html5lib-broken-default/python/html5lib/html5parser.py",
line 213, in parse
parseMeta=parseMeta, useChardet=useChardet)
File "/home/kost/src/html5lib-broken-default/python/html5lib/html5parser.py",
line 110, in _parse
parser=self, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'parser'
Patch attached
Attachments:
broken-default.diff 662 bytes
--
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.