lxml 3.1 beta1 released

Hi everyone, here's a first beta release of the upcoming lxml 3.1. The main new feature is a simple API for incremental XML generation. Special thanks goes to Simon Sapin for testing and improving it. More feedback is appreciated. You can get the release from here: http://pypi.python.org/pypi/lxml/3.1beta1 http://lxml.de/files/lxml-3.1beta1.tgz The corresponding website is here: http://lxml.de/3.1/ This release was built using Cython 0.17.3. Have fun, Stefan 3.1beta1 (2012-12-21) ===================== Features added -------------- * New build-time option ``--with-unicode-strings`` for Python 2 that makes the API always return Unicode strings for names and text instead of byte strings for plain ASCII content. * New incremental XML file writing API ``etree.xmlfile()``. * E factory in lxml.objectify is callable to simplify the creation of tags with non-identifier names without having to resort to getattr(). Bugs fixed ---------- * When starting from a non-namespaced element in lxml.objectify, searching for a child without explicitly specifying a namespace incorrectly found namespaced elements with the requested local name, instead of restricting the search to non-namespaced children. * GH#85: Deprecation warnings were fixed for Python 3.x. * GH#33: lxml.html.fromstring() failed to accept bytes input in Py3. * LP#1080792: Static build of libxml2 2.9.0 failed due to missing file. Other changes ------------- * The externally useless class ``_ObjectifyElementMakerCaller`` was removed from the module API of lxml.objectify. * LP#1075622: lxml.builder is faster for adding text to elements with many children. Patch by Anders Hammarquist.
participants (1)
-
Stefan Behnel