Does .base inherit from docinfo.URL? It doesn't seem like it does. I
tried changing .base_url to just return self.base, but if I do:
>>> from lxml.html import parse
>>> doc = parse('http://python.org').getroot()
>>> print doc.base
None
>>> doc.getroottree().docinfo.URL
'http://python.org'