forked from pool/python-lxml
Accepting request 259611 from home:mlin7442:branches:devel:languages:python
update to 3.4.0 and add a patch that fixes test OBS-URL: https://build.opensuse.org/request/show/259611 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=78
This commit is contained in:
committed by
Git OBS Bridge
parent
56cbc57c1e
commit
65b2dcf74a
@@ -1,3 +1,47 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 4 07:43:22 UTC 2014 - mlin@suse.com
|
||||
|
||||
- Update to 3.4.0
|
||||
* Features added
|
||||
** xmlfile(buffered=False) disables output buffering and flushes the
|
||||
content after each API operation (starting/ending element blocks or
|
||||
writes). A new method xf.flush() can alternatively be used to
|
||||
explicitly flush the output.
|
||||
** lxml.html.document_fromstring has a new option ensure_head_body=True
|
||||
which will add an empty head and/or body element to the result
|
||||
document if missing.
|
||||
** lxml.html.iterlinks now returns links inside meta refresh tags.
|
||||
** New XMLParser option collect_ids=False to disable ID hash table
|
||||
creation. This can substantially speed up parsing of documents with
|
||||
many different IDs that are not used.
|
||||
** The parser uses per-document hash tables for XML IDs. This reduces
|
||||
the load of the global parser dict and speeds up parsing for
|
||||
documents with many different IDs.
|
||||
** ElementTree.getelementpath(element) returns a structural ElementPath
|
||||
expression for the given element, which can be used for lookups later.
|
||||
** xmlfile() accepts a new argument close=True to close file(-like)
|
||||
objects after writing to them. Before, xmlfile() only closed the file
|
||||
if it had opened it internally.
|
||||
** Allow "bytearray" type for ASCII text input.
|
||||
|
||||
* Other changes
|
||||
** LP#400588: decoding errors have become hard errors even in recovery
|
||||
mode. Previously, they could lead to an internal tree representation
|
||||
in a mixed encoding state, which lead to very late errors or even
|
||||
silently incorrect behaviour during tree traversal or serialisation.
|
||||
** Requires Python 2.6, 2.7, 3.2 or later. No longer supports Python 2.4,
|
||||
2.5 and 3.1, use lxml 3.3.x for those.
|
||||
** Requires libxml2 2.7.0 or later and libxslt 1.1.23 or later, use lxml
|
||||
3.3.x with older versions.
|
||||
- Add updatream patch lxml-dont-depend-on-URL-formatting-in-test.patch
|
||||
* fix test
|
||||
- Changes in 3.3.6
|
||||
* Bugs fixed
|
||||
** Prevent tree cycle creation when adding Elements as siblings.
|
||||
** LP#1361948: crash when deallocating Element siblings without parent.
|
||||
** LP#1354652: crash when traversing internally loaded documents in XSLT
|
||||
extension functions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 24 06:48:15 UTC 2014 - toms@opensuse.org
|
||||
|
||||
|
||||
Reference in New Issue
Block a user