py-lxml: updated to 4.6.1

4.6.1 (2020-10-18)

Bugs fixed

A vulnerability was discovered in the HTML Cleaner by Yaniv Nizry, which allowed JavaScript to pass through. The cleaner now removes more sneaky "style" content.


4.6.0 (2020-10-17)

Features added

lxml.html.InputGetter supports __len__() to count the number of input fields. Patch by Aidan Woolley.
lxml.html.InputGetter has a new .items() method to ease processing all input fields.
lxml.html.InputGetter.keys() now returns the field names in document order.
The API documentation is now generated using sphinx-apidoc. Patch by Chris Mayo.

Bugs fixed

C14N 2.0 serialisation failed for unprefixed attributes when a default namespace was defined.
TreeBuilder.close() raised AssertionError in some error cases where it should have raised XMLSyntaxError. It now raises a combined exception to keep up backwards compatibility, while switching to XMLSyntaxError as an interface.
This commit is contained in:
adam 2020-10-19 12:30:31 +00:00
parent eedceaa36b
commit e36bba6c5e
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.70 2020/07/10 07:03:57 adam Exp $
# $NetBSD: Makefile,v 1.71 2020/10/19 12:30:31 adam Exp $
DISTNAME= lxml-4.5.2
DISTNAME= lxml-4.6.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/lxml/}

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.55 2020/07/10 07:03:57 adam Exp $
$NetBSD: distinfo,v 1.56 2020/10/19 12:30:31 adam Exp $
SHA1 (lxml-4.5.2.tar.gz) = 2e4fc1bd8a60ae4876e2f6e4c9f0daa244abf8bc
RMD160 (lxml-4.5.2.tar.gz) = dc3e49d91fa4a5fbd5836731b4fa87766e316adf
SHA512 (lxml-4.5.2.tar.gz) = 58d287fc9533605117ffb391edbfe94a2abd0db9be11eb54c9f78ff348c8567d10874cc047e7ae099ef5ce4403ef3d5e5bd5e64aad158ce3c621f106e4c1df63
Size (lxml-4.5.2.tar.gz) = 4547051 bytes
SHA1 (lxml-4.6.1.tar.gz) = 0b46582a2da69151b9b792d118df7f44670b93ca
RMD160 (lxml-4.6.1.tar.gz) = fb9130289088bd0382760862a718151fd036ddb5
SHA512 (lxml-4.6.1.tar.gz) = 2c87bdaa3fae01e2ff3e3982dc473d89e5e08871f30e8c701fb1460121458115db20a2e46179757f3ef62c250a7aa2c4d8fca78933695d7d6111559f31031cfa
Size (lxml-4.6.1.tar.gz) = 3173741 bytes
SHA1 (patch-setupinfo.py) = 264e934a4e5c095b0a65769798bf94db394d03e1