Opened 15 months ago
Closed 15 months ago
#21779 closed enhancement (fixed)
lxml-6.0.0 (Python module)
| Reported by: | Bruce Dubbs | Owned by: | Bruce Dubbs |
|---|---|---|---|
| Priority: | normal | Milestone: | 12.4 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description
New major version.
Change History (3)
comment:1 by , 15 months ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 15 months ago
| Summary: | lxml-6.0.0 → lxml-6.0.0 (Python module) |
|---|
comment:3 by , 15 months ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed at commits
00e44cf666 Update to nettle-3.10.2. b5c802424f Update to lxml-6.0.0 (Python module). 40a4cf0123 Update to fontconfig-2.17.0.
Note:
See TracTickets
for help on using tickets.

lxml changelog - 6.0.0 (2025-06-26)
Features added
lxml.html.diffis faster and provides structurally better diffs.ElementandElementTreecan now be used in type hints.memoryviewand other buffers is supported to allow zero-copy parsing.lxml.html.builderwas missing several HTML5 tag names.CDATAcan now be written into the incrementalxmlfile()writer.decompress=Falsewas added that controls the automatic input decompression when using libxml2 2.15.0 or later. Disabling this option by default will effectively prevent decompression bombs when handling untrusted input. Code that depends on automatic decompression must enable this option. Note that libxml2 2.15.0 was not released yet, so this option currently has no effect but can already be used.etree.LIBXML_COMPILED_FEATURESandetree.LIBXML_FEATURES. This currently includescatalog,ftp,html,http,iconv,icu,lzma,regexp,schematron,xmlschema,xpath,zlib.Bugs fixed
.find*()could mishandle tag indices if a default namespace is provided.headandbodyproperties oflxml.htmlelements failed if no such element was found. They now returnNoneinstead.INT_MAXcould be truncated or mishandled in other ways..text_content()onlxml.htmlelements accidentally returned a "smart string" without additional information. It now returns a plain string.sys.monitoringsupport due to the lack of support in https://github.com/nedbat/coveragepy/issues/1790Other changes
Schematronclass is deprecated and will become non-functional in a future lxml version. The feature will soon be removed from libxml2 and stop being available.arm7ltarget.arm64target."http" in etree.LIBXML_FEATURES.MemDebug.dump()andMemDebug.show()were removed completely. libxml2 2.13.0 discarded this feature.