[lxml-dev] lxml 2.0.2 released

Stefan Behnel stefan_ml at behnel.de
Fri Feb 22 17:10:28 CET 2008


Hi all,

lxml 2.0.2 is up on PyPI. This is a bug fix release for the stable 2.0 series.

Changelog follows below.

Have fun,
Stefan


2.0.2 (2008-02-22)
==================

Features added
--------------

* Support passing ``base_url`` to file parser functions to override
  the filename of the file(-like) object.

Bugs fixed
----------

* The prefix for objectify's pytype namespace was missing from the set
  of default prefixes.

* Memory leak in Schematron (fixed only for libxml2 2.6.31+).

* Error type names in RelaxNG were reported incorrectly.

* Slice deletion bug fixed in objectify.

Other changes
-------------

* Enabled doctests for some Python modules (especially ``lxml.html``).

* Add a ``method`` argument to ``lxml.html.tostring()``
  (``method="xml"`` for XHTML output).

* Make it clearer that methods like ``lxml.html.fromstring()`` take a
  ``base_url`` argument.


More information about the lxml-dev mailing list