[lxml-dev] lxml.html and forms

Ian Bicking ianb at colorstudy.com
Tue Jul 17 01:35:56 CEST 2007


Stefan Behnel wrote:
>> OK, I guess that keyword argument should be available in all the parsing
>> functions.
> 
> "string" parsing functions. Sure.

I'm not sure how to do this.  lxml.etree.HTML doesn't take a base_url 
argument, and root.getroottree().docinfo.URL is read-only.

Also, why are all the signatures "..." in help?  E.g., 
help(lxml.etree.HTML) gives "HTML(...)".  Is this a Pyrex thing? 
Perhaps fixable?  If not, it would be nice to give signature help in the 
docstrings.

-- 
Ian Bicking : ianb at colorstudy.com : http://blog.ianbicking.org
             : Write code, do good : http://topp.openplans.org/careers


More information about the lxml-dev mailing list