mechnize 0.3.1 html5lib .999 TypeError: parse() got an unexpected keyword argument 'transport_encoding' what ver of html5lib is mechanize built on? v 0.999 is: def parse(doc, treebuilder="etree", encoding=None, namespaceHTMLElements=True) v 0.99999999: def parse(doc, treebuilder="etree", namespaceHTMLElements=True, **kwargs) I think this is the issue.