Lxml

Latest version: v5.3.0

Safety actively analyzes 682471 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 28

3.7.4

==================

Bugs fixed
----------

* LP1551797: revert previous fix for XSLT error logging as it breaks
multi-threaded XSLT processing.

* LP1673355, GH233: ``fromstring()`` html5parser failed to parse byte strings.

3.7.3

Not secure
==================

Bugs fixed
----------

* GH218 was ineffective in Python 3.

* GH222: ``lxml.html.submit_form()`` failed in Python 3.
Patch by Jakub Wilk.

3.7.2

Not secure
==================

* GH220: ``xmlfile`` allows switching output methods at an element level.
Patch by Burak Arslan.

Bugs fixed
----------

* Work around installation problems in recent Python 2.7 versions
due to FTP download failures.

* GH219: ``xmlfile.element()`` was not properly quoting attribute values.
Patch by Burak Arslan.

* GH218: ``xmlfile.element()`` was not properly escaping text content of
script/style tags. Patch by Burak Arslan.

3.7.1

Not secure
==================

* No source changes, issued only to solve problems with the
binary packages released for 3.7.0.

3.7.0

Not secure
==================

Features added
--------------

* GH217: ``XMLSyntaxError`` now behaves more like its ``SyntaxError``
baseclass. Patch by Philipp A.

* GH216: ``HTMLParser()`` now supports the same ``collect_ids`` parameter
as ``XMLParser()``. Patch by Burak Arslan.

* GH210: Allow specifying a serialisation method in ``xmlfile.write()``.
Patch by Burak Arslan.

* GH203: New option ``default_doctype`` in ``HTMLParser`` that allows
disabling the automatic doctype creation. Patch by Shadab Zafar.

* GH201: Calling the method ``.set('attrname')`` without value argument
(or ``None``) on HTML elements creates an attribute without value that
serialises like ``<div attrname></div>``. Patch by Daniel Holth.

* GH197: Ignore form input fields in ``form_values()`` when they are
marked as ``disabled`` in HTML. Patch by Kristian Klemon.

Bugs fixed
----------

* GH206: File name and line number were missing from XSLT error messages.
Patch by Marcus Brinkmann.

Other changes
-------------

* Log entries no longer allow anything but plain string objects as message text
and file name.

* ``zlib`` is included in the list of statically built libraries.

3.6.4

Not secure
==================

* GH204, LP1614693: build fix for MacOS-X.

Page 9 of 28

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.