[lxml-dev] lxml 2.2beta3 released

Stefan Behnel stefan_ml at behnel.de
Tue Feb 17 22:57:05 CET 2009


Hi all,

I'm happy to release the third (and hopefully last) beta of lxml 2.2. This
release features some major bug fixes, so upgrading is highly recommended.

http://pypi.python.org/pypi/lxml/2.2beta3
http://codespeak.net/lxml/dev/

It was generated with revision 1716 of the Cython 0.11 development branch,
which was hardened against various memory leaks using Dag Seljebotn's
ref-nanny.

This release also marks the end of the lxml 2.1 maintenance cycle. As I
stated a while ago, I think that the stability of the current trunk makes
backporting fixes to older release series no longer worth the effort. The
only reason why this beta version was not released as lxml 2.2 final is
that I want to wait for an official Cython release series to go with lxml 2.2.

Therefore a note to distributors: please start shipping lxml 2.2 as soon as
possible.

Note that while this release does not officially support Python 3.0, it
should work well in that environment in almost all situations. It was
tested with Python 3.0.1.

Hope you like it,

Stefan


2.2beta3 (2009-02-17)
Features added

    * XSLT.strparam() class method to wrap quoted string parameters that
     require escaping.

Bugs fixed

    * Memory leak in XPath evaluators.
    * Crash when parsing indented XML in one thread and merging it with
      other documents parsed in another thread.
    * Setting the base attribute in lxml.objectify from a unicode string
      failed.
    * Fixes following changes in Python 3.0.1.
    * Minor fixes for Python 3.

Other changes

    * The global error log (which is copied into the exception log) is now
      local to a thread, which fixes some race conditions.
    * More robust error handling on serialisation.



More information about the lxml-dev mailing list