lxml 5.3.0__cp310-cp310-macosx_10_9_x86_64.whl → 5.3.1__cp310-cp310-macosx_10_9_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lxml/__init__.py +1 -1
- lxml/_elementpath.cpython-310-darwin.so +0 -0
- lxml/builder.cpython-310-darwin.so +0 -0
- lxml/dtd.pxi +2 -1
- lxml/etree.cpython-310-darwin.so +0 -0
- lxml/etree.h +3 -3
- lxml/etree.pyx +2 -1
- lxml/html/diff.cpython-310-darwin.so +0 -0
- lxml/includes/lxml-version.h +1 -1
- lxml/iterparse.pxi +2 -2
- lxml/lxml.etree.h +3 -3
- lxml/objectify.cpython-310-darwin.so +0 -0
- lxml/sax.cpython-310-darwin.so +0 -0
- {lxml-5.3.0.dist-info → lxml-5.3.1.dist-info}/METADATA +25 -24
- {lxml-5.3.0.dist-info → lxml-5.3.1.dist-info}/RECORD +19 -19
- {lxml-5.3.0.dist-info → lxml-5.3.1.dist-info}/WHEEL +1 -1
- {lxml-5.3.0.dist-info → lxml-5.3.1.dist-info}/LICENSE.txt +0 -0
- {lxml-5.3.0.dist-info → lxml-5.3.1.dist-info}/LICENSES.txt +0 -0
- {lxml-5.3.0.dist-info → lxml-5.3.1.dist-info}/top_level.txt +0 -0
lxml/__init__.py
CHANGED
Binary file
|
Binary file
|
lxml/dtd.pxi
CHANGED
@@ -293,9 +293,10 @@ cdef class DTD(_Validator):
|
|
293
293
|
else:
|
294
294
|
raise DTDParseError, "file must be a filename, file-like or path-like object"
|
295
295
|
elif external_id is not None:
|
296
|
+
external_id_utf = _utf8(external_id)
|
296
297
|
with self._error_log:
|
297
298
|
orig_loader = _register_document_loader()
|
298
|
-
self._c_dtd = xmlparser.xmlParseDTD(<const_xmlChar*>
|
299
|
+
self._c_dtd = xmlparser.xmlParseDTD(<const_xmlChar*>external_id_utf, NULL)
|
299
300
|
_reset_document_loader(orig_loader)
|
300
301
|
else:
|
301
302
|
raise DTDParseError, "either filename or external ID required"
|
lxml/etree.cpython-310-darwin.so
CHANGED
Binary file
|
lxml/etree.h
CHANGED
@@ -52,7 +52,7 @@ struct LxmlElement {
|
|
52
52
|
PyObject *_tag;
|
53
53
|
};
|
54
54
|
|
55
|
-
/* "lxml/etree.pyx":
|
55
|
+
/* "lxml/etree.pyx":1895
|
56
56
|
*
|
57
57
|
*
|
58
58
|
* cdef public class _ElementTree [ type LxmlElementTreeType, # <<<<<<<<<<<<<<
|
@@ -66,7 +66,7 @@ struct LxmlElementTree {
|
|
66
66
|
struct LxmlElement *_context_node;
|
67
67
|
};
|
68
68
|
|
69
|
-
/* "lxml/etree.pyx":
|
69
|
+
/* "lxml/etree.pyx":2669
|
70
70
|
*
|
71
71
|
*
|
72
72
|
* cdef public class _ElementTagMatcher [ object LxmlElementTagMatcher, # <<<<<<<<<<<<<<
|
@@ -82,7 +82,7 @@ struct LxmlElementTagMatcher {
|
|
82
82
|
char *_name;
|
83
83
|
};
|
84
84
|
|
85
|
-
/* "lxml/etree.pyx":
|
85
|
+
/* "lxml/etree.pyx":2700
|
86
86
|
* self._name = NULL
|
87
87
|
*
|
88
88
|
* cdef public class _ElementIterator(_ElementTagMatcher) [ # <<<<<<<<<<<<<<
|
lxml/etree.pyx
CHANGED
@@ -1214,7 +1214,8 @@ cdef public class _Element [ type LxmlElementType, object LxmlElement ]:
|
|
1214
1214
|
"""__bool__(self)"""
|
1215
1215
|
import warnings
|
1216
1216
|
warnings.warn(
|
1217
|
-
"
|
1217
|
+
"Truth-testing of elements was a source of confusion and will always "
|
1218
|
+
"return True in future versions. "
|
1218
1219
|
"Use specific 'len(elem)' or 'elem is not None' test instead.",
|
1219
1220
|
FutureWarning
|
1220
1221
|
)
|
Binary file
|
lxml/includes/lxml-version.h
CHANGED
lxml/iterparse.pxi
CHANGED
@@ -42,7 +42,8 @@ cdef class iterparse:
|
|
42
42
|
- remove_blank_text: discard blank text nodes
|
43
43
|
- remove_comments: discard comments
|
44
44
|
- remove_pis: discard processing instructions
|
45
|
-
- strip_cdata: replace CDATA sections by normal text content (default:
|
45
|
+
- strip_cdata: replace CDATA sections by normal text content (default:
|
46
|
+
True for XML, ignored otherwise)
|
46
47
|
- compact: safe memory for short text content (default: True)
|
47
48
|
- resolve_entities: replace entities by their text value (default: True)
|
48
49
|
- huge_tree: disable security restrictions and support very deep trees
|
@@ -97,7 +98,6 @@ cdef class iterparse:
|
|
97
98
|
remove_blank_text=remove_blank_text,
|
98
99
|
remove_comments=remove_comments,
|
99
100
|
remove_pis=remove_pis,
|
100
|
-
strip_cdata=strip_cdata,
|
101
101
|
no_network=no_network,
|
102
102
|
target=None, # TODO
|
103
103
|
schema=schema,
|
lxml/lxml.etree.h
CHANGED
@@ -52,7 +52,7 @@ struct LxmlElement {
|
|
52
52
|
PyObject *_tag;
|
53
53
|
};
|
54
54
|
|
55
|
-
/* "lxml/etree.pyx":
|
55
|
+
/* "lxml/etree.pyx":1895
|
56
56
|
*
|
57
57
|
*
|
58
58
|
* cdef public class _ElementTree [ type LxmlElementTreeType, # <<<<<<<<<<<<<<
|
@@ -66,7 +66,7 @@ struct LxmlElementTree {
|
|
66
66
|
struct LxmlElement *_context_node;
|
67
67
|
};
|
68
68
|
|
69
|
-
/* "lxml/etree.pyx":
|
69
|
+
/* "lxml/etree.pyx":2669
|
70
70
|
*
|
71
71
|
*
|
72
72
|
* cdef public class _ElementTagMatcher [ object LxmlElementTagMatcher, # <<<<<<<<<<<<<<
|
@@ -82,7 +82,7 @@ struct LxmlElementTagMatcher {
|
|
82
82
|
char *_name;
|
83
83
|
};
|
84
84
|
|
85
|
-
/* "lxml/etree.pyx":
|
85
|
+
/* "lxml/etree.pyx":2700
|
86
86
|
* self._name = NULL
|
87
87
|
*
|
88
88
|
* cdef public class _ElementIterator(_ElementTagMatcher) [ # <<<<<<<<<<<<<<
|
Binary file
|
lxml/sax.cpython-310-darwin.so
CHANGED
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: lxml
|
3
|
-
Version: 5.3.
|
3
|
+
Version: 5.3.1
|
4
4
|
Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
|
5
5
|
Home-page: https://lxml.de/
|
6
6
|
Author: lxml dev team
|
@@ -30,16 +30,28 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
30
|
Requires-Python: >=3.6
|
31
31
|
License-File: LICENSE.txt
|
32
32
|
License-File: LICENSES.txt
|
33
|
+
Provides-Extra: source
|
34
|
+
Requires-Dist: Cython<3.1.0,>=3.0.11; extra == "source"
|
33
35
|
Provides-Extra: cssselect
|
34
36
|
Requires-Dist: cssselect>=0.7; extra == "cssselect"
|
35
37
|
Provides-Extra: html5
|
36
38
|
Requires-Dist: html5lib; extra == "html5"
|
37
|
-
Provides-Extra: html_clean
|
38
|
-
Requires-Dist: lxml-html-clean; extra == "html-clean"
|
39
39
|
Provides-Extra: htmlsoup
|
40
40
|
Requires-Dist: BeautifulSoup4; extra == "htmlsoup"
|
41
|
-
Provides-Extra:
|
42
|
-
Requires-Dist:
|
41
|
+
Provides-Extra: html-clean
|
42
|
+
Requires-Dist: lxml_html_clean; extra == "html-clean"
|
43
|
+
Dynamic: author
|
44
|
+
Dynamic: author-email
|
45
|
+
Dynamic: classifier
|
46
|
+
Dynamic: description
|
47
|
+
Dynamic: home-page
|
48
|
+
Dynamic: license
|
49
|
+
Dynamic: maintainer
|
50
|
+
Dynamic: maintainer-email
|
51
|
+
Dynamic: project-url
|
52
|
+
Dynamic: provides-extra
|
53
|
+
Dynamic: requires-python
|
54
|
+
Dynamic: summary
|
43
55
|
|
44
56
|
lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It
|
45
57
|
provides safe and convenient access to these libraries using the ElementTree
|
@@ -71,33 +83,22 @@ https://github.com/lxml/lxml/tarball/lxml-5.3#egg=lxml-5.3bugfix
|
|
71
83
|
as soon as a maintenance branch has been established. Note that this
|
72
84
|
requires Cython to be installed at an appropriate version for the build.
|
73
85
|
|
74
|
-
5.3.
|
86
|
+
5.3.1 (2025-02-09)
|
75
87
|
==================
|
76
88
|
|
77
|
-
Features added
|
78
|
-
--------------
|
79
|
-
|
80
|
-
* GH#421: Nested ``CDATA`` sections are no longer rejected but split on output
|
81
|
-
to represent ``]]>`` correctly.
|
82
|
-
Patch by Gertjan Klein.
|
83
|
-
|
84
89
|
Bugs fixed
|
85
90
|
----------
|
86
91
|
|
87
|
-
*
|
92
|
+
* GH#440: Some tests were adapted for libxml2 2.14.0.
|
93
|
+
Patch by Nick Wellnhofer.
|
88
94
|
|
89
|
-
* LP#
|
90
|
-
|
95
|
+
* LP#2097175: ``DTD(external_id="…")`` erroneously required a byte string as ID value.
|
96
|
+
|
97
|
+
* GH#450: ``iterparse()`` internally triggered the `DeprecationWarning`` added in lxml 5.3.0 when parsing HTML.
|
91
98
|
|
92
99
|
Other changes
|
93
100
|
-------------
|
94
101
|
|
95
|
-
*
|
96
|
-
|
97
|
-
* Binary wheels use the library versions libxml2 2.12.9 and libxslt 1.1.42.
|
98
|
-
|
99
|
-
* Windows binary wheels use the library versions libxml2 2.11.8 and libxslt 1.1.39.
|
100
|
-
|
101
|
-
* Built with Cython 3.0.11.
|
102
|
+
* GH#442: Binary wheels for macOS no longer use the linker flag ``-flat_namespace``.
|
102
103
|
|
103
104
|
|
@@ -1,50 +1,50 @@
|
|
1
|
-
lxml-5.3.
|
2
|
-
lxml-5.3.
|
3
|
-
lxml-5.3.
|
4
|
-
lxml-5.3.
|
5
|
-
lxml-5.3.
|
6
|
-
lxml-5.3.
|
1
|
+
lxml-5.3.1.dist-info/RECORD,,
|
2
|
+
lxml-5.3.1.dist-info/WHEEL,sha256=7ffzAg6B9jNsI5fzXAu6JnblIkGEPEYZBaLviKorHoo,110
|
3
|
+
lxml-5.3.1.dist-info/top_level.txt,sha256=NjD988wqaKq512nshNdLt-uDxsjkp4Bh51m6N-dhUrk,5
|
4
|
+
lxml-5.3.1.dist-info/LICENSE.txt,sha256=ae20RcEzWoMS1MCScYR-mVbYTw2fck0SU0DMP612eyo,1488
|
5
|
+
lxml-5.3.1.dist-info/LICENSES.txt,sha256=QdSd1AaqDhVIptXyGjDWv2OLPNlutyid00jYPtLkA5I,1514
|
6
|
+
lxml-5.3.1.dist-info/METADATA,sha256=4Nldp5Lba2SRGt47Jgw2WHkZmZ7K-UVEAVBKbYZRHf8,3730
|
7
7
|
lxml/public-api.pxi,sha256=XoP6_cJOEoQIItvE1RiYCKYD1ry4AobaOr4XLo0KSE4,6666
|
8
8
|
lxml/xmlid.pxi,sha256=5zf9oR6bsCtavGiOmilNyHqYwgG_bnrIabSd2SURtm0,6073
|
9
9
|
lxml/cleanup.pxi,sha256=ZNEpbv7qx_ICPzsxhCaMUHCOfiznOoZ_u3jlYXHAuh4,8454
|
10
10
|
lxml/_elementpath.py,sha256=5-PzX8ZIxPIvESKDGVL829sejYkvx991FSQyM-J0LqE,10888
|
11
11
|
lxml/xslt.pxi,sha256=R2fpAf0P7GA1Dhjg0-fGVUbxCk8bBAshuoAs4ODwqlc,36023
|
12
|
-
lxml/etree.cpython-310-darwin.so,sha256=
|
12
|
+
lxml/etree.cpython-310-darwin.so,sha256=dyHw2v_gwfq90d8hbSn_k4SH5rJflVeVkNmta81_1lI,4663088
|
13
13
|
lxml/xpath.pxi,sha256=aqW24V817dUxps4Gnc8h7Tm3QVlITKvxU5_9WgJUIFg,19132
|
14
14
|
lxml/debug.pxi,sha256=zhxiMeNnKtkjn_FWboHk1T-Vtcg_vEGV8jfYK0XyXHM,3282
|
15
15
|
lxml/serializer.pxi,sha256=kiHyYa5EK1T_hpsXni-JSa6XuhXlU4BaESP0c-Qkbek,65753
|
16
16
|
lxml/classlookup.pxi,sha256=Tax8Vhbm5C6UCjgmRFsYjW0pFHxIuTthH1MOgASDLgc,22435
|
17
|
-
lxml/objectify.cpython-310-darwin.so,sha256
|
17
|
+
lxml/objectify.cpython-310-darwin.so,sha256=-Apgioc1kmL-sXfNTwtY5Tn7nccO6JLcolMS-GLISvQ,2678704
|
18
18
|
lxml/saxparser.pxi,sha256=9nJEnVFFFx7vueUJ3fSeDjxG4gLgrXsDBWVkD_f8U1Q,33322
|
19
19
|
lxml/sax.py,sha256=8e9Ef4Cfbwr7AHMGCBBZcotBkOehQtdaCxsVCgWM5_c,9303
|
20
20
|
lxml/pyclasslookup.py,sha256=gLD1HM2HtITYYiGzjEOewSwbB7XkVx_NZv_quCt79Oc,92
|
21
|
-
lxml/__init__.py,sha256=
|
21
|
+
lxml/__init__.py,sha256=C88y6BFzhYlNhQIHXh1_Dz49bwKmUnhJJfq_PxM7mTI,574
|
22
22
|
lxml/objectpath.pxi,sha256=s5TNG2-EbaWWKLFAiX303B95zK_Ui8ausB__3QvFFGw,11450
|
23
23
|
lxml/relaxng.pxi,sha256=3OQ-fZMzP-KF5vM6HTozT_9ee3J0DJnpj9RcHC8LoMw,6339
|
24
24
|
lxml/etree_api.h,sha256=kVJ_gwZ1gF3GgGTpD324jh4RJSwSVX3XOqoNuoJur9o,17063
|
25
25
|
lxml/xinclude.pxi,sha256=7eBrI_OK47mmrHQ0ixbixRI8pKqQ1nwkMV-OmKUVlD4,2456
|
26
|
-
lxml/iterparse.pxi,sha256=
|
26
|
+
lxml/iterparse.pxi,sha256=JXvYhSOCaRjT_hYbRGMlJt2rlqx0TiRpN4FE1jQc63w,16521
|
27
27
|
lxml/parser.pxi,sha256=LnahQZQl0qCLWtH1NMMHy0_fwG7maRsL-py0q5lauw0,82040
|
28
28
|
lxml/objectify.pyx,sha256=pvaZmS21G-qlNjPuVaB_dgGgi0alxNALo7gFOV8Ispc,75735
|
29
29
|
lxml/builder.py,sha256=XD0DQc_G-D950Ym2NwDqxF2v9frtldxdfmvYhxhpP64,8100
|
30
|
-
lxml/builder.cpython-310-darwin.so,sha256=
|
31
|
-
lxml/dtd.pxi,sha256=
|
30
|
+
lxml/builder.cpython-310-darwin.so,sha256=TSPByvruyZLgebt3TkwEgIkDKuilhzjCXIkk3VH6O4Y,103064
|
31
|
+
lxml/dtd.pxi,sha256=IAKkmA4ZoC68sqAWcTqoS8jEGYcPQrVMCZgn4iLBYko,15281
|
32
32
|
lxml/apihelpers.pxi,sha256=zipCUecXzy5INij_qdEEqZoLp9LYB3CJQUzIzFVH1Ow,63610
|
33
|
-
lxml/sax.cpython-310-darwin.so,sha256=
|
33
|
+
lxml/sax.cpython-310-darwin.so,sha256=akQ-0fZWRTLrG61dSBpecJ2GvVnAeT1KRGkY51JOYEQ,164672
|
34
34
|
lxml/xmlerror.pxi,sha256=K7YIB21sLWdf_2GxyUymRZ5vDr3O4OJ5vGjrklBGa6o,49854
|
35
35
|
lxml/doctestcompare.py,sha256=40EDnkwpcvW86qNa86990OXF42xdHaosSZoiBsEjkzU,17731
|
36
36
|
lxml/usedoctest.py,sha256=qRgZKQVcAZcl-zN0AIXVJnOsETUXz2nPXkxuzs1lGgk,230
|
37
37
|
lxml/readonlytree.pxi,sha256=ddRYczhHieJ4XUvWvTPW9N9oQ8vuKtv7lC1mtE1qvH8,18976
|
38
38
|
lxml/cssselect.py,sha256=_wZdX-B9p5MeIYABmENIYRWEkwXwX-7jO8Dkf-1rUZU,3306
|
39
|
-
lxml/_elementpath.cpython-310-darwin.so,sha256=
|
40
|
-
lxml/etree.pyx,sha256=
|
39
|
+
lxml/_elementpath.cpython-310-darwin.so,sha256=HkOjEO9_ERb8G9buG5uAAlWufxmlIRleXc9PjLkMqC0,194032
|
40
|
+
lxml/etree.pyx,sha256=LhRTPTEvlFT3PA7L4vvidp9HYQVqX78VZEPUj2ENlSE,134517
|
41
41
|
lxml/extensions.pxi,sha256=58O6mBbDeWnkiIsRd9T7mLodylo7typz2dbjpJryAyY,32088
|
42
42
|
lxml/xmlschema.pxi,sha256=mumNoHni5S3BQPtcmOHRd61KRaVWu4eOie2wQeB0e6E,8490
|
43
43
|
lxml/schematron.pxi,sha256=hFn1p4egpvvz-Tkk2AH7cbVOavTC-A7mzHABHrGh7g4,5908
|
44
|
-
lxml/lxml.etree.h,sha256=
|
44
|
+
lxml/lxml.etree.h,sha256=LkW1ggNgVtN6OkYtnTMuRUS5tCNcQ_QcdveBB8TcQgs,9912
|
45
45
|
lxml/docloader.pxi,sha256=bYSZAxxbBEfVzfLXTUWFRfOyUTfV23L7i9hR2dgtSNY,5772
|
46
46
|
lxml/nsclasses.pxi,sha256=5pzNBhBtlqObPdThL9QIGRs1Dxj1qnr0PyXuTCURqTg,9129
|
47
|
-
lxml/etree.h,sha256=
|
47
|
+
lxml/etree.h,sha256=LkW1ggNgVtN6OkYtnTMuRUS5tCNcQ_QcdveBB8TcQgs,9912
|
48
48
|
lxml/parsertarget.pxi,sha256=v1PidxRaG5giwXcTDkpBI7PDFmsZuOcK0y9LdkQaY8M,6326
|
49
49
|
lxml/ElementInclude.py,sha256=PSLeZFvCa76WHJulPLxcZXJtCI2-4dK2CtqPRiYOAQg,8560
|
50
50
|
lxml/xsltext.pxi,sha256=TImDiAPlAezC07P7RY1N9YChA7AuKFH-G53hXdel9yc,11088
|
@@ -64,7 +64,7 @@ lxml/includes/xmlerror.pxd,sha256=pNP5juL4hRHdVdXUWzMspbdtgPqJdHLDu4jns3ItvrI,58
|
|
64
64
|
lxml/includes/c14n.pxd,sha256=DBQcOJ0c_YS245ohMb8fmuEC1kFyv1LrNY_8Mf-syZg,1110
|
65
65
|
lxml/includes/xmlschema.pxd,sha256=OLZPd2WDJyopiXJJyo-dAyyYHaeSYFiMAI4tqIiv-Ik,1702
|
66
66
|
lxml/includes/__init__.pxd,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
67
|
-
lxml/includes/lxml-version.h,sha256=
|
67
|
+
lxml/includes/lxml-version.h,sha256=AfD6JI9PZVUuwCeUT_L52dun4-ZzekpKD8bOCjGIHQM,71
|
68
68
|
lxml/includes/schematron.pxd,sha256=Hob7xh-K-MKqp7WiG8thMagf5EkQzmgfi4ds0EF91JA,1604
|
69
69
|
lxml/includes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
70
70
|
lxml/includes/tree.pxd,sha256=Z5mHkABQPlnwu81WTTq7R4fz17rJAkamOvXf_Jp-nxg,20391
|
@@ -168,5 +168,5 @@ lxml/html/builder.py,sha256=aRgS-Ea9bli-muGX0iUQGKAe9D93P8BspQ2WPuiWJcU,4492
|
|
168
168
|
lxml/html/ElementSoup.py,sha256=s_dLobLMuKn2DhexR-iDXdZrMFg1RjLy1feHsIeZMpw,320
|
169
169
|
lxml/html/_html5builder.py,sha256=NLaT-Ev-aBgJpeQl-6ZbJChLZK5GV-znDkHOJD5VQC4,3230
|
170
170
|
lxml/html/usedoctest.py,sha256=tPlmVz4KK1GRKV5DJLrdVECeqsT9PlDzSqqTodVi5s0,249
|
171
|
-
lxml/html/diff.cpython-310-darwin.so,sha256=
|
171
|
+
lxml/html/diff.cpython-310-darwin.so,sha256=Ln3iLzmbi7bEnRmc4ksMOQLbnYL1EWqCQlfpFXWAtPw,351608
|
172
172
|
lxml/html/diff.py,sha256=n2jMJW8D2OYfG-SKbdmpSjZ3Lwk516WwJfMn6yvQiuM,30393
|
File without changes
|
File without changes
|
File without changes
|