<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-lxml.git/src/lxml/html/tests/test_basic.txt, branch lxml-4.4</title>
<subtitle>github.com: lxml/lxml.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-lxml.git/'/>
<entry>
<title>fix doctest in Py3</title>
<updated>2015-02-18T20:01:00+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2015-02-18T20:01:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-lxml.git/commit/?id=ab09902a5dbec48754ef96c4bdd7215bedc34329'/>
<id>ab09902a5dbec48754ef96c4bdd7215bedc34329</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>implement a set-like interface for the HTML 'class' attribute</title>
<updated>2015-02-18T19:21:28+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2015-02-18T19:21:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-lxml.git/commit/?id=453a4203187e6552359f4ba94a2dee8cc6b93a92'/>
<id>453a4203187e6552359f4ba94a2dee8cc6b93a92</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>lxml.html.document_fromstring ensure_head_body</title>
<updated>2014-09-04T17:39:08+00:00</updated>
<author>
<name>jab</name>
<email>jab@math.brown.edu</email>
</author>
<published>2014-09-04T15:20:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-lxml.git/commit/?id=fef78cdafefb61ed9114a4697b8a0630119ee6d7'/>
<id>fef78cdafefb61ed9114a4697b8a0630119ee6d7</id>
<content type='text'>
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)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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)
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid error in lxml.html.fromstring() if content contains no body (bugs 599318, 690319)</title>
<updated>2013-04-27T14:53:08+00:00</updated>
<author>
<name>Stefan Seelmann</name>
<email>mail@stefan-seelmann.de</email>
</author>
<published>2013-04-27T14:34:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-lxml.git/commit/?id=7b7958e175f0218cea58d4f42644f8ee07437f2e'/>
<id>7b7958e175f0218cea58d4f42644f8ee07437f2e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix bytes input into lxml.html.fromstring() in Py3</title>
<updated>2012-11-26T19:05:10+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2012-11-26T19:05:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-lxml.git/commit/?id=ed26009943eab5bcc8cc742ffb6f0a374e4b4671'/>
<id>ed26009943eab5bcc8cc742ffb6f0a374e4b4671</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>PyPy test fix</title>
<updated>2012-09-25T10:25:54+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2012-09-25T10:25:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-lxml.git/commit/?id=b470bb44478ba7292f38b9be788db906ec690fc6'/>
<id>b470bb44478ba7292f38b9be788db906ec690fc6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[svn r3776] r4420@delle:  sbehnel | 2008-05-29 13:19:17 +0200</title>
<updated>2008-05-29T11:21:05+00:00</updated>
<author>
<name>scoder</name>
<email>none@none</email>
</author>
<published>2008-05-29T11:21:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-lxml.git/commit/?id=9bec60b34ebe12a834065422378a64bebd13f243'/>
<id>9bec60b34ebe12a834065422378a64bebd13f243</id>
<content type='text'>
 Py3 doctest fixes

--HG--
branch : trunk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 Py3 doctest fixes

--HG--
branch : trunk
</pre>
</div>
</content>
</entry>
<entry>
<title>[svn r3734] r4329@delle:  sbehnel | 2008-05-24 08:55:30 +0200</title>
<updated>2008-05-24T08:09:04+00:00</updated>
<author>
<name>scoder</name>
<email>none@none</email>
</author>
<published>2008-05-24T08:09:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-lxml.git/commit/?id=b778258d36846cce7e69b67ef51bf2b4eead4e44'/>
<id>b778258d36846cce7e69b67ef51bf2b4eead4e44</id>
<content type='text'>
 Py3 fixes

--HG--
branch : trunk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 Py3 fixes

--HG--
branch : trunk
</pre>
</div>
</content>
</entry>
<entry>
<title>[svn r3636] r4146@delle:  sbehnel | 2008-05-03 15:40:45 +0200</title>
<updated>2008-05-03T13:42:27+00:00</updated>
<author>
<name>scoder</name>
<email>none@none</email>
</author>
<published>2008-05-03T13:42:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-lxml.git/commit/?id=a614109b37c9151dccefaf8d8ddb2511acb58ac7'/>
<id>a614109b37c9151dccefaf8d8ddb2511acb58ac7</id>
<content type='text'>
 conversion functions HTML&lt;-&gt;XHTML in lxml.html

--HG--
branch : trunk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 conversion functions HTML&lt;-&gt;XHTML in lxml.html

--HG--
branch : trunk
</pre>
</div>
</content>
</entry>
<entry>
<title>[svn r3618] r4115@delle:  sbehnel | 2008-05-02 09:48:17 +0200</title>
<updated>2008-05-02T07:49:49+00:00</updated>
<author>
<name>scoder</name>
<email>none@none</email>
</author>
<published>2008-05-02T07:49:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-lxml.git/commit/?id=b121dd856ead27866bb202e3f711f4d46de395b8'/>
<id>b121dd856ead27866bb202e3f711f4d46de395b8</id>
<content type='text'>
 'parser' keyword in lxml.html parse functions, XHTMLParser class

--HG--
branch : trunk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 'parser' keyword in lxml.html parse functions, XHTMLParser class

--HG--
branch : trunk
</pre>
</div>
</content>
</entry>
</feed>
