changelog

--HG--
extra : transplant_source : %E7%A0%0B%E3J%CD%13Q%ABM%91%93%D0%7F%88%60%E2%C9%02l
update MacOS-X build docs with information from ticket LP#1244094

--HG--
extra : transplant_source : %96%A2%FA%05zOT%E4%D1%F7%E9k%13%94%14%B7%B7%7D%AF%CA
changelog

--HG--
extra : amend_source : 35ac71df835f158a60ed60fceeb245ecbe9954db
make legacy import absolute (otherwise fails in Py3)
fix LP#1354652: crash when traversing internally loaded documents in XSLT extension functions
merge lxml-3.3 branch into master
include links in meta refresh tags in iterlinks
Merge pull request #138 from jab/master

include links in meta refresh tags in iterlinks
refactor tag processing code in iterlinks()
note iterlinks' meta refresh support in CHANGES.txt
Merge pull request #139 from jab/master

note iterlinks' meta refresh support in CHANGES.txt
fix crash when deallocating sibling Element proxies that do not have a parent
prevent tree cycle creation when adding siblings
refactor some duplicated code
changelog
merge lxml-3.3 branch into master
prepare release of lxml 3.3.6
merge lxml-3.3 branch into master
include Py3.4 (and pypy3) in travis tests
lxml.html.document_fromstring ensure_head_body

When using lxml.html.document_fromstring to process html outside your control,
you can't be sure it will have a head element or body element. Allowing
document_fromstring to accept an ensure_head_body option saves you from having
to write code like:

    doc = document_fromstring(html)
    try:
        doc.head
    except IndexError:
        doc.insert(0, Element('head'))
    # now we can safely reference doc.head

You can instead just write:

    doc = document_fromstring(html, ensure_head_body=True)