Skip to content

Commit

Permalink
3.8.0 (2017-06-03)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
adam committed Jun 4, 2017
1 parent ebe031a commit 0dcf18d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions textproc/py-lxml/Makefile
Original file line number Diff line number Diff line change
@@ -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/}
Expand Down
10 changes: 5 additions & 5 deletions textproc/py-lxml/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0dcf18d

Please sign in to comment.