lxml 1.1.2 released

Stefan Behnel stefan.behnel-n05pAM at web.de
Tue Oct 31 07:10:39 CET 2006

Hi everyone,

after a month of bug tracing and fixing, lxml 1.1.2 finally made it to the


This is mainly a bugfix release for the stable and production-ready 1.1
series, the changelog is below. As there were a number of important fixes,
updating is recommended.

What is lxml?

lxml is a Pythonic binding for the libxml2 and libxslt libraries. It provides
safe and convenient access to these libraries using the ElementTree API.

It extends the ElementTree API significantly to offer support for XPath,
RelaxNG, XML Schema, XSLT, C14N and much more. Lxml also features a
sophisticated API for custom element classes. This is a simple way to write
arbitrary XML driven APIs on top of lxml. There is a separate module
lxml.objectify that implements a data-binding API on top of lxml.etree.

See the web page for more information and documentation:


Have fun,

1.1.2 (2006-10-30)
Features added

    * Data elements in objectify support repr(), which is now used by dump()
    * Source distribution now ships with a patched Pyrex
    * New C-API function makeElement() to create new elements with text, tail,
      attributes and namespaces
    * Reuse original parser flags for XInclude
    * Simplified support for handling XSLT processing instructions

Bugs fixed

    * Parser resources were not freed before the next parser run
    * Open files and XML strings returned by Python resolvers were not
    * Crash in the IDDict returned by XMLDTDID
    * Copying Comments and ProcessingInstructions failed
    * Memory leak for external URLs in _XSLTProcessingInstruction.parseXSL()
    * Memory leak when garbage collecting tailed root elements
    * HTML script/style content was not propagated to .text
    * Show text xincluded between text nodes correctly in .text and .tail
    * 'integer * objectify.StringElement' operation was not supported

More information about the Python-announce-list mailing list