From c1f58971f81fc9626d202b89d1403aa521acdc78 Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 4 Jun 2017 19:17:51 +0000 Subject: 3.8.0 (2017-06-03) Features added -------------- * ``ElementTree.write()`` has a new option ``doctype`` that writes out a doctype string before the serialisation, in the same way as ``tostring()``. * GH-220: ``xmlfile`` allows switching output methods at an element level. Patch by Burak Arslan. * LP-1595781, GH-240: added a PyCapsule Python API and C-level API for passing externally generated libxml2 documents into lxml. * GH-244: error log entries have a new property ``path`` with an XPath expression (if known, None otherwise) that points to the tree element responsible for the error. Patch by Bob Kline. * The namespace prefix mapping that can be used in ElementPath now injects a default namespace when passing a None prefix. Bugs fixed ---------- * GH-238: Character escapes were not hex-encoded in the ``xmlfile`` serialiser. Patch by matejcik. * GH-229: fix for externally created XML documents. Patch by Theodore Dubois. * LP-1665241, GH-228: Form data handling in lxml.html no longer strips the option values specified in form attributes but only the text values. Patch by Ashish Kulkarni. * LP-1551797: revert previous fix for XSLT error logging as it breaks multi-threaded XSLT processing. * LP-1673355, GH-233: ``fromstring()`` html5parser failed to parse byte strings. Other changes ------------- * The previously undocumented ``docstring`` option in ``ElementTree.write()`` produces a deprecation warning and will eventually be removed. --- textproc/py-lxml/Makefile | 4 ++-- textproc/py-lxml/distinfo | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'textproc') diff --git a/textproc/py-lxml/Makefile b/textproc/py-lxml/Makefile index f88472827d1..7f17d3bd848 100644 --- a/textproc/py-lxml/Makefile +++ b/textproc/py-lxml/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.44 2017/05/04 21:19:29 adam Exp $ +# $NetBSD: Makefile,v 1.45 2017/06/04 19:17:51 adam Exp $ -DISTNAME= lxml-3.7.3 +DISTNAME= lxml-3.8.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_PYPI:=l/lxml/} diff --git a/textproc/py-lxml/distinfo b/textproc/py-lxml/distinfo index 238c3e58071..286eca4f62d 100644 --- a/textproc/py-lxml/distinfo +++ b/textproc/py-lxml/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.32 2017/05/04 21:19:29 adam Exp $ +$NetBSD: distinfo,v 1.33 2017/06/04 19:17:51 adam Exp $ -SHA1 (lxml-3.7.3.tar.gz) = bce8b3101ed0de7440f00d7960a6a7a46ce50433 -RMD160 (lxml-3.7.3.tar.gz) = b2f1c34f90ef8aae9916e3c710dfb3675024a734 -SHA512 (lxml-3.7.3.tar.gz) = 9bf1142e81b6e1c8a47e296774d7e448d9ed47de3672f7442cc33274b07252baa47a9346efa9d2fda7b7bb66beb95bbc81f0ae16c9f808ff568f330991dd6d13 -Size (lxml-3.7.3.tar.gz) = 3797713 bytes +SHA1 (lxml-3.8.0.tar.gz) = 9cc81a0b1559a21812cde9c42ca90ccd5c95e138 +RMD160 (lxml-3.8.0.tar.gz) = 1aa0e48d5eb02a233e4982337412a8fdc48a7501 +SHA512 (lxml-3.8.0.tar.gz) = 08f6f352e22ed2bc199a5f34a1c6b5f7b41ec282dc0026c9f16a06466c27e39e8eb18608ba4493636170eeac4b0194f7050445e1cc9bd0a4628573c404593088 +Size (lxml-3.8.0.tar.gz) = 3795205 bytes -- cgit v1.2.3