lxml 5.3.1__cp38-cp38-win_amd64.whl → 5.4.0__cp38-cp38-win_amd64.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.cp38-win_amd64.pyd +0 -0
- lxml/builder.cp38-win_amd64.pyd +0 -0
- lxml/etree.cp38-win_amd64.pyd +0 -0
- lxml/etree.h +1 -1
- lxml/etree_api.h +49 -49
- lxml/html/diff.cp38-win_amd64.pyd +0 -0
- lxml/includes/extlibs/zconf.h +23 -14
- lxml/includes/extlibs/zlib.h +202 -199
- lxml/includes/libxml/xmlversion.h +4 -4
- lxml/includes/lxml-version.h +1 -1
- lxml/lxml.etree.h +1 -1
- lxml/lxml.etree_api.h +49 -49
- lxml/objectify.cp38-win_amd64.pyd +0 -0
- lxml/sax.cp38-win_amd64.pyd +0 -0
- {lxml-5.3.1.dist-info → lxml-5.4.0.dist-info}/METADATA +9 -18
- {lxml-5.3.1.dist-info → lxml-5.4.0.dist-info}/RECORD +21 -21
- {lxml-5.3.1.dist-info → lxml-5.4.0.dist-info}/WHEEL +1 -1
- {lxml-5.3.1.dist-info → lxml-5.4.0.dist-info}/LICENSE.txt +0 -0
- {lxml-5.3.1.dist-info → lxml-5.4.0.dist-info}/LICENSES.txt +0 -0
- {lxml-5.3.1.dist-info → lxml-5.4.0.dist-info}/top_level.txt +0 -0
lxml/__init__.py
CHANGED
Binary file
|
lxml/builder.cp38-win_amd64.pyd
CHANGED
Binary file
|
lxml/etree.cp38-win_amd64.pyd
CHANGED
Binary file
|
lxml/etree.h
CHANGED
lxml/etree_api.h
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* Generated by Cython 3.0.
|
1
|
+
/* Generated by Cython 3.0.12 */
|
2
2
|
|
3
3
|
#ifndef __PYX_HAVE_API__lxml__etree
|
4
4
|
#define __PYX_HAVE_API__lxml__etree
|
@@ -98,9 +98,9 @@ static void (*__pyx_api_f_4lxml_5etree_initTagMatch)(struct LxmlElementTagMatche
|
|
98
98
|
#define initTagMatch __pyx_api_f_4lxml_5etree_initTagMatch
|
99
99
|
static xmlNs *(*__pyx_api_f_4lxml_5etree_findOrBuildNodeNsPrefix)(struct LxmlDocument *, xmlNode *, const xmlChar *, const xmlChar *) = 0;
|
100
100
|
#define findOrBuildNodeNsPrefix __pyx_api_f_4lxml_5etree_findOrBuildNodeNsPrefix
|
101
|
-
#ifndef
|
102
|
-
#define
|
103
|
-
static int
|
101
|
+
#ifndef __PYX_HAVE_RT_ImportFunction_3_0_12
|
102
|
+
#define __PYX_HAVE_RT_ImportFunction_3_0_12
|
103
|
+
static int __Pyx_ImportFunction_3_0_12(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
|
104
104
|
PyObject *d = 0;
|
105
105
|
PyObject *cobj = 0;
|
106
106
|
union {
|
@@ -140,51 +140,51 @@ static int import_lxml__etree(void) {
|
|
140
140
|
PyObject *module = 0;
|
141
141
|
module = PyImport_ImportModule("lxml.etree");
|
142
142
|
if (!module) goto bad;
|
143
|
-
if (
|
144
|
-
if (
|
145
|
-
if (
|
146
|
-
if (
|
147
|
-
if (
|
148
|
-
if (
|
149
|
-
if (
|
150
|
-
if (
|
151
|
-
if (
|
152
|
-
if (
|
153
|
-
if (
|
154
|
-
if (
|
155
|
-
if (
|
156
|
-
if (
|
157
|
-
if (
|
158
|
-
if (
|
159
|
-
if (
|
160
|
-
if (
|
161
|
-
if (
|
162
|
-
if (
|
163
|
-
if (
|
164
|
-
if (
|
165
|
-
if (
|
166
|
-
if (
|
167
|
-
if (
|
168
|
-
if (
|
169
|
-
if (
|
170
|
-
if (
|
171
|
-
if (
|
172
|
-
if (
|
173
|
-
if (
|
174
|
-
if (
|
175
|
-
if (
|
176
|
-
if (
|
177
|
-
if (
|
178
|
-
if (
|
179
|
-
if (
|
180
|
-
if (
|
181
|
-
if (
|
182
|
-
if (
|
183
|
-
if (
|
184
|
-
if (
|
185
|
-
if (
|
186
|
-
if (
|
187
|
-
if (
|
143
|
+
if (__Pyx_ImportFunction_3_0_12(module, "deepcopyNodeToDocument", (void (**)(void))&__pyx_api_f_4lxml_5etree_deepcopyNodeToDocument, "struct LxmlElement *(struct LxmlDocument *, xmlNode *)") < 0) goto bad;
|
144
|
+
if (__Pyx_ImportFunction_3_0_12(module, "elementTreeFactory", (void (**)(void))&__pyx_api_f_4lxml_5etree_elementTreeFactory, "struct LxmlElementTree *(struct LxmlElement *)") < 0) goto bad;
|
145
|
+
if (__Pyx_ImportFunction_3_0_12(module, "newElementTree", (void (**)(void))&__pyx_api_f_4lxml_5etree_newElementTree, "struct LxmlElementTree *(struct LxmlElement *, PyObject *)") < 0) goto bad;
|
146
|
+
if (__Pyx_ImportFunction_3_0_12(module, "adoptExternalDocument", (void (**)(void))&__pyx_api_f_4lxml_5etree_adoptExternalDocument, "struct LxmlElementTree *(xmlDoc *, PyObject *, int)") < 0) goto bad;
|
147
|
+
if (__Pyx_ImportFunction_3_0_12(module, "elementFactory", (void (**)(void))&__pyx_api_f_4lxml_5etree_elementFactory, "struct LxmlElement *(struct LxmlDocument *, xmlNode *)") < 0) goto bad;
|
148
|
+
if (__Pyx_ImportFunction_3_0_12(module, "makeElement", (void (**)(void))&__pyx_api_f_4lxml_5etree_makeElement, "struct LxmlElement *(PyObject *, struct LxmlDocument *, PyObject *, PyObject *, PyObject *, PyObject *, PyObject *)") < 0) goto bad;
|
149
|
+
if (__Pyx_ImportFunction_3_0_12(module, "makeSubElement", (void (**)(void))&__pyx_api_f_4lxml_5etree_makeSubElement, "struct LxmlElement *(struct LxmlElement *, PyObject *, PyObject *, PyObject *, PyObject *, PyObject *)") < 0) goto bad;
|
150
|
+
if (__Pyx_ImportFunction_3_0_12(module, "setElementClassLookupFunction", (void (**)(void))&__pyx_api_f_4lxml_5etree_setElementClassLookupFunction, "void (_element_class_lookup_function, PyObject *)") < 0) goto bad;
|
151
|
+
if (__Pyx_ImportFunction_3_0_12(module, "lookupDefaultElementClass", (void (**)(void))&__pyx_api_f_4lxml_5etree_lookupDefaultElementClass, "PyObject *(PyObject *, PyObject *, xmlNode *)") < 0) goto bad;
|
152
|
+
if (__Pyx_ImportFunction_3_0_12(module, "lookupNamespaceElementClass", (void (**)(void))&__pyx_api_f_4lxml_5etree_lookupNamespaceElementClass, "PyObject *(PyObject *, PyObject *, xmlNode *)") < 0) goto bad;
|
153
|
+
if (__Pyx_ImportFunction_3_0_12(module, "callLookupFallback", (void (**)(void))&__pyx_api_f_4lxml_5etree_callLookupFallback, "PyObject *(struct LxmlFallbackElementClassLookup *, struct LxmlDocument *, xmlNode *)") < 0) goto bad;
|
154
|
+
if (__Pyx_ImportFunction_3_0_12(module, "tagMatches", (void (**)(void))&__pyx_api_f_4lxml_5etree_tagMatches, "int (xmlNode *, const xmlChar *, const xmlChar *)") < 0) goto bad;
|
155
|
+
if (__Pyx_ImportFunction_3_0_12(module, "documentOrRaise", (void (**)(void))&__pyx_api_f_4lxml_5etree_documentOrRaise, "struct LxmlDocument *(PyObject *)") < 0) goto bad;
|
156
|
+
if (__Pyx_ImportFunction_3_0_12(module, "rootNodeOrRaise", (void (**)(void))&__pyx_api_f_4lxml_5etree_rootNodeOrRaise, "struct LxmlElement *(PyObject *)") < 0) goto bad;
|
157
|
+
if (__Pyx_ImportFunction_3_0_12(module, "hasText", (void (**)(void))&__pyx_api_f_4lxml_5etree_hasText, "int (xmlNode *)") < 0) goto bad;
|
158
|
+
if (__Pyx_ImportFunction_3_0_12(module, "hasTail", (void (**)(void))&__pyx_api_f_4lxml_5etree_hasTail, "int (xmlNode *)") < 0) goto bad;
|
159
|
+
if (__Pyx_ImportFunction_3_0_12(module, "textOf", (void (**)(void))&__pyx_api_f_4lxml_5etree_textOf, "PyObject *(xmlNode *)") < 0) goto bad;
|
160
|
+
if (__Pyx_ImportFunction_3_0_12(module, "tailOf", (void (**)(void))&__pyx_api_f_4lxml_5etree_tailOf, "PyObject *(xmlNode *)") < 0) goto bad;
|
161
|
+
if (__Pyx_ImportFunction_3_0_12(module, "setNodeText", (void (**)(void))&__pyx_api_f_4lxml_5etree_setNodeText, "int (xmlNode *, PyObject *)") < 0) goto bad;
|
162
|
+
if (__Pyx_ImportFunction_3_0_12(module, "setTailText", (void (**)(void))&__pyx_api_f_4lxml_5etree_setTailText, "int (xmlNode *, PyObject *)") < 0) goto bad;
|
163
|
+
if (__Pyx_ImportFunction_3_0_12(module, "attributeValue", (void (**)(void))&__pyx_api_f_4lxml_5etree_attributeValue, "PyObject *(xmlNode *, xmlAttr *)") < 0) goto bad;
|
164
|
+
if (__Pyx_ImportFunction_3_0_12(module, "attributeValueFromNsName", (void (**)(void))&__pyx_api_f_4lxml_5etree_attributeValueFromNsName, "PyObject *(xmlNode *, const xmlChar *, const xmlChar *)") < 0) goto bad;
|
165
|
+
if (__Pyx_ImportFunction_3_0_12(module, "getAttributeValue", (void (**)(void))&__pyx_api_f_4lxml_5etree_getAttributeValue, "PyObject *(struct LxmlElement *, PyObject *, PyObject *)") < 0) goto bad;
|
166
|
+
if (__Pyx_ImportFunction_3_0_12(module, "iterattributes", (void (**)(void))&__pyx_api_f_4lxml_5etree_iterattributes, "PyObject *(struct LxmlElement *, int)") < 0) goto bad;
|
167
|
+
if (__Pyx_ImportFunction_3_0_12(module, "collectAttributes", (void (**)(void))&__pyx_api_f_4lxml_5etree_collectAttributes, "PyObject *(xmlNode *, int)") < 0) goto bad;
|
168
|
+
if (__Pyx_ImportFunction_3_0_12(module, "setAttributeValue", (void (**)(void))&__pyx_api_f_4lxml_5etree_setAttributeValue, "int (struct LxmlElement *, PyObject *, PyObject *)") < 0) goto bad;
|
169
|
+
if (__Pyx_ImportFunction_3_0_12(module, "delAttribute", (void (**)(void))&__pyx_api_f_4lxml_5etree_delAttribute, "int (struct LxmlElement *, PyObject *)") < 0) goto bad;
|
170
|
+
if (__Pyx_ImportFunction_3_0_12(module, "delAttributeFromNsName", (void (**)(void))&__pyx_api_f_4lxml_5etree_delAttributeFromNsName, "int (xmlNode *, const xmlChar *, const xmlChar *)") < 0) goto bad;
|
171
|
+
if (__Pyx_ImportFunction_3_0_12(module, "hasChild", (void (**)(void))&__pyx_api_f_4lxml_5etree_hasChild, "int (xmlNode *)") < 0) goto bad;
|
172
|
+
if (__Pyx_ImportFunction_3_0_12(module, "findChild", (void (**)(void))&__pyx_api_f_4lxml_5etree_findChild, "xmlNode *(xmlNode *, Py_ssize_t)") < 0) goto bad;
|
173
|
+
if (__Pyx_ImportFunction_3_0_12(module, "findChildForwards", (void (**)(void))&__pyx_api_f_4lxml_5etree_findChildForwards, "xmlNode *(xmlNode *, Py_ssize_t)") < 0) goto bad;
|
174
|
+
if (__Pyx_ImportFunction_3_0_12(module, "findChildBackwards", (void (**)(void))&__pyx_api_f_4lxml_5etree_findChildBackwards, "xmlNode *(xmlNode *, Py_ssize_t)") < 0) goto bad;
|
175
|
+
if (__Pyx_ImportFunction_3_0_12(module, "nextElement", (void (**)(void))&__pyx_api_f_4lxml_5etree_nextElement, "xmlNode *(xmlNode *)") < 0) goto bad;
|
176
|
+
if (__Pyx_ImportFunction_3_0_12(module, "previousElement", (void (**)(void))&__pyx_api_f_4lxml_5etree_previousElement, "xmlNode *(xmlNode *)") < 0) goto bad;
|
177
|
+
if (__Pyx_ImportFunction_3_0_12(module, "appendChild", (void (**)(void))&__pyx_api_f_4lxml_5etree_appendChild, "void (struct LxmlElement *, struct LxmlElement *)") < 0) goto bad;
|
178
|
+
if (__Pyx_ImportFunction_3_0_12(module, "appendChildToElement", (void (**)(void))&__pyx_api_f_4lxml_5etree_appendChildToElement, "int (struct LxmlElement *, struct LxmlElement *)") < 0) goto bad;
|
179
|
+
if (__Pyx_ImportFunction_3_0_12(module, "pyunicode", (void (**)(void))&__pyx_api_f_4lxml_5etree_pyunicode, "PyObject *(const xmlChar *)") < 0) goto bad;
|
180
|
+
if (__Pyx_ImportFunction_3_0_12(module, "utf8", (void (**)(void))&__pyx_api_f_4lxml_5etree_utf8, "PyObject *(PyObject *)") < 0) goto bad;
|
181
|
+
if (__Pyx_ImportFunction_3_0_12(module, "getNsTag", (void (**)(void))&__pyx_api_f_4lxml_5etree_getNsTag, "PyObject *(PyObject *)") < 0) goto bad;
|
182
|
+
if (__Pyx_ImportFunction_3_0_12(module, "getNsTagWithEmptyNs", (void (**)(void))&__pyx_api_f_4lxml_5etree_getNsTagWithEmptyNs, "PyObject *(PyObject *)") < 0) goto bad;
|
183
|
+
if (__Pyx_ImportFunction_3_0_12(module, "namespacedName", (void (**)(void))&__pyx_api_f_4lxml_5etree_namespacedName, "PyObject *(xmlNode *)") < 0) goto bad;
|
184
|
+
if (__Pyx_ImportFunction_3_0_12(module, "namespacedNameFromNsName", (void (**)(void))&__pyx_api_f_4lxml_5etree_namespacedNameFromNsName, "PyObject *(const xmlChar *, const xmlChar *)") < 0) goto bad;
|
185
|
+
if (__Pyx_ImportFunction_3_0_12(module, "iteratorStoreNext", (void (**)(void))&__pyx_api_f_4lxml_5etree_iteratorStoreNext, "void (struct LxmlElementIterator *, struct LxmlElement *)") < 0) goto bad;
|
186
|
+
if (__Pyx_ImportFunction_3_0_12(module, "initTagMatch", (void (**)(void))&__pyx_api_f_4lxml_5etree_initTagMatch, "void (struct LxmlElementTagMatcher *, PyObject *)") < 0) goto bad;
|
187
|
+
if (__Pyx_ImportFunction_3_0_12(module, "findOrBuildNodeNsPrefix", (void (**)(void))&__pyx_api_f_4lxml_5etree_findOrBuildNodeNsPrefix, "xmlNs *(struct LxmlDocument *, xmlNode *, const xmlChar *, const xmlChar *)") < 0) goto bad;
|
188
188
|
Py_DECREF(module); module = 0;
|
189
189
|
return 0;
|
190
190
|
bad:
|
Binary file
|
lxml/includes/extlibs/zconf.h
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/* zconf.h -- configuration of the zlib compression library
|
2
|
-
* Copyright (C) 1995-
|
2
|
+
* Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
|
3
3
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
4
4
|
*/
|
5
5
|
|
@@ -38,6 +38,9 @@
|
|
38
38
|
# define crc32 z_crc32
|
39
39
|
# define crc32_combine z_crc32_combine
|
40
40
|
# define crc32_combine64 z_crc32_combine64
|
41
|
+
# define crc32_combine_gen z_crc32_combine_gen
|
42
|
+
# define crc32_combine_gen64 z_crc32_combine_gen64
|
43
|
+
# define crc32_combine_op z_crc32_combine_op
|
41
44
|
# define crc32_z z_crc32_z
|
42
45
|
# define deflate z_deflate
|
43
46
|
# define deflateBound z_deflateBound
|
@@ -238,7 +241,11 @@
|
|
238
241
|
#endif
|
239
242
|
|
240
243
|
#ifdef Z_SOLO
|
241
|
-
|
244
|
+
# ifdef _WIN64
|
245
|
+
typedef unsigned long long z_size_t;
|
246
|
+
# else
|
247
|
+
typedef unsigned long z_size_t;
|
248
|
+
# endif
|
242
249
|
#else
|
243
250
|
# define z_longlong long long
|
244
251
|
# if defined(NO_SIZE_T)
|
@@ -293,14 +300,6 @@
|
|
293
300
|
# endif
|
294
301
|
#endif
|
295
302
|
|
296
|
-
#ifndef Z_ARG /* function prototypes for stdarg */
|
297
|
-
# if defined(STDC) || defined(Z_HAVE_STDARG_H)
|
298
|
-
# define Z_ARG(args) args
|
299
|
-
# else
|
300
|
-
# define Z_ARG(args) ()
|
301
|
-
# endif
|
302
|
-
#endif
|
303
|
-
|
304
303
|
/* The following definitions for FAR are needed only for MSDOS mixed
|
305
304
|
* model programming (small or medium model with some far allocations).
|
306
305
|
* This was tested only with MSC; for other MSDOS compilers you may have
|
@@ -349,6 +348,9 @@
|
|
349
348
|
# ifdef FAR
|
350
349
|
# undef FAR
|
351
350
|
# endif
|
351
|
+
# ifndef WIN32_LEAN_AND_MEAN
|
352
|
+
# define WIN32_LEAN_AND_MEAN
|
353
|
+
# endif
|
352
354
|
# include <windows.h>
|
353
355
|
/* No need for _export, use ZLIB.DEF instead. */
|
354
356
|
/* For complete Windows compatibility, use WINAPI, not __stdcall. */
|
@@ -467,11 +469,18 @@ typedef uLong FAR uLongf;
|
|
467
469
|
# undef _LARGEFILE64_SOURCE
|
468
470
|
#endif
|
469
471
|
|
470
|
-
#
|
471
|
-
#
|
472
|
+
#ifndef Z_HAVE_UNISTD_H
|
473
|
+
# ifdef __WATCOMC__
|
474
|
+
# define Z_HAVE_UNISTD_H
|
475
|
+
# endif
|
476
|
+
#endif
|
477
|
+
#ifndef Z_HAVE_UNISTD_H
|
478
|
+
# if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)
|
479
|
+
# define Z_HAVE_UNISTD_H
|
480
|
+
# endif
|
472
481
|
#endif
|
473
482
|
#ifndef Z_SOLO
|
474
|
-
# if defined(Z_HAVE_UNISTD_H)
|
483
|
+
# if defined(Z_HAVE_UNISTD_H)
|
475
484
|
# include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
|
476
485
|
# ifdef VMS
|
477
486
|
# include <unixio.h> /* for off_t */
|
@@ -507,7 +516,7 @@ typedef uLong FAR uLongf;
|
|
507
516
|
#if !defined(_WIN32) && defined(Z_LARGE64)
|
508
517
|
# define z_off64_t off64_t
|
509
518
|
#else
|
510
|
-
# if defined(_WIN32) && !defined(__GNUC__)
|
519
|
+
# if defined(_WIN32) && !defined(__GNUC__)
|
511
520
|
# define z_off64_t __int64
|
512
521
|
# else
|
513
522
|
# define z_off64_t z_off_t
|