Lxml

Latest version: v5.3.0

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

Scan your dependencies

Page 20 of 28

2.2beta2

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

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

* Potential memory leak on exception handling. This was due to a
problem in Cython, not lxml itself.

* ``iter_links`` (and related link-rewriting functions) in
``lxml.html`` would interpret CSS like ``url("link")`` incorrectly
(treating the quotation marks as part of the link).

* Failing import on systems that have an ``io`` module.

2.2beta1

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

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

* Allow ``lxml.html.diff.htmldiff`` to accept Element objects, not
just HTML strings.

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

* Crash when using an XPath evaluator in multiple threads.

* Fixed missing whitespace before ``Link:...`` in ``lxml.html.diff``.

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

* Export ``lxml.html.parse``.

2.2alpha1

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

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

* Support for XSLT result tree fragments in XPath/XSLT extension
functions.

* QName objects have new properties ``namespace`` and ``localname``.

* New options for exclusive C14N and C14N without comments.

* Instantiating a custom Element classes creates a new Element.

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

* XSLT didn't inherit the parse options of the input document.

* 0-bytes could slip through the API when used inside of Unicode
strings.

* With ``lxml.html.clean.autolink``, links with balanced parenthesis,
that end in a parenthesis, will be linked in their entirety (typical
with Wikipedia links).

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

2.1.5

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

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

* Potential memory leak on exception handling. This was due to a
problem in Cython, not lxml itself.

* Failing import on systems that have an ``io`` module.

2.1.4

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

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

* Crash when using an XPath evaluator in multiple threads.

2.1.3

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

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

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

* Ref-count leaks when lxml enters a try-except statement while an
outside exception lives in sys.exc_*(). This was due to a problem in
Cython, not lxml itself.

* Parser Unicode decoding errors could get swallowed by other
exceptions.

* Name/import errors in some Python modules.

* Internal DTD subsets that did not specify a system or public ID were
not serialised and did not appear in the docinfo property of
ElementTrees.

* Fix a pre-Py3k warning when parsing from a gzip file in Py2.6.

* Test suite fixes for libxml2 2.7.

* Resolver.resolve_string() did not work for non-ASCII byte strings.

* Resolver.resolve_file() was broken.

* Overriding the parser encoding didn't work for many encodings.

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

Page 20 of 28

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.