biotite 0.38.0__cp311-cp311-macosx_11_0_arm64.whl → 0.40.0__cp311-cp311-macosx_11_0_arm64.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.
Potentially problematic release.
This version of biotite might be problematic. Click here for more details.
- biotite/__init__.py +3 -3
- biotite/application/application.py +33 -28
- biotite/application/dssp/app.py +18 -18
- biotite/application/sra/__init__.py +5 -0
- biotite/application/sra/app.py +337 -55
- biotite/database/entrez/__init__.py +2 -1
- biotite/database/entrez/check.py +14 -3
- biotite/database/entrez/download.py +20 -13
- biotite/database/entrez/key.py +44 -0
- biotite/database/entrez/query.py +38 -34
- biotite/database/pubchem/query.py +44 -44
- biotite/database/rcsb/download.py +19 -14
- biotite/database/rcsb/query.py +46 -46
- biotite/sequence/align/__init__.py +5 -1
- biotite/sequence/align/banded.c +1408 -1025
- biotite/sequence/align/banded.cpython-311-darwin.so +0 -0
- biotite/sequence/align/buckets.py +69 -0
- biotite/sequence/align/cigar.py +389 -0
- biotite/sequence/align/kmeralphabet.c +3220 -2850
- biotite/sequence/align/kmeralphabet.cpython-311-darwin.so +0 -0
- biotite/sequence/align/kmersimilarity.c +713 -663
- biotite/sequence/align/kmersimilarity.cpython-311-darwin.so +0 -0
- biotite/sequence/align/kmertable.cpp +68398 -0
- biotite/sequence/align/kmertable.cpython-311-darwin.so +0 -0
- biotite/sequence/align/localgapped.c +1507 -1074
- biotite/sequence/align/localgapped.cpython-311-darwin.so +0 -0
- biotite/sequence/align/localungapped.c +1143 -833
- biotite/sequence/align/localungapped.cpython-311-darwin.so +0 -0
- biotite/sequence/align/multiple.c +1569 -1092
- biotite/sequence/align/multiple.cpython-311-darwin.so +0 -0
- biotite/sequence/align/pairwise.c +1612 -1212
- biotite/sequence/align/pairwise.cpython-311-darwin.so +0 -0
- biotite/sequence/align/permutation.c +33259 -0
- biotite/sequence/align/permutation.cpython-311-darwin.so +0 -0
- biotite/sequence/align/primes.txt +821 -0
- biotite/sequence/align/{kmertable.c → selector.c} +9129 -16497
- biotite/sequence/align/selector.cpython-311-darwin.so +0 -0
- biotite/sequence/align/tracetable.c +685 -646
- biotite/sequence/align/tracetable.cpython-311-darwin.so +0 -0
- biotite/sequence/codec.c +1159 -841
- biotite/sequence/codec.cpython-311-darwin.so +0 -0
- biotite/sequence/graphics/alignment.py +212 -2
- biotite/sequence/io/genbank/annotation.py +11 -11
- biotite/sequence/phylo/nj.c +684 -636
- biotite/sequence/phylo/nj.cpython-311-darwin.so +0 -0
- biotite/sequence/phylo/tree.c +970 -673
- biotite/sequence/phylo/tree.cpython-311-darwin.so +0 -0
- biotite/sequence/phylo/upgma.c +672 -626
- biotite/sequence/phylo/upgma.cpython-311-darwin.so +0 -0
- biotite/structure/__init__.py +1 -1
- biotite/structure/atoms.py +1 -1
- biotite/structure/basepairs.py +7 -12
- biotite/structure/bonds.c +3861 -3749
- biotite/structure/bonds.cpython-311-darwin.so +0 -0
- biotite/structure/celllist.c +727 -707
- biotite/structure/celllist.cpython-311-darwin.so +0 -0
- biotite/structure/charges.c +1561 -1560
- biotite/structure/charges.cpython-311-darwin.so +0 -0
- biotite/structure/filter.py +30 -37
- biotite/structure/info/__init__.py +5 -8
- biotite/structure/info/atoms.py +25 -67
- biotite/structure/info/bonds.py +46 -100
- biotite/structure/info/ccd/README.rst +8 -0
- biotite/structure/info/ccd/amino_acids.txt +1646 -0
- biotite/structure/info/ccd/carbohydrates.txt +1133 -0
- biotite/structure/info/ccd/components.bcif +0 -0
- biotite/structure/info/ccd/nucleotides.txt +797 -0
- biotite/structure/info/ccd.py +95 -0
- biotite/structure/info/groups.py +90 -0
- biotite/structure/info/masses.py +21 -20
- biotite/structure/info/misc.py +11 -22
- biotite/structure/info/standardize.py +17 -12
- biotite/structure/io/__init__.py +2 -4
- biotite/structure/io/ctab.py +1 -1
- biotite/structure/io/general.py +37 -43
- biotite/structure/io/mmtf/__init__.py +3 -0
- biotite/structure/io/mmtf/convertarray.c +528 -365
- biotite/structure/io/mmtf/convertarray.cpython-311-darwin.so +0 -0
- biotite/structure/io/mmtf/convertfile.c +725 -676
- biotite/structure/io/mmtf/convertfile.cpython-311-darwin.so +0 -0
- biotite/structure/io/mmtf/decode.c +1070 -754
- biotite/structure/io/mmtf/decode.cpython-311-darwin.so +0 -0
- biotite/structure/io/mmtf/encode.c +727 -677
- biotite/structure/io/mmtf/encode.cpython-311-darwin.so +0 -0
- biotite/structure/io/mmtf/file.py +34 -26
- biotite/structure/io/npz/__init__.py +3 -0
- biotite/structure/io/npz/file.py +21 -18
- biotite/structure/io/pdb/__init__.py +3 -3
- biotite/structure/io/pdb/file.py +72 -70
- biotite/structure/io/pdb/hybrid36.c +540 -478
- biotite/structure/io/pdb/hybrid36.cpython-311-darwin.so +0 -0
- biotite/structure/io/pdbqt/file.py +82 -68
- biotite/structure/io/pdbx/__init__.py +13 -6
- biotite/structure/io/pdbx/bcif.py +649 -0
- biotite/structure/io/pdbx/cif.py +1028 -0
- biotite/structure/io/pdbx/component.py +243 -0
- biotite/structure/io/pdbx/convert.py +707 -359
- biotite/structure/io/pdbx/encoding.c +112813 -0
- biotite/structure/io/pdbx/encoding.cpython-311-darwin.so +0 -0
- biotite/structure/io/pdbx/error.py +14 -0
- biotite/structure/io/pdbx/legacy.py +267 -0
- biotite/structure/molecules.py +151 -151
- biotite/structure/residues.py +40 -40
- biotite/structure/sasa.c +713 -644
- biotite/structure/sasa.cpython-311-darwin.so +0 -0
- biotite/structure/superimpose.py +158 -115
- biotite/visualize.py +9 -11
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/METADATA +2 -2
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/RECORD +112 -102
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/WHEEL +1 -1
- biotite/structure/info/amino_acids.json +0 -1556
- biotite/structure/info/amino_acids.py +0 -42
- biotite/structure/info/carbohydrates.json +0 -1122
- biotite/structure/info/carbohydrates.py +0 -39
- biotite/structure/info/intra_bonds.msgpack +0 -0
- biotite/structure/info/link_types.msgpack +0 -1
- biotite/structure/info/nucleotides.json +0 -772
- biotite/structure/info/nucleotides.py +0 -39
- biotite/structure/info/residue_masses.msgpack +0 -0
- biotite/structure/info/residue_names.msgpack +0 -3
- biotite/structure/info/residues.msgpack +0 -0
- biotite/structure/io/pdbx/file.py +0 -652
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/LICENSE.rst +0 -0
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/top_level.txt +0 -0
biotite/sequence/phylo/nj.c
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.0.
|
|
1
|
+
/* Generated by Cython 3.0.10 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -32,15 +32,15 @@ END: Cython Metadata */
|
|
|
32
32
|
#elif PY_VERSION_HEX < 0x02070000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
|
|
33
33
|
#error Cython requires Python 2.7+ or Python 3.3+.
|
|
34
34
|
#else
|
|
35
|
-
#if CYTHON_LIMITED_API
|
|
35
|
+
#if defined(CYTHON_LIMITED_API) && CYTHON_LIMITED_API
|
|
36
36
|
#define __PYX_EXTRA_ABI_MODULE_NAME "limited"
|
|
37
37
|
#else
|
|
38
38
|
#define __PYX_EXTRA_ABI_MODULE_NAME ""
|
|
39
39
|
#endif
|
|
40
|
-
#define CYTHON_ABI "
|
|
40
|
+
#define CYTHON_ABI "3_0_10" __PYX_EXTRA_ABI_MODULE_NAME
|
|
41
41
|
#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
|
|
42
42
|
#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
|
|
43
|
-
#define CYTHON_HEX_VERSION
|
|
43
|
+
#define CYTHON_HEX_VERSION 0x03000AF0
|
|
44
44
|
#define CYTHON_FUTURE_DIVISION 1
|
|
45
45
|
#include <stddef.h>
|
|
46
46
|
#ifndef offsetof
|
|
@@ -132,6 +132,8 @@ END: Cython Metadata */
|
|
|
132
132
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
133
133
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 0
|
|
134
134
|
#endif
|
|
135
|
+
#undef CYTHON_USE_FREELISTS
|
|
136
|
+
#define CYTHON_USE_FREELISTS 0
|
|
135
137
|
#elif defined(PYPY_VERSION)
|
|
136
138
|
#define CYTHON_COMPILING_IN_PYPY 1
|
|
137
139
|
#define CYTHON_COMPILING_IN_CPYTHON 0
|
|
@@ -193,6 +195,8 @@ END: Cython Metadata */
|
|
|
193
195
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
194
196
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 0
|
|
195
197
|
#endif
|
|
198
|
+
#undef CYTHON_USE_FREELISTS
|
|
199
|
+
#define CYTHON_USE_FREELISTS 0
|
|
196
200
|
#elif defined(CYTHON_LIMITED_API)
|
|
197
201
|
#ifdef Py_LIMITED_API
|
|
198
202
|
#undef __PYX_LIMITED_VERSION_HEX
|
|
@@ -254,7 +258,9 @@ END: Cython Metadata */
|
|
|
254
258
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
255
259
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 0
|
|
256
260
|
#endif
|
|
257
|
-
#
|
|
261
|
+
#undef CYTHON_USE_FREELISTS
|
|
262
|
+
#define CYTHON_USE_FREELISTS 0
|
|
263
|
+
#elif defined(Py_GIL_DISABLED) || defined(Py_NOGIL)
|
|
258
264
|
#define CYTHON_COMPILING_IN_PYPY 0
|
|
259
265
|
#define CYTHON_COMPILING_IN_CPYTHON 0
|
|
260
266
|
#define CYTHON_COMPILING_IN_LIMITED_API 0
|
|
@@ -263,11 +269,17 @@ END: Cython Metadata */
|
|
|
263
269
|
#ifndef CYTHON_USE_TYPE_SLOTS
|
|
264
270
|
#define CYTHON_USE_TYPE_SLOTS 1
|
|
265
271
|
#endif
|
|
272
|
+
#ifndef CYTHON_USE_TYPE_SPECS
|
|
273
|
+
#define CYTHON_USE_TYPE_SPECS 0
|
|
274
|
+
#endif
|
|
266
275
|
#undef CYTHON_USE_PYTYPE_LOOKUP
|
|
267
276
|
#define CYTHON_USE_PYTYPE_LOOKUP 0
|
|
268
277
|
#ifndef CYTHON_USE_ASYNC_SLOTS
|
|
269
278
|
#define CYTHON_USE_ASYNC_SLOTS 1
|
|
270
279
|
#endif
|
|
280
|
+
#ifndef CYTHON_USE_PYLONG_INTERNALS
|
|
281
|
+
#define CYTHON_USE_PYLONG_INTERNALS 0
|
|
282
|
+
#endif
|
|
271
283
|
#undef CYTHON_USE_PYLIST_INTERNALS
|
|
272
284
|
#define CYTHON_USE_PYLIST_INTERNALS 0
|
|
273
285
|
#ifndef CYTHON_USE_UNICODE_INTERNALS
|
|
@@ -275,8 +287,6 @@ END: Cython Metadata */
|
|
|
275
287
|
#endif
|
|
276
288
|
#undef CYTHON_USE_UNICODE_WRITER
|
|
277
289
|
#define CYTHON_USE_UNICODE_WRITER 0
|
|
278
|
-
#undef CYTHON_USE_PYLONG_INTERNALS
|
|
279
|
-
#define CYTHON_USE_PYLONG_INTERNALS 0
|
|
280
290
|
#ifndef CYTHON_AVOID_BORROWED_REFS
|
|
281
291
|
#define CYTHON_AVOID_BORROWED_REFS 0
|
|
282
292
|
#endif
|
|
@@ -288,11 +298,22 @@ END: Cython Metadata */
|
|
|
288
298
|
#endif
|
|
289
299
|
#undef CYTHON_FAST_THREAD_STATE
|
|
290
300
|
#define CYTHON_FAST_THREAD_STATE 0
|
|
301
|
+
#undef CYTHON_FAST_GIL
|
|
302
|
+
#define CYTHON_FAST_GIL 0
|
|
303
|
+
#ifndef CYTHON_METH_FASTCALL
|
|
304
|
+
#define CYTHON_METH_FASTCALL 1
|
|
305
|
+
#endif
|
|
291
306
|
#undef CYTHON_FAST_PYCALL
|
|
292
307
|
#define CYTHON_FAST_PYCALL 0
|
|
308
|
+
#ifndef CYTHON_PEP487_INIT_SUBCLASS
|
|
309
|
+
#define CYTHON_PEP487_INIT_SUBCLASS 1
|
|
310
|
+
#endif
|
|
293
311
|
#ifndef CYTHON_PEP489_MULTI_PHASE_INIT
|
|
294
312
|
#define CYTHON_PEP489_MULTI_PHASE_INIT 1
|
|
295
313
|
#endif
|
|
314
|
+
#ifndef CYTHON_USE_MODULE_STATE
|
|
315
|
+
#define CYTHON_USE_MODULE_STATE 0
|
|
316
|
+
#endif
|
|
296
317
|
#ifndef CYTHON_USE_TP_FINALIZE
|
|
297
318
|
#define CYTHON_USE_TP_FINALIZE 1
|
|
298
319
|
#endif
|
|
@@ -300,6 +321,12 @@ END: Cython Metadata */
|
|
|
300
321
|
#define CYTHON_USE_DICT_VERSIONS 0
|
|
301
322
|
#undef CYTHON_USE_EXC_INFO_STACK
|
|
302
323
|
#define CYTHON_USE_EXC_INFO_STACK 0
|
|
324
|
+
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
325
|
+
#define CYTHON_UPDATE_DESCRIPTOR_DOC 1
|
|
326
|
+
#endif
|
|
327
|
+
#ifndef CYTHON_USE_FREELISTS
|
|
328
|
+
#define CYTHON_USE_FREELISTS 0
|
|
329
|
+
#endif
|
|
303
330
|
#else
|
|
304
331
|
#define CYTHON_COMPILING_IN_PYPY 0
|
|
305
332
|
#define CYTHON_COMPILING_IN_CPYTHON 1
|
|
@@ -390,6 +417,9 @@ END: Cython Metadata */
|
|
|
390
417
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
391
418
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 1
|
|
392
419
|
#endif
|
|
420
|
+
#ifndef CYTHON_USE_FREELISTS
|
|
421
|
+
#define CYTHON_USE_FREELISTS 1
|
|
422
|
+
#endif
|
|
393
423
|
#endif
|
|
394
424
|
#if !defined(CYTHON_FAST_PYCCALL)
|
|
395
425
|
#define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
|
|
@@ -581,17 +611,20 @@ END: Cython Metadata */
|
|
|
581
611
|
PyObject *name, int fline, PyObject *lnos) {
|
|
582
612
|
PyObject *exception_table = NULL;
|
|
583
613
|
PyObject *types_module=NULL, *code_type=NULL, *result=NULL;
|
|
584
|
-
|
|
614
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030B0000
|
|
615
|
+
PyObject *version_info;
|
|
585
616
|
PyObject *py_minor_version = NULL;
|
|
617
|
+
#endif
|
|
586
618
|
long minor_version = 0;
|
|
587
619
|
PyObject *type, *value, *traceback;
|
|
588
620
|
PyErr_Fetch(&type, &value, &traceback);
|
|
589
621
|
#if __PYX_LIMITED_VERSION_HEX >= 0x030B0000
|
|
590
|
-
minor_version = 11;
|
|
622
|
+
minor_version = 11;
|
|
591
623
|
#else
|
|
592
624
|
if (!(version_info = PySys_GetObject("version_info"))) goto end;
|
|
593
625
|
if (!(py_minor_version = PySequence_GetItem(version_info, 1))) goto end;
|
|
594
626
|
minor_version = PyLong_AsLong(py_minor_version);
|
|
627
|
+
Py_DECREF(py_minor_version);
|
|
595
628
|
if (minor_version == -1 && PyErr_Occurred()) goto end;
|
|
596
629
|
#endif
|
|
597
630
|
if (!(types_module = PyImport_ImportModule("types"))) goto end;
|
|
@@ -612,7 +645,6 @@ END: Cython Metadata */
|
|
|
612
645
|
Py_XDECREF(code_type);
|
|
613
646
|
Py_XDECREF(exception_table);
|
|
614
647
|
Py_XDECREF(types_module);
|
|
615
|
-
Py_XDECREF(py_minor_version);
|
|
616
648
|
if (type) {
|
|
617
649
|
PyErr_Restore(type, value, traceback);
|
|
618
650
|
}
|
|
@@ -645,7 +677,7 @@ END: Cython Metadata */
|
|
|
645
677
|
PyObject *fv, PyObject *cell, PyObject* fn,
|
|
646
678
|
PyObject *name, int fline, PyObject *lnos) {
|
|
647
679
|
PyCodeObject *result;
|
|
648
|
-
PyObject *empty_bytes = PyBytes_FromStringAndSize("", 0);
|
|
680
|
+
PyObject *empty_bytes = PyBytes_FromStringAndSize("", 0);
|
|
649
681
|
if (!empty_bytes) return NULL;
|
|
650
682
|
result =
|
|
651
683
|
#if PY_VERSION_HEX >= 0x030C0000
|
|
@@ -731,8 +763,13 @@ END: Cython Metadata */
|
|
|
731
763
|
typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args,
|
|
732
764
|
Py_ssize_t nargs, PyObject *kwnames);
|
|
733
765
|
#else
|
|
734
|
-
#
|
|
735
|
-
#define
|
|
766
|
+
#if PY_VERSION_HEX >= 0x030d00A4
|
|
767
|
+
# define __Pyx_PyCFunctionFast PyCFunctionFast
|
|
768
|
+
# define __Pyx_PyCFunctionFastWithKeywords PyCFunctionFastWithKeywords
|
|
769
|
+
#else
|
|
770
|
+
# define __Pyx_PyCFunctionFast _PyCFunctionFast
|
|
771
|
+
# define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
|
|
772
|
+
#endif
|
|
736
773
|
#endif
|
|
737
774
|
#if CYTHON_METH_FASTCALL
|
|
738
775
|
#define __Pyx_METH_FASTCALL METH_FASTCALL
|
|
@@ -756,6 +793,31 @@ END: Cython Metadata */
|
|
|
756
793
|
#define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET 0
|
|
757
794
|
#define __Pyx_PyVectorcall_NARGS(n) ((Py_ssize_t)(n))
|
|
758
795
|
#endif
|
|
796
|
+
#if PY_MAJOR_VERSION >= 0x030900B1
|
|
797
|
+
#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_CheckExact(func)
|
|
798
|
+
#else
|
|
799
|
+
#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_Check(func)
|
|
800
|
+
#endif
|
|
801
|
+
#define __Pyx_CyOrPyCFunction_Check(func) PyCFunction_Check(func)
|
|
802
|
+
#if CYTHON_COMPILING_IN_CPYTHON
|
|
803
|
+
#define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) (((PyCFunctionObject*)(func))->m_ml->ml_meth)
|
|
804
|
+
#elif !CYTHON_COMPILING_IN_LIMITED_API
|
|
805
|
+
#define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(func)
|
|
806
|
+
#endif
|
|
807
|
+
#if CYTHON_COMPILING_IN_CPYTHON
|
|
808
|
+
#define __Pyx_CyOrPyCFunction_GET_FLAGS(func) (((PyCFunctionObject*)(func))->m_ml->ml_flags)
|
|
809
|
+
static CYTHON_INLINE PyObject* __Pyx_CyOrPyCFunction_GET_SELF(PyObject *func) {
|
|
810
|
+
return (__Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_STATIC) ? NULL : ((PyCFunctionObject*)func)->m_self;
|
|
811
|
+
}
|
|
812
|
+
#endif
|
|
813
|
+
static CYTHON_INLINE int __Pyx__IsSameCFunction(PyObject *func, void *cfunc) {
|
|
814
|
+
#if CYTHON_COMPILING_IN_LIMITED_API
|
|
815
|
+
return PyCFunction_Check(func) && PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
|
|
816
|
+
#else
|
|
817
|
+
return PyCFunction_Check(func) && PyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
|
|
818
|
+
#endif
|
|
819
|
+
}
|
|
820
|
+
#define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCFunction(func, cfunc)
|
|
759
821
|
#if __PYX_LIMITED_VERSION_HEX < 0x030900B1
|
|
760
822
|
#define __Pyx_PyType_FromModuleAndSpec(m, s, b) ((void)m, PyType_FromSpecWithBases(s, b))
|
|
761
823
|
typedef PyObject *(*__Pyx_PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, size_t, PyObject *);
|
|
@@ -782,6 +844,8 @@ END: Cython Metadata */
|
|
|
782
844
|
#define __Pyx_PyThreadState_Current PyThreadState_Get()
|
|
783
845
|
#elif !CYTHON_FAST_THREAD_STATE
|
|
784
846
|
#define __Pyx_PyThreadState_Current PyThreadState_GET()
|
|
847
|
+
#elif PY_VERSION_HEX >= 0x030d00A1
|
|
848
|
+
#define __Pyx_PyThreadState_Current PyThreadState_GetUnchecked()
|
|
785
849
|
#elif PY_VERSION_HEX >= 0x03060000
|
|
786
850
|
#define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
|
|
787
851
|
#elif PY_VERSION_HEX >= 0x03000000
|
|
@@ -857,7 +921,7 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
|
|
|
857
921
|
}
|
|
858
922
|
#endif
|
|
859
923
|
#endif
|
|
860
|
-
#if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized)
|
|
924
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030d0000 || defined(_PyDict_NewPresized)
|
|
861
925
|
#define __Pyx_PyDict_NewPresized(n) ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n))
|
|
862
926
|
#else
|
|
863
927
|
#define __Pyx_PyDict_NewPresized(n) PyDict_New()
|
|
@@ -869,7 +933,7 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
|
|
|
869
933
|
#define __Pyx_PyNumber_Divide(x,y) PyNumber_Divide(x,y)
|
|
870
934
|
#define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceDivide(x,y)
|
|
871
935
|
#endif
|
|
872
|
-
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX > 0x030600B4 && CYTHON_USE_UNICODE_INTERNALS
|
|
936
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX > 0x030600B4 && PY_VERSION_HEX < 0x030d0000 && CYTHON_USE_UNICODE_INTERNALS
|
|
873
937
|
#define __Pyx_PyDict_GetItemStrWithError(dict, name) _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash)
|
|
874
938
|
static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStr(PyObject *dict, PyObject *name) {
|
|
875
939
|
PyObject *res = __Pyx_PyDict_GetItemStrWithError(dict, name);
|
|
@@ -913,7 +977,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict,
|
|
|
913
977
|
#endif
|
|
914
978
|
#if CYTHON_USE_TYPE_SPECS && PY_VERSION_HEX >= 0x03080000
|
|
915
979
|
#define __Pyx_PyHeapTypeObject_GC_Del(obj) {\
|
|
916
|
-
PyTypeObject *type = Py_TYPE(obj);\
|
|
980
|
+
PyTypeObject *type = Py_TYPE((PyObject*)obj);\
|
|
917
981
|
assert(__Pyx_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE));\
|
|
918
982
|
PyObject_GC_Del(obj);\
|
|
919
983
|
Py_DECREF(type);\
|
|
@@ -1057,6 +1121,15 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict,
|
|
|
1057
1121
|
#define __Pyx_PyBytes_GET_SIZE(o) PyBytes_Size(o)
|
|
1058
1122
|
#define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_Size(o)
|
|
1059
1123
|
#endif
|
|
1124
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
1125
|
+
#define __Pyx_PyImport_AddModuleRef(name) PyImport_AddModuleRef(name)
|
|
1126
|
+
#else
|
|
1127
|
+
static CYTHON_INLINE PyObject *__Pyx_PyImport_AddModuleRef(const char *name) {
|
|
1128
|
+
PyObject *module = PyImport_AddModule(name);
|
|
1129
|
+
Py_XINCREF(module);
|
|
1130
|
+
return module;
|
|
1131
|
+
}
|
|
1132
|
+
#endif
|
|
1060
1133
|
#if PY_MAJOR_VERSION >= 3
|
|
1061
1134
|
#define PyIntObject PyLongObject
|
|
1062
1135
|
#define PyInt_Type PyLong_Type
|
|
@@ -1135,7 +1208,7 @@ static CYTHON_INLINE float __PYX_NAN() {
|
|
|
1135
1208
|
#endif
|
|
1136
1209
|
|
|
1137
1210
|
#define __PYX_MARK_ERR_POS(f_index, lineno) \
|
|
1138
|
-
{ __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__;
|
|
1211
|
+
{ __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__; (void)__pyx_clineno; }
|
|
1139
1212
|
#define __PYX_ERR(f_index, lineno, Ln_error) \
|
|
1140
1213
|
{ __PYX_MARK_ERR_POS(f_index, lineno) goto Ln_error; }
|
|
1141
1214
|
|
|
@@ -1219,9 +1292,10 @@ static CYTHON_INLINE int __Pyx_is_valid_index(Py_ssize_t i, Py_ssize_t limit) {
|
|
|
1219
1292
|
#else
|
|
1220
1293
|
#define __Pyx_sst_abs(value) ((value<0) ? -value : value)
|
|
1221
1294
|
#endif
|
|
1295
|
+
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s);
|
|
1222
1296
|
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*);
|
|
1223
1297
|
static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
|
|
1224
|
-
|
|
1298
|
+
static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char*);
|
|
1225
1299
|
#define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
|
|
1226
1300
|
#define __Pyx_PyBytes_FromString PyBytes_FromString
|
|
1227
1301
|
#define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize
|
|
@@ -1249,24 +1323,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*);
|
|
|
1249
1323
|
#define __Pyx_PyByteArray_FromCString(s) __Pyx_PyByteArray_FromString((const char*)s)
|
|
1250
1324
|
#define __Pyx_PyStr_FromCString(s) __Pyx_PyStr_FromString((const char*)s)
|
|
1251
1325
|
#define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
|
|
1252
|
-
#if CYTHON_COMPILING_IN_LIMITED_API
|
|
1253
|
-
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const wchar_t *u)
|
|
1254
|
-
{
|
|
1255
|
-
const wchar_t *u_end = u;
|
|
1256
|
-
while (*u_end++) ;
|
|
1257
|
-
return (size_t)(u_end - u - 1);
|
|
1258
|
-
}
|
|
1259
|
-
#else
|
|
1260
|
-
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
|
|
1261
|
-
{
|
|
1262
|
-
const Py_UNICODE *u_end = u;
|
|
1263
|
-
while (*u_end++) ;
|
|
1264
|
-
return (size_t)(u_end - u - 1);
|
|
1265
|
-
}
|
|
1266
|
-
#endif
|
|
1267
1326
|
#define __Pyx_PyUnicode_FromOrdinal(o) PyUnicode_FromOrdinal((int)o)
|
|
1268
|
-
#define __Pyx_PyUnicode_FromUnicode(u) PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
|
|
1269
|
-
#define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
|
|
1270
1327
|
#define __Pyx_PyUnicode_AsUnicode PyUnicode_AsUnicode
|
|
1271
1328
|
#define __Pyx_NewRef(obj) (Py_INCREF(obj), obj)
|
|
1272
1329
|
#define __Pyx_Owned_Py_None(b) __Pyx_NewRef(Py_None)
|
|
@@ -1316,7 +1373,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
|
|
|
1316
1373
|
#endif
|
|
1317
1374
|
typedef Py_ssize_t __Pyx_compact_pylong;
|
|
1318
1375
|
typedef size_t __Pyx_compact_upylong;
|
|
1319
|
-
#else
|
|
1376
|
+
#else
|
|
1320
1377
|
#define __Pyx_PyLong_IsNeg(x) (Py_SIZE(x) < 0)
|
|
1321
1378
|
#define __Pyx_PyLong_IsNonNeg(x) (Py_SIZE(x) >= 0)
|
|
1322
1379
|
#define __Pyx_PyLong_IsZero(x) (Py_SIZE(x) == 0)
|
|
@@ -1337,6 +1394,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
|
|
|
1337
1394
|
#endif
|
|
1338
1395
|
#endif
|
|
1339
1396
|
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
|
|
1397
|
+
#include <string.h>
|
|
1340
1398
|
static int __Pyx_sys_getdefaultencoding_not_ascii;
|
|
1341
1399
|
static int __Pyx_init_sys_getdefaultencoding_params(void) {
|
|
1342
1400
|
PyObject* sys;
|
|
@@ -1387,6 +1445,7 @@ bad:
|
|
|
1387
1445
|
#else
|
|
1388
1446
|
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
|
|
1389
1447
|
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
|
|
1448
|
+
#include <string.h>
|
|
1390
1449
|
static char* __PYX_DEFAULT_STRING_ENCODING;
|
|
1391
1450
|
static int __Pyx_init_sys_getdefaultencoding_params(void) {
|
|
1392
1451
|
PyObject* sys;
|
|
@@ -1434,7 +1493,7 @@ static const char *__pyx_filename;
|
|
|
1434
1493
|
#if !defined(CYTHON_CCOMPLEX)
|
|
1435
1494
|
#if defined(__cplusplus)
|
|
1436
1495
|
#define CYTHON_CCOMPLEX 1
|
|
1437
|
-
#elif (defined(_Complex_I) && !defined(_MSC_VER)) || ((defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_COMPLEX__))
|
|
1496
|
+
#elif (defined(_Complex_I) && !defined(_MSC_VER)) || ((defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_COMPLEX__) && !defined(_MSC_VER))
|
|
1438
1497
|
#define CYTHON_CCOMPLEX 1
|
|
1439
1498
|
#else
|
|
1440
1499
|
#define CYTHON_CCOMPLEX 0
|
|
@@ -1564,6 +1623,7 @@ typedef struct {
|
|
|
1564
1623
|
#include <intrin.h>
|
|
1565
1624
|
#undef __pyx_atomic_int_type
|
|
1566
1625
|
#define __pyx_atomic_int_type long
|
|
1626
|
+
#undef __pyx_nonatomic_int_type
|
|
1567
1627
|
#define __pyx_nonatomic_int_type long
|
|
1568
1628
|
#pragma intrinsic (_InterlockedExchangeAdd)
|
|
1569
1629
|
#define __pyx_atomic_incr_aligned(value) _InterlockedExchangeAdd(value, 1)
|
|
@@ -1603,7 +1663,7 @@ typedef struct {
|
|
|
1603
1663
|
|
|
1604
1664
|
/* #### Code section: numeric_typedefs ### */
|
|
1605
1665
|
|
|
1606
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1666
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":731
|
|
1607
1667
|
* # in Cython to enable them only on the right systems.
|
|
1608
1668
|
*
|
|
1609
1669
|
* ctypedef npy_int8 int8_t # <<<<<<<<<<<<<<
|
|
@@ -1612,7 +1672,7 @@ typedef struct {
|
|
|
1612
1672
|
*/
|
|
1613
1673
|
typedef npy_int8 __pyx_t_5numpy_int8_t;
|
|
1614
1674
|
|
|
1615
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1675
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":732
|
|
1616
1676
|
*
|
|
1617
1677
|
* ctypedef npy_int8 int8_t
|
|
1618
1678
|
* ctypedef npy_int16 int16_t # <<<<<<<<<<<<<<
|
|
@@ -1621,7 +1681,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t;
|
|
|
1621
1681
|
*/
|
|
1622
1682
|
typedef npy_int16 __pyx_t_5numpy_int16_t;
|
|
1623
1683
|
|
|
1624
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1684
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":733
|
|
1625
1685
|
* ctypedef npy_int8 int8_t
|
|
1626
1686
|
* ctypedef npy_int16 int16_t
|
|
1627
1687
|
* ctypedef npy_int32 int32_t # <<<<<<<<<<<<<<
|
|
@@ -1630,7 +1690,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t;
|
|
|
1630
1690
|
*/
|
|
1631
1691
|
typedef npy_int32 __pyx_t_5numpy_int32_t;
|
|
1632
1692
|
|
|
1633
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1693
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":734
|
|
1634
1694
|
* ctypedef npy_int16 int16_t
|
|
1635
1695
|
* ctypedef npy_int32 int32_t
|
|
1636
1696
|
* ctypedef npy_int64 int64_t # <<<<<<<<<<<<<<
|
|
@@ -1639,7 +1699,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t;
|
|
|
1639
1699
|
*/
|
|
1640
1700
|
typedef npy_int64 __pyx_t_5numpy_int64_t;
|
|
1641
1701
|
|
|
1642
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1702
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":738
|
|
1643
1703
|
* #ctypedef npy_int128 int128_t
|
|
1644
1704
|
*
|
|
1645
1705
|
* ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<<
|
|
@@ -1648,7 +1708,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t;
|
|
|
1648
1708
|
*/
|
|
1649
1709
|
typedef npy_uint8 __pyx_t_5numpy_uint8_t;
|
|
1650
1710
|
|
|
1651
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1711
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":739
|
|
1652
1712
|
*
|
|
1653
1713
|
* ctypedef npy_uint8 uint8_t
|
|
1654
1714
|
* ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<<
|
|
@@ -1657,7 +1717,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
|
|
|
1657
1717
|
*/
|
|
1658
1718
|
typedef npy_uint16 __pyx_t_5numpy_uint16_t;
|
|
1659
1719
|
|
|
1660
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1720
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":740
|
|
1661
1721
|
* ctypedef npy_uint8 uint8_t
|
|
1662
1722
|
* ctypedef npy_uint16 uint16_t
|
|
1663
1723
|
* ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<<
|
|
@@ -1666,7 +1726,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
|
|
|
1666
1726
|
*/
|
|
1667
1727
|
typedef npy_uint32 __pyx_t_5numpy_uint32_t;
|
|
1668
1728
|
|
|
1669
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1729
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":741
|
|
1670
1730
|
* ctypedef npy_uint16 uint16_t
|
|
1671
1731
|
* ctypedef npy_uint32 uint32_t
|
|
1672
1732
|
* ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<<
|
|
@@ -1675,7 +1735,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
|
|
|
1675
1735
|
*/
|
|
1676
1736
|
typedef npy_uint64 __pyx_t_5numpy_uint64_t;
|
|
1677
1737
|
|
|
1678
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1738
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":745
|
|
1679
1739
|
* #ctypedef npy_uint128 uint128_t
|
|
1680
1740
|
*
|
|
1681
1741
|
* ctypedef npy_float32 float32_t # <<<<<<<<<<<<<<
|
|
@@ -1684,7 +1744,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
|
|
|
1684
1744
|
*/
|
|
1685
1745
|
typedef npy_float32 __pyx_t_5numpy_float32_t;
|
|
1686
1746
|
|
|
1687
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1747
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":746
|
|
1688
1748
|
*
|
|
1689
1749
|
* ctypedef npy_float32 float32_t
|
|
1690
1750
|
* ctypedef npy_float64 float64_t # <<<<<<<<<<<<<<
|
|
@@ -1693,7 +1753,7 @@ typedef npy_float32 __pyx_t_5numpy_float32_t;
|
|
|
1693
1753
|
*/
|
|
1694
1754
|
typedef npy_float64 __pyx_t_5numpy_float64_t;
|
|
1695
1755
|
|
|
1696
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1756
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":755
|
|
1697
1757
|
* # The int types are mapped a bit surprising --
|
|
1698
1758
|
* # numpy.int corresponds to 'l' and numpy.long to 'q'
|
|
1699
1759
|
* ctypedef npy_long int_t # <<<<<<<<<<<<<<
|
|
@@ -1702,7 +1762,7 @@ typedef npy_float64 __pyx_t_5numpy_float64_t;
|
|
|
1702
1762
|
*/
|
|
1703
1763
|
typedef npy_long __pyx_t_5numpy_int_t;
|
|
1704
1764
|
|
|
1705
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1765
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":756
|
|
1706
1766
|
* # numpy.int corresponds to 'l' and numpy.long to 'q'
|
|
1707
1767
|
* ctypedef npy_long int_t
|
|
1708
1768
|
* ctypedef npy_longlong long_t # <<<<<<<<<<<<<<
|
|
@@ -1711,7 +1771,7 @@ typedef npy_long __pyx_t_5numpy_int_t;
|
|
|
1711
1771
|
*/
|
|
1712
1772
|
typedef npy_longlong __pyx_t_5numpy_long_t;
|
|
1713
1773
|
|
|
1714
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1774
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":757
|
|
1715
1775
|
* ctypedef npy_long int_t
|
|
1716
1776
|
* ctypedef npy_longlong long_t
|
|
1717
1777
|
* ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<<
|
|
@@ -1720,7 +1780,7 @@ typedef npy_longlong __pyx_t_5numpy_long_t;
|
|
|
1720
1780
|
*/
|
|
1721
1781
|
typedef npy_longlong __pyx_t_5numpy_longlong_t;
|
|
1722
1782
|
|
|
1723
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1783
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":759
|
|
1724
1784
|
* ctypedef npy_longlong longlong_t
|
|
1725
1785
|
*
|
|
1726
1786
|
* ctypedef npy_ulong uint_t # <<<<<<<<<<<<<<
|
|
@@ -1729,7 +1789,7 @@ typedef npy_longlong __pyx_t_5numpy_longlong_t;
|
|
|
1729
1789
|
*/
|
|
1730
1790
|
typedef npy_ulong __pyx_t_5numpy_uint_t;
|
|
1731
1791
|
|
|
1732
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1792
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":760
|
|
1733
1793
|
*
|
|
1734
1794
|
* ctypedef npy_ulong uint_t
|
|
1735
1795
|
* ctypedef npy_ulonglong ulong_t # <<<<<<<<<<<<<<
|
|
@@ -1738,7 +1798,7 @@ typedef npy_ulong __pyx_t_5numpy_uint_t;
|
|
|
1738
1798
|
*/
|
|
1739
1799
|
typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
|
|
1740
1800
|
|
|
1741
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1801
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":761
|
|
1742
1802
|
* ctypedef npy_ulong uint_t
|
|
1743
1803
|
* ctypedef npy_ulonglong ulong_t
|
|
1744
1804
|
* ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<<
|
|
@@ -1747,7 +1807,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
|
|
|
1747
1807
|
*/
|
|
1748
1808
|
typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
|
|
1749
1809
|
|
|
1750
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1810
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":763
|
|
1751
1811
|
* ctypedef npy_ulonglong ulonglong_t
|
|
1752
1812
|
*
|
|
1753
1813
|
* ctypedef npy_intp intp_t # <<<<<<<<<<<<<<
|
|
@@ -1756,7 +1816,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
|
|
|
1756
1816
|
*/
|
|
1757
1817
|
typedef npy_intp __pyx_t_5numpy_intp_t;
|
|
1758
1818
|
|
|
1759
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1819
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":764
|
|
1760
1820
|
*
|
|
1761
1821
|
* ctypedef npy_intp intp_t
|
|
1762
1822
|
* ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<<
|
|
@@ -1765,7 +1825,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t;
|
|
|
1765
1825
|
*/
|
|
1766
1826
|
typedef npy_uintp __pyx_t_5numpy_uintp_t;
|
|
1767
1827
|
|
|
1768
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1828
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":766
|
|
1769
1829
|
* ctypedef npy_uintp uintp_t
|
|
1770
1830
|
*
|
|
1771
1831
|
* ctypedef npy_double float_t # <<<<<<<<<<<<<<
|
|
@@ -1774,7 +1834,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t;
|
|
|
1774
1834
|
*/
|
|
1775
1835
|
typedef npy_double __pyx_t_5numpy_float_t;
|
|
1776
1836
|
|
|
1777
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1837
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":767
|
|
1778
1838
|
*
|
|
1779
1839
|
* ctypedef npy_double float_t
|
|
1780
1840
|
* ctypedef npy_double double_t # <<<<<<<<<<<<<<
|
|
@@ -1783,7 +1843,7 @@ typedef npy_double __pyx_t_5numpy_float_t;
|
|
|
1783
1843
|
*/
|
|
1784
1844
|
typedef npy_double __pyx_t_5numpy_double_t;
|
|
1785
1845
|
|
|
1786
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1846
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":768
|
|
1787
1847
|
* ctypedef npy_double float_t
|
|
1788
1848
|
* ctypedef npy_double double_t
|
|
1789
1849
|
* ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<<
|
|
@@ -1851,7 +1911,7 @@ struct __pyx_MemviewEnum_obj;
|
|
|
1851
1911
|
struct __pyx_memoryview_obj;
|
|
1852
1912
|
struct __pyx_memoryviewslice_obj;
|
|
1853
1913
|
|
|
1854
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1914
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":770
|
|
1855
1915
|
* ctypedef npy_longdouble longdouble_t
|
|
1856
1916
|
*
|
|
1857
1917
|
* ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<<
|
|
@@ -1860,7 +1920,7 @@ struct __pyx_memoryviewslice_obj;
|
|
|
1860
1920
|
*/
|
|
1861
1921
|
typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
|
|
1862
1922
|
|
|
1863
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1923
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":771
|
|
1864
1924
|
*
|
|
1865
1925
|
* ctypedef npy_cfloat cfloat_t
|
|
1866
1926
|
* ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<<
|
|
@@ -1869,7 +1929,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
|
|
|
1869
1929
|
*/
|
|
1870
1930
|
typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
|
|
1871
1931
|
|
|
1872
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1932
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":772
|
|
1873
1933
|
* ctypedef npy_cfloat cfloat_t
|
|
1874
1934
|
* ctypedef npy_cdouble cdouble_t
|
|
1875
1935
|
* ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<<
|
|
@@ -1878,7 +1938,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
|
|
|
1878
1938
|
*/
|
|
1879
1939
|
typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
|
|
1880
1940
|
|
|
1881
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1941
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":774
|
|
1882
1942
|
* ctypedef npy_clongdouble clongdouble_t
|
|
1883
1943
|
*
|
|
1884
1944
|
* ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<<
|
|
@@ -2184,8 +2244,8 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
|
|
|
2184
2244
|
#define __Pyx_Arg_NewRef_VARARGS(arg) __Pyx_NewRef(arg)
|
|
2185
2245
|
#define __Pyx_Arg_XDECREF_VARARGS(arg) Py_XDECREF(arg)
|
|
2186
2246
|
#else
|
|
2187
|
-
#define __Pyx_Arg_NewRef_VARARGS(arg) arg
|
|
2188
|
-
#define __Pyx_Arg_XDECREF_VARARGS(arg)
|
|
2247
|
+
#define __Pyx_Arg_NewRef_VARARGS(arg) arg
|
|
2248
|
+
#define __Pyx_Arg_XDECREF_VARARGS(arg)
|
|
2189
2249
|
#endif
|
|
2190
2250
|
#define __Pyx_NumKwargs_VARARGS(kwds) PyDict_Size(kwds)
|
|
2191
2251
|
#define __Pyx_KwValues_VARARGS(args, nargs) NULL
|
|
@@ -2196,9 +2256,14 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
|
|
|
2196
2256
|
#define __Pyx_NumKwargs_FASTCALL(kwds) PyTuple_GET_SIZE(kwds)
|
|
2197
2257
|
#define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs))
|
|
2198
2258
|
static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s);
|
|
2259
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
2260
|
+
CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);
|
|
2261
|
+
#else
|
|
2199
2262
|
#define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw)
|
|
2200
|
-
|
|
2201
|
-
#define
|
|
2263
|
+
#endif
|
|
2264
|
+
#define __Pyx_Arg_NewRef_FASTCALL(arg) arg /* no-op, __Pyx_Arg_FASTCALL is direct and this needs
|
|
2265
|
+
to have the same reference counting */
|
|
2266
|
+
#define __Pyx_Arg_XDECREF_FASTCALL(arg)
|
|
2202
2267
|
#else
|
|
2203
2268
|
#define __Pyx_Arg_FASTCALL __Pyx_Arg_VARARGS
|
|
2204
2269
|
#define __Pyx_NumKwargs_FASTCALL __Pyx_NumKwargs_VARARGS
|
|
@@ -2521,9 +2586,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
|
|
|
2521
2586
|
static PyObject *__Pyx_ImportDottedModule_WalkParts(PyObject *module, PyObject *name, PyObject *parts_tuple);
|
|
2522
2587
|
#endif
|
|
2523
2588
|
|
|
2524
|
-
/* ssize_strlen.proto */
|
|
2525
|
-
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s);
|
|
2526
|
-
|
|
2527
2589
|
/* FastTypeChecks.proto */
|
|
2528
2590
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
2529
2591
|
#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
|
|
@@ -2549,7 +2611,11 @@ static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
|
|
|
2549
2611
|
Py_ssize_t len = Py_SIZE(list);
|
|
2550
2612
|
if (likely(L->allocated > len)) {
|
|
2551
2613
|
Py_INCREF(x);
|
|
2614
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
2615
|
+
L->ob_item[len] = x;
|
|
2616
|
+
#else
|
|
2552
2617
|
PyList_SET_ITEM(list, len, x);
|
|
2618
|
+
#endif
|
|
2553
2619
|
__Pyx_SET_SIZE(list, len + 1);
|
|
2554
2620
|
return 0;
|
|
2555
2621
|
}
|
|
@@ -2589,7 +2655,11 @@ static CYTHON_INLINE int __Pyx_PySequence_ContainsTF(PyObject* item, PyObject* s
|
|
|
2589
2655
|
static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name);
|
|
2590
2656
|
|
|
2591
2657
|
/* HasAttr.proto */
|
|
2658
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
2659
|
+
#define __Pyx_HasAttr(o, n) PyObject_HasAttrWithError(o, n)
|
|
2660
|
+
#else
|
|
2592
2661
|
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *);
|
|
2662
|
+
#endif
|
|
2593
2663
|
|
|
2594
2664
|
/* PyObject_GenericGetAttrNoDict.proto */
|
|
2595
2665
|
#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
|
|
@@ -2647,22 +2717,22 @@ static int __Pyx_setup_reduce(PyObject* type_obj);
|
|
|
2647
2717
|
#endif
|
|
2648
2718
|
|
|
2649
2719
|
/* TypeImport.proto */
|
|
2650
|
-
#ifndef
|
|
2651
|
-
#define
|
|
2720
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_0_10
|
|
2721
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_0_10
|
|
2652
2722
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2653
2723
|
#include <stdalign.h>
|
|
2654
2724
|
#endif
|
|
2655
2725
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2656
|
-
#define
|
|
2726
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) alignof(s)
|
|
2657
2727
|
#else
|
|
2658
|
-
#define
|
|
2728
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) sizeof(void*)
|
|
2659
2729
|
#endif
|
|
2660
|
-
enum
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2730
|
+
enum __Pyx_ImportType_CheckSize_3_0_10 {
|
|
2731
|
+
__Pyx_ImportType_CheckSize_Error_3_0_10 = 0,
|
|
2732
|
+
__Pyx_ImportType_CheckSize_Warn_3_0_10 = 1,
|
|
2733
|
+
__Pyx_ImportType_CheckSize_Ignore_3_0_10 = 2
|
|
2664
2734
|
};
|
|
2665
|
-
static PyTypeObject *
|
|
2735
|
+
static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_10 check_size);
|
|
2666
2736
|
#endif
|
|
2667
2737
|
|
|
2668
2738
|
/* FetchSharedCythonModule.proto */
|
|
@@ -2755,7 +2825,7 @@ typedef struct {
|
|
|
2755
2825
|
#endif
|
|
2756
2826
|
void *defaults;
|
|
2757
2827
|
int defaults_pyobjects;
|
|
2758
|
-
size_t defaults_size;
|
|
2828
|
+
size_t defaults_size;
|
|
2759
2829
|
int flags;
|
|
2760
2830
|
PyObject *defaults_tuple;
|
|
2761
2831
|
PyObject *defaults_kwdict;
|
|
@@ -2763,9 +2833,13 @@ typedef struct {
|
|
|
2763
2833
|
PyObject *func_annotations;
|
|
2764
2834
|
PyObject *func_is_coroutine;
|
|
2765
2835
|
} __pyx_CyFunctionObject;
|
|
2836
|
+
#undef __Pyx_CyOrPyCFunction_Check
|
|
2766
2837
|
#define __Pyx_CyFunction_Check(obj) __Pyx_TypeCheck(obj, __pyx_CyFunctionType)
|
|
2767
|
-
#define
|
|
2838
|
+
#define __Pyx_CyOrPyCFunction_Check(obj) __Pyx_TypeCheck2(obj, __pyx_CyFunctionType, &PyCFunction_Type)
|
|
2768
2839
|
#define __Pyx_CyFunction_CheckExact(obj) __Pyx_IS_TYPE(obj, __pyx_CyFunctionType)
|
|
2840
|
+
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc);
|
|
2841
|
+
#undef __Pyx_IsSameCFunction
|
|
2842
|
+
#define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCyOrCFunction(func, cfunc)
|
|
2769
2843
|
static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject* op, PyMethodDef *ml,
|
|
2770
2844
|
int flags, PyObject* qualname,
|
|
2771
2845
|
PyObject *closure,
|
|
@@ -3061,7 +3135,8 @@ typedef const char *__Pyx_TypeName;
|
|
|
3061
3135
|
#endif
|
|
3062
3136
|
|
|
3063
3137
|
/* CheckBinaryVersion.proto */
|
|
3064
|
-
static
|
|
3138
|
+
static unsigned long __Pyx_get_runtime_version(void);
|
|
3139
|
+
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
|
|
3065
3140
|
|
|
3066
3141
|
/* InitStrings.proto */
|
|
3067
3142
|
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
|
|
@@ -4521,8 +4596,7 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
|
|
|
4521
4596
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
4522
4597
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
4523
4598
|
#else
|
|
4524
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
4525
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 131, __pyx_L3_error)
|
|
4599
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
4526
4600
|
#endif
|
|
4527
4601
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
4528
4602
|
{
|
|
@@ -4623,10 +4697,11 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
|
|
|
4623
4697
|
__pyx_v_allocate_buffer = ((int)1);
|
|
4624
4698
|
}
|
|
4625
4699
|
}
|
|
4626
|
-
goto
|
|
4700
|
+
goto __pyx_L6_skip;
|
|
4627
4701
|
__pyx_L5_argtuple_error:;
|
|
4628
4702
|
__Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, __pyx_nargs); __PYX_ERR(1, 131, __pyx_L3_error)
|
|
4629
|
-
|
|
4703
|
+
__pyx_L6_skip:;
|
|
4704
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
4630
4705
|
__pyx_L3_error:;
|
|
4631
4706
|
{
|
|
4632
4707
|
Py_ssize_t __pyx_temp;
|
|
@@ -4909,13 +4984,20 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
|
|
|
4909
4984
|
* raise ValueError, f"Invalid shape in axis {idx}: {dim}."
|
|
4910
4985
|
*/
|
|
4911
4986
|
__pyx_t_7 = 0;
|
|
4912
|
-
__pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4);
|
|
4987
|
+
__pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4);
|
|
4988
|
+
__pyx_t_1 = 0;
|
|
4913
4989
|
for (;;) {
|
|
4914
|
-
|
|
4990
|
+
{
|
|
4991
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
|
|
4992
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
4993
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 159, __pyx_L1_error)
|
|
4994
|
+
#endif
|
|
4995
|
+
if (__pyx_t_1 >= __pyx_temp) break;
|
|
4996
|
+
}
|
|
4915
4997
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
4916
4998
|
__pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_1); __Pyx_INCREF(__pyx_t_5); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(1, 159, __pyx_L1_error)
|
|
4917
4999
|
#else
|
|
4918
|
-
__pyx_t_5 =
|
|
5000
|
+
__pyx_t_5 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 159, __pyx_L1_error)
|
|
4919
5001
|
__Pyx_GOTREF(__pyx_t_5);
|
|
4920
5002
|
#endif
|
|
4921
5003
|
__pyx_t_9 = __Pyx_PyIndex_AsSsize_t(__pyx_t_5); if (unlikely((__pyx_t_9 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(1, 159, __pyx_L1_error)
|
|
@@ -5558,10 +5640,8 @@ static void __pyx_array___dealloc__(PyObject *__pyx_v_self) {
|
|
|
5558
5640
|
}
|
|
5559
5641
|
|
|
5560
5642
|
static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struct __pyx_array_obj *__pyx_v_self) {
|
|
5561
|
-
__Pyx_RefNannyDeclarations
|
|
5562
5643
|
int __pyx_t_1;
|
|
5563
5644
|
int __pyx_t_2;
|
|
5564
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
5565
5645
|
|
|
5566
5646
|
/* "View.MemoryView":211
|
|
5567
5647
|
*
|
|
@@ -5673,7 +5753,6 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
|
|
|
5673
5753
|
*/
|
|
5674
5754
|
|
|
5675
5755
|
/* function exit code */
|
|
5676
|
-
__Pyx_RefNannyFinishContext();
|
|
5677
5756
|
}
|
|
5678
5757
|
|
|
5679
5758
|
/* "View.MemoryView":219
|
|
@@ -5706,7 +5785,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
|
|
|
5706
5785
|
int __pyx_lineno = 0;
|
|
5707
5786
|
const char *__pyx_filename = NULL;
|
|
5708
5787
|
int __pyx_clineno = 0;
|
|
5709
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
5788
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
5710
5789
|
|
|
5711
5790
|
/* "View.MemoryView":221
|
|
5712
5791
|
* @property
|
|
@@ -5759,7 +5838,7 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
5759
5838
|
int __pyx_lineno = 0;
|
|
5760
5839
|
const char *__pyx_filename = NULL;
|
|
5761
5840
|
int __pyx_clineno = 0;
|
|
5762
|
-
__Pyx_RefNannySetupContext("get_memview",
|
|
5841
|
+
__Pyx_RefNannySetupContext("get_memview", 1);
|
|
5763
5842
|
|
|
5764
5843
|
/* "View.MemoryView":225
|
|
5765
5844
|
* @cname('get_memview')
|
|
@@ -5846,8 +5925,6 @@ static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self) {
|
|
|
5846
5925
|
|
|
5847
5926
|
static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(struct __pyx_array_obj *__pyx_v_self) {
|
|
5848
5927
|
Py_ssize_t __pyx_r;
|
|
5849
|
-
__Pyx_RefNannyDeclarations
|
|
5850
|
-
__Pyx_RefNannySetupContext("__len__", 0);
|
|
5851
5928
|
|
|
5852
5929
|
/* "View.MemoryView":229
|
|
5853
5930
|
*
|
|
@@ -5869,7 +5946,6 @@ static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(str
|
|
|
5869
5946
|
|
|
5870
5947
|
/* function exit code */
|
|
5871
5948
|
__pyx_L0:;
|
|
5872
|
-
__Pyx_RefNannyFinishContext();
|
|
5873
5949
|
return __pyx_r;
|
|
5874
5950
|
}
|
|
5875
5951
|
|
|
@@ -5904,7 +5980,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(
|
|
|
5904
5980
|
int __pyx_lineno = 0;
|
|
5905
5981
|
const char *__pyx_filename = NULL;
|
|
5906
5982
|
int __pyx_clineno = 0;
|
|
5907
|
-
__Pyx_RefNannySetupContext("__getattr__",
|
|
5983
|
+
__Pyx_RefNannySetupContext("__getattr__", 1);
|
|
5908
5984
|
|
|
5909
5985
|
/* "View.MemoryView":232
|
|
5910
5986
|
*
|
|
@@ -5974,7 +6050,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__
|
|
|
5974
6050
|
int __pyx_lineno = 0;
|
|
5975
6051
|
const char *__pyx_filename = NULL;
|
|
5976
6052
|
int __pyx_clineno = 0;
|
|
5977
|
-
__Pyx_RefNannySetupContext("__getitem__",
|
|
6053
|
+
__Pyx_RefNannySetupContext("__getitem__", 1);
|
|
5978
6054
|
|
|
5979
6055
|
/* "View.MemoryView":235
|
|
5980
6056
|
*
|
|
@@ -6043,7 +6119,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(struc
|
|
|
6043
6119
|
int __pyx_lineno = 0;
|
|
6044
6120
|
const char *__pyx_filename = NULL;
|
|
6045
6121
|
int __pyx_clineno = 0;
|
|
6046
|
-
__Pyx_RefNannySetupContext("__setitem__",
|
|
6122
|
+
__Pyx_RefNannySetupContext("__setitem__", 1);
|
|
6047
6123
|
|
|
6048
6124
|
/* "View.MemoryView":238
|
|
6049
6125
|
*
|
|
@@ -6102,9 +6178,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6102
6178
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
6103
6179
|
#endif
|
|
6104
6180
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
6105
|
-
int __pyx_lineno = 0;
|
|
6106
|
-
const char *__pyx_filename = NULL;
|
|
6107
|
-
int __pyx_clineno = 0;
|
|
6108
6181
|
PyObject *__pyx_r = 0;
|
|
6109
6182
|
__Pyx_RefNannyDeclarations
|
|
6110
6183
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -6112,21 +6185,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6112
6185
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6113
6186
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6114
6187
|
#else
|
|
6115
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6116
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
6188
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
6117
6189
|
#endif
|
|
6118
6190
|
#endif
|
|
6119
6191
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
6120
6192
|
if (unlikely(__pyx_nargs > 0)) {
|
|
6121
6193
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
6122
6194
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
6123
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
6124
|
-
goto __pyx_L3_error;
|
|
6125
|
-
__pyx_L3_error:;
|
|
6126
|
-
__Pyx_AddTraceback("View.MemoryView.array.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
6127
|
-
__Pyx_RefNannyFinishContext();
|
|
6128
|
-
return NULL;
|
|
6129
|
-
__pyx_L4_argument_unpacking_done:;
|
|
6130
6195
|
__pyx_r = __pyx_pf___pyx_array___reduce_cython__(((struct __pyx_array_obj *)__pyx_v_self));
|
|
6131
6196
|
|
|
6132
6197
|
/* function exit code */
|
|
@@ -6140,7 +6205,7 @@ static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED struct __p
|
|
|
6140
6205
|
int __pyx_lineno = 0;
|
|
6141
6206
|
const char *__pyx_filename = NULL;
|
|
6142
6207
|
int __pyx_clineno = 0;
|
|
6143
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
6208
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
6144
6209
|
|
|
6145
6210
|
/* "(tree fragment)":2
|
|
6146
6211
|
* def __reduce_cython__(self):
|
|
@@ -6204,8 +6269,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6204
6269
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6205
6270
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6206
6271
|
#else
|
|
6207
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6208
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
6272
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
6209
6273
|
#endif
|
|
6210
6274
|
#endif
|
|
6211
6275
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -6240,10 +6304,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6240
6304
|
}
|
|
6241
6305
|
__pyx_v___pyx_state = values[0];
|
|
6242
6306
|
}
|
|
6243
|
-
goto
|
|
6307
|
+
goto __pyx_L6_skip;
|
|
6244
6308
|
__pyx_L5_argtuple_error:;
|
|
6245
6309
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
6246
|
-
|
|
6310
|
+
__pyx_L6_skip:;
|
|
6311
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
6247
6312
|
__pyx_L3_error:;
|
|
6248
6313
|
{
|
|
6249
6314
|
Py_ssize_t __pyx_temp;
|
|
@@ -6274,7 +6339,7 @@ static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED struct
|
|
|
6274
6339
|
int __pyx_lineno = 0;
|
|
6275
6340
|
const char *__pyx_filename = NULL;
|
|
6276
6341
|
int __pyx_clineno = 0;
|
|
6277
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
6342
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
6278
6343
|
|
|
6279
6344
|
/* "(tree fragment)":4
|
|
6280
6345
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -6312,7 +6377,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6312
6377
|
Py_ssize_t __pyx_v_i;
|
|
6313
6378
|
PyObject **__pyx_v_p;
|
|
6314
6379
|
int __pyx_r;
|
|
6315
|
-
__Pyx_RefNannyDeclarations
|
|
6316
6380
|
int __pyx_t_1;
|
|
6317
6381
|
Py_ssize_t __pyx_t_2;
|
|
6318
6382
|
Py_ssize_t __pyx_t_3;
|
|
@@ -6320,7 +6384,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6320
6384
|
int __pyx_lineno = 0;
|
|
6321
6385
|
const char *__pyx_filename = NULL;
|
|
6322
6386
|
int __pyx_clineno = 0;
|
|
6323
|
-
__Pyx_RefNannySetupContext("_allocate_buffer", 0);
|
|
6324
6387
|
|
|
6325
6388
|
/* "View.MemoryView":254
|
|
6326
6389
|
* cdef PyObject **p
|
|
@@ -6458,7 +6521,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6458
6521
|
__Pyx_AddTraceback("View.MemoryView._allocate_buffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
6459
6522
|
__pyx_r = -1;
|
|
6460
6523
|
__pyx_L0:;
|
|
6461
|
-
__Pyx_RefNannyFinishContext();
|
|
6462
6524
|
return __pyx_r;
|
|
6463
6525
|
}
|
|
6464
6526
|
|
|
@@ -6482,7 +6544,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
|
|
|
6482
6544
|
int __pyx_lineno = 0;
|
|
6483
6545
|
const char *__pyx_filename = NULL;
|
|
6484
6546
|
int __pyx_clineno = 0;
|
|
6485
|
-
__Pyx_RefNannySetupContext("array_cwrapper",
|
|
6547
|
+
__Pyx_RefNannySetupContext("array_cwrapper", 1);
|
|
6486
6548
|
|
|
6487
6549
|
/* "View.MemoryView":270
|
|
6488
6550
|
* cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format, char *c_mode, char *buf):
|
|
@@ -6659,8 +6721,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6659
6721
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6660
6722
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6661
6723
|
#else
|
|
6662
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6663
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 304, __pyx_L3_error)
|
|
6724
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
6664
6725
|
#endif
|
|
6665
6726
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
6666
6727
|
{
|
|
@@ -6694,10 +6755,11 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6694
6755
|
}
|
|
6695
6756
|
__pyx_v_name = values[0];
|
|
6696
6757
|
}
|
|
6697
|
-
goto
|
|
6758
|
+
goto __pyx_L6_skip;
|
|
6698
6759
|
__pyx_L5_argtuple_error:;
|
|
6699
6760
|
__Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 304, __pyx_L3_error)
|
|
6700
|
-
|
|
6761
|
+
__pyx_L6_skip:;
|
|
6762
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
6701
6763
|
__pyx_L3_error:;
|
|
6702
6764
|
{
|
|
6703
6765
|
Py_ssize_t __pyx_temp;
|
|
@@ -6725,7 +6787,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6725
6787
|
static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v_name) {
|
|
6726
6788
|
int __pyx_r;
|
|
6727
6789
|
__Pyx_RefNannyDeclarations
|
|
6728
|
-
__Pyx_RefNannySetupContext("__init__",
|
|
6790
|
+
__Pyx_RefNannySetupContext("__init__", 1);
|
|
6729
6791
|
|
|
6730
6792
|
/* "View.MemoryView":305
|
|
6731
6793
|
* cdef object name
|
|
@@ -6780,7 +6842,7 @@ static PyObject *__pyx_MemviewEnum___repr__(PyObject *__pyx_v_self) {
|
|
|
6780
6842
|
static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr__(struct __pyx_MemviewEnum_obj *__pyx_v_self) {
|
|
6781
6843
|
PyObject *__pyx_r = NULL;
|
|
6782
6844
|
__Pyx_RefNannyDeclarations
|
|
6783
|
-
__Pyx_RefNannySetupContext("__repr__",
|
|
6845
|
+
__Pyx_RefNannySetupContext("__repr__", 1);
|
|
6784
6846
|
|
|
6785
6847
|
/* "View.MemoryView":307
|
|
6786
6848
|
* self.name = name
|
|
@@ -6834,9 +6896,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6834
6896
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
6835
6897
|
#endif
|
|
6836
6898
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
6837
|
-
int __pyx_lineno = 0;
|
|
6838
|
-
const char *__pyx_filename = NULL;
|
|
6839
|
-
int __pyx_clineno = 0;
|
|
6840
6899
|
PyObject *__pyx_r = 0;
|
|
6841
6900
|
__Pyx_RefNannyDeclarations
|
|
6842
6901
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -6844,21 +6903,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6844
6903
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6845
6904
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6846
6905
|
#else
|
|
6847
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6848
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
6906
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
6849
6907
|
#endif
|
|
6850
6908
|
#endif
|
|
6851
6909
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
6852
6910
|
if (unlikely(__pyx_nargs > 0)) {
|
|
6853
6911
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
6854
6912
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
6855
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
6856
|
-
goto __pyx_L3_error;
|
|
6857
|
-
__pyx_L3_error:;
|
|
6858
|
-
__Pyx_AddTraceback("View.MemoryView.Enum.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
6859
|
-
__Pyx_RefNannyFinishContext();
|
|
6860
|
-
return NULL;
|
|
6861
|
-
__pyx_L4_argument_unpacking_done:;
|
|
6862
6913
|
__pyx_r = __pyx_pf___pyx_MemviewEnum___reduce_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self));
|
|
6863
6914
|
|
|
6864
6915
|
/* function exit code */
|
|
@@ -6879,7 +6930,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __pyx_Memvi
|
|
|
6879
6930
|
int __pyx_lineno = 0;
|
|
6880
6931
|
const char *__pyx_filename = NULL;
|
|
6881
6932
|
int __pyx_clineno = 0;
|
|
6882
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
6933
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
6883
6934
|
|
|
6884
6935
|
/* "(tree fragment)":5
|
|
6885
6936
|
* cdef object _dict
|
|
@@ -7116,8 +7167,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
7116
7167
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
7117
7168
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
7118
7169
|
#else
|
|
7119
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
7120
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 16, __pyx_L3_error)
|
|
7170
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
7121
7171
|
#endif
|
|
7122
7172
|
#endif
|
|
7123
7173
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -7152,10 +7202,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
7152
7202
|
}
|
|
7153
7203
|
__pyx_v___pyx_state = values[0];
|
|
7154
7204
|
}
|
|
7155
|
-
goto
|
|
7205
|
+
goto __pyx_L6_skip;
|
|
7156
7206
|
__pyx_L5_argtuple_error:;
|
|
7157
7207
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error)
|
|
7158
|
-
|
|
7208
|
+
__pyx_L6_skip:;
|
|
7209
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
7159
7210
|
__pyx_L3_error:;
|
|
7160
7211
|
{
|
|
7161
7212
|
Py_ssize_t __pyx_temp;
|
|
@@ -7187,7 +7238,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct __pyx_Me
|
|
|
7187
7238
|
int __pyx_lineno = 0;
|
|
7188
7239
|
const char *__pyx_filename = NULL;
|
|
7189
7240
|
int __pyx_clineno = 0;
|
|
7190
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
7241
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
7191
7242
|
|
|
7192
7243
|
/* "(tree fragment)":17
|
|
7193
7244
|
* return __pyx_unpickle_Enum, (type(self), 0x82a3537, state)
|
|
@@ -7245,8 +7296,7 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
7245
7296
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
7246
7297
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
7247
7298
|
#else
|
|
7248
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
7249
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 349, __pyx_L3_error)
|
|
7299
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
7250
7300
|
#endif
|
|
7251
7301
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
7252
7302
|
{
|
|
@@ -7312,10 +7362,11 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
7312
7362
|
__pyx_v_dtype_is_object = ((int)0);
|
|
7313
7363
|
}
|
|
7314
7364
|
}
|
|
7315
|
-
goto
|
|
7365
|
+
goto __pyx_L6_skip;
|
|
7316
7366
|
__pyx_L5_argtuple_error:;
|
|
7317
7367
|
__Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, __pyx_nargs); __PYX_ERR(1, 349, __pyx_L3_error)
|
|
7318
|
-
|
|
7368
|
+
__pyx_L6_skip:;
|
|
7369
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
7319
7370
|
__pyx_L3_error:;
|
|
7320
7371
|
{
|
|
7321
7372
|
Py_ssize_t __pyx_temp;
|
|
@@ -7351,7 +7402,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
|
|
|
7351
7402
|
int __pyx_lineno = 0;
|
|
7352
7403
|
const char *__pyx_filename = NULL;
|
|
7353
7404
|
int __pyx_clineno = 0;
|
|
7354
|
-
__Pyx_RefNannySetupContext("__cinit__",
|
|
7405
|
+
__Pyx_RefNannySetupContext("__cinit__", 1);
|
|
7355
7406
|
|
|
7356
7407
|
/* "View.MemoryView":350
|
|
7357
7408
|
*
|
|
@@ -7686,14 +7737,12 @@ static void __pyx_memoryview___dealloc__(PyObject *__pyx_v_self) {
|
|
|
7686
7737
|
|
|
7687
7738
|
static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
7688
7739
|
int __pyx_v_i;
|
|
7689
|
-
__Pyx_RefNannyDeclarations
|
|
7690
7740
|
int __pyx_t_1;
|
|
7691
7741
|
int __pyx_t_2;
|
|
7692
7742
|
int __pyx_t_3;
|
|
7693
7743
|
int __pyx_t_4;
|
|
7694
7744
|
PyThread_type_lock __pyx_t_5;
|
|
7695
7745
|
PyThread_type_lock __pyx_t_6;
|
|
7696
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
7697
7746
|
|
|
7698
7747
|
/* "View.MemoryView":377
|
|
7699
7748
|
*
|
|
@@ -7891,7 +7940,6 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
|
|
|
7891
7940
|
*/
|
|
7892
7941
|
|
|
7893
7942
|
/* function exit code */
|
|
7894
|
-
__Pyx_RefNannyFinishContext();
|
|
7895
7943
|
}
|
|
7896
7944
|
|
|
7897
7945
|
/* "View.MemoryView":397
|
|
@@ -7918,7 +7966,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
7918
7966
|
int __pyx_lineno = 0;
|
|
7919
7967
|
const char *__pyx_filename = NULL;
|
|
7920
7968
|
int __pyx_clineno = 0;
|
|
7921
|
-
__Pyx_RefNannySetupContext("get_item_pointer",
|
|
7969
|
+
__Pyx_RefNannySetupContext("get_item_pointer", 1);
|
|
7922
7970
|
|
|
7923
7971
|
/* "View.MemoryView":399
|
|
7924
7972
|
* cdef char *get_item_pointer(memoryview self, object index) except NULL:
|
|
@@ -7938,7 +7986,8 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
7938
7986
|
*/
|
|
7939
7987
|
__pyx_t_1 = 0;
|
|
7940
7988
|
if (likely(PyList_CheckExact(__pyx_v_index)) || PyTuple_CheckExact(__pyx_v_index)) {
|
|
7941
|
-
__pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2);
|
|
7989
|
+
__pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2);
|
|
7990
|
+
__pyx_t_3 = 0;
|
|
7942
7991
|
__pyx_t_4 = NULL;
|
|
7943
7992
|
} else {
|
|
7944
7993
|
__pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
@@ -7948,19 +7997,31 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
7948
7997
|
for (;;) {
|
|
7949
7998
|
if (likely(!__pyx_t_4)) {
|
|
7950
7999
|
if (likely(PyList_CheckExact(__pyx_t_2))) {
|
|
7951
|
-
|
|
8000
|
+
{
|
|
8001
|
+
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
|
|
8002
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
8003
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
8004
|
+
#endif
|
|
8005
|
+
if (__pyx_t_3 >= __pyx_temp) break;
|
|
8006
|
+
}
|
|
7952
8007
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
7953
8008
|
__pyx_t_5 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely((0 < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
7954
8009
|
#else
|
|
7955
|
-
__pyx_t_5 =
|
|
8010
|
+
__pyx_t_5 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
7956
8011
|
__Pyx_GOTREF(__pyx_t_5);
|
|
7957
8012
|
#endif
|
|
7958
8013
|
} else {
|
|
7959
|
-
|
|
8014
|
+
{
|
|
8015
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
|
|
8016
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
8017
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
8018
|
+
#endif
|
|
8019
|
+
if (__pyx_t_3 >= __pyx_temp) break;
|
|
8020
|
+
}
|
|
7960
8021
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
7961
8022
|
__pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely((0 < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
7962
8023
|
#else
|
|
7963
|
-
__pyx_t_5 =
|
|
8024
|
+
__pyx_t_5 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
7964
8025
|
__Pyx_GOTREF(__pyx_t_5);
|
|
7965
8026
|
#endif
|
|
7966
8027
|
}
|
|
@@ -8069,7 +8130,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
|
|
|
8069
8130
|
int __pyx_lineno = 0;
|
|
8070
8131
|
const char *__pyx_filename = NULL;
|
|
8071
8132
|
int __pyx_clineno = 0;
|
|
8072
|
-
__Pyx_RefNannySetupContext("__getitem__",
|
|
8133
|
+
__Pyx_RefNannySetupContext("__getitem__", 1);
|
|
8073
8134
|
|
|
8074
8135
|
/* "View.MemoryView":408
|
|
8075
8136
|
*
|
|
@@ -8680,7 +8741,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryvi
|
|
|
8680
8741
|
int __pyx_lineno = 0;
|
|
8681
8742
|
const char *__pyx_filename = NULL;
|
|
8682
8743
|
int __pyx_clineno = 0;
|
|
8683
|
-
__Pyx_RefNannySetupContext("setitem_slice_assignment",
|
|
8744
|
+
__Pyx_RefNannySetupContext("setitem_slice_assignment", 1);
|
|
8684
8745
|
|
|
8685
8746
|
/* "View.MemoryView":448
|
|
8686
8747
|
* cdef __Pyx_memviewslice dst_slice
|
|
@@ -8773,7 +8834,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
|
|
|
8773
8834
|
int __pyx_lineno = 0;
|
|
8774
8835
|
const char *__pyx_filename = NULL;
|
|
8775
8836
|
int __pyx_clineno = 0;
|
|
8776
|
-
__Pyx_RefNannySetupContext("setitem_slice_assign_scalar",
|
|
8837
|
+
__Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 1);
|
|
8777
8838
|
|
|
8778
8839
|
/* "View.MemoryView":455
|
|
8779
8840
|
* cdef setitem_slice_assign_scalar(self, memoryview dst, value):
|
|
@@ -9046,7 +9107,7 @@ static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *_
|
|
|
9046
9107
|
int __pyx_lineno = 0;
|
|
9047
9108
|
const char *__pyx_filename = NULL;
|
|
9048
9109
|
int __pyx_clineno = 0;
|
|
9049
|
-
__Pyx_RefNannySetupContext("setitem_indexed",
|
|
9110
|
+
__Pyx_RefNannySetupContext("setitem_indexed", 1);
|
|
9050
9111
|
|
|
9051
9112
|
/* "View.MemoryView":486
|
|
9052
9113
|
*
|
|
@@ -9117,7 +9178,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
|
|
|
9117
9178
|
int __pyx_lineno = 0;
|
|
9118
9179
|
const char *__pyx_filename = NULL;
|
|
9119
9180
|
int __pyx_clineno = 0;
|
|
9120
|
-
__Pyx_RefNannySetupContext("convert_item_to_object",
|
|
9181
|
+
__Pyx_RefNannySetupContext("convert_item_to_object", 1);
|
|
9121
9182
|
|
|
9122
9183
|
/* "View.MemoryView":492
|
|
9123
9184
|
* """Only used if instantiated manually by the user, or if Cython doesn't
|
|
@@ -9367,7 +9428,7 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
|
|
|
9367
9428
|
int __pyx_lineno = 0;
|
|
9368
9429
|
const char *__pyx_filename = NULL;
|
|
9369
9430
|
int __pyx_clineno = 0;
|
|
9370
|
-
__Pyx_RefNannySetupContext("assign_item_from_object",
|
|
9431
|
+
__Pyx_RefNannySetupContext("assign_item_from_object", 1);
|
|
9371
9432
|
|
|
9372
9433
|
/* "View.MemoryView":508
|
|
9373
9434
|
* """Only used if instantiated manually by the user, or if Cython doesn't
|
|
@@ -9920,7 +9981,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
|
|
|
9920
9981
|
int __pyx_lineno = 0;
|
|
9921
9982
|
const char *__pyx_filename = NULL;
|
|
9922
9983
|
int __pyx_clineno = 0;
|
|
9923
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
9984
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
9924
9985
|
|
|
9925
9986
|
/* "View.MemoryView":556
|
|
9926
9987
|
* @property
|
|
@@ -10006,7 +10067,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
|
|
|
10006
10067
|
int __pyx_lineno = 0;
|
|
10007
10068
|
const char *__pyx_filename = NULL;
|
|
10008
10069
|
int __pyx_clineno = 0;
|
|
10009
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10070
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10010
10071
|
|
|
10011
10072
|
/* "View.MemoryView":562
|
|
10012
10073
|
* @property
|
|
@@ -10052,7 +10113,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
|
|
|
10052
10113
|
static PyObject *__pyx_memoryview__get_base(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
10053
10114
|
PyObject *__pyx_r = NULL;
|
|
10054
10115
|
__Pyx_RefNannyDeclarations
|
|
10055
|
-
__Pyx_RefNannySetupContext("_get_base",
|
|
10116
|
+
__Pyx_RefNannySetupContext("_get_base", 1);
|
|
10056
10117
|
|
|
10057
10118
|
/* "View.MemoryView":565
|
|
10058
10119
|
*
|
|
@@ -10116,7 +10177,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
|
|
|
10116
10177
|
int __pyx_lineno = 0;
|
|
10117
10178
|
const char *__pyx_filename = NULL;
|
|
10118
10179
|
int __pyx_clineno = 0;
|
|
10119
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10180
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10120
10181
|
|
|
10121
10182
|
/* "View.MemoryView":569
|
|
10122
10183
|
* @property
|
|
@@ -10202,7 +10263,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
|
|
|
10202
10263
|
int __pyx_lineno = 0;
|
|
10203
10264
|
const char *__pyx_filename = NULL;
|
|
10204
10265
|
int __pyx_clineno = 0;
|
|
10205
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10266
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10206
10267
|
|
|
10207
10268
|
/* "View.MemoryView":573
|
|
10208
10269
|
* @property
|
|
@@ -10317,7 +10378,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
|
|
|
10317
10378
|
int __pyx_lineno = 0;
|
|
10318
10379
|
const char *__pyx_filename = NULL;
|
|
10319
10380
|
int __pyx_clineno = 0;
|
|
10320
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10381
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10321
10382
|
|
|
10322
10383
|
/* "View.MemoryView":581
|
|
10323
10384
|
* @property
|
|
@@ -10430,7 +10491,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
|
|
|
10430
10491
|
int __pyx_lineno = 0;
|
|
10431
10492
|
const char *__pyx_filename = NULL;
|
|
10432
10493
|
int __pyx_clineno = 0;
|
|
10433
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10494
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10434
10495
|
|
|
10435
10496
|
/* "View.MemoryView":588
|
|
10436
10497
|
* @property
|
|
@@ -10495,7 +10556,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
|
|
|
10495
10556
|
int __pyx_lineno = 0;
|
|
10496
10557
|
const char *__pyx_filename = NULL;
|
|
10497
10558
|
int __pyx_clineno = 0;
|
|
10498
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10559
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10499
10560
|
|
|
10500
10561
|
/* "View.MemoryView":592
|
|
10501
10562
|
* @property
|
|
@@ -10562,7 +10623,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
|
|
|
10562
10623
|
int __pyx_lineno = 0;
|
|
10563
10624
|
const char *__pyx_filename = NULL;
|
|
10564
10625
|
int __pyx_clineno = 0;
|
|
10565
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10626
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10566
10627
|
|
|
10567
10628
|
/* "View.MemoryView":596
|
|
10568
10629
|
* @property
|
|
@@ -10641,7 +10702,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
|
|
|
10641
10702
|
int __pyx_lineno = 0;
|
|
10642
10703
|
const char *__pyx_filename = NULL;
|
|
10643
10704
|
int __pyx_clineno = 0;
|
|
10644
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10705
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10645
10706
|
|
|
10646
10707
|
/* "View.MemoryView":600
|
|
10647
10708
|
* @property
|
|
@@ -10771,9 +10832,7 @@ static Py_ssize_t __pyx_memoryview___len__(PyObject *__pyx_v_self) {
|
|
|
10771
10832
|
|
|
10772
10833
|
static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_10__len__(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
10773
10834
|
Py_ssize_t __pyx_r;
|
|
10774
|
-
__Pyx_RefNannyDeclarations
|
|
10775
10835
|
int __pyx_t_1;
|
|
10776
|
-
__Pyx_RefNannySetupContext("__len__", 0);
|
|
10777
10836
|
|
|
10778
10837
|
/* "View.MemoryView":611
|
|
10779
10838
|
*
|
|
@@ -10824,7 +10883,6 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
|
|
|
10824
10883
|
|
|
10825
10884
|
/* function exit code */
|
|
10826
10885
|
__pyx_L0:;
|
|
10827
|
-
__Pyx_RefNannyFinishContext();
|
|
10828
10886
|
return __pyx_r;
|
|
10829
10887
|
}
|
|
10830
10888
|
|
|
@@ -10860,7 +10918,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
|
|
|
10860
10918
|
int __pyx_lineno = 0;
|
|
10861
10919
|
const char *__pyx_filename = NULL;
|
|
10862
10920
|
int __pyx_clineno = 0;
|
|
10863
|
-
__Pyx_RefNannySetupContext("__repr__",
|
|
10921
|
+
__Pyx_RefNannySetupContext("__repr__", 1);
|
|
10864
10922
|
|
|
10865
10923
|
/* "View.MemoryView":617
|
|
10866
10924
|
*
|
|
@@ -10963,7 +11021,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
|
|
|
10963
11021
|
int __pyx_lineno = 0;
|
|
10964
11022
|
const char *__pyx_filename = NULL;
|
|
10965
11023
|
int __pyx_clineno = 0;
|
|
10966
|
-
__Pyx_RefNannySetupContext("__str__",
|
|
11024
|
+
__Pyx_RefNannySetupContext("__str__", 1);
|
|
10967
11025
|
|
|
10968
11026
|
/* "View.MemoryView":621
|
|
10969
11027
|
*
|
|
@@ -11040,9 +11098,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11040
11098
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11041
11099
|
#endif
|
|
11042
11100
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11043
|
-
int __pyx_lineno = 0;
|
|
11044
|
-
const char *__pyx_filename = NULL;
|
|
11045
|
-
int __pyx_clineno = 0;
|
|
11046
11101
|
PyObject *__pyx_r = 0;
|
|
11047
11102
|
__Pyx_RefNannyDeclarations
|
|
11048
11103
|
__Pyx_RefNannySetupContext("is_c_contig (wrapper)", 0);
|
|
@@ -11050,21 +11105,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11050
11105
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11051
11106
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11052
11107
|
#else
|
|
11053
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11054
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 624, __pyx_L3_error)
|
|
11108
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11055
11109
|
#endif
|
|
11056
11110
|
#endif
|
|
11057
11111
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11058
11112
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11059
11113
|
__Pyx_RaiseArgtupleInvalid("is_c_contig", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11060
11114
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_c_contig", 0))) return NULL;
|
|
11061
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11062
|
-
goto __pyx_L3_error;
|
|
11063
|
-
__pyx_L3_error:;
|
|
11064
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.is_c_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11065
|
-
__Pyx_RefNannyFinishContext();
|
|
11066
|
-
return NULL;
|
|
11067
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11068
11115
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11069
11116
|
|
|
11070
11117
|
/* function exit code */
|
|
@@ -11082,7 +11129,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
|
|
|
11082
11129
|
int __pyx_lineno = 0;
|
|
11083
11130
|
const char *__pyx_filename = NULL;
|
|
11084
11131
|
int __pyx_clineno = 0;
|
|
11085
|
-
__Pyx_RefNannySetupContext("is_c_contig",
|
|
11132
|
+
__Pyx_RefNannySetupContext("is_c_contig", 1);
|
|
11086
11133
|
|
|
11087
11134
|
/* "View.MemoryView":627
|
|
11088
11135
|
* cdef __Pyx_memviewslice *mslice
|
|
@@ -11154,9 +11201,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11154
11201
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11155
11202
|
#endif
|
|
11156
11203
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11157
|
-
int __pyx_lineno = 0;
|
|
11158
|
-
const char *__pyx_filename = NULL;
|
|
11159
|
-
int __pyx_clineno = 0;
|
|
11160
11204
|
PyObject *__pyx_r = 0;
|
|
11161
11205
|
__Pyx_RefNannyDeclarations
|
|
11162
11206
|
__Pyx_RefNannySetupContext("is_f_contig (wrapper)", 0);
|
|
@@ -11164,21 +11208,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11164
11208
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11165
11209
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11166
11210
|
#else
|
|
11167
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11168
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 630, __pyx_L3_error)
|
|
11211
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11169
11212
|
#endif
|
|
11170
11213
|
#endif
|
|
11171
11214
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11172
11215
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11173
11216
|
__Pyx_RaiseArgtupleInvalid("is_f_contig", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11174
11217
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_f_contig", 0))) return NULL;
|
|
11175
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11176
|
-
goto __pyx_L3_error;
|
|
11177
|
-
__pyx_L3_error:;
|
|
11178
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.is_f_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11179
|
-
__Pyx_RefNannyFinishContext();
|
|
11180
|
-
return NULL;
|
|
11181
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11182
11218
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11183
11219
|
|
|
11184
11220
|
/* function exit code */
|
|
@@ -11196,7 +11232,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
|
|
|
11196
11232
|
int __pyx_lineno = 0;
|
|
11197
11233
|
const char *__pyx_filename = NULL;
|
|
11198
11234
|
int __pyx_clineno = 0;
|
|
11199
|
-
__Pyx_RefNannySetupContext("is_f_contig",
|
|
11235
|
+
__Pyx_RefNannySetupContext("is_f_contig", 1);
|
|
11200
11236
|
|
|
11201
11237
|
/* "View.MemoryView":633
|
|
11202
11238
|
* cdef __Pyx_memviewslice *mslice
|
|
@@ -11268,9 +11304,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11268
11304
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11269
11305
|
#endif
|
|
11270
11306
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11271
|
-
int __pyx_lineno = 0;
|
|
11272
|
-
const char *__pyx_filename = NULL;
|
|
11273
|
-
int __pyx_clineno = 0;
|
|
11274
11307
|
PyObject *__pyx_r = 0;
|
|
11275
11308
|
__Pyx_RefNannyDeclarations
|
|
11276
11309
|
__Pyx_RefNannySetupContext("copy (wrapper)", 0);
|
|
@@ -11278,21 +11311,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11278
11311
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11279
11312
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11280
11313
|
#else
|
|
11281
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11282
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 636, __pyx_L3_error)
|
|
11314
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11283
11315
|
#endif
|
|
11284
11316
|
#endif
|
|
11285
11317
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11286
11318
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11287
11319
|
__Pyx_RaiseArgtupleInvalid("copy", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11288
11320
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy", 0))) return NULL;
|
|
11289
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11290
|
-
goto __pyx_L3_error;
|
|
11291
|
-
__pyx_L3_error:;
|
|
11292
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.copy", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11293
|
-
__Pyx_RefNannyFinishContext();
|
|
11294
|
-
return NULL;
|
|
11295
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11296
11321
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11297
11322
|
|
|
11298
11323
|
/* function exit code */
|
|
@@ -11310,7 +11335,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
|
|
|
11310
11335
|
int __pyx_lineno = 0;
|
|
11311
11336
|
const char *__pyx_filename = NULL;
|
|
11312
11337
|
int __pyx_clineno = 0;
|
|
11313
|
-
__Pyx_RefNannySetupContext("copy",
|
|
11338
|
+
__Pyx_RefNannySetupContext("copy", 1);
|
|
11314
11339
|
|
|
11315
11340
|
/* "View.MemoryView":638
|
|
11316
11341
|
* def copy(self):
|
|
@@ -11400,9 +11425,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11400
11425
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11401
11426
|
#endif
|
|
11402
11427
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11403
|
-
int __pyx_lineno = 0;
|
|
11404
|
-
const char *__pyx_filename = NULL;
|
|
11405
|
-
int __pyx_clineno = 0;
|
|
11406
11428
|
PyObject *__pyx_r = 0;
|
|
11407
11429
|
__Pyx_RefNannyDeclarations
|
|
11408
11430
|
__Pyx_RefNannySetupContext("copy_fortran (wrapper)", 0);
|
|
@@ -11410,21 +11432,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11410
11432
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11411
11433
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11412
11434
|
#else
|
|
11413
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11414
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 648, __pyx_L3_error)
|
|
11435
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11415
11436
|
#endif
|
|
11416
11437
|
#endif
|
|
11417
11438
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11418
11439
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11419
11440
|
__Pyx_RaiseArgtupleInvalid("copy_fortran", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11420
11441
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy_fortran", 0))) return NULL;
|
|
11421
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11422
|
-
goto __pyx_L3_error;
|
|
11423
|
-
__pyx_L3_error:;
|
|
11424
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.copy_fortran", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11425
|
-
__Pyx_RefNannyFinishContext();
|
|
11426
|
-
return NULL;
|
|
11427
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11428
11442
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11429
11443
|
|
|
11430
11444
|
/* function exit code */
|
|
@@ -11443,7 +11457,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
|
|
|
11443
11457
|
int __pyx_lineno = 0;
|
|
11444
11458
|
const char *__pyx_filename = NULL;
|
|
11445
11459
|
int __pyx_clineno = 0;
|
|
11446
|
-
__Pyx_RefNannySetupContext("copy_fortran",
|
|
11460
|
+
__Pyx_RefNannySetupContext("copy_fortran", 1);
|
|
11447
11461
|
|
|
11448
11462
|
/* "View.MemoryView":650
|
|
11449
11463
|
* def copy_fortran(self):
|
|
@@ -11531,9 +11545,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11531
11545
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11532
11546
|
#endif
|
|
11533
11547
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11534
|
-
int __pyx_lineno = 0;
|
|
11535
|
-
const char *__pyx_filename = NULL;
|
|
11536
|
-
int __pyx_clineno = 0;
|
|
11537
11548
|
PyObject *__pyx_r = 0;
|
|
11538
11549
|
__Pyx_RefNannyDeclarations
|
|
11539
11550
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -11541,21 +11552,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11541
11552
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11542
11553
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11543
11554
|
#else
|
|
11544
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11545
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
11555
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11546
11556
|
#endif
|
|
11547
11557
|
#endif
|
|
11548
11558
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11549
11559
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11550
11560
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11551
11561
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
11552
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11553
|
-
goto __pyx_L3_error;
|
|
11554
|
-
__pyx_L3_error:;
|
|
11555
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11556
|
-
__Pyx_RefNannyFinishContext();
|
|
11557
|
-
return NULL;
|
|
11558
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11559
11562
|
__pyx_r = __pyx_pf___pyx_memoryview___reduce_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11560
11563
|
|
|
11561
11564
|
/* function exit code */
|
|
@@ -11569,7 +11572,7 @@ static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUSED struc
|
|
|
11569
11572
|
int __pyx_lineno = 0;
|
|
11570
11573
|
const char *__pyx_filename = NULL;
|
|
11571
11574
|
int __pyx_clineno = 0;
|
|
11572
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
11575
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
11573
11576
|
|
|
11574
11577
|
/* "(tree fragment)":2
|
|
11575
11578
|
* def __reduce_cython__(self):
|
|
@@ -11633,8 +11636,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11633
11636
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11634
11637
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11635
11638
|
#else
|
|
11636
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11637
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
11639
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11638
11640
|
#endif
|
|
11639
11641
|
#endif
|
|
11640
11642
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -11669,10 +11671,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11669
11671
|
}
|
|
11670
11672
|
__pyx_v___pyx_state = values[0];
|
|
11671
11673
|
}
|
|
11672
|
-
goto
|
|
11674
|
+
goto __pyx_L6_skip;
|
|
11673
11675
|
__pyx_L5_argtuple_error:;
|
|
11674
11676
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
11675
|
-
|
|
11677
|
+
__pyx_L6_skip:;
|
|
11678
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
11676
11679
|
__pyx_L3_error:;
|
|
11677
11680
|
{
|
|
11678
11681
|
Py_ssize_t __pyx_temp;
|
|
@@ -11703,7 +11706,7 @@ static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_UNUSED st
|
|
|
11703
11706
|
int __pyx_lineno = 0;
|
|
11704
11707
|
const char *__pyx_filename = NULL;
|
|
11705
11708
|
int __pyx_clineno = 0;
|
|
11706
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
11709
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
11707
11710
|
|
|
11708
11711
|
/* "(tree fragment)":4
|
|
11709
11712
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -11747,7 +11750,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
|
|
|
11747
11750
|
int __pyx_lineno = 0;
|
|
11748
11751
|
const char *__pyx_filename = NULL;
|
|
11749
11752
|
int __pyx_clineno = 0;
|
|
11750
|
-
__Pyx_RefNannySetupContext("memoryview_cwrapper",
|
|
11753
|
+
__Pyx_RefNannySetupContext("memoryview_cwrapper", 1);
|
|
11751
11754
|
|
|
11752
11755
|
/* "View.MemoryView":663
|
|
11753
11756
|
* @cname('__pyx_memoryview_new')
|
|
@@ -11830,9 +11833,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
|
|
|
11830
11833
|
|
|
11831
11834
|
static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
|
|
11832
11835
|
int __pyx_r;
|
|
11833
|
-
__Pyx_RefNannyDeclarations
|
|
11834
11836
|
int __pyx_t_1;
|
|
11835
|
-
__Pyx_RefNannySetupContext("memoryview_check", 0);
|
|
11836
11837
|
|
|
11837
11838
|
/* "View.MemoryView":669
|
|
11838
11839
|
* @cname('__pyx_memoryview_check')
|
|
@@ -11855,7 +11856,6 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
|
|
|
11855
11856
|
|
|
11856
11857
|
/* function exit code */
|
|
11857
11858
|
__pyx_L0:;
|
|
11858
|
-
__Pyx_RefNannyFinishContext();
|
|
11859
11859
|
return __pyx_r;
|
|
11860
11860
|
}
|
|
11861
11861
|
|
|
@@ -11887,7 +11887,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
11887
11887
|
int __pyx_lineno = 0;
|
|
11888
11888
|
const char *__pyx_filename = NULL;
|
|
11889
11889
|
int __pyx_clineno = 0;
|
|
11890
|
-
__Pyx_RefNannySetupContext("_unellipsify",
|
|
11890
|
+
__Pyx_RefNannySetupContext("_unellipsify", 1);
|
|
11891
11891
|
|
|
11892
11892
|
/* "View.MemoryView":677
|
|
11893
11893
|
* """
|
|
@@ -11969,13 +11969,20 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
11969
11969
|
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
|
|
11970
11970
|
__PYX_ERR(1, 683, __pyx_L1_error)
|
|
11971
11971
|
}
|
|
11972
|
-
__pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1);
|
|
11972
|
+
__pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1);
|
|
11973
|
+
__pyx_t_4 = 0;
|
|
11973
11974
|
for (;;) {
|
|
11974
|
-
|
|
11975
|
+
{
|
|
11976
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
|
|
11977
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
11978
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 683, __pyx_L1_error)
|
|
11979
|
+
#endif
|
|
11980
|
+
if (__pyx_t_4 >= __pyx_temp) break;
|
|
11981
|
+
}
|
|
11975
11982
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
11976
11983
|
__pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_4); __Pyx_INCREF(__pyx_t_3); __pyx_t_4++; if (unlikely((0 < 0))) __PYX_ERR(1, 683, __pyx_L1_error)
|
|
11977
11984
|
#else
|
|
11978
|
-
__pyx_t_3 =
|
|
11985
|
+
__pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 683, __pyx_L1_error)
|
|
11979
11986
|
__Pyx_GOTREF(__pyx_t_3);
|
|
11980
11987
|
#endif
|
|
11981
11988
|
__Pyx_XDECREF_SET(__pyx_v_item, __pyx_t_3);
|
|
@@ -12244,7 +12251,6 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
12244
12251
|
static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_ndim) {
|
|
12245
12252
|
Py_ssize_t __pyx_v_suboffset;
|
|
12246
12253
|
int __pyx_r;
|
|
12247
|
-
__Pyx_RefNannyDeclarations
|
|
12248
12254
|
Py_ssize_t *__pyx_t_1;
|
|
12249
12255
|
Py_ssize_t *__pyx_t_2;
|
|
12250
12256
|
Py_ssize_t *__pyx_t_3;
|
|
@@ -12252,7 +12258,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
|
|
|
12252
12258
|
int __pyx_lineno = 0;
|
|
12253
12259
|
const char *__pyx_filename = NULL;
|
|
12254
12260
|
int __pyx_clineno = 0;
|
|
12255
|
-
__Pyx_RefNannySetupContext("assert_direct_dimensions", 0);
|
|
12256
12261
|
|
|
12257
12262
|
/* "View.MemoryView":701
|
|
12258
12263
|
*
|
|
@@ -12319,7 +12324,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
|
|
|
12319
12324
|
__Pyx_AddTraceback("View.MemoryView.assert_direct_dimensions", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
12320
12325
|
__pyx_r = -1;
|
|
12321
12326
|
__pyx_L0:;
|
|
12322
|
-
__Pyx_RefNannyFinishContext();
|
|
12323
12327
|
return __pyx_r;
|
|
12324
12328
|
}
|
|
12325
12329
|
|
|
@@ -12365,7 +12369,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
12365
12369
|
int __pyx_lineno = 0;
|
|
12366
12370
|
const char *__pyx_filename = NULL;
|
|
12367
12371
|
int __pyx_clineno = 0;
|
|
12368
|
-
__Pyx_RefNannySetupContext("memview_slice",
|
|
12372
|
+
__Pyx_RefNannySetupContext("memview_slice", 1);
|
|
12369
12373
|
|
|
12370
12374
|
/* "View.MemoryView":712
|
|
12371
12375
|
* @cname('__pyx_memview_slice')
|
|
@@ -12515,7 +12519,8 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
12515
12519
|
*/
|
|
12516
12520
|
__pyx_t_5 = 0;
|
|
12517
12521
|
if (likely(PyList_CheckExact(__pyx_v_indices)) || PyTuple_CheckExact(__pyx_v_indices)) {
|
|
12518
|
-
__pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2);
|
|
12522
|
+
__pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2);
|
|
12523
|
+
__pyx_t_6 = 0;
|
|
12519
12524
|
__pyx_t_7 = NULL;
|
|
12520
12525
|
} else {
|
|
12521
12526
|
__pyx_t_6 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_indices); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
@@ -12525,19 +12530,31 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
12525
12530
|
for (;;) {
|
|
12526
12531
|
if (likely(!__pyx_t_7)) {
|
|
12527
12532
|
if (likely(PyList_CheckExact(__pyx_t_2))) {
|
|
12528
|
-
|
|
12533
|
+
{
|
|
12534
|
+
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
|
|
12535
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
12536
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
12537
|
+
#endif
|
|
12538
|
+
if (__pyx_t_6 >= __pyx_temp) break;
|
|
12539
|
+
}
|
|
12529
12540
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
12530
12541
|
__pyx_t_8 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_6); __Pyx_INCREF(__pyx_t_8); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
12531
12542
|
#else
|
|
12532
|
-
__pyx_t_8 =
|
|
12543
|
+
__pyx_t_8 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
12533
12544
|
__Pyx_GOTREF(__pyx_t_8);
|
|
12534
12545
|
#endif
|
|
12535
12546
|
} else {
|
|
12536
|
-
|
|
12547
|
+
{
|
|
12548
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
|
|
12549
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
12550
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
12551
|
+
#endif
|
|
12552
|
+
if (__pyx_t_6 >= __pyx_temp) break;
|
|
12553
|
+
}
|
|
12537
12554
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
12538
12555
|
__pyx_t_8 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_6); __Pyx_INCREF(__pyx_t_8); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
12539
12556
|
#else
|
|
12540
|
-
__pyx_t_8 =
|
|
12557
|
+
__pyx_t_8 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
12541
12558
|
__Pyx_GOTREF(__pyx_t_8);
|
|
12542
12559
|
#endif
|
|
12543
12560
|
}
|
|
@@ -12916,7 +12933,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
12916
12933
|
Py_ssize_t __pyx_v_new_shape;
|
|
12917
12934
|
int __pyx_v_negative_step;
|
|
12918
12935
|
int __pyx_r;
|
|
12919
|
-
__Pyx_RefNannyDeclarations
|
|
12920
12936
|
int __pyx_t_1;
|
|
12921
12937
|
int __pyx_t_2;
|
|
12922
12938
|
int __pyx_t_3;
|
|
@@ -12926,7 +12942,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
12926
12942
|
#ifdef WITH_THREAD
|
|
12927
12943
|
PyGILState_STATE __pyx_gilstate_save;
|
|
12928
12944
|
#endif
|
|
12929
|
-
__Pyx_RefNannySetupContext("slice_memviewslice", 1);
|
|
12930
12945
|
|
|
12931
12946
|
/* "View.MemoryView":813
|
|
12932
12947
|
* cdef bint negative_step
|
|
@@ -13681,7 +13696,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
13681
13696
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
13682
13697
|
#endif
|
|
13683
13698
|
__pyx_L0:;
|
|
13684
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
13685
13699
|
return __pyx_r;
|
|
13686
13700
|
}
|
|
13687
13701
|
|
|
@@ -13709,7 +13723,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
|
|
|
13709
13723
|
int __pyx_lineno = 0;
|
|
13710
13724
|
const char *__pyx_filename = NULL;
|
|
13711
13725
|
int __pyx_clineno = 0;
|
|
13712
|
-
__Pyx_RefNannySetupContext("pybuffer_index",
|
|
13726
|
+
__Pyx_RefNannySetupContext("pybuffer_index", 1);
|
|
13713
13727
|
|
|
13714
13728
|
/* "View.MemoryView":898
|
|
13715
13729
|
* cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,
|
|
@@ -14036,7 +14050,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
14036
14050
|
int __pyx_v_i;
|
|
14037
14051
|
int __pyx_v_j;
|
|
14038
14052
|
int __pyx_r;
|
|
14039
|
-
__Pyx_RefNannyDeclarations
|
|
14040
14053
|
int __pyx_t_1;
|
|
14041
14054
|
Py_ssize_t *__pyx_t_2;
|
|
14042
14055
|
long __pyx_t_3;
|
|
@@ -14052,7 +14065,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
14052
14065
|
#ifdef WITH_THREAD
|
|
14053
14066
|
PyGILState_STATE __pyx_gilstate_save;
|
|
14054
14067
|
#endif
|
|
14055
|
-
__Pyx_RefNannySetupContext("transpose_memslice", 1);
|
|
14056
14068
|
|
|
14057
14069
|
/* "View.MemoryView":930
|
|
14058
14070
|
* @cname('__pyx_memslice_transpose')
|
|
@@ -14195,7 +14207,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
14195
14207
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
14196
14208
|
#endif
|
|
14197
14209
|
__pyx_L0:;
|
|
14198
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
14199
14210
|
return __pyx_r;
|
|
14200
14211
|
}
|
|
14201
14212
|
|
|
@@ -14221,8 +14232,6 @@ static void __pyx_memoryviewslice___dealloc__(PyObject *__pyx_v_self) {
|
|
|
14221
14232
|
}
|
|
14222
14233
|
|
|
14223
14234
|
static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewslice___dealloc__(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
|
|
14224
|
-
__Pyx_RefNannyDeclarations
|
|
14225
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
14226
14235
|
|
|
14227
14236
|
/* "View.MemoryView":964
|
|
14228
14237
|
*
|
|
@@ -14242,7 +14251,6 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
|
|
|
14242
14251
|
*/
|
|
14243
14252
|
|
|
14244
14253
|
/* function exit code */
|
|
14245
|
-
__Pyx_RefNannyFinishContext();
|
|
14246
14254
|
}
|
|
14247
14255
|
|
|
14248
14256
|
/* "View.MemoryView":966
|
|
@@ -14261,7 +14269,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
|
|
|
14261
14269
|
int __pyx_lineno = 0;
|
|
14262
14270
|
const char *__pyx_filename = NULL;
|
|
14263
14271
|
int __pyx_clineno = 0;
|
|
14264
|
-
__Pyx_RefNannySetupContext("convert_item_to_object",
|
|
14272
|
+
__Pyx_RefNannySetupContext("convert_item_to_object", 1);
|
|
14265
14273
|
|
|
14266
14274
|
/* "View.MemoryView":967
|
|
14267
14275
|
*
|
|
@@ -14348,7 +14356,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
|
|
|
14348
14356
|
int __pyx_lineno = 0;
|
|
14349
14357
|
const char *__pyx_filename = NULL;
|
|
14350
14358
|
int __pyx_clineno = 0;
|
|
14351
|
-
__Pyx_RefNannySetupContext("assign_item_from_object",
|
|
14359
|
+
__Pyx_RefNannySetupContext("assign_item_from_object", 1);
|
|
14352
14360
|
|
|
14353
14361
|
/* "View.MemoryView":973
|
|
14354
14362
|
*
|
|
@@ -14425,7 +14433,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
|
|
|
14425
14433
|
static PyObject *__pyx_memoryviewslice__get_base(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
|
|
14426
14434
|
PyObject *__pyx_r = NULL;
|
|
14427
14435
|
__Pyx_RefNannyDeclarations
|
|
14428
|
-
__Pyx_RefNannySetupContext("_get_base",
|
|
14436
|
+
__Pyx_RefNannySetupContext("_get_base", 1);
|
|
14429
14437
|
|
|
14430
14438
|
/* "View.MemoryView":979
|
|
14431
14439
|
*
|
|
@@ -14479,9 +14487,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14479
14487
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
14480
14488
|
#endif
|
|
14481
14489
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
14482
|
-
int __pyx_lineno = 0;
|
|
14483
|
-
const char *__pyx_filename = NULL;
|
|
14484
|
-
int __pyx_clineno = 0;
|
|
14485
14490
|
PyObject *__pyx_r = 0;
|
|
14486
14491
|
__Pyx_RefNannyDeclarations
|
|
14487
14492
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -14489,21 +14494,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14489
14494
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
14490
14495
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
14491
14496
|
#else
|
|
14492
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
14493
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
14497
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
14494
14498
|
#endif
|
|
14495
14499
|
#endif
|
|
14496
14500
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
14497
14501
|
if (unlikely(__pyx_nargs > 0)) {
|
|
14498
14502
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
14499
14503
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
14500
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
14501
|
-
goto __pyx_L3_error;
|
|
14502
|
-
__pyx_L3_error:;
|
|
14503
|
-
__Pyx_AddTraceback("View.MemoryView._memoryviewslice.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
14504
|
-
__Pyx_RefNannyFinishContext();
|
|
14505
|
-
return NULL;
|
|
14506
|
-
__pyx_L4_argument_unpacking_done:;
|
|
14507
14504
|
__pyx_r = __pyx_pf___pyx_memoryviewslice___reduce_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self));
|
|
14508
14505
|
|
|
14509
14506
|
/* function exit code */
|
|
@@ -14517,7 +14514,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON_UNUSED
|
|
|
14517
14514
|
int __pyx_lineno = 0;
|
|
14518
14515
|
const char *__pyx_filename = NULL;
|
|
14519
14516
|
int __pyx_clineno = 0;
|
|
14520
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
14517
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
14521
14518
|
|
|
14522
14519
|
/* "(tree fragment)":2
|
|
14523
14520
|
* def __reduce_cython__(self):
|
|
@@ -14581,8 +14578,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14581
14578
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
14582
14579
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
14583
14580
|
#else
|
|
14584
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
14585
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
14581
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
14586
14582
|
#endif
|
|
14587
14583
|
#endif
|
|
14588
14584
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -14617,10 +14613,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14617
14613
|
}
|
|
14618
14614
|
__pyx_v___pyx_state = values[0];
|
|
14619
14615
|
}
|
|
14620
|
-
goto
|
|
14616
|
+
goto __pyx_L6_skip;
|
|
14621
14617
|
__pyx_L5_argtuple_error:;
|
|
14622
14618
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
14623
|
-
|
|
14619
|
+
__pyx_L6_skip:;
|
|
14620
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
14624
14621
|
__pyx_L3_error:;
|
|
14625
14622
|
{
|
|
14626
14623
|
Py_ssize_t __pyx_temp;
|
|
@@ -14651,7 +14648,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYTHON_UNUS
|
|
|
14651
14648
|
int __pyx_lineno = 0;
|
|
14652
14649
|
const char *__pyx_filename = NULL;
|
|
14653
14650
|
int __pyx_clineno = 0;
|
|
14654
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
14651
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
14655
14652
|
|
|
14656
14653
|
/* "(tree fragment)":4
|
|
14657
14654
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -14703,7 +14700,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
|
|
|
14703
14700
|
int __pyx_lineno = 0;
|
|
14704
14701
|
const char *__pyx_filename = NULL;
|
|
14705
14702
|
int __pyx_clineno = 0;
|
|
14706
|
-
__Pyx_RefNannySetupContext("memoryview_fromslice",
|
|
14703
|
+
__Pyx_RefNannySetupContext("memoryview_fromslice", 1);
|
|
14707
14704
|
|
|
14708
14705
|
/* "View.MemoryView":1007
|
|
14709
14706
|
* cdef _memoryviewslice result
|
|
@@ -15080,7 +15077,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
|
|
|
15080
15077
|
int __pyx_lineno = 0;
|
|
15081
15078
|
const char *__pyx_filename = NULL;
|
|
15082
15079
|
int __pyx_clineno = 0;
|
|
15083
|
-
__Pyx_RefNannySetupContext("get_slice_from_memview",
|
|
15080
|
+
__Pyx_RefNannySetupContext("get_slice_from_memview", 1);
|
|
15084
15081
|
|
|
15085
15082
|
/* "View.MemoryView":1055
|
|
15086
15083
|
* __Pyx_memviewslice *mslice) except NULL:
|
|
@@ -15177,14 +15174,12 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
|
|
|
15177
15174
|
Py_ssize_t *__pyx_v_shape;
|
|
15178
15175
|
Py_ssize_t *__pyx_v_strides;
|
|
15179
15176
|
Py_ssize_t *__pyx_v_suboffsets;
|
|
15180
|
-
__Pyx_RefNannyDeclarations
|
|
15181
15177
|
Py_ssize_t *__pyx_t_1;
|
|
15182
15178
|
int __pyx_t_2;
|
|
15183
15179
|
int __pyx_t_3;
|
|
15184
15180
|
int __pyx_t_4;
|
|
15185
15181
|
Py_ssize_t __pyx_t_5;
|
|
15186
15182
|
int __pyx_t_6;
|
|
15187
|
-
__Pyx_RefNannySetupContext("slice_copy", 0);
|
|
15188
15183
|
|
|
15189
15184
|
/* "View.MemoryView":1067
|
|
15190
15185
|
* cdef (Py_ssize_t*) shape, strides, suboffsets
|
|
@@ -15289,7 +15284,6 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
|
|
|
15289
15284
|
*/
|
|
15290
15285
|
|
|
15291
15286
|
/* function exit code */
|
|
15292
|
-
__Pyx_RefNannyFinishContext();
|
|
15293
15287
|
}
|
|
15294
15288
|
|
|
15295
15289
|
/* "View.MemoryView":1080
|
|
@@ -15308,7 +15302,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
|
|
|
15308
15302
|
int __pyx_lineno = 0;
|
|
15309
15303
|
const char *__pyx_filename = NULL;
|
|
15310
15304
|
int __pyx_clineno = 0;
|
|
15311
|
-
__Pyx_RefNannySetupContext("memoryview_copy",
|
|
15305
|
+
__Pyx_RefNannySetupContext("memoryview_copy", 1);
|
|
15312
15306
|
|
|
15313
15307
|
/* "View.MemoryView":1083
|
|
15314
15308
|
* "Create a new memoryview object"
|
|
@@ -15372,7 +15366,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
|
|
|
15372
15366
|
int __pyx_lineno = 0;
|
|
15373
15367
|
const char *__pyx_filename = NULL;
|
|
15374
15368
|
int __pyx_clineno = 0;
|
|
15375
|
-
__Pyx_RefNannySetupContext("memoryview_copy_from_slice",
|
|
15369
|
+
__Pyx_RefNannySetupContext("memoryview_copy_from_slice", 1);
|
|
15376
15370
|
|
|
15377
15371
|
/* "View.MemoryView":1094
|
|
15378
15372
|
* cdef int (*to_dtype_func)(char *, object) except 0
|
|
@@ -16181,7 +16175,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
16181
16175
|
size_t __pyx_v_itemsize;
|
|
16182
16176
|
size_t __pyx_v_size;
|
|
16183
16177
|
void *__pyx_r;
|
|
16184
|
-
__Pyx_RefNannyDeclarations
|
|
16185
16178
|
Py_ssize_t __pyx_t_1;
|
|
16186
16179
|
int __pyx_t_2;
|
|
16187
16180
|
int __pyx_t_3;
|
|
@@ -16194,7 +16187,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
16194
16187
|
#ifdef WITH_THREAD
|
|
16195
16188
|
PyGILState_STATE __pyx_gilstate_save;
|
|
16196
16189
|
#endif
|
|
16197
|
-
__Pyx_RefNannySetupContext("copy_data_to_temp", 1);
|
|
16198
16190
|
|
|
16199
16191
|
/* "View.MemoryView":1216
|
|
16200
16192
|
* cdef void *result
|
|
@@ -16422,7 +16414,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
16422
16414
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
16423
16415
|
#endif
|
|
16424
16416
|
__pyx_L0:;
|
|
16425
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
16426
16417
|
return __pyx_r;
|
|
16427
16418
|
}
|
|
16428
16419
|
|
|
@@ -16642,14 +16633,12 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, PyObject *__pyx_v_msg)
|
|
|
16642
16633
|
|
|
16643
16634
|
static int __pyx_memoryview_err_no_memory(void) {
|
|
16644
16635
|
int __pyx_r;
|
|
16645
|
-
__Pyx_RefNannyDeclarations
|
|
16646
16636
|
int __pyx_lineno = 0;
|
|
16647
16637
|
const char *__pyx_filename = NULL;
|
|
16648
16638
|
int __pyx_clineno = 0;
|
|
16649
16639
|
#ifdef WITH_THREAD
|
|
16650
16640
|
PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
|
|
16651
16641
|
#endif
|
|
16652
|
-
__Pyx_RefNannySetupContext("_err_no_memory", 0);
|
|
16653
16642
|
|
|
16654
16643
|
/* "View.MemoryView":1261
|
|
16655
16644
|
* @cname('__pyx_memoryview_err_no_memory')
|
|
@@ -16672,7 +16661,6 @@ static int __pyx_memoryview_err_no_memory(void) {
|
|
|
16672
16661
|
__pyx_L1_error:;
|
|
16673
16662
|
__Pyx_AddTraceback("View.MemoryView._err_no_memory", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
16674
16663
|
__pyx_r = -1;
|
|
16675
|
-
__Pyx_RefNannyFinishContext();
|
|
16676
16664
|
#ifdef WITH_THREAD
|
|
16677
16665
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
16678
16666
|
#endif
|
|
@@ -16697,7 +16685,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
16697
16685
|
__Pyx_memviewslice __pyx_v_tmp;
|
|
16698
16686
|
int __pyx_v_ndim;
|
|
16699
16687
|
int __pyx_r;
|
|
16700
|
-
__Pyx_RefNannyDeclarations
|
|
16701
16688
|
Py_ssize_t __pyx_t_1;
|
|
16702
16689
|
int __pyx_t_2;
|
|
16703
16690
|
int __pyx_t_3;
|
|
@@ -16711,7 +16698,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
16711
16698
|
#ifdef WITH_THREAD
|
|
16712
16699
|
PyGILState_STATE __pyx_gilstate_save;
|
|
16713
16700
|
#endif
|
|
16714
|
-
__Pyx_RefNannySetupContext("memoryview_copy_contents", 1);
|
|
16715
16701
|
|
|
16716
16702
|
/* "View.MemoryView":1273
|
|
16717
16703
|
* Check for overlapping memory and verify the shapes.
|
|
@@ -17256,7 +17242,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
17256
17242
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
17257
17243
|
#endif
|
|
17258
17244
|
__pyx_L0:;
|
|
17259
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
17260
17245
|
return __pyx_r;
|
|
17261
17246
|
}
|
|
17262
17247
|
|
|
@@ -17430,11 +17415,9 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
|
|
|
17430
17415
|
*/
|
|
17431
17416
|
|
|
17432
17417
|
static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_data, Py_ssize_t *__pyx_v_shape, Py_ssize_t *__pyx_v_strides, int __pyx_v_ndim, int __pyx_v_inc) {
|
|
17433
|
-
__Pyx_RefNannyDeclarations
|
|
17434
17418
|
#ifdef WITH_THREAD
|
|
17435
17419
|
PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
|
|
17436
17420
|
#endif
|
|
17437
|
-
__Pyx_RefNannySetupContext("refcount_objects_in_slice_with_gil", 0);
|
|
17438
17421
|
|
|
17439
17422
|
/* "View.MemoryView":1368
|
|
17440
17423
|
* Py_ssize_t *strides, int ndim,
|
|
@@ -17454,7 +17437,6 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
|
|
|
17454
17437
|
*/
|
|
17455
17438
|
|
|
17456
17439
|
/* function exit code */
|
|
17457
|
-
__Pyx_RefNannyFinishContext();
|
|
17458
17440
|
#ifdef WITH_THREAD
|
|
17459
17441
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
17460
17442
|
#endif
|
|
@@ -17471,12 +17453,10 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
|
|
|
17471
17453
|
static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ssize_t *__pyx_v_shape, Py_ssize_t *__pyx_v_strides, int __pyx_v_ndim, int __pyx_v_inc) {
|
|
17472
17454
|
CYTHON_UNUSED Py_ssize_t __pyx_v_i;
|
|
17473
17455
|
Py_ssize_t __pyx_v_stride;
|
|
17474
|
-
__Pyx_RefNannyDeclarations
|
|
17475
17456
|
Py_ssize_t __pyx_t_1;
|
|
17476
17457
|
Py_ssize_t __pyx_t_2;
|
|
17477
17458
|
Py_ssize_t __pyx_t_3;
|
|
17478
17459
|
int __pyx_t_4;
|
|
17479
|
-
__Pyx_RefNannySetupContext("refcount_objects_in_slice", 0);
|
|
17480
17460
|
|
|
17481
17461
|
/* "View.MemoryView":1374
|
|
17482
17462
|
* Py_ssize_t *strides, int ndim, bint inc) noexcept:
|
|
@@ -17590,7 +17570,6 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
|
|
|
17590
17570
|
*/
|
|
17591
17571
|
|
|
17592
17572
|
/* function exit code */
|
|
17593
|
-
__Pyx_RefNannyFinishContext();
|
|
17594
17573
|
}
|
|
17595
17574
|
|
|
17596
17575
|
/* "View.MemoryView":1391
|
|
@@ -17812,8 +17791,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
17812
17791
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
17813
17792
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
17814
17793
|
#else
|
|
17815
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
17816
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
17794
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
17817
17795
|
#endif
|
|
17818
17796
|
#endif
|
|
17819
17797
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -17876,10 +17854,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
17876
17854
|
__pyx_v___pyx_checksum = __Pyx_PyInt_As_long(values[1]); if (unlikely((__pyx_v___pyx_checksum == (long)-1) && PyErr_Occurred())) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
17877
17855
|
__pyx_v___pyx_state = values[2];
|
|
17878
17856
|
}
|
|
17879
|
-
goto
|
|
17857
|
+
goto __pyx_L6_skip;
|
|
17880
17858
|
__pyx_L5_argtuple_error:;
|
|
17881
17859
|
__Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 1, __pyx_L3_error)
|
|
17882
|
-
|
|
17860
|
+
__pyx_L6_skip:;
|
|
17861
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
17883
17862
|
__pyx_L3_error:;
|
|
17884
17863
|
{
|
|
17885
17864
|
Py_ssize_t __pyx_temp;
|
|
@@ -17917,7 +17896,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSE
|
|
|
17917
17896
|
int __pyx_lineno = 0;
|
|
17918
17897
|
const char *__pyx_filename = NULL;
|
|
17919
17898
|
int __pyx_clineno = 0;
|
|
17920
|
-
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum",
|
|
17899
|
+
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 1);
|
|
17921
17900
|
|
|
17922
17901
|
/* "(tree fragment)":4
|
|
17923
17902
|
* cdef object __pyx_PickleError
|
|
@@ -18099,7 +18078,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
18099
18078
|
int __pyx_lineno = 0;
|
|
18100
18079
|
const char *__pyx_filename = NULL;
|
|
18101
18080
|
int __pyx_clineno = 0;
|
|
18102
|
-
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state",
|
|
18081
|
+
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 1);
|
|
18103
18082
|
|
|
18104
18083
|
/* "(tree fragment)":12
|
|
18105
18084
|
* return __pyx_result
|
|
@@ -18215,7 +18194,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
18215
18194
|
return __pyx_r;
|
|
18216
18195
|
}
|
|
18217
18196
|
|
|
18218
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18197
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":245
|
|
18219
18198
|
*
|
|
18220
18199
|
* @property
|
|
18221
18200
|
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18226,7 +18205,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
18226
18205
|
static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
|
|
18227
18206
|
PyObject *__pyx_r;
|
|
18228
18207
|
|
|
18229
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18208
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":248
|
|
18230
18209
|
* """Returns a borrowed reference to the object owning the data/memory.
|
|
18231
18210
|
* """
|
|
18232
18211
|
* return PyArray_BASE(self) # <<<<<<<<<<<<<<
|
|
@@ -18236,7 +18215,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
18236
18215
|
__pyx_r = PyArray_BASE(__pyx_v_self);
|
|
18237
18216
|
goto __pyx_L0;
|
|
18238
18217
|
|
|
18239
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18218
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":245
|
|
18240
18219
|
*
|
|
18241
18220
|
* @property
|
|
18242
18221
|
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18249,7 +18228,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
18249
18228
|
return __pyx_r;
|
|
18250
18229
|
}
|
|
18251
18230
|
|
|
18252
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18231
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":251
|
|
18253
18232
|
*
|
|
18254
18233
|
* @property
|
|
18255
18234
|
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
|
|
@@ -18261,9 +18240,9 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18261
18240
|
PyArray_Descr *__pyx_r = NULL;
|
|
18262
18241
|
__Pyx_RefNannyDeclarations
|
|
18263
18242
|
PyArray_Descr *__pyx_t_1;
|
|
18264
|
-
__Pyx_RefNannySetupContext("descr",
|
|
18243
|
+
__Pyx_RefNannySetupContext("descr", 1);
|
|
18265
18244
|
|
|
18266
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18245
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":254
|
|
18267
18246
|
* """Returns an owned reference to the dtype of the array.
|
|
18268
18247
|
* """
|
|
18269
18248
|
* return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
|
|
@@ -18276,7 +18255,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18276
18255
|
__pyx_r = ((PyArray_Descr *)__pyx_t_1);
|
|
18277
18256
|
goto __pyx_L0;
|
|
18278
18257
|
|
|
18279
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18258
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":251
|
|
18280
18259
|
*
|
|
18281
18260
|
* @property
|
|
18282
18261
|
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
|
|
@@ -18291,7 +18270,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18291
18270
|
return __pyx_r;
|
|
18292
18271
|
}
|
|
18293
18272
|
|
|
18294
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18273
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":257
|
|
18295
18274
|
*
|
|
18296
18275
|
* @property
|
|
18297
18276
|
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18302,7 +18281,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18302
18281
|
static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
|
|
18303
18282
|
int __pyx_r;
|
|
18304
18283
|
|
|
18305
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18284
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":260
|
|
18306
18285
|
* """Returns the number of dimensions in the array.
|
|
18307
18286
|
* """
|
|
18308
18287
|
* return PyArray_NDIM(self) # <<<<<<<<<<<<<<
|
|
@@ -18312,7 +18291,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
18312
18291
|
__pyx_r = PyArray_NDIM(__pyx_v_self);
|
|
18313
18292
|
goto __pyx_L0;
|
|
18314
18293
|
|
|
18315
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18294
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":257
|
|
18316
18295
|
*
|
|
18317
18296
|
* @property
|
|
18318
18297
|
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18325,7 +18304,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
18325
18304
|
return __pyx_r;
|
|
18326
18305
|
}
|
|
18327
18306
|
|
|
18328
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18307
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":263
|
|
18329
18308
|
*
|
|
18330
18309
|
* @property
|
|
18331
18310
|
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18336,7 +18315,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
18336
18315
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
|
|
18337
18316
|
npy_intp *__pyx_r;
|
|
18338
18317
|
|
|
18339
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18318
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":268
|
|
18340
18319
|
* Can return NULL for 0-dimensional arrays.
|
|
18341
18320
|
* """
|
|
18342
18321
|
* return PyArray_DIMS(self) # <<<<<<<<<<<<<<
|
|
@@ -18346,7 +18325,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18346
18325
|
__pyx_r = PyArray_DIMS(__pyx_v_self);
|
|
18347
18326
|
goto __pyx_L0;
|
|
18348
18327
|
|
|
18349
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18328
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":263
|
|
18350
18329
|
*
|
|
18351
18330
|
* @property
|
|
18352
18331
|
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18359,7 +18338,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18359
18338
|
return __pyx_r;
|
|
18360
18339
|
}
|
|
18361
18340
|
|
|
18362
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18341
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":271
|
|
18363
18342
|
*
|
|
18364
18343
|
* @property
|
|
18365
18344
|
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18370,7 +18349,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18370
18349
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
|
|
18371
18350
|
npy_intp *__pyx_r;
|
|
18372
18351
|
|
|
18373
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18352
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":275
|
|
18374
18353
|
* The number of elements matches the number of dimensions of the array (ndim).
|
|
18375
18354
|
* """
|
|
18376
18355
|
* return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
|
|
@@ -18380,7 +18359,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18380
18359
|
__pyx_r = PyArray_STRIDES(__pyx_v_self);
|
|
18381
18360
|
goto __pyx_L0;
|
|
18382
18361
|
|
|
18383
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18362
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":271
|
|
18384
18363
|
*
|
|
18385
18364
|
* @property
|
|
18386
18365
|
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18393,7 +18372,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18393
18372
|
return __pyx_r;
|
|
18394
18373
|
}
|
|
18395
18374
|
|
|
18396
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18375
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":278
|
|
18397
18376
|
*
|
|
18398
18377
|
* @property
|
|
18399
18378
|
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18404,7 +18383,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18404
18383
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
|
|
18405
18384
|
npy_intp __pyx_r;
|
|
18406
18385
|
|
|
18407
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18386
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":281
|
|
18408
18387
|
* """Returns the total size (in number of elements) of the array.
|
|
18409
18388
|
* """
|
|
18410
18389
|
* return PyArray_SIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -18414,7 +18393,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18414
18393
|
__pyx_r = PyArray_SIZE(__pyx_v_self);
|
|
18415
18394
|
goto __pyx_L0;
|
|
18416
18395
|
|
|
18417
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18396
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":278
|
|
18418
18397
|
*
|
|
18419
18398
|
* @property
|
|
18420
18399
|
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18427,7 +18406,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18427
18406
|
return __pyx_r;
|
|
18428
18407
|
}
|
|
18429
18408
|
|
|
18430
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18409
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":284
|
|
18431
18410
|
*
|
|
18432
18411
|
* @property
|
|
18433
18412
|
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18438,7 +18417,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18438
18417
|
static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
|
|
18439
18418
|
char *__pyx_r;
|
|
18440
18419
|
|
|
18441
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18420
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":290
|
|
18442
18421
|
* of `PyArray_DATA()` instead, which returns a 'void*'.
|
|
18443
18422
|
* """
|
|
18444
18423
|
* return PyArray_BYTES(self) # <<<<<<<<<<<<<<
|
|
@@ -18448,7 +18427,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
18448
18427
|
__pyx_r = PyArray_BYTES(__pyx_v_self);
|
|
18449
18428
|
goto __pyx_L0;
|
|
18450
18429
|
|
|
18451
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18430
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":284
|
|
18452
18431
|
*
|
|
18453
18432
|
* @property
|
|
18454
18433
|
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18461,7 +18440,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
18461
18440
|
return __pyx_r;
|
|
18462
18441
|
}
|
|
18463
18442
|
|
|
18464
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18443
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":776
|
|
18465
18444
|
* ctypedef npy_cdouble complex_t
|
|
18466
18445
|
*
|
|
18467
18446
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -18476,9 +18455,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
18476
18455
|
int __pyx_lineno = 0;
|
|
18477
18456
|
const char *__pyx_filename = NULL;
|
|
18478
18457
|
int __pyx_clineno = 0;
|
|
18479
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1",
|
|
18458
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1);
|
|
18480
18459
|
|
|
18481
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18460
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":777
|
|
18482
18461
|
*
|
|
18483
18462
|
* cdef inline object PyArray_MultiIterNew1(a):
|
|
18484
18463
|
* return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
|
|
@@ -18492,7 +18471,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
18492
18471
|
__pyx_t_1 = 0;
|
|
18493
18472
|
goto __pyx_L0;
|
|
18494
18473
|
|
|
18495
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18474
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":776
|
|
18496
18475
|
* ctypedef npy_cdouble complex_t
|
|
18497
18476
|
*
|
|
18498
18477
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -18511,7 +18490,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
18511
18490
|
return __pyx_r;
|
|
18512
18491
|
}
|
|
18513
18492
|
|
|
18514
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18493
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":779
|
|
18515
18494
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
18516
18495
|
*
|
|
18517
18496
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -18526,9 +18505,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
18526
18505
|
int __pyx_lineno = 0;
|
|
18527
18506
|
const char *__pyx_filename = NULL;
|
|
18528
18507
|
int __pyx_clineno = 0;
|
|
18529
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2",
|
|
18508
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1);
|
|
18530
18509
|
|
|
18531
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18510
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":780
|
|
18532
18511
|
*
|
|
18533
18512
|
* cdef inline object PyArray_MultiIterNew2(a, b):
|
|
18534
18513
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
|
|
@@ -18542,7 +18521,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
18542
18521
|
__pyx_t_1 = 0;
|
|
18543
18522
|
goto __pyx_L0;
|
|
18544
18523
|
|
|
18545
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18524
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":779
|
|
18546
18525
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
18547
18526
|
*
|
|
18548
18527
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -18561,7 +18540,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
18561
18540
|
return __pyx_r;
|
|
18562
18541
|
}
|
|
18563
18542
|
|
|
18564
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18543
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":782
|
|
18565
18544
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
18566
18545
|
*
|
|
18567
18546
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -18576,9 +18555,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
18576
18555
|
int __pyx_lineno = 0;
|
|
18577
18556
|
const char *__pyx_filename = NULL;
|
|
18578
18557
|
int __pyx_clineno = 0;
|
|
18579
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3",
|
|
18558
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1);
|
|
18580
18559
|
|
|
18581
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18560
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":783
|
|
18582
18561
|
*
|
|
18583
18562
|
* cdef inline object PyArray_MultiIterNew3(a, b, c):
|
|
18584
18563
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
|
|
@@ -18592,7 +18571,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
18592
18571
|
__pyx_t_1 = 0;
|
|
18593
18572
|
goto __pyx_L0;
|
|
18594
18573
|
|
|
18595
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18574
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":782
|
|
18596
18575
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
18597
18576
|
*
|
|
18598
18577
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -18611,7 +18590,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
18611
18590
|
return __pyx_r;
|
|
18612
18591
|
}
|
|
18613
18592
|
|
|
18614
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18593
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":785
|
|
18615
18594
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
18616
18595
|
*
|
|
18617
18596
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -18626,9 +18605,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
18626
18605
|
int __pyx_lineno = 0;
|
|
18627
18606
|
const char *__pyx_filename = NULL;
|
|
18628
18607
|
int __pyx_clineno = 0;
|
|
18629
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4",
|
|
18608
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1);
|
|
18630
18609
|
|
|
18631
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18610
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":786
|
|
18632
18611
|
*
|
|
18633
18612
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
|
|
18634
18613
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
|
|
@@ -18642,7 +18621,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
18642
18621
|
__pyx_t_1 = 0;
|
|
18643
18622
|
goto __pyx_L0;
|
|
18644
18623
|
|
|
18645
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18624
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":785
|
|
18646
18625
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
18647
18626
|
*
|
|
18648
18627
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -18661,7 +18640,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
18661
18640
|
return __pyx_r;
|
|
18662
18641
|
}
|
|
18663
18642
|
|
|
18664
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18643
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":788
|
|
18665
18644
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
18666
18645
|
*
|
|
18667
18646
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -18676,9 +18655,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
18676
18655
|
int __pyx_lineno = 0;
|
|
18677
18656
|
const char *__pyx_filename = NULL;
|
|
18678
18657
|
int __pyx_clineno = 0;
|
|
18679
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5",
|
|
18658
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1);
|
|
18680
18659
|
|
|
18681
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18660
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":789
|
|
18682
18661
|
*
|
|
18683
18662
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
|
|
18684
18663
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
|
|
@@ -18692,7 +18671,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
18692
18671
|
__pyx_t_1 = 0;
|
|
18693
18672
|
goto __pyx_L0;
|
|
18694
18673
|
|
|
18695
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18674
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":788
|
|
18696
18675
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
18697
18676
|
*
|
|
18698
18677
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -18711,7 +18690,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
18711
18690
|
return __pyx_r;
|
|
18712
18691
|
}
|
|
18713
18692
|
|
|
18714
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18693
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":791
|
|
18715
18694
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
18716
18695
|
*
|
|
18717
18696
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -18723,9 +18702,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18723
18702
|
PyObject *__pyx_r = NULL;
|
|
18724
18703
|
__Pyx_RefNannyDeclarations
|
|
18725
18704
|
int __pyx_t_1;
|
|
18726
|
-
__Pyx_RefNannySetupContext("PyDataType_SHAPE",
|
|
18705
|
+
__Pyx_RefNannySetupContext("PyDataType_SHAPE", 1);
|
|
18727
18706
|
|
|
18728
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18707
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":792
|
|
18729
18708
|
*
|
|
18730
18709
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
18731
18710
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -18735,7 +18714,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18735
18714
|
__pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
|
|
18736
18715
|
if (__pyx_t_1) {
|
|
18737
18716
|
|
|
18738
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18717
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":793
|
|
18739
18718
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
18740
18719
|
* if PyDataType_HASSUBARRAY(d):
|
|
18741
18720
|
* return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
|
|
@@ -18747,7 +18726,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18747
18726
|
__pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
|
|
18748
18727
|
goto __pyx_L0;
|
|
18749
18728
|
|
|
18750
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18729
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":792
|
|
18751
18730
|
*
|
|
18752
18731
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
18753
18732
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -18756,7 +18735,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18756
18735
|
*/
|
|
18757
18736
|
}
|
|
18758
18737
|
|
|
18759
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18738
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":795
|
|
18760
18739
|
* return <tuple>d.subarray.shape
|
|
18761
18740
|
* else:
|
|
18762
18741
|
* return () # <<<<<<<<<<<<<<
|
|
@@ -18770,7 +18749,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18770
18749
|
goto __pyx_L0;
|
|
18771
18750
|
}
|
|
18772
18751
|
|
|
18773
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18752
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":791
|
|
18774
18753
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
18775
18754
|
*
|
|
18776
18755
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -18785,7 +18764,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18785
18764
|
return __pyx_r;
|
|
18786
18765
|
}
|
|
18787
18766
|
|
|
18788
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18767
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":970
|
|
18789
18768
|
* int _import_umath() except -1
|
|
18790
18769
|
*
|
|
18791
18770
|
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
|
|
@@ -18794,10 +18773,8 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18794
18773
|
*/
|
|
18795
18774
|
|
|
18796
18775
|
static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
|
|
18797
|
-
__Pyx_RefNannyDeclarations
|
|
18798
|
-
__Pyx_RefNannySetupContext("set_array_base", 0);
|
|
18799
18776
|
|
|
18800
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18777
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":971
|
|
18801
18778
|
*
|
|
18802
18779
|
* cdef inline void set_array_base(ndarray arr, object base):
|
|
18803
18780
|
* Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
|
|
@@ -18806,7 +18783,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
18806
18783
|
*/
|
|
18807
18784
|
Py_INCREF(__pyx_v_base);
|
|
18808
18785
|
|
|
18809
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18786
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":972
|
|
18810
18787
|
* cdef inline void set_array_base(ndarray arr, object base):
|
|
18811
18788
|
* Py_INCREF(base) # important to do this before stealing the reference below!
|
|
18812
18789
|
* PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
|
|
@@ -18815,7 +18792,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
18815
18792
|
*/
|
|
18816
18793
|
(void)(PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base));
|
|
18817
18794
|
|
|
18818
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18795
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":970
|
|
18819
18796
|
* int _import_umath() except -1
|
|
18820
18797
|
*
|
|
18821
18798
|
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
|
|
@@ -18824,10 +18801,9 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
18824
18801
|
*/
|
|
18825
18802
|
|
|
18826
18803
|
/* function exit code */
|
|
18827
|
-
__Pyx_RefNannyFinishContext();
|
|
18828
18804
|
}
|
|
18829
18805
|
|
|
18830
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18806
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":974
|
|
18831
18807
|
* PyArray_SetBaseObject(arr, base)
|
|
18832
18808
|
*
|
|
18833
18809
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -18840,9 +18816,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18840
18816
|
PyObject *__pyx_r = NULL;
|
|
18841
18817
|
__Pyx_RefNannyDeclarations
|
|
18842
18818
|
int __pyx_t_1;
|
|
18843
|
-
__Pyx_RefNannySetupContext("get_array_base",
|
|
18819
|
+
__Pyx_RefNannySetupContext("get_array_base", 1);
|
|
18844
18820
|
|
|
18845
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18821
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":975
|
|
18846
18822
|
*
|
|
18847
18823
|
* cdef inline object get_array_base(ndarray arr):
|
|
18848
18824
|
* base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
|
|
@@ -18851,7 +18827,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18851
18827
|
*/
|
|
18852
18828
|
__pyx_v_base = PyArray_BASE(__pyx_v_arr);
|
|
18853
18829
|
|
|
18854
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18830
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":976
|
|
18855
18831
|
* cdef inline object get_array_base(ndarray arr):
|
|
18856
18832
|
* base = PyArray_BASE(arr)
|
|
18857
18833
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -18861,7 +18837,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18861
18837
|
__pyx_t_1 = (__pyx_v_base == NULL);
|
|
18862
18838
|
if (__pyx_t_1) {
|
|
18863
18839
|
|
|
18864
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18840
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":977
|
|
18865
18841
|
* base = PyArray_BASE(arr)
|
|
18866
18842
|
* if base is NULL:
|
|
18867
18843
|
* return None # <<<<<<<<<<<<<<
|
|
@@ -18872,7 +18848,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18872
18848
|
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
|
|
18873
18849
|
goto __pyx_L0;
|
|
18874
18850
|
|
|
18875
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18851
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":976
|
|
18876
18852
|
* cdef inline object get_array_base(ndarray arr):
|
|
18877
18853
|
* base = PyArray_BASE(arr)
|
|
18878
18854
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -18881,7 +18857,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18881
18857
|
*/
|
|
18882
18858
|
}
|
|
18883
18859
|
|
|
18884
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18860
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":978
|
|
18885
18861
|
* if base is NULL:
|
|
18886
18862
|
* return None
|
|
18887
18863
|
* return <object>base # <<<<<<<<<<<<<<
|
|
@@ -18893,7 +18869,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18893
18869
|
__pyx_r = ((PyObject *)__pyx_v_base);
|
|
18894
18870
|
goto __pyx_L0;
|
|
18895
18871
|
|
|
18896
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18872
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":974
|
|
18897
18873
|
* PyArray_SetBaseObject(arr, base)
|
|
18898
18874
|
*
|
|
18899
18875
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -18908,7 +18884,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18908
18884
|
return __pyx_r;
|
|
18909
18885
|
}
|
|
18910
18886
|
|
|
18911
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18887
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":982
|
|
18912
18888
|
* # Versions of the import_* functions which are more suitable for
|
|
18913
18889
|
* # Cython code.
|
|
18914
18890
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -18930,9 +18906,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18930
18906
|
int __pyx_lineno = 0;
|
|
18931
18907
|
const char *__pyx_filename = NULL;
|
|
18932
18908
|
int __pyx_clineno = 0;
|
|
18933
|
-
__Pyx_RefNannySetupContext("import_array",
|
|
18909
|
+
__Pyx_RefNannySetupContext("import_array", 1);
|
|
18934
18910
|
|
|
18935
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18911
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":983
|
|
18936
18912
|
* # Cython code.
|
|
18937
18913
|
* cdef inline int import_array() except -1:
|
|
18938
18914
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18948,7 +18924,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18948
18924
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
18949
18925
|
/*try:*/ {
|
|
18950
18926
|
|
|
18951
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18927
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":984
|
|
18952
18928
|
* cdef inline int import_array() except -1:
|
|
18953
18929
|
* try:
|
|
18954
18930
|
* __pyx_import_array() # <<<<<<<<<<<<<<
|
|
@@ -18957,7 +18933,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18957
18933
|
*/
|
|
18958
18934
|
__pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 984, __pyx_L3_error)
|
|
18959
18935
|
|
|
18960
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18936
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":983
|
|
18961
18937
|
* # Cython code.
|
|
18962
18938
|
* cdef inline int import_array() except -1:
|
|
18963
18939
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18971,7 +18947,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18971
18947
|
goto __pyx_L8_try_end;
|
|
18972
18948
|
__pyx_L3_error:;
|
|
18973
18949
|
|
|
18974
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18950
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":985
|
|
18975
18951
|
* try:
|
|
18976
18952
|
* __pyx_import_array()
|
|
18977
18953
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -18986,7 +18962,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18986
18962
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
18987
18963
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
18988
18964
|
|
|
18989
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18965
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":986
|
|
18990
18966
|
* __pyx_import_array()
|
|
18991
18967
|
* except Exception:
|
|
18992
18968
|
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -19001,7 +18977,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19001
18977
|
}
|
|
19002
18978
|
goto __pyx_L5_except_error;
|
|
19003
18979
|
|
|
19004
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18980
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":983
|
|
19005
18981
|
* # Cython code.
|
|
19006
18982
|
* cdef inline int import_array() except -1:
|
|
19007
18983
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19017,7 +18993,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19017
18993
|
__pyx_L8_try_end:;
|
|
19018
18994
|
}
|
|
19019
18995
|
|
|
19020
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18996
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":982
|
|
19021
18997
|
* # Versions of the import_* functions which are more suitable for
|
|
19022
18998
|
* # Cython code.
|
|
19023
18999
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19040,7 +19016,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19040
19016
|
return __pyx_r;
|
|
19041
19017
|
}
|
|
19042
19018
|
|
|
19043
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19019
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":988
|
|
19044
19020
|
* raise ImportError("numpy.core.multiarray failed to import")
|
|
19045
19021
|
*
|
|
19046
19022
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19062,9 +19038,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19062
19038
|
int __pyx_lineno = 0;
|
|
19063
19039
|
const char *__pyx_filename = NULL;
|
|
19064
19040
|
int __pyx_clineno = 0;
|
|
19065
|
-
__Pyx_RefNannySetupContext("import_umath",
|
|
19041
|
+
__Pyx_RefNannySetupContext("import_umath", 1);
|
|
19066
19042
|
|
|
19067
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19043
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":989
|
|
19068
19044
|
*
|
|
19069
19045
|
* cdef inline int import_umath() except -1:
|
|
19070
19046
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19080,7 +19056,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19080
19056
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
19081
19057
|
/*try:*/ {
|
|
19082
19058
|
|
|
19083
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19059
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":990
|
|
19084
19060
|
* cdef inline int import_umath() except -1:
|
|
19085
19061
|
* try:
|
|
19086
19062
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -19089,7 +19065,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19089
19065
|
*/
|
|
19090
19066
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 990, __pyx_L3_error)
|
|
19091
19067
|
|
|
19092
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19068
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":989
|
|
19093
19069
|
*
|
|
19094
19070
|
* cdef inline int import_umath() except -1:
|
|
19095
19071
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19103,7 +19079,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19103
19079
|
goto __pyx_L8_try_end;
|
|
19104
19080
|
__pyx_L3_error:;
|
|
19105
19081
|
|
|
19106
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19082
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":991
|
|
19107
19083
|
* try:
|
|
19108
19084
|
* _import_umath()
|
|
19109
19085
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -19118,7 +19094,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19118
19094
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
19119
19095
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
19120
19096
|
|
|
19121
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19097
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":992
|
|
19122
19098
|
* _import_umath()
|
|
19123
19099
|
* except Exception:
|
|
19124
19100
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -19133,7 +19109,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19133
19109
|
}
|
|
19134
19110
|
goto __pyx_L5_except_error;
|
|
19135
19111
|
|
|
19136
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19112
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":989
|
|
19137
19113
|
*
|
|
19138
19114
|
* cdef inline int import_umath() except -1:
|
|
19139
19115
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19149,7 +19125,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19149
19125
|
__pyx_L8_try_end:;
|
|
19150
19126
|
}
|
|
19151
19127
|
|
|
19152
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19128
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":988
|
|
19153
19129
|
* raise ImportError("numpy.core.multiarray failed to import")
|
|
19154
19130
|
*
|
|
19155
19131
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19172,7 +19148,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19172
19148
|
return __pyx_r;
|
|
19173
19149
|
}
|
|
19174
19150
|
|
|
19175
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19151
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":994
|
|
19176
19152
|
* raise ImportError("numpy.core.umath failed to import")
|
|
19177
19153
|
*
|
|
19178
19154
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19194,9 +19170,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19194
19170
|
int __pyx_lineno = 0;
|
|
19195
19171
|
const char *__pyx_filename = NULL;
|
|
19196
19172
|
int __pyx_clineno = 0;
|
|
19197
|
-
__Pyx_RefNannySetupContext("import_ufunc",
|
|
19173
|
+
__Pyx_RefNannySetupContext("import_ufunc", 1);
|
|
19198
19174
|
|
|
19199
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19175
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":995
|
|
19200
19176
|
*
|
|
19201
19177
|
* cdef inline int import_ufunc() except -1:
|
|
19202
19178
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19212,7 +19188,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19212
19188
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
19213
19189
|
/*try:*/ {
|
|
19214
19190
|
|
|
19215
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19191
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":996
|
|
19216
19192
|
* cdef inline int import_ufunc() except -1:
|
|
19217
19193
|
* try:
|
|
19218
19194
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -19221,7 +19197,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19221
19197
|
*/
|
|
19222
19198
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 996, __pyx_L3_error)
|
|
19223
19199
|
|
|
19224
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19200
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":995
|
|
19225
19201
|
*
|
|
19226
19202
|
* cdef inline int import_ufunc() except -1:
|
|
19227
19203
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19235,7 +19211,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19235
19211
|
goto __pyx_L8_try_end;
|
|
19236
19212
|
__pyx_L3_error:;
|
|
19237
19213
|
|
|
19238
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19214
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":997
|
|
19239
19215
|
* try:
|
|
19240
19216
|
* _import_umath()
|
|
19241
19217
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -19250,7 +19226,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19250
19226
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
19251
19227
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
19252
19228
|
|
|
19253
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19229
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":998
|
|
19254
19230
|
* _import_umath()
|
|
19255
19231
|
* except Exception:
|
|
19256
19232
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -19265,7 +19241,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19265
19241
|
}
|
|
19266
19242
|
goto __pyx_L5_except_error;
|
|
19267
19243
|
|
|
19268
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19244
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":995
|
|
19269
19245
|
*
|
|
19270
19246
|
* cdef inline int import_ufunc() except -1:
|
|
19271
19247
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19281,7 +19257,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19281
19257
|
__pyx_L8_try_end:;
|
|
19282
19258
|
}
|
|
19283
19259
|
|
|
19284
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19260
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":994
|
|
19285
19261
|
* raise ImportError("numpy.core.umath failed to import")
|
|
19286
19262
|
*
|
|
19287
19263
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19304,7 +19280,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19304
19280
|
return __pyx_r;
|
|
19305
19281
|
}
|
|
19306
19282
|
|
|
19307
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19283
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1001
|
|
19308
19284
|
*
|
|
19309
19285
|
*
|
|
19310
19286
|
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19314,10 +19290,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19314
19290
|
|
|
19315
19291
|
static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
|
|
19316
19292
|
int __pyx_r;
|
|
19317
|
-
__Pyx_RefNannyDeclarations
|
|
19318
|
-
__Pyx_RefNannySetupContext("is_timedelta64_object", 0);
|
|
19319
19293
|
|
|
19320
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19294
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1013
|
|
19321
19295
|
* bool
|
|
19322
19296
|
* """
|
|
19323
19297
|
* return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -19327,7 +19301,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
19327
19301
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
|
|
19328
19302
|
goto __pyx_L0;
|
|
19329
19303
|
|
|
19330
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19304
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1001
|
|
19331
19305
|
*
|
|
19332
19306
|
*
|
|
19333
19307
|
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19337,11 +19311,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
19337
19311
|
|
|
19338
19312
|
/* function exit code */
|
|
19339
19313
|
__pyx_L0:;
|
|
19340
|
-
__Pyx_RefNannyFinishContext();
|
|
19341
19314
|
return __pyx_r;
|
|
19342
19315
|
}
|
|
19343
19316
|
|
|
19344
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19317
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1016
|
|
19345
19318
|
*
|
|
19346
19319
|
*
|
|
19347
19320
|
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19351,10 +19324,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
19351
19324
|
|
|
19352
19325
|
static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
|
|
19353
19326
|
int __pyx_r;
|
|
19354
|
-
__Pyx_RefNannyDeclarations
|
|
19355
|
-
__Pyx_RefNannySetupContext("is_datetime64_object", 0);
|
|
19356
19327
|
|
|
19357
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19328
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1028
|
|
19358
19329
|
* bool
|
|
19359
19330
|
* """
|
|
19360
19331
|
* return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -19364,7 +19335,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19364
19335
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
|
|
19365
19336
|
goto __pyx_L0;
|
|
19366
19337
|
|
|
19367
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19338
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1016
|
|
19368
19339
|
*
|
|
19369
19340
|
*
|
|
19370
19341
|
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19374,11 +19345,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19374
19345
|
|
|
19375
19346
|
/* function exit code */
|
|
19376
19347
|
__pyx_L0:;
|
|
19377
|
-
__Pyx_RefNannyFinishContext();
|
|
19378
19348
|
return __pyx_r;
|
|
19379
19349
|
}
|
|
19380
19350
|
|
|
19381
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19351
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1031
|
|
19382
19352
|
*
|
|
19383
19353
|
*
|
|
19384
19354
|
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19389,7 +19359,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19389
19359
|
static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
|
|
19390
19360
|
npy_datetime __pyx_r;
|
|
19391
19361
|
|
|
19392
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19362
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1038
|
|
19393
19363
|
* also needed. That can be found using `get_datetime64_unit`.
|
|
19394
19364
|
* """
|
|
19395
19365
|
* return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -19399,7 +19369,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19399
19369
|
__pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
|
|
19400
19370
|
goto __pyx_L0;
|
|
19401
19371
|
|
|
19402
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19372
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1031
|
|
19403
19373
|
*
|
|
19404
19374
|
*
|
|
19405
19375
|
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19412,7 +19382,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19412
19382
|
return __pyx_r;
|
|
19413
19383
|
}
|
|
19414
19384
|
|
|
19415
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19385
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1041
|
|
19416
19386
|
*
|
|
19417
19387
|
*
|
|
19418
19388
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19423,7 +19393,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19423
19393
|
static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
|
|
19424
19394
|
npy_timedelta __pyx_r;
|
|
19425
19395
|
|
|
19426
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19396
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1045
|
|
19427
19397
|
* returns the int64 value underlying scalar numpy timedelta64 object
|
|
19428
19398
|
* """
|
|
19429
19399
|
* return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -19433,7 +19403,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19433
19403
|
__pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
|
|
19434
19404
|
goto __pyx_L0;
|
|
19435
19405
|
|
|
19436
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19406
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1041
|
|
19437
19407
|
*
|
|
19438
19408
|
*
|
|
19439
19409
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19446,7 +19416,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19446
19416
|
return __pyx_r;
|
|
19447
19417
|
}
|
|
19448
19418
|
|
|
19449
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19419
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1048
|
|
19450
19420
|
*
|
|
19451
19421
|
*
|
|
19452
19422
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19457,7 +19427,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19457
19427
|
static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
|
|
19458
19428
|
NPY_DATETIMEUNIT __pyx_r;
|
|
19459
19429
|
|
|
19460
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19430
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1052
|
|
19461
19431
|
* returns the unit part of the dtype for a numpy datetime64 object.
|
|
19462
19432
|
* """
|
|
19463
19433
|
* return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
|
|
@@ -19465,7 +19435,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
19465
19435
|
__pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
|
|
19466
19436
|
goto __pyx_L0;
|
|
19467
19437
|
|
|
19468
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19438
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":1048
|
|
19469
19439
|
*
|
|
19470
19440
|
*
|
|
19471
19441
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19519,8 +19489,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
19519
19489
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
19520
19490
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
19521
19491
|
#else
|
|
19522
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
19523
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 23, __pyx_L3_error)
|
|
19492
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
19524
19493
|
#endif
|
|
19525
19494
|
#endif
|
|
19526
19495
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -19555,10 +19524,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
19555
19524
|
}
|
|
19556
19525
|
__pyx_v_distances = ((PyArrayObject *)values[0]);
|
|
19557
19526
|
}
|
|
19558
|
-
goto
|
|
19527
|
+
goto __pyx_L6_skip;
|
|
19559
19528
|
__pyx_L5_argtuple_error:;
|
|
19560
19529
|
__Pyx_RaiseArgtupleInvalid("neighbor_joining", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 23, __pyx_L3_error)
|
|
19561
|
-
|
|
19530
|
+
__pyx_L6_skip:;
|
|
19531
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
19562
19532
|
__pyx_L3_error:;
|
|
19563
19533
|
{
|
|
19564
19534
|
Py_ssize_t __pyx_temp;
|
|
@@ -19646,7 +19616,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_2nj_neighbor_joining(CYTHON_
|
|
|
19646
19616
|
int __pyx_lineno = 0;
|
|
19647
19617
|
const char *__pyx_filename = NULL;
|
|
19648
19618
|
int __pyx_clineno = 0;
|
|
19649
|
-
__Pyx_RefNannySetupContext("neighbor_joining",
|
|
19619
|
+
__Pyx_RefNannySetupContext("neighbor_joining", 1);
|
|
19650
19620
|
|
|
19651
19621
|
/* "biotite/sequence/phylo/nj.pyx":76
|
|
19652
19622
|
* (3,(2,(1,0)),4);
|
|
@@ -19833,7 +19803,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_2nj_neighbor_joining(CYTHON_
|
|
|
19833
19803
|
}
|
|
19834
19804
|
#endif
|
|
19835
19805
|
{
|
|
19836
|
-
PyObject *__pyx_callargs[
|
|
19806
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_7, NULL};
|
|
19837
19807
|
__pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_9, 0+__pyx_t_9);
|
|
19838
19808
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
19839
19809
|
if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 85, __pyx_L1_error)
|
|
@@ -19895,7 +19865,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_2nj_neighbor_joining(CYTHON_
|
|
|
19895
19865
|
}
|
|
19896
19866
|
#endif
|
|
19897
19867
|
{
|
|
19898
|
-
PyObject *__pyx_callargs[
|
|
19868
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_7, NULL};
|
|
19899
19869
|
__pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_9, 0+__pyx_t_9);
|
|
19900
19870
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
19901
19871
|
if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 87, __pyx_L1_error)
|
|
@@ -19987,7 +19957,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_2nj_neighbor_joining(CYTHON_
|
|
|
19987
19957
|
}
|
|
19988
19958
|
#endif
|
|
19989
19959
|
{
|
|
19990
|
-
PyObject *__pyx_callargs[
|
|
19960
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_8, NULL};
|
|
19991
19961
|
__pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_9, 0+__pyx_t_9);
|
|
19992
19962
|
__Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
19993
19963
|
if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 91, __pyx_L1_error)
|
|
@@ -22728,7 +22698,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
|
|
|
22728
22698
|
__Pyx_GOTREF(__pyx_tuple__8);
|
|
22729
22699
|
__Pyx_GIVEREF(__pyx_tuple__8);
|
|
22730
22700
|
|
|
22731
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
22701
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":986
|
|
22732
22702
|
* __pyx_import_array()
|
|
22733
22703
|
* except Exception:
|
|
22734
22704
|
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -22739,7 +22709,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
|
|
|
22739
22709
|
__Pyx_GOTREF(__pyx_tuple__9);
|
|
22740
22710
|
__Pyx_GIVEREF(__pyx_tuple__9);
|
|
22741
22711
|
|
|
22742
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
22712
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-4811s6gc/overlay/lib/python3.11/site-packages/numpy/__init__.cython-30.pxd":992
|
|
22743
22713
|
* _import_umath()
|
|
22744
22714
|
* except Exception:
|
|
22745
22715
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -23175,33 +23145,33 @@ static int __Pyx_modinit_type_import_code(void) {
|
|
|
23175
23145
|
/*--- Type import code ---*/
|
|
23176
23146
|
__pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 9, __pyx_L1_error)
|
|
23177
23147
|
__Pyx_GOTREF(__pyx_t_1);
|
|
23178
|
-
__pyx_ptype_7cpython_4type_type =
|
|
23148
|
+
__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_10(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
|
|
23179
23149
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
23180
|
-
sizeof(PyTypeObject),
|
|
23150
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
|
|
23181
23151
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
23182
|
-
sizeof(PyTypeObject),
|
|
23152
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
|
|
23183
23153
|
#else
|
|
23184
|
-
sizeof(PyHeapTypeObject),
|
|
23154
|
+
sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyHeapTypeObject),
|
|
23185
23155
|
#endif
|
|
23186
|
-
|
|
23156
|
+
__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
|
|
23187
23157
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
23188
23158
|
__pyx_t_1 = PyImport_ImportModule("numpy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 202, __pyx_L1_error)
|
|
23189
23159
|
__Pyx_GOTREF(__pyx_t_1);
|
|
23190
|
-
__pyx_ptype_5numpy_dtype =
|
|
23191
|
-
__pyx_ptype_5numpy_flatiter =
|
|
23192
|
-
__pyx_ptype_5numpy_broadcast =
|
|
23193
|
-
__pyx_ptype_5numpy_ndarray =
|
|
23194
|
-
__pyx_ptype_5numpy_generic =
|
|
23195
|
-
__pyx_ptype_5numpy_number =
|
|
23196
|
-
__pyx_ptype_5numpy_integer =
|
|
23197
|
-
__pyx_ptype_5numpy_signedinteger =
|
|
23198
|
-
__pyx_ptype_5numpy_unsignedinteger =
|
|
23199
|
-
__pyx_ptype_5numpy_inexact =
|
|
23200
|
-
__pyx_ptype_5numpy_floating =
|
|
23201
|
-
__pyx_ptype_5numpy_complexfloating =
|
|
23202
|
-
__pyx_ptype_5numpy_flexible =
|
|
23203
|
-
__pyx_ptype_5numpy_character =
|
|
23204
|
-
__pyx_ptype_5numpy_ufunc =
|
|
23160
|
+
__pyx_ptype_5numpy_dtype = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "dtype", sizeof(PyArray_Descr), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyArray_Descr),__Pyx_ImportType_CheckSize_Ignore_3_0_10); if (!__pyx_ptype_5numpy_dtype) __PYX_ERR(2, 202, __pyx_L1_error)
|
|
23161
|
+
__pyx_ptype_5numpy_flatiter = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "flatiter", sizeof(PyArrayIterObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyArrayIterObject),__Pyx_ImportType_CheckSize_Ignore_3_0_10); if (!__pyx_ptype_5numpy_flatiter) __PYX_ERR(2, 225, __pyx_L1_error)
|
|
23162
|
+
__pyx_ptype_5numpy_broadcast = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "broadcast", sizeof(PyArrayMultiIterObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyArrayMultiIterObject),__Pyx_ImportType_CheckSize_Ignore_3_0_10); if (!__pyx_ptype_5numpy_broadcast) __PYX_ERR(2, 229, __pyx_L1_error)
|
|
23163
|
+
__pyx_ptype_5numpy_ndarray = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "ndarray", sizeof(PyArrayObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyArrayObject),__Pyx_ImportType_CheckSize_Ignore_3_0_10); if (!__pyx_ptype_5numpy_ndarray) __PYX_ERR(2, 238, __pyx_L1_error)
|
|
23164
|
+
__pyx_ptype_5numpy_generic = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "generic", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_5numpy_generic) __PYX_ERR(2, 812, __pyx_L1_error)
|
|
23165
|
+
__pyx_ptype_5numpy_number = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "number", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_5numpy_number) __PYX_ERR(2, 814, __pyx_L1_error)
|
|
23166
|
+
__pyx_ptype_5numpy_integer = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "integer", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_5numpy_integer) __PYX_ERR(2, 816, __pyx_L1_error)
|
|
23167
|
+
__pyx_ptype_5numpy_signedinteger = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "signedinteger", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_5numpy_signedinteger) __PYX_ERR(2, 818, __pyx_L1_error)
|
|
23168
|
+
__pyx_ptype_5numpy_unsignedinteger = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "unsignedinteger", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_5numpy_unsignedinteger) __PYX_ERR(2, 820, __pyx_L1_error)
|
|
23169
|
+
__pyx_ptype_5numpy_inexact = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "inexact", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_5numpy_inexact) __PYX_ERR(2, 822, __pyx_L1_error)
|
|
23170
|
+
__pyx_ptype_5numpy_floating = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "floating", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_5numpy_floating) __PYX_ERR(2, 824, __pyx_L1_error)
|
|
23171
|
+
__pyx_ptype_5numpy_complexfloating = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "complexfloating", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_5numpy_complexfloating) __PYX_ERR(2, 826, __pyx_L1_error)
|
|
23172
|
+
__pyx_ptype_5numpy_flexible = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "flexible", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_5numpy_flexible) __PYX_ERR(2, 828, __pyx_L1_error)
|
|
23173
|
+
__pyx_ptype_5numpy_character = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "character", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_5numpy_character) __PYX_ERR(2, 830, __pyx_L1_error)
|
|
23174
|
+
__pyx_ptype_5numpy_ufunc = __Pyx_ImportType_3_0_10(__pyx_t_1, "numpy", "ufunc", sizeof(PyUFuncObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyUFuncObject),__Pyx_ImportType_CheckSize_Ignore_3_0_10); if (!__pyx_ptype_5numpy_ufunc) __PYX_ERR(2, 868, __pyx_L1_error)
|
|
23205
23175
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
23206
23176
|
__Pyx_RefNannyFinishContext();
|
|
23207
23177
|
return 0;
|
|
@@ -23422,7 +23392,7 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_nj(PyObject *__pyx_pyinit_module)
|
|
|
23422
23392
|
__pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23423
23393
|
{
|
|
23424
23394
|
int add_module_result = PyState_AddModule(__pyx_t_1, &__pyx_moduledef);
|
|
23425
|
-
__pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to nj pseudovariable */
|
|
23395
|
+
__pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "nj" pseudovariable */
|
|
23426
23396
|
if (unlikely((add_module_result < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23427
23397
|
pystate_addmodule_run = 1;
|
|
23428
23398
|
}
|
|
@@ -23434,10 +23404,8 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_nj(PyObject *__pyx_pyinit_module)
|
|
|
23434
23404
|
CYTHON_UNUSED_VAR(__pyx_t_1);
|
|
23435
23405
|
__pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23436
23406
|
Py_INCREF(__pyx_d);
|
|
23437
|
-
__pyx_b =
|
|
23438
|
-
|
|
23439
|
-
__pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23440
|
-
Py_INCREF(__pyx_cython_runtime);
|
|
23407
|
+
__pyx_b = __Pyx_PyImport_AddModuleRef(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23408
|
+
__pyx_cython_runtime = __Pyx_PyImport_AddModuleRef((const char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23441
23409
|
if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23442
23410
|
#if CYTHON_REFNANNY
|
|
23443
23411
|
__Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
|
|
@@ -23449,7 +23417,7 @@ if (!__Pyx_RefNanny) {
|
|
|
23449
23417
|
}
|
|
23450
23418
|
#endif
|
|
23451
23419
|
__Pyx_RefNannySetupContext("__Pyx_PyMODINIT_FUNC PyInit_nj(void)", 0);
|
|
23452
|
-
if (__Pyx_check_binary_version() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23420
|
+
if (__Pyx_check_binary_version(__PYX_LIMITED_VERSION_HEX, __Pyx_get_runtime_version(), CYTHON_COMPILING_IN_LIMITED_API) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23453
23421
|
#ifdef __Pxy_PyFrame_Initialize_Offsets
|
|
23454
23422
|
__Pxy_PyFrame_Initialize_Offsets();
|
|
23455
23423
|
#endif
|
|
@@ -24279,6 +24247,8 @@ static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObjec
|
|
|
24279
24247
|
tmp_value = tstate->current_exception;
|
|
24280
24248
|
tstate->current_exception = value;
|
|
24281
24249
|
Py_XDECREF(tmp_value);
|
|
24250
|
+
Py_XDECREF(type);
|
|
24251
|
+
Py_XDECREF(tb);
|
|
24282
24252
|
#else
|
|
24283
24253
|
PyObject *tmp_type, *tmp_value, *tmp_tb;
|
|
24284
24254
|
tmp_type = tstate->curexc_type;
|
|
@@ -24336,14 +24306,20 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject
|
|
|
24336
24306
|
#endif
|
|
24337
24307
|
|
|
24338
24308
|
/* PyObjectGetAttrStrNoError */
|
|
24309
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
24339
24310
|
static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) {
|
|
24340
24311
|
__Pyx_PyThreadState_declare
|
|
24341
24312
|
__Pyx_PyThreadState_assign
|
|
24342
24313
|
if (likely(__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
|
|
24343
24314
|
__Pyx_PyErr_Clear();
|
|
24344
24315
|
}
|
|
24316
|
+
#endif
|
|
24345
24317
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name) {
|
|
24346
24318
|
PyObject *result;
|
|
24319
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
24320
|
+
(void) PyObject_GetOptionalAttr(obj, attr_name, &result);
|
|
24321
|
+
return result;
|
|
24322
|
+
#else
|
|
24347
24323
|
#if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_TYPE_SLOTS && PY_VERSION_HEX >= 0x030700B1
|
|
24348
24324
|
PyTypeObject* tp = Py_TYPE(obj);
|
|
24349
24325
|
if (likely(tp->tp_getattro == PyObject_GenericGetAttr)) {
|
|
@@ -24355,6 +24331,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, P
|
|
|
24355
24331
|
__Pyx_PyObject_GetAttrStr_ClearAttributeError();
|
|
24356
24332
|
}
|
|
24357
24333
|
return result;
|
|
24334
|
+
#endif
|
|
24358
24335
|
}
|
|
24359
24336
|
|
|
24360
24337
|
/* GetBuiltinName */
|
|
@@ -24570,13 +24547,31 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO
|
|
|
24570
24547
|
{
|
|
24571
24548
|
int eq = __Pyx_PyUnicode_Equals(s, PyTuple_GET_ITEM(kwnames, i), Py_EQ);
|
|
24572
24549
|
if (unlikely(eq != 0)) {
|
|
24573
|
-
if (unlikely(eq < 0)) return NULL;
|
|
24550
|
+
if (unlikely(eq < 0)) return NULL;
|
|
24574
24551
|
return kwvalues[i];
|
|
24575
24552
|
}
|
|
24576
24553
|
}
|
|
24577
|
-
return NULL;
|
|
24554
|
+
return NULL;
|
|
24555
|
+
}
|
|
24556
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
24557
|
+
CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) {
|
|
24558
|
+
Py_ssize_t i, nkwargs = PyTuple_GET_SIZE(kwnames);
|
|
24559
|
+
PyObject *dict;
|
|
24560
|
+
dict = PyDict_New();
|
|
24561
|
+
if (unlikely(!dict))
|
|
24562
|
+
return NULL;
|
|
24563
|
+
for (i=0; i<nkwargs; i++) {
|
|
24564
|
+
PyObject *key = PyTuple_GET_ITEM(kwnames, i);
|
|
24565
|
+
if (unlikely(PyDict_SetItem(dict, key, kwvalues[i]) < 0))
|
|
24566
|
+
goto bad;
|
|
24567
|
+
}
|
|
24568
|
+
return dict;
|
|
24569
|
+
bad:
|
|
24570
|
+
Py_DECREF(dict);
|
|
24571
|
+
return NULL;
|
|
24578
24572
|
}
|
|
24579
24573
|
#endif
|
|
24574
|
+
#endif
|
|
24580
24575
|
|
|
24581
24576
|
/* RaiseArgTupleInvalid */
|
|
24582
24577
|
static void __Pyx_RaiseArgtupleInvalid(
|
|
@@ -24669,7 +24664,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
24669
24664
|
if (*name) {
|
|
24670
24665
|
values[name-argnames] = value;
|
|
24671
24666
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
24672
|
-
Py_INCREF(value);
|
|
24667
|
+
Py_INCREF(value);
|
|
24673
24668
|
Py_DECREF(key);
|
|
24674
24669
|
#endif
|
|
24675
24670
|
key = NULL;
|
|
@@ -24688,7 +24683,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
24688
24683
|
&& _PyString_Eq(**name, key)) {
|
|
24689
24684
|
values[name-argnames] = value;
|
|
24690
24685
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
24691
|
-
value = NULL;
|
|
24686
|
+
value = NULL;
|
|
24692
24687
|
#endif
|
|
24693
24688
|
break;
|
|
24694
24689
|
}
|
|
@@ -24720,7 +24715,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
24720
24715
|
if (cmp == 0) {
|
|
24721
24716
|
values[name-argnames] = value;
|
|
24722
24717
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
24723
|
-
value = NULL;
|
|
24718
|
+
value = NULL;
|
|
24724
24719
|
#endif
|
|
24725
24720
|
break;
|
|
24726
24721
|
}
|
|
@@ -25007,9 +25002,15 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
|
|
25007
25002
|
PyObject *result;
|
|
25008
25003
|
assert(kwargs == NULL || PyDict_Check(kwargs));
|
|
25009
25004
|
nk = kwargs ? PyDict_Size(kwargs) : 0;
|
|
25005
|
+
#if PY_MAJOR_VERSION < 3
|
|
25010
25006
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) {
|
|
25011
25007
|
return NULL;
|
|
25012
25008
|
}
|
|
25009
|
+
#else
|
|
25010
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) {
|
|
25011
|
+
return NULL;
|
|
25012
|
+
}
|
|
25013
|
+
#endif
|
|
25013
25014
|
if (
|
|
25014
25015
|
#if PY_MAJOR_VERSION >= 3
|
|
25015
25016
|
co->co_kwonlyargcount == 0 &&
|
|
@@ -25086,8 +25087,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
|
|
|
25086
25087
|
ternaryfunc call = Py_TYPE(func)->tp_call;
|
|
25087
25088
|
if (unlikely(!call))
|
|
25088
25089
|
return PyObject_Call(func, arg, kw);
|
|
25090
|
+
#if PY_MAJOR_VERSION < 3
|
|
25089
25091
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
|
|
25090
25092
|
return NULL;
|
|
25093
|
+
#else
|
|
25094
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
|
|
25095
|
+
return NULL;
|
|
25096
|
+
#endif
|
|
25091
25097
|
result = (*call)(func, arg, kw);
|
|
25092
25098
|
Py_LeaveRecursiveCall();
|
|
25093
25099
|
if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
|
|
@@ -25104,10 +25110,15 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
|
|
|
25104
25110
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
|
|
25105
25111
|
PyObject *self, *result;
|
|
25106
25112
|
PyCFunction cfunc;
|
|
25107
|
-
cfunc =
|
|
25108
|
-
self =
|
|
25113
|
+
cfunc = __Pyx_CyOrPyCFunction_GET_FUNCTION(func);
|
|
25114
|
+
self = __Pyx_CyOrPyCFunction_GET_SELF(func);
|
|
25115
|
+
#if PY_MAJOR_VERSION < 3
|
|
25109
25116
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
|
|
25110
25117
|
return NULL;
|
|
25118
|
+
#else
|
|
25119
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
|
|
25120
|
+
return NULL;
|
|
25121
|
+
#endif
|
|
25111
25122
|
result = cfunc(self, arg);
|
|
25112
25123
|
Py_LeaveRecursiveCall();
|
|
25113
25124
|
if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
|
|
@@ -25120,6 +25131,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject
|
|
|
25120
25131
|
#endif
|
|
25121
25132
|
|
|
25122
25133
|
/* PyObjectFastCall */
|
|
25134
|
+
#if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API
|
|
25123
25135
|
static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **args, size_t nargs, PyObject *kwargs) {
|
|
25124
25136
|
PyObject *argstuple;
|
|
25125
25137
|
PyObject *result = 0;
|
|
@@ -25135,28 +25147,17 @@ static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **arg
|
|
|
25135
25147
|
Py_DECREF(argstuple);
|
|
25136
25148
|
return result;
|
|
25137
25149
|
}
|
|
25150
|
+
#endif
|
|
25138
25151
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject **args, size_t _nargs, PyObject *kwargs) {
|
|
25139
25152
|
Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs);
|
|
25140
25153
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
25141
25154
|
if (nargs == 0 && kwargs == NULL) {
|
|
25142
|
-
|
|
25143
|
-
|
|
25144
|
-
#else
|
|
25145
|
-
if (PyCFunction_Check(func))
|
|
25146
|
-
#endif
|
|
25147
|
-
{
|
|
25148
|
-
if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
|
|
25149
|
-
return __Pyx_PyObject_CallMethO(func, NULL);
|
|
25150
|
-
}
|
|
25151
|
-
}
|
|
25155
|
+
if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS))
|
|
25156
|
+
return __Pyx_PyObject_CallMethO(func, NULL);
|
|
25152
25157
|
}
|
|
25153
25158
|
else if (nargs == 1 && kwargs == NULL) {
|
|
25154
|
-
if (
|
|
25155
|
-
|
|
25156
|
-
if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
|
|
25157
|
-
return __Pyx_PyObject_CallMethO(func, args[0]);
|
|
25158
|
-
}
|
|
25159
|
-
}
|
|
25159
|
+
if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_O))
|
|
25160
|
+
return __Pyx_PyObject_CallMethO(func, args[0]);
|
|
25160
25161
|
}
|
|
25161
25162
|
#endif
|
|
25162
25163
|
#if PY_VERSION_HEX < 0x030800B1
|
|
@@ -25180,25 +25181,31 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj
|
|
|
25180
25181
|
}
|
|
25181
25182
|
#endif
|
|
25182
25183
|
#endif
|
|
25183
|
-
|
|
25184
|
-
|
|
25185
|
-
|
|
25186
|
-
|
|
25187
|
-
|
|
25188
|
-
|
|
25189
|
-
|
|
25190
|
-
|
|
25191
|
-
|
|
25192
|
-
|
|
25193
|
-
|
|
25194
|
-
|
|
25195
|
-
|
|
25184
|
+
if (kwargs == NULL) {
|
|
25185
|
+
#if CYTHON_VECTORCALL
|
|
25186
|
+
#if PY_VERSION_HEX < 0x03090000
|
|
25187
|
+
vectorcallfunc f = _PyVectorcall_Function(func);
|
|
25188
|
+
#else
|
|
25189
|
+
vectorcallfunc f = PyVectorcall_Function(func);
|
|
25190
|
+
#endif
|
|
25191
|
+
if (f) {
|
|
25192
|
+
return f(func, args, (size_t)nargs, NULL);
|
|
25193
|
+
}
|
|
25194
|
+
#elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
|
|
25195
|
+
if (__Pyx_CyFunction_CheckExact(func)) {
|
|
25196
|
+
__pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
|
|
25197
|
+
if (f) return f(func, args, (size_t)nargs, NULL);
|
|
25198
|
+
}
|
|
25199
|
+
#endif
|
|
25196
25200
|
}
|
|
25197
|
-
#endif
|
|
25198
25201
|
if (nargs == 0) {
|
|
25199
25202
|
return __Pyx_PyObject_Call(func, __pyx_empty_tuple, kwargs);
|
|
25200
25203
|
}
|
|
25204
|
+
#if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
25205
|
+
return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs);
|
|
25206
|
+
#else
|
|
25201
25207
|
return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs);
|
|
25208
|
+
#endif
|
|
25202
25209
|
}
|
|
25203
25210
|
|
|
25204
25211
|
/* RaiseUnexpectedTypeError */
|
|
@@ -25501,7 +25508,7 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject* value_tuple, Py_ssize_t value_co
|
|
|
25501
25508
|
if (!CYTHON_PEP393_ENABLED || ukind == result_ukind) {
|
|
25502
25509
|
memcpy((char *)result_udata + (char_pos << kind_shift), udata, (size_t) (ulength << kind_shift));
|
|
25503
25510
|
} else {
|
|
25504
|
-
#if PY_VERSION_HEX >=
|
|
25511
|
+
#if PY_VERSION_HEX >= 0x030d0000
|
|
25505
25512
|
if (unlikely(PyUnicode_CopyCharacters(result_uval, char_pos, uval, 0, ulength) < 0)) goto bad;
|
|
25506
25513
|
#elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030300F0 || defined(_PyUnicode_FastCopyCharacters)
|
|
25507
25514
|
_PyUnicode_FastCopyCharacters(result_uval, char_pos, uval, 0, ulength);
|
|
@@ -25630,7 +25637,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
|
|
|
25630
25637
|
}
|
|
25631
25638
|
}
|
|
25632
25639
|
#else
|
|
25633
|
-
if (is_list ||
|
|
25640
|
+
if (is_list || !PyMapping_Check(o)) {
|
|
25634
25641
|
return PySequence_GetItem(o, i);
|
|
25635
25642
|
}
|
|
25636
25643
|
#endif
|
|
@@ -25665,7 +25672,9 @@ static PyObject *__Pyx_PyObject_GetItem_Slow(PyObject *obj, PyObject *key) {
|
|
|
25665
25672
|
__Pyx_TypeName obj_type_name;
|
|
25666
25673
|
if (likely(PyType_Check(obj))) {
|
|
25667
25674
|
PyObject *meth = __Pyx_PyObject_GetAttrStrNoError(obj, __pyx_n_s_class_getitem);
|
|
25668
|
-
if (meth) {
|
|
25675
|
+
if (!meth) {
|
|
25676
|
+
PyErr_Clear();
|
|
25677
|
+
} else {
|
|
25669
25678
|
PyObject *result = __Pyx_PyObject_CallOneArg(meth, key);
|
|
25670
25679
|
Py_DECREF(meth);
|
|
25671
25680
|
return result;
|
|
@@ -25774,6 +25783,7 @@ static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ssize_t b)
|
|
|
25774
25783
|
}
|
|
25775
25784
|
|
|
25776
25785
|
/* GetAttr3 */
|
|
25786
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
25777
25787
|
static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
|
|
25778
25788
|
__Pyx_PyThreadState_declare
|
|
25779
25789
|
__Pyx_PyThreadState_assign
|
|
@@ -25783,9 +25793,14 @@ static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
|
|
|
25783
25793
|
Py_INCREF(d);
|
|
25784
25794
|
return d;
|
|
25785
25795
|
}
|
|
25796
|
+
#endif
|
|
25786
25797
|
static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) {
|
|
25787
25798
|
PyObject *r;
|
|
25788
|
-
#if
|
|
25799
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
25800
|
+
int res = PyObject_GetOptionalAttr(o, n, &r);
|
|
25801
|
+
return (res != 0) ? r : __Pyx_NewRef(d);
|
|
25802
|
+
#else
|
|
25803
|
+
#if CYTHON_USE_TYPE_SLOTS
|
|
25789
25804
|
if (likely(PyString_Check(n))) {
|
|
25790
25805
|
r = __Pyx_PyObject_GetAttrStrNoError(o, n);
|
|
25791
25806
|
if (unlikely(!r) && likely(!PyErr_Occurred())) {
|
|
@@ -25793,9 +25808,10 @@ static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject
|
|
|
25793
25808
|
}
|
|
25794
25809
|
return r;
|
|
25795
25810
|
}
|
|
25796
|
-
#endif
|
|
25811
|
+
#endif
|
|
25797
25812
|
r = PyObject_GetAttr(o, n);
|
|
25798
25813
|
return (likely(r)) ? r : __Pyx_GetAttr3Default(d);
|
|
25814
|
+
#endif
|
|
25799
25815
|
}
|
|
25800
25816
|
|
|
25801
25817
|
/* PyDictVersioning */
|
|
@@ -25833,7 +25849,7 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name)
|
|
|
25833
25849
|
{
|
|
25834
25850
|
PyObject *result;
|
|
25835
25851
|
#if !CYTHON_AVOID_BORROWED_REFS
|
|
25836
|
-
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
|
|
25852
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && PY_VERSION_HEX < 0x030d0000
|
|
25837
25853
|
result = _PyDict_GetItem_KnownHash(__pyx_d, name, ((PyASCIIObject *) name)->hash);
|
|
25838
25854
|
__PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
|
|
25839
25855
|
if (likely(result)) {
|
|
@@ -26159,7 +26175,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
|
|
|
26159
26175
|
{
|
|
26160
26176
|
#if PY_MAJOR_VERSION >= 3
|
|
26161
26177
|
if (level == -1) {
|
|
26162
|
-
if (
|
|
26178
|
+
if (strchr(__Pyx_MODULE_NAME, '.') != NULL) {
|
|
26163
26179
|
module = PyImport_ImportModuleLevelObject(
|
|
26164
26180
|
name, __pyx_d, empty_dict, from_list, 1);
|
|
26165
26181
|
if (unlikely(!module)) {
|
|
@@ -26322,16 +26338,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
|
|
|
26322
26338
|
return __Pyx__ImportDottedModule(name, parts_tuple);
|
|
26323
26339
|
}
|
|
26324
26340
|
|
|
26325
|
-
/* ssize_strlen */
|
|
26326
|
-
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
|
|
26327
|
-
size_t len = strlen(s);
|
|
26328
|
-
if (unlikely(len > PY_SSIZE_T_MAX)) {
|
|
26329
|
-
PyErr_SetString(PyExc_OverflowError, "byte string is too long");
|
|
26330
|
-
return -1;
|
|
26331
|
-
}
|
|
26332
|
-
return (Py_ssize_t) len;
|
|
26333
|
-
}
|
|
26334
|
-
|
|
26335
26341
|
/* FastTypeChecks */
|
|
26336
26342
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
26337
26343
|
static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
|
|
@@ -26515,11 +26521,7 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
|
|
|
26515
26521
|
}
|
|
26516
26522
|
}
|
|
26517
26523
|
#else
|
|
26518
|
-
|
|
26519
|
-
if (is_list || (PySequence_Check(o) && !PyDict_Check(o)))
|
|
26520
|
-
#else
|
|
26521
|
-
if (is_list || PySequence_Check(o))
|
|
26522
|
-
#endif
|
|
26524
|
+
if (is_list || !PyMapping_Check(o))
|
|
26523
26525
|
{
|
|
26524
26526
|
return PySequence_SetItem(o, i, v);
|
|
26525
26527
|
}
|
|
@@ -26584,6 +26586,7 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
|
|
|
26584
26586
|
}
|
|
26585
26587
|
|
|
26586
26588
|
/* HasAttr */
|
|
26589
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
26587
26590
|
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
|
26588
26591
|
PyObject *r;
|
|
26589
26592
|
if (unlikely(!__Pyx_PyBaseString_Check(n))) {
|
|
@@ -26600,6 +26603,7 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
|
|
26600
26603
|
return 1;
|
|
26601
26604
|
}
|
|
26602
26605
|
}
|
|
26606
|
+
#endif
|
|
26603
26607
|
|
|
26604
26608
|
/* PyObject_GenericGetAttrNoDict */
|
|
26605
26609
|
#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
|
|
@@ -26728,8 +26732,8 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
26728
26732
|
|
|
26729
26733
|
/* PyObjectCallNoArg */
|
|
26730
26734
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
|
|
26731
|
-
PyObject *arg = NULL;
|
|
26732
|
-
return __Pyx_PyObject_FastCall(func,
|
|
26735
|
+
PyObject *arg[2] = {NULL, NULL};
|
|
26736
|
+
return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
|
|
26733
26737
|
}
|
|
26734
26738
|
|
|
26735
26739
|
/* PyObjectGetMethod */
|
|
@@ -26894,38 +26898,38 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
|
|
|
26894
26898
|
#endif
|
|
26895
26899
|
return -1;
|
|
26896
26900
|
}
|
|
26897
|
-
|
|
26898
|
-
if (dictoffset == 0) {
|
|
26899
|
-
PyErr_Format(PyExc_TypeError,
|
|
26900
|
-
"extension type '%s.200s': "
|
|
26901
|
-
"unable to validate whether bases have a __dict__ "
|
|
26902
|
-
"when CYTHON_USE_TYPE_SLOTS is off "
|
|
26903
|
-
"(likely because you are building in the limited API). "
|
|
26904
|
-
"Therefore, all extension types with multiple bases "
|
|
26905
|
-
"must add 'cdef dict __dict__' in this compilation mode",
|
|
26906
|
-
type_name);
|
|
26907
|
-
#if CYTHON_AVOID_BORROWED_REFS
|
|
26908
|
-
Py_DECREF(b0);
|
|
26909
|
-
#endif
|
|
26910
|
-
return -1;
|
|
26911
|
-
}
|
|
26912
|
-
#else
|
|
26913
|
-
if (dictoffset == 0 && b->tp_dictoffset)
|
|
26901
|
+
if (dictoffset == 0)
|
|
26914
26902
|
{
|
|
26915
|
-
|
|
26916
|
-
|
|
26917
|
-
|
|
26918
|
-
|
|
26919
|
-
|
|
26920
|
-
|
|
26921
|
-
|
|
26922
|
-
|
|
26903
|
+
Py_ssize_t b_dictoffset = 0;
|
|
26904
|
+
#if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY
|
|
26905
|
+
b_dictoffset = b->tp_dictoffset;
|
|
26906
|
+
#else
|
|
26907
|
+
PyObject *py_b_dictoffset = PyObject_GetAttrString((PyObject*)b, "__dictoffset__");
|
|
26908
|
+
if (!py_b_dictoffset) goto dictoffset_return;
|
|
26909
|
+
b_dictoffset = PyLong_AsSsize_t(py_b_dictoffset);
|
|
26910
|
+
Py_DECREF(py_b_dictoffset);
|
|
26911
|
+
if (b_dictoffset == -1 && PyErr_Occurred()) goto dictoffset_return;
|
|
26912
|
+
#endif
|
|
26913
|
+
if (b_dictoffset) {
|
|
26914
|
+
{
|
|
26915
|
+
__Pyx_TypeName b_name = __Pyx_PyType_GetName(b);
|
|
26916
|
+
PyErr_Format(PyExc_TypeError,
|
|
26917
|
+
"extension type '%.200s' has no __dict__ slot, "
|
|
26918
|
+
"but base type '" __Pyx_FMT_TYPENAME "' has: "
|
|
26919
|
+
"either add 'cdef dict __dict__' to the extension type "
|
|
26920
|
+
"or add '__slots__ = [...]' to the base type",
|
|
26921
|
+
type_name, b_name);
|
|
26922
|
+
__Pyx_DECREF_TypeName(b_name);
|
|
26923
|
+
}
|
|
26924
|
+
#if !(CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY)
|
|
26925
|
+
dictoffset_return:
|
|
26926
|
+
#endif
|
|
26923
26927
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
26924
|
-
|
|
26928
|
+
Py_DECREF(b0);
|
|
26925
26929
|
#endif
|
|
26926
|
-
|
|
26930
|
+
return -1;
|
|
26931
|
+
}
|
|
26927
26932
|
}
|
|
26928
|
-
#endif
|
|
26929
26933
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
26930
26934
|
Py_DECREF(b0);
|
|
26931
26935
|
#endif
|
|
@@ -27219,10 +27223,10 @@ __PYX_GOOD:
|
|
|
27219
27223
|
#endif
|
|
27220
27224
|
|
|
27221
27225
|
/* TypeImport */
|
|
27222
|
-
#ifndef
|
|
27223
|
-
#define
|
|
27224
|
-
static PyTypeObject *
|
|
27225
|
-
size_t size, size_t alignment, enum
|
|
27226
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_0_10
|
|
27227
|
+
#define __PYX_HAVE_RT_ImportType_3_0_10
|
|
27228
|
+
static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject *module, const char *module_name, const char *class_name,
|
|
27229
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_10 check_size)
|
|
27226
27230
|
{
|
|
27227
27231
|
PyObject *result = 0;
|
|
27228
27232
|
char warning[200];
|
|
@@ -27276,7 +27280,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
|
|
|
27276
27280
|
module_name, class_name, size, basicsize+itemsize);
|
|
27277
27281
|
goto bad;
|
|
27278
27282
|
}
|
|
27279
|
-
if (check_size ==
|
|
27283
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_10 &&
|
|
27280
27284
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
27281
27285
|
PyErr_Format(PyExc_ValueError,
|
|
27282
27286
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -27284,7 +27288,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
|
|
|
27284
27288
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
27285
27289
|
goto bad;
|
|
27286
27290
|
}
|
|
27287
|
-
else if (check_size ==
|
|
27291
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_10 && (size_t)basicsize > size) {
|
|
27288
27292
|
PyOS_snprintf(warning, sizeof(warning),
|
|
27289
27293
|
"%s.%s size changed, may indicate binary incompatibility. "
|
|
27290
27294
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -27300,10 +27304,7 @@ bad:
|
|
|
27300
27304
|
|
|
27301
27305
|
/* FetchSharedCythonModule */
|
|
27302
27306
|
static PyObject *__Pyx_FetchSharedCythonABIModule(void) {
|
|
27303
|
-
|
|
27304
|
-
if (unlikely(!abi_module)) return NULL;
|
|
27305
|
-
Py_INCREF(abi_module);
|
|
27306
|
-
return abi_module;
|
|
27307
|
+
return __Pyx_PyImport_AddModuleRef((char*) __PYX_ABI_MODULE_NAME);
|
|
27307
27308
|
}
|
|
27308
27309
|
|
|
27309
27310
|
/* FetchCommonType */
|
|
@@ -27464,6 +27465,20 @@ static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, _
|
|
|
27464
27465
|
#endif
|
|
27465
27466
|
|
|
27466
27467
|
/* CythonFunctionShared */
|
|
27468
|
+
#if CYTHON_COMPILING_IN_LIMITED_API
|
|
27469
|
+
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
|
|
27470
|
+
if (__Pyx_CyFunction_Check(func)) {
|
|
27471
|
+
return PyCFunction_GetFunction(((__pyx_CyFunctionObject*)func)->func) == (PyCFunction) cfunc;
|
|
27472
|
+
} else if (PyCFunction_Check(func)) {
|
|
27473
|
+
return PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
|
|
27474
|
+
}
|
|
27475
|
+
return 0;
|
|
27476
|
+
}
|
|
27477
|
+
#else
|
|
27478
|
+
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
|
|
27479
|
+
return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
|
|
27480
|
+
}
|
|
27481
|
+
#endif
|
|
27467
27482
|
static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) {
|
|
27468
27483
|
#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API
|
|
27469
27484
|
__Pyx_Py_XDECREF_SET(
|
|
@@ -28273,7 +28288,7 @@ static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func,
|
|
|
28273
28288
|
default:
|
|
28274
28289
|
return NULL;
|
|
28275
28290
|
}
|
|
28276
|
-
return ((
|
|
28291
|
+
return ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames);
|
|
28277
28292
|
}
|
|
28278
28293
|
static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
|
|
28279
28294
|
{
|
|
@@ -28612,8 +28627,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
|
|
|
28612
28627
|
Py_DECREF(replace);
|
|
28613
28628
|
return result;
|
|
28614
28629
|
}
|
|
28615
|
-
#if __PYX_LIMITED_VERSION_HEX < 0x030780000
|
|
28616
28630
|
PyErr_Clear();
|
|
28631
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030780000
|
|
28617
28632
|
{
|
|
28618
28633
|
PyObject *compiled = NULL, *result = NULL;
|
|
28619
28634
|
if (unlikely(PyDict_SetItemString(scratch_dict, "code", code))) return NULL;
|
|
@@ -28633,6 +28648,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
|
|
|
28633
28648
|
if (result) Py_INCREF(result);
|
|
28634
28649
|
return result;
|
|
28635
28650
|
}
|
|
28651
|
+
#else
|
|
28652
|
+
return NULL;
|
|
28636
28653
|
#endif
|
|
28637
28654
|
}
|
|
28638
28655
|
static void __Pyx_AddTraceback(const char *funcname, int c_line,
|
|
@@ -28730,7 +28747,7 @@ static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
|
|
|
28730
28747
|
#else
|
|
28731
28748
|
py_code = PyCode_NewEmpty(filename, funcname, py_line);
|
|
28732
28749
|
#endif
|
|
28733
|
-
Py_XDECREF(py_funcname);
|
|
28750
|
+
Py_XDECREF(py_funcname);
|
|
28734
28751
|
return py_code;
|
|
28735
28752
|
bad:
|
|
28736
28753
|
Py_XDECREF(py_funcname);
|
|
@@ -30254,13 +30271,13 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
|
|
|
30254
30271
|
{
|
|
30255
30272
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
30256
30273
|
unsigned char *bytes = (unsigned char *)&value;
|
|
30257
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
30274
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
30258
30275
|
return _PyLong_FromByteArray(bytes, sizeof(npy_uint8),
|
|
30259
30276
|
little, !is_unsigned);
|
|
30260
30277
|
#else
|
|
30261
30278
|
PyObject *from_bytes, *result = NULL;
|
|
30262
30279
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
30263
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
30280
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
30264
30281
|
if (!from_bytes) return NULL;
|
|
30265
30282
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(npy_uint8));
|
|
30266
30283
|
if (!py_bytes) goto limited_bad;
|
|
@@ -30268,16 +30285,18 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
|
|
|
30268
30285
|
if (!order_str) goto limited_bad;
|
|
30269
30286
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
30270
30287
|
if (!arg_tuple) goto limited_bad;
|
|
30271
|
-
|
|
30272
|
-
|
|
30273
|
-
|
|
30288
|
+
if (!is_unsigned) {
|
|
30289
|
+
kwds = PyDict_New();
|
|
30290
|
+
if (!kwds) goto limited_bad;
|
|
30291
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
30292
|
+
}
|
|
30274
30293
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
30275
30294
|
limited_bad:
|
|
30276
|
-
Py_XDECREF(from_bytes);
|
|
30277
|
-
Py_XDECREF(py_bytes);
|
|
30278
|
-
Py_XDECREF(order_str);
|
|
30279
|
-
Py_XDECREF(arg_tuple);
|
|
30280
30295
|
Py_XDECREF(kwds);
|
|
30296
|
+
Py_XDECREF(arg_tuple);
|
|
30297
|
+
Py_XDECREF(order_str);
|
|
30298
|
+
Py_XDECREF(py_bytes);
|
|
30299
|
+
Py_XDECREF(from_bytes);
|
|
30281
30300
|
return result;
|
|
30282
30301
|
#endif
|
|
30283
30302
|
}
|
|
@@ -30453,7 +30472,7 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
|
|
|
30453
30472
|
#endif
|
|
30454
30473
|
if (likely(v)) {
|
|
30455
30474
|
int ret = -1;
|
|
30456
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
30475
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
30457
30476
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
30458
30477
|
unsigned char *bytes = (unsigned char *)&val;
|
|
30459
30478
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -30726,7 +30745,7 @@ raise_neg_overflow:
|
|
|
30726
30745
|
#endif
|
|
30727
30746
|
if (likely(v)) {
|
|
30728
30747
|
int ret = -1;
|
|
30729
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
30748
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
30730
30749
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
30731
30750
|
unsigned char *bytes = (unsigned char *)&val;
|
|
30732
30751
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -30862,13 +30881,13 @@ raise_neg_overflow:
|
|
|
30862
30881
|
{
|
|
30863
30882
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
30864
30883
|
unsigned char *bytes = (unsigned char *)&value;
|
|
30865
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
30884
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
30866
30885
|
return _PyLong_FromByteArray(bytes, sizeof(int),
|
|
30867
30886
|
little, !is_unsigned);
|
|
30868
30887
|
#else
|
|
30869
30888
|
PyObject *from_bytes, *result = NULL;
|
|
30870
30889
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
30871
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
30890
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
30872
30891
|
if (!from_bytes) return NULL;
|
|
30873
30892
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(int));
|
|
30874
30893
|
if (!py_bytes) goto limited_bad;
|
|
@@ -30876,16 +30895,18 @@ raise_neg_overflow:
|
|
|
30876
30895
|
if (!order_str) goto limited_bad;
|
|
30877
30896
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
30878
30897
|
if (!arg_tuple) goto limited_bad;
|
|
30879
|
-
|
|
30880
|
-
|
|
30881
|
-
|
|
30898
|
+
if (!is_unsigned) {
|
|
30899
|
+
kwds = PyDict_New();
|
|
30900
|
+
if (!kwds) goto limited_bad;
|
|
30901
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
30902
|
+
}
|
|
30882
30903
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
30883
30904
|
limited_bad:
|
|
30884
|
-
Py_XDECREF(from_bytes);
|
|
30885
|
-
Py_XDECREF(py_bytes);
|
|
30886
|
-
Py_XDECREF(order_str);
|
|
30887
|
-
Py_XDECREF(arg_tuple);
|
|
30888
30905
|
Py_XDECREF(kwds);
|
|
30906
|
+
Py_XDECREF(arg_tuple);
|
|
30907
|
+
Py_XDECREF(order_str);
|
|
30908
|
+
Py_XDECREF(py_bytes);
|
|
30909
|
+
Py_XDECREF(from_bytes);
|
|
30889
30910
|
return result;
|
|
30890
30911
|
#endif
|
|
30891
30912
|
}
|
|
@@ -30924,13 +30945,13 @@ raise_neg_overflow:
|
|
|
30924
30945
|
{
|
|
30925
30946
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
30926
30947
|
unsigned char *bytes = (unsigned char *)&value;
|
|
30927
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
30948
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
30928
30949
|
return _PyLong_FromByteArray(bytes, sizeof(long),
|
|
30929
30950
|
little, !is_unsigned);
|
|
30930
30951
|
#else
|
|
30931
30952
|
PyObject *from_bytes, *result = NULL;
|
|
30932
30953
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
30933
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
30954
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
30934
30955
|
if (!from_bytes) return NULL;
|
|
30935
30956
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long));
|
|
30936
30957
|
if (!py_bytes) goto limited_bad;
|
|
@@ -30938,16 +30959,18 @@ raise_neg_overflow:
|
|
|
30938
30959
|
if (!order_str) goto limited_bad;
|
|
30939
30960
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
30940
30961
|
if (!arg_tuple) goto limited_bad;
|
|
30941
|
-
|
|
30942
|
-
|
|
30943
|
-
|
|
30962
|
+
if (!is_unsigned) {
|
|
30963
|
+
kwds = PyDict_New();
|
|
30964
|
+
if (!kwds) goto limited_bad;
|
|
30965
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
30966
|
+
}
|
|
30944
30967
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
30945
30968
|
limited_bad:
|
|
30946
|
-
Py_XDECREF(from_bytes);
|
|
30947
|
-
Py_XDECREF(py_bytes);
|
|
30948
|
-
Py_XDECREF(order_str);
|
|
30949
|
-
Py_XDECREF(arg_tuple);
|
|
30950
30969
|
Py_XDECREF(kwds);
|
|
30970
|
+
Py_XDECREF(arg_tuple);
|
|
30971
|
+
Py_XDECREF(order_str);
|
|
30972
|
+
Py_XDECREF(py_bytes);
|
|
30973
|
+
Py_XDECREF(from_bytes);
|
|
30951
30974
|
return result;
|
|
30952
30975
|
#endif
|
|
30953
30976
|
}
|
|
@@ -31123,7 +31146,7 @@ raise_neg_overflow:
|
|
|
31123
31146
|
#endif
|
|
31124
31147
|
if (likely(v)) {
|
|
31125
31148
|
int ret = -1;
|
|
31126
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
31149
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
31127
31150
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
31128
31151
|
unsigned char *bytes = (unsigned char *)&val;
|
|
31129
31152
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -31396,7 +31419,7 @@ raise_neg_overflow:
|
|
|
31396
31419
|
#endif
|
|
31397
31420
|
if (likely(v)) {
|
|
31398
31421
|
int ret = -1;
|
|
31399
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
31422
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
31400
31423
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
31401
31424
|
unsigned char *bytes = (unsigned char *)&val;
|
|
31402
31425
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -31516,41 +31539,50 @@ __Pyx_PyType_GetName(PyTypeObject* tp)
|
|
|
31516
31539
|
#endif
|
|
31517
31540
|
|
|
31518
31541
|
/* CheckBinaryVersion */
|
|
31519
|
-
static
|
|
31520
|
-
|
|
31521
|
-
|
|
31522
|
-
|
|
31523
|
-
|
|
31524
|
-
|
|
31525
|
-
|
|
31526
|
-
|
|
31527
|
-
|
|
31528
|
-
|
|
31542
|
+
static unsigned long __Pyx_get_runtime_version(void) {
|
|
31543
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030B00A4
|
|
31544
|
+
return Py_Version & ~0xFFUL;
|
|
31545
|
+
#else
|
|
31546
|
+
const char* rt_version = Py_GetVersion();
|
|
31547
|
+
unsigned long version = 0;
|
|
31548
|
+
unsigned long factor = 0x01000000UL;
|
|
31549
|
+
unsigned int digit = 0;
|
|
31550
|
+
int i = 0;
|
|
31551
|
+
while (factor) {
|
|
31552
|
+
while ('0' <= rt_version[i] && rt_version[i] <= '9') {
|
|
31553
|
+
digit = digit * 10 + (unsigned int) (rt_version[i] - '0');
|
|
31554
|
+
++i;
|
|
31529
31555
|
}
|
|
31530
|
-
|
|
31531
|
-
|
|
31556
|
+
version += factor * digit;
|
|
31557
|
+
if (rt_version[i] != '.')
|
|
31532
31558
|
break;
|
|
31533
|
-
|
|
31559
|
+
digit = 0;
|
|
31560
|
+
factor >>= 8;
|
|
31561
|
+
++i;
|
|
31534
31562
|
}
|
|
31535
|
-
|
|
31536
|
-
|
|
31563
|
+
return version;
|
|
31564
|
+
#endif
|
|
31565
|
+
}
|
|
31566
|
+
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer) {
|
|
31567
|
+
const unsigned long MAJOR_MINOR = 0xFFFF0000UL;
|
|
31568
|
+
if ((rt_version & MAJOR_MINOR) == (ct_version & MAJOR_MINOR))
|
|
31569
|
+
return 0;
|
|
31570
|
+
if (likely(allow_newer && (rt_version & MAJOR_MINOR) > (ct_version & MAJOR_MINOR)))
|
|
31571
|
+
return 1;
|
|
31572
|
+
{
|
|
31537
31573
|
char message[200];
|
|
31538
|
-
for (i=0; i<4; ++i) {
|
|
31539
|
-
if (rt_from_call[i] == '.') {
|
|
31540
|
-
if (found_dot) break;
|
|
31541
|
-
found_dot = 1;
|
|
31542
|
-
} else if (rt_from_call[i] < '0' || rt_from_call[i] > '9') {
|
|
31543
|
-
break;
|
|
31544
|
-
}
|
|
31545
|
-
rtversion[i] = rt_from_call[i];
|
|
31546
|
-
}
|
|
31547
31574
|
PyOS_snprintf(message, sizeof(message),
|
|
31548
|
-
"compile time version %
|
|
31549
|
-
"
|
|
31550
|
-
|
|
31575
|
+
"compile time Python version %d.%d "
|
|
31576
|
+
"of module '%.100s' "
|
|
31577
|
+
"%s "
|
|
31578
|
+
"runtime version %d.%d",
|
|
31579
|
+
(int) (ct_version >> 24), (int) ((ct_version >> 16) & 0xFF),
|
|
31580
|
+
__Pyx_MODULE_NAME,
|
|
31581
|
+
(allow_newer) ? "was newer than" : "does not match",
|
|
31582
|
+
(int) (rt_version >> 24), (int) ((rt_version >> 16) & 0xFF)
|
|
31583
|
+
);
|
|
31551
31584
|
return PyErr_WarnEx(NULL, message, 1);
|
|
31552
31585
|
}
|
|
31553
|
-
return 0;
|
|
31554
31586
|
}
|
|
31555
31587
|
|
|
31556
31588
|
/* InitStrings */
|
|
@@ -31596,8 +31628,24 @@ static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
|
|
|
31596
31628
|
return 0;
|
|
31597
31629
|
}
|
|
31598
31630
|
|
|
31631
|
+
#include <string.h>
|
|
31632
|
+
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
|
|
31633
|
+
size_t len = strlen(s);
|
|
31634
|
+
if (unlikely(len > (size_t) PY_SSIZE_T_MAX)) {
|
|
31635
|
+
PyErr_SetString(PyExc_OverflowError, "byte string is too long");
|
|
31636
|
+
return -1;
|
|
31637
|
+
}
|
|
31638
|
+
return (Py_ssize_t) len;
|
|
31639
|
+
}
|
|
31599
31640
|
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
|
|
31600
|
-
|
|
31641
|
+
Py_ssize_t len = __Pyx_ssize_strlen(c_str);
|
|
31642
|
+
if (unlikely(len < 0)) return NULL;
|
|
31643
|
+
return __Pyx_PyUnicode_FromStringAndSize(c_str, len);
|
|
31644
|
+
}
|
|
31645
|
+
static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char* c_str) {
|
|
31646
|
+
Py_ssize_t len = __Pyx_ssize_strlen(c_str);
|
|
31647
|
+
if (unlikely(len < 0)) return NULL;
|
|
31648
|
+
return PyByteArray_FromStringAndSize(c_str, len);
|
|
31601
31649
|
}
|
|
31602
31650
|
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
|
|
31603
31651
|
Py_ssize_t ignore;
|