biotite 0.38.0__cp311-cp311-win_amd64.whl → 0.40.0__cp311-cp311-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.cp311-win_amd64.pyd +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.cp311-win_amd64.pyd +0 -0
- biotite/sequence/align/kmersimilarity.c +713 -663
- biotite/sequence/align/kmersimilarity.cp311-win_amd64.pyd +0 -0
- biotite/sequence/align/kmertable.cp311-win_amd64.pyd +0 -0
- biotite/sequence/align/kmertable.cpp +68398 -0
- biotite/sequence/align/localgapped.c +1507 -1074
- biotite/sequence/align/localgapped.cp311-win_amd64.pyd +0 -0
- biotite/sequence/align/localungapped.c +1143 -833
- biotite/sequence/align/localungapped.cp311-win_amd64.pyd +0 -0
- biotite/sequence/align/multiple.c +1569 -1092
- biotite/sequence/align/multiple.cp311-win_amd64.pyd +0 -0
- biotite/sequence/align/pairwise.c +1612 -1212
- biotite/sequence/align/pairwise.cp311-win_amd64.pyd +0 -0
- biotite/sequence/align/permutation.c +33259 -0
- biotite/sequence/align/permutation.cp311-win_amd64.pyd +0 -0
- biotite/sequence/align/primes.txt +821 -0
- biotite/sequence/align/{kmertable.c → selector.c} +9129 -16497
- biotite/sequence/align/selector.cp311-win_amd64.pyd +0 -0
- biotite/sequence/align/tracetable.c +685 -646
- biotite/sequence/align/tracetable.cp311-win_amd64.pyd +0 -0
- biotite/sequence/codec.c +1159 -841
- biotite/sequence/codec.cp311-win_amd64.pyd +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.cp311-win_amd64.pyd +0 -0
- biotite/sequence/phylo/tree.c +970 -673
- biotite/sequence/phylo/tree.cp311-win_amd64.pyd +0 -0
- biotite/sequence/phylo/upgma.c +672 -626
- biotite/sequence/phylo/upgma.cp311-win_amd64.pyd +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.cp311-win_amd64.pyd +0 -0
- biotite/structure/celllist.c +727 -707
- biotite/structure/celllist.cp311-win_amd64.pyd +0 -0
- biotite/structure/charges.c +1561 -1560
- biotite/structure/charges.cp311-win_amd64.pyd +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.cp311-win_amd64.pyd +0 -0
- biotite/structure/io/mmtf/convertfile.c +725 -676
- biotite/structure/io/mmtf/convertfile.cp311-win_amd64.pyd +0 -0
- biotite/structure/io/mmtf/decode.c +1070 -754
- biotite/structure/io/mmtf/decode.cp311-win_amd64.pyd +0 -0
- biotite/structure/io/mmtf/encode.c +727 -677
- biotite/structure/io/mmtf/encode.cp311-win_amd64.pyd +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.cp311-win_amd64.pyd +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.cp311-win_amd64.pyd +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.cp311-win_amd64.pyd +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/upgma.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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1666
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1675
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1684
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1693
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1702
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1711
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1720
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1729
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1738
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1747
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1756
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1765
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1774
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1783
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1792
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1801
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1810
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1819
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1828
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1837
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1846
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1914
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1923
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1932
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1941
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/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,
|
|
@@ -3054,7 +3128,8 @@ typedef const char *__Pyx_TypeName;
|
|
|
3054
3128
|
#endif
|
|
3055
3129
|
|
|
3056
3130
|
/* CheckBinaryVersion.proto */
|
|
3057
|
-
static
|
|
3131
|
+
static unsigned long __Pyx_get_runtime_version(void);
|
|
3132
|
+
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
|
|
3058
3133
|
|
|
3059
3134
|
/* InitStrings.proto */
|
|
3060
3135
|
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
|
|
@@ -4476,8 +4551,7 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
|
|
|
4476
4551
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
4477
4552
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
4478
4553
|
#else
|
|
4479
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
4480
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 131, __pyx_L3_error)
|
|
4554
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
4481
4555
|
#endif
|
|
4482
4556
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
4483
4557
|
{
|
|
@@ -4578,10 +4652,11 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
|
|
|
4578
4652
|
__pyx_v_allocate_buffer = ((int)1);
|
|
4579
4653
|
}
|
|
4580
4654
|
}
|
|
4581
|
-
goto
|
|
4655
|
+
goto __pyx_L6_skip;
|
|
4582
4656
|
__pyx_L5_argtuple_error:;
|
|
4583
4657
|
__Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, __pyx_nargs); __PYX_ERR(1, 131, __pyx_L3_error)
|
|
4584
|
-
|
|
4658
|
+
__pyx_L6_skip:;
|
|
4659
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
4585
4660
|
__pyx_L3_error:;
|
|
4586
4661
|
{
|
|
4587
4662
|
Py_ssize_t __pyx_temp;
|
|
@@ -4864,13 +4939,20 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
|
|
|
4864
4939
|
* raise ValueError, f"Invalid shape in axis {idx}: {dim}."
|
|
4865
4940
|
*/
|
|
4866
4941
|
__pyx_t_7 = 0;
|
|
4867
|
-
__pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4);
|
|
4942
|
+
__pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4);
|
|
4943
|
+
__pyx_t_1 = 0;
|
|
4868
4944
|
for (;;) {
|
|
4869
|
-
|
|
4945
|
+
{
|
|
4946
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
|
|
4947
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
4948
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 159, __pyx_L1_error)
|
|
4949
|
+
#endif
|
|
4950
|
+
if (__pyx_t_1 >= __pyx_temp) break;
|
|
4951
|
+
}
|
|
4870
4952
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
4871
4953
|
__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)
|
|
4872
4954
|
#else
|
|
4873
|
-
__pyx_t_5 =
|
|
4955
|
+
__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)
|
|
4874
4956
|
__Pyx_GOTREF(__pyx_t_5);
|
|
4875
4957
|
#endif
|
|
4876
4958
|
__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)
|
|
@@ -5513,10 +5595,8 @@ static void __pyx_array___dealloc__(PyObject *__pyx_v_self) {
|
|
|
5513
5595
|
}
|
|
5514
5596
|
|
|
5515
5597
|
static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struct __pyx_array_obj *__pyx_v_self) {
|
|
5516
|
-
__Pyx_RefNannyDeclarations
|
|
5517
5598
|
int __pyx_t_1;
|
|
5518
5599
|
int __pyx_t_2;
|
|
5519
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
5520
5600
|
|
|
5521
5601
|
/* "View.MemoryView":211
|
|
5522
5602
|
*
|
|
@@ -5628,7 +5708,6 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
|
|
|
5628
5708
|
*/
|
|
5629
5709
|
|
|
5630
5710
|
/* function exit code */
|
|
5631
|
-
__Pyx_RefNannyFinishContext();
|
|
5632
5711
|
}
|
|
5633
5712
|
|
|
5634
5713
|
/* "View.MemoryView":219
|
|
@@ -5661,7 +5740,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
|
|
|
5661
5740
|
int __pyx_lineno = 0;
|
|
5662
5741
|
const char *__pyx_filename = NULL;
|
|
5663
5742
|
int __pyx_clineno = 0;
|
|
5664
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
5743
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
5665
5744
|
|
|
5666
5745
|
/* "View.MemoryView":221
|
|
5667
5746
|
* @property
|
|
@@ -5714,7 +5793,7 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
5714
5793
|
int __pyx_lineno = 0;
|
|
5715
5794
|
const char *__pyx_filename = NULL;
|
|
5716
5795
|
int __pyx_clineno = 0;
|
|
5717
|
-
__Pyx_RefNannySetupContext("get_memview",
|
|
5796
|
+
__Pyx_RefNannySetupContext("get_memview", 1);
|
|
5718
5797
|
|
|
5719
5798
|
/* "View.MemoryView":225
|
|
5720
5799
|
* @cname('get_memview')
|
|
@@ -5801,8 +5880,6 @@ static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self) {
|
|
|
5801
5880
|
|
|
5802
5881
|
static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(struct __pyx_array_obj *__pyx_v_self) {
|
|
5803
5882
|
Py_ssize_t __pyx_r;
|
|
5804
|
-
__Pyx_RefNannyDeclarations
|
|
5805
|
-
__Pyx_RefNannySetupContext("__len__", 0);
|
|
5806
5883
|
|
|
5807
5884
|
/* "View.MemoryView":229
|
|
5808
5885
|
*
|
|
@@ -5824,7 +5901,6 @@ static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(str
|
|
|
5824
5901
|
|
|
5825
5902
|
/* function exit code */
|
|
5826
5903
|
__pyx_L0:;
|
|
5827
|
-
__Pyx_RefNannyFinishContext();
|
|
5828
5904
|
return __pyx_r;
|
|
5829
5905
|
}
|
|
5830
5906
|
|
|
@@ -5859,7 +5935,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(
|
|
|
5859
5935
|
int __pyx_lineno = 0;
|
|
5860
5936
|
const char *__pyx_filename = NULL;
|
|
5861
5937
|
int __pyx_clineno = 0;
|
|
5862
|
-
__Pyx_RefNannySetupContext("__getattr__",
|
|
5938
|
+
__Pyx_RefNannySetupContext("__getattr__", 1);
|
|
5863
5939
|
|
|
5864
5940
|
/* "View.MemoryView":232
|
|
5865
5941
|
*
|
|
@@ -5929,7 +6005,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__
|
|
|
5929
6005
|
int __pyx_lineno = 0;
|
|
5930
6006
|
const char *__pyx_filename = NULL;
|
|
5931
6007
|
int __pyx_clineno = 0;
|
|
5932
|
-
__Pyx_RefNannySetupContext("__getitem__",
|
|
6008
|
+
__Pyx_RefNannySetupContext("__getitem__", 1);
|
|
5933
6009
|
|
|
5934
6010
|
/* "View.MemoryView":235
|
|
5935
6011
|
*
|
|
@@ -5998,7 +6074,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(struc
|
|
|
5998
6074
|
int __pyx_lineno = 0;
|
|
5999
6075
|
const char *__pyx_filename = NULL;
|
|
6000
6076
|
int __pyx_clineno = 0;
|
|
6001
|
-
__Pyx_RefNannySetupContext("__setitem__",
|
|
6077
|
+
__Pyx_RefNannySetupContext("__setitem__", 1);
|
|
6002
6078
|
|
|
6003
6079
|
/* "View.MemoryView":238
|
|
6004
6080
|
*
|
|
@@ -6057,9 +6133,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6057
6133
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
6058
6134
|
#endif
|
|
6059
6135
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
6060
|
-
int __pyx_lineno = 0;
|
|
6061
|
-
const char *__pyx_filename = NULL;
|
|
6062
|
-
int __pyx_clineno = 0;
|
|
6063
6136
|
PyObject *__pyx_r = 0;
|
|
6064
6137
|
__Pyx_RefNannyDeclarations
|
|
6065
6138
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -6067,21 +6140,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6067
6140
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6068
6141
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6069
6142
|
#else
|
|
6070
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6071
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
6143
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
6072
6144
|
#endif
|
|
6073
6145
|
#endif
|
|
6074
6146
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
6075
6147
|
if (unlikely(__pyx_nargs > 0)) {
|
|
6076
6148
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
6077
6149
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
6078
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
6079
|
-
goto __pyx_L3_error;
|
|
6080
|
-
__pyx_L3_error:;
|
|
6081
|
-
__Pyx_AddTraceback("View.MemoryView.array.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
6082
|
-
__Pyx_RefNannyFinishContext();
|
|
6083
|
-
return NULL;
|
|
6084
|
-
__pyx_L4_argument_unpacking_done:;
|
|
6085
6150
|
__pyx_r = __pyx_pf___pyx_array___reduce_cython__(((struct __pyx_array_obj *)__pyx_v_self));
|
|
6086
6151
|
|
|
6087
6152
|
/* function exit code */
|
|
@@ -6095,7 +6160,7 @@ static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED struct __p
|
|
|
6095
6160
|
int __pyx_lineno = 0;
|
|
6096
6161
|
const char *__pyx_filename = NULL;
|
|
6097
6162
|
int __pyx_clineno = 0;
|
|
6098
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
6163
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
6099
6164
|
|
|
6100
6165
|
/* "(tree fragment)":2
|
|
6101
6166
|
* def __reduce_cython__(self):
|
|
@@ -6159,8 +6224,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6159
6224
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6160
6225
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6161
6226
|
#else
|
|
6162
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6163
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
6227
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
6164
6228
|
#endif
|
|
6165
6229
|
#endif
|
|
6166
6230
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -6195,10 +6259,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6195
6259
|
}
|
|
6196
6260
|
__pyx_v___pyx_state = values[0];
|
|
6197
6261
|
}
|
|
6198
|
-
goto
|
|
6262
|
+
goto __pyx_L6_skip;
|
|
6199
6263
|
__pyx_L5_argtuple_error:;
|
|
6200
6264
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
6201
|
-
|
|
6265
|
+
__pyx_L6_skip:;
|
|
6266
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
6202
6267
|
__pyx_L3_error:;
|
|
6203
6268
|
{
|
|
6204
6269
|
Py_ssize_t __pyx_temp;
|
|
@@ -6229,7 +6294,7 @@ static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED struct
|
|
|
6229
6294
|
int __pyx_lineno = 0;
|
|
6230
6295
|
const char *__pyx_filename = NULL;
|
|
6231
6296
|
int __pyx_clineno = 0;
|
|
6232
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
6297
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
6233
6298
|
|
|
6234
6299
|
/* "(tree fragment)":4
|
|
6235
6300
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -6267,7 +6332,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6267
6332
|
Py_ssize_t __pyx_v_i;
|
|
6268
6333
|
PyObject **__pyx_v_p;
|
|
6269
6334
|
int __pyx_r;
|
|
6270
|
-
__Pyx_RefNannyDeclarations
|
|
6271
6335
|
int __pyx_t_1;
|
|
6272
6336
|
Py_ssize_t __pyx_t_2;
|
|
6273
6337
|
Py_ssize_t __pyx_t_3;
|
|
@@ -6275,7 +6339,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6275
6339
|
int __pyx_lineno = 0;
|
|
6276
6340
|
const char *__pyx_filename = NULL;
|
|
6277
6341
|
int __pyx_clineno = 0;
|
|
6278
|
-
__Pyx_RefNannySetupContext("_allocate_buffer", 0);
|
|
6279
6342
|
|
|
6280
6343
|
/* "View.MemoryView":254
|
|
6281
6344
|
* cdef PyObject **p
|
|
@@ -6413,7 +6476,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6413
6476
|
__Pyx_AddTraceback("View.MemoryView._allocate_buffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
6414
6477
|
__pyx_r = -1;
|
|
6415
6478
|
__pyx_L0:;
|
|
6416
|
-
__Pyx_RefNannyFinishContext();
|
|
6417
6479
|
return __pyx_r;
|
|
6418
6480
|
}
|
|
6419
6481
|
|
|
@@ -6437,7 +6499,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
|
|
|
6437
6499
|
int __pyx_lineno = 0;
|
|
6438
6500
|
const char *__pyx_filename = NULL;
|
|
6439
6501
|
int __pyx_clineno = 0;
|
|
6440
|
-
__Pyx_RefNannySetupContext("array_cwrapper",
|
|
6502
|
+
__Pyx_RefNannySetupContext("array_cwrapper", 1);
|
|
6441
6503
|
|
|
6442
6504
|
/* "View.MemoryView":270
|
|
6443
6505
|
* cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format, char *c_mode, char *buf):
|
|
@@ -6614,8 +6676,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6614
6676
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6615
6677
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6616
6678
|
#else
|
|
6617
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6618
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 304, __pyx_L3_error)
|
|
6679
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
6619
6680
|
#endif
|
|
6620
6681
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
6621
6682
|
{
|
|
@@ -6649,10 +6710,11 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6649
6710
|
}
|
|
6650
6711
|
__pyx_v_name = values[0];
|
|
6651
6712
|
}
|
|
6652
|
-
goto
|
|
6713
|
+
goto __pyx_L6_skip;
|
|
6653
6714
|
__pyx_L5_argtuple_error:;
|
|
6654
6715
|
__Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 304, __pyx_L3_error)
|
|
6655
|
-
|
|
6716
|
+
__pyx_L6_skip:;
|
|
6717
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
6656
6718
|
__pyx_L3_error:;
|
|
6657
6719
|
{
|
|
6658
6720
|
Py_ssize_t __pyx_temp;
|
|
@@ -6680,7 +6742,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6680
6742
|
static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v_name) {
|
|
6681
6743
|
int __pyx_r;
|
|
6682
6744
|
__Pyx_RefNannyDeclarations
|
|
6683
|
-
__Pyx_RefNannySetupContext("__init__",
|
|
6745
|
+
__Pyx_RefNannySetupContext("__init__", 1);
|
|
6684
6746
|
|
|
6685
6747
|
/* "View.MemoryView":305
|
|
6686
6748
|
* cdef object name
|
|
@@ -6735,7 +6797,7 @@ static PyObject *__pyx_MemviewEnum___repr__(PyObject *__pyx_v_self) {
|
|
|
6735
6797
|
static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr__(struct __pyx_MemviewEnum_obj *__pyx_v_self) {
|
|
6736
6798
|
PyObject *__pyx_r = NULL;
|
|
6737
6799
|
__Pyx_RefNannyDeclarations
|
|
6738
|
-
__Pyx_RefNannySetupContext("__repr__",
|
|
6800
|
+
__Pyx_RefNannySetupContext("__repr__", 1);
|
|
6739
6801
|
|
|
6740
6802
|
/* "View.MemoryView":307
|
|
6741
6803
|
* self.name = name
|
|
@@ -6789,9 +6851,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6789
6851
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
6790
6852
|
#endif
|
|
6791
6853
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
6792
|
-
int __pyx_lineno = 0;
|
|
6793
|
-
const char *__pyx_filename = NULL;
|
|
6794
|
-
int __pyx_clineno = 0;
|
|
6795
6854
|
PyObject *__pyx_r = 0;
|
|
6796
6855
|
__Pyx_RefNannyDeclarations
|
|
6797
6856
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -6799,21 +6858,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6799
6858
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6800
6859
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6801
6860
|
#else
|
|
6802
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6803
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
6861
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
6804
6862
|
#endif
|
|
6805
6863
|
#endif
|
|
6806
6864
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
6807
6865
|
if (unlikely(__pyx_nargs > 0)) {
|
|
6808
6866
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
6809
6867
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
6810
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
6811
|
-
goto __pyx_L3_error;
|
|
6812
|
-
__pyx_L3_error:;
|
|
6813
|
-
__Pyx_AddTraceback("View.MemoryView.Enum.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
6814
|
-
__Pyx_RefNannyFinishContext();
|
|
6815
|
-
return NULL;
|
|
6816
|
-
__pyx_L4_argument_unpacking_done:;
|
|
6817
6868
|
__pyx_r = __pyx_pf___pyx_MemviewEnum___reduce_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self));
|
|
6818
6869
|
|
|
6819
6870
|
/* function exit code */
|
|
@@ -6834,7 +6885,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __pyx_Memvi
|
|
|
6834
6885
|
int __pyx_lineno = 0;
|
|
6835
6886
|
const char *__pyx_filename = NULL;
|
|
6836
6887
|
int __pyx_clineno = 0;
|
|
6837
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
6888
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
6838
6889
|
|
|
6839
6890
|
/* "(tree fragment)":5
|
|
6840
6891
|
* cdef object _dict
|
|
@@ -7071,8 +7122,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
7071
7122
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
7072
7123
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
7073
7124
|
#else
|
|
7074
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
7075
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 16, __pyx_L3_error)
|
|
7125
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
7076
7126
|
#endif
|
|
7077
7127
|
#endif
|
|
7078
7128
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -7107,10 +7157,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
7107
7157
|
}
|
|
7108
7158
|
__pyx_v___pyx_state = values[0];
|
|
7109
7159
|
}
|
|
7110
|
-
goto
|
|
7160
|
+
goto __pyx_L6_skip;
|
|
7111
7161
|
__pyx_L5_argtuple_error:;
|
|
7112
7162
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error)
|
|
7113
|
-
|
|
7163
|
+
__pyx_L6_skip:;
|
|
7164
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
7114
7165
|
__pyx_L3_error:;
|
|
7115
7166
|
{
|
|
7116
7167
|
Py_ssize_t __pyx_temp;
|
|
@@ -7142,7 +7193,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct __pyx_Me
|
|
|
7142
7193
|
int __pyx_lineno = 0;
|
|
7143
7194
|
const char *__pyx_filename = NULL;
|
|
7144
7195
|
int __pyx_clineno = 0;
|
|
7145
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
7196
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
7146
7197
|
|
|
7147
7198
|
/* "(tree fragment)":17
|
|
7148
7199
|
* return __pyx_unpickle_Enum, (type(self), 0x82a3537, state)
|
|
@@ -7200,8 +7251,7 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
7200
7251
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
7201
7252
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
7202
7253
|
#else
|
|
7203
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
7204
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 349, __pyx_L3_error)
|
|
7254
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
7205
7255
|
#endif
|
|
7206
7256
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
7207
7257
|
{
|
|
@@ -7267,10 +7317,11 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
7267
7317
|
__pyx_v_dtype_is_object = ((int)0);
|
|
7268
7318
|
}
|
|
7269
7319
|
}
|
|
7270
|
-
goto
|
|
7320
|
+
goto __pyx_L6_skip;
|
|
7271
7321
|
__pyx_L5_argtuple_error:;
|
|
7272
7322
|
__Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, __pyx_nargs); __PYX_ERR(1, 349, __pyx_L3_error)
|
|
7273
|
-
|
|
7323
|
+
__pyx_L6_skip:;
|
|
7324
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
7274
7325
|
__pyx_L3_error:;
|
|
7275
7326
|
{
|
|
7276
7327
|
Py_ssize_t __pyx_temp;
|
|
@@ -7306,7 +7357,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
|
|
|
7306
7357
|
int __pyx_lineno = 0;
|
|
7307
7358
|
const char *__pyx_filename = NULL;
|
|
7308
7359
|
int __pyx_clineno = 0;
|
|
7309
|
-
__Pyx_RefNannySetupContext("__cinit__",
|
|
7360
|
+
__Pyx_RefNannySetupContext("__cinit__", 1);
|
|
7310
7361
|
|
|
7311
7362
|
/* "View.MemoryView":350
|
|
7312
7363
|
*
|
|
@@ -7641,14 +7692,12 @@ static void __pyx_memoryview___dealloc__(PyObject *__pyx_v_self) {
|
|
|
7641
7692
|
|
|
7642
7693
|
static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
7643
7694
|
int __pyx_v_i;
|
|
7644
|
-
__Pyx_RefNannyDeclarations
|
|
7645
7695
|
int __pyx_t_1;
|
|
7646
7696
|
int __pyx_t_2;
|
|
7647
7697
|
int __pyx_t_3;
|
|
7648
7698
|
int __pyx_t_4;
|
|
7649
7699
|
PyThread_type_lock __pyx_t_5;
|
|
7650
7700
|
PyThread_type_lock __pyx_t_6;
|
|
7651
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
7652
7701
|
|
|
7653
7702
|
/* "View.MemoryView":377
|
|
7654
7703
|
*
|
|
@@ -7846,7 +7895,6 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
|
|
|
7846
7895
|
*/
|
|
7847
7896
|
|
|
7848
7897
|
/* function exit code */
|
|
7849
|
-
__Pyx_RefNannyFinishContext();
|
|
7850
7898
|
}
|
|
7851
7899
|
|
|
7852
7900
|
/* "View.MemoryView":397
|
|
@@ -7873,7 +7921,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
7873
7921
|
int __pyx_lineno = 0;
|
|
7874
7922
|
const char *__pyx_filename = NULL;
|
|
7875
7923
|
int __pyx_clineno = 0;
|
|
7876
|
-
__Pyx_RefNannySetupContext("get_item_pointer",
|
|
7924
|
+
__Pyx_RefNannySetupContext("get_item_pointer", 1);
|
|
7877
7925
|
|
|
7878
7926
|
/* "View.MemoryView":399
|
|
7879
7927
|
* cdef char *get_item_pointer(memoryview self, object index) except NULL:
|
|
@@ -7893,7 +7941,8 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
7893
7941
|
*/
|
|
7894
7942
|
__pyx_t_1 = 0;
|
|
7895
7943
|
if (likely(PyList_CheckExact(__pyx_v_index)) || PyTuple_CheckExact(__pyx_v_index)) {
|
|
7896
|
-
__pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2);
|
|
7944
|
+
__pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2);
|
|
7945
|
+
__pyx_t_3 = 0;
|
|
7897
7946
|
__pyx_t_4 = NULL;
|
|
7898
7947
|
} else {
|
|
7899
7948
|
__pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
@@ -7903,19 +7952,31 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
7903
7952
|
for (;;) {
|
|
7904
7953
|
if (likely(!__pyx_t_4)) {
|
|
7905
7954
|
if (likely(PyList_CheckExact(__pyx_t_2))) {
|
|
7906
|
-
|
|
7955
|
+
{
|
|
7956
|
+
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
|
|
7957
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
7958
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
7959
|
+
#endif
|
|
7960
|
+
if (__pyx_t_3 >= __pyx_temp) break;
|
|
7961
|
+
}
|
|
7907
7962
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
7908
7963
|
__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)
|
|
7909
7964
|
#else
|
|
7910
|
-
__pyx_t_5 =
|
|
7965
|
+
__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)
|
|
7911
7966
|
__Pyx_GOTREF(__pyx_t_5);
|
|
7912
7967
|
#endif
|
|
7913
7968
|
} else {
|
|
7914
|
-
|
|
7969
|
+
{
|
|
7970
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
|
|
7971
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
7972
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
7973
|
+
#endif
|
|
7974
|
+
if (__pyx_t_3 >= __pyx_temp) break;
|
|
7975
|
+
}
|
|
7915
7976
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
7916
7977
|
__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)
|
|
7917
7978
|
#else
|
|
7918
|
-
__pyx_t_5 =
|
|
7979
|
+
__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)
|
|
7919
7980
|
__Pyx_GOTREF(__pyx_t_5);
|
|
7920
7981
|
#endif
|
|
7921
7982
|
}
|
|
@@ -8024,7 +8085,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
|
|
|
8024
8085
|
int __pyx_lineno = 0;
|
|
8025
8086
|
const char *__pyx_filename = NULL;
|
|
8026
8087
|
int __pyx_clineno = 0;
|
|
8027
|
-
__Pyx_RefNannySetupContext("__getitem__",
|
|
8088
|
+
__Pyx_RefNannySetupContext("__getitem__", 1);
|
|
8028
8089
|
|
|
8029
8090
|
/* "View.MemoryView":408
|
|
8030
8091
|
*
|
|
@@ -8635,7 +8696,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryvi
|
|
|
8635
8696
|
int __pyx_lineno = 0;
|
|
8636
8697
|
const char *__pyx_filename = NULL;
|
|
8637
8698
|
int __pyx_clineno = 0;
|
|
8638
|
-
__Pyx_RefNannySetupContext("setitem_slice_assignment",
|
|
8699
|
+
__Pyx_RefNannySetupContext("setitem_slice_assignment", 1);
|
|
8639
8700
|
|
|
8640
8701
|
/* "View.MemoryView":448
|
|
8641
8702
|
* cdef __Pyx_memviewslice dst_slice
|
|
@@ -8728,7 +8789,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
|
|
|
8728
8789
|
int __pyx_lineno = 0;
|
|
8729
8790
|
const char *__pyx_filename = NULL;
|
|
8730
8791
|
int __pyx_clineno = 0;
|
|
8731
|
-
__Pyx_RefNannySetupContext("setitem_slice_assign_scalar",
|
|
8792
|
+
__Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 1);
|
|
8732
8793
|
|
|
8733
8794
|
/* "View.MemoryView":455
|
|
8734
8795
|
* cdef setitem_slice_assign_scalar(self, memoryview dst, value):
|
|
@@ -9001,7 +9062,7 @@ static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *_
|
|
|
9001
9062
|
int __pyx_lineno = 0;
|
|
9002
9063
|
const char *__pyx_filename = NULL;
|
|
9003
9064
|
int __pyx_clineno = 0;
|
|
9004
|
-
__Pyx_RefNannySetupContext("setitem_indexed",
|
|
9065
|
+
__Pyx_RefNannySetupContext("setitem_indexed", 1);
|
|
9005
9066
|
|
|
9006
9067
|
/* "View.MemoryView":486
|
|
9007
9068
|
*
|
|
@@ -9072,7 +9133,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
|
|
|
9072
9133
|
int __pyx_lineno = 0;
|
|
9073
9134
|
const char *__pyx_filename = NULL;
|
|
9074
9135
|
int __pyx_clineno = 0;
|
|
9075
|
-
__Pyx_RefNannySetupContext("convert_item_to_object",
|
|
9136
|
+
__Pyx_RefNannySetupContext("convert_item_to_object", 1);
|
|
9076
9137
|
|
|
9077
9138
|
/* "View.MemoryView":492
|
|
9078
9139
|
* """Only used if instantiated manually by the user, or if Cython doesn't
|
|
@@ -9322,7 +9383,7 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
|
|
|
9322
9383
|
int __pyx_lineno = 0;
|
|
9323
9384
|
const char *__pyx_filename = NULL;
|
|
9324
9385
|
int __pyx_clineno = 0;
|
|
9325
|
-
__Pyx_RefNannySetupContext("assign_item_from_object",
|
|
9386
|
+
__Pyx_RefNannySetupContext("assign_item_from_object", 1);
|
|
9326
9387
|
|
|
9327
9388
|
/* "View.MemoryView":508
|
|
9328
9389
|
* """Only used if instantiated manually by the user, or if Cython doesn't
|
|
@@ -9875,7 +9936,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
|
|
|
9875
9936
|
int __pyx_lineno = 0;
|
|
9876
9937
|
const char *__pyx_filename = NULL;
|
|
9877
9938
|
int __pyx_clineno = 0;
|
|
9878
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
9939
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
9879
9940
|
|
|
9880
9941
|
/* "View.MemoryView":556
|
|
9881
9942
|
* @property
|
|
@@ -9961,7 +10022,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
|
|
|
9961
10022
|
int __pyx_lineno = 0;
|
|
9962
10023
|
const char *__pyx_filename = NULL;
|
|
9963
10024
|
int __pyx_clineno = 0;
|
|
9964
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10025
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
9965
10026
|
|
|
9966
10027
|
/* "View.MemoryView":562
|
|
9967
10028
|
* @property
|
|
@@ -10007,7 +10068,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
|
|
|
10007
10068
|
static PyObject *__pyx_memoryview__get_base(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
10008
10069
|
PyObject *__pyx_r = NULL;
|
|
10009
10070
|
__Pyx_RefNannyDeclarations
|
|
10010
|
-
__Pyx_RefNannySetupContext("_get_base",
|
|
10071
|
+
__Pyx_RefNannySetupContext("_get_base", 1);
|
|
10011
10072
|
|
|
10012
10073
|
/* "View.MemoryView":565
|
|
10013
10074
|
*
|
|
@@ -10071,7 +10132,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
|
|
|
10071
10132
|
int __pyx_lineno = 0;
|
|
10072
10133
|
const char *__pyx_filename = NULL;
|
|
10073
10134
|
int __pyx_clineno = 0;
|
|
10074
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10135
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10075
10136
|
|
|
10076
10137
|
/* "View.MemoryView":569
|
|
10077
10138
|
* @property
|
|
@@ -10157,7 +10218,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
|
|
|
10157
10218
|
int __pyx_lineno = 0;
|
|
10158
10219
|
const char *__pyx_filename = NULL;
|
|
10159
10220
|
int __pyx_clineno = 0;
|
|
10160
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10221
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10161
10222
|
|
|
10162
10223
|
/* "View.MemoryView":573
|
|
10163
10224
|
* @property
|
|
@@ -10272,7 +10333,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
|
|
|
10272
10333
|
int __pyx_lineno = 0;
|
|
10273
10334
|
const char *__pyx_filename = NULL;
|
|
10274
10335
|
int __pyx_clineno = 0;
|
|
10275
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10336
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10276
10337
|
|
|
10277
10338
|
/* "View.MemoryView":581
|
|
10278
10339
|
* @property
|
|
@@ -10385,7 +10446,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
|
|
|
10385
10446
|
int __pyx_lineno = 0;
|
|
10386
10447
|
const char *__pyx_filename = NULL;
|
|
10387
10448
|
int __pyx_clineno = 0;
|
|
10388
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10449
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10389
10450
|
|
|
10390
10451
|
/* "View.MemoryView":588
|
|
10391
10452
|
* @property
|
|
@@ -10450,7 +10511,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
|
|
|
10450
10511
|
int __pyx_lineno = 0;
|
|
10451
10512
|
const char *__pyx_filename = NULL;
|
|
10452
10513
|
int __pyx_clineno = 0;
|
|
10453
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10514
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10454
10515
|
|
|
10455
10516
|
/* "View.MemoryView":592
|
|
10456
10517
|
* @property
|
|
@@ -10517,7 +10578,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
|
|
|
10517
10578
|
int __pyx_lineno = 0;
|
|
10518
10579
|
const char *__pyx_filename = NULL;
|
|
10519
10580
|
int __pyx_clineno = 0;
|
|
10520
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10581
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10521
10582
|
|
|
10522
10583
|
/* "View.MemoryView":596
|
|
10523
10584
|
* @property
|
|
@@ -10596,7 +10657,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
|
|
|
10596
10657
|
int __pyx_lineno = 0;
|
|
10597
10658
|
const char *__pyx_filename = NULL;
|
|
10598
10659
|
int __pyx_clineno = 0;
|
|
10599
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10660
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10600
10661
|
|
|
10601
10662
|
/* "View.MemoryView":600
|
|
10602
10663
|
* @property
|
|
@@ -10726,9 +10787,7 @@ static Py_ssize_t __pyx_memoryview___len__(PyObject *__pyx_v_self) {
|
|
|
10726
10787
|
|
|
10727
10788
|
static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_10__len__(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
10728
10789
|
Py_ssize_t __pyx_r;
|
|
10729
|
-
__Pyx_RefNannyDeclarations
|
|
10730
10790
|
int __pyx_t_1;
|
|
10731
|
-
__Pyx_RefNannySetupContext("__len__", 0);
|
|
10732
10791
|
|
|
10733
10792
|
/* "View.MemoryView":611
|
|
10734
10793
|
*
|
|
@@ -10779,7 +10838,6 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
|
|
|
10779
10838
|
|
|
10780
10839
|
/* function exit code */
|
|
10781
10840
|
__pyx_L0:;
|
|
10782
|
-
__Pyx_RefNannyFinishContext();
|
|
10783
10841
|
return __pyx_r;
|
|
10784
10842
|
}
|
|
10785
10843
|
|
|
@@ -10815,7 +10873,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
|
|
|
10815
10873
|
int __pyx_lineno = 0;
|
|
10816
10874
|
const char *__pyx_filename = NULL;
|
|
10817
10875
|
int __pyx_clineno = 0;
|
|
10818
|
-
__Pyx_RefNannySetupContext("__repr__",
|
|
10876
|
+
__Pyx_RefNannySetupContext("__repr__", 1);
|
|
10819
10877
|
|
|
10820
10878
|
/* "View.MemoryView":617
|
|
10821
10879
|
*
|
|
@@ -10918,7 +10976,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
|
|
|
10918
10976
|
int __pyx_lineno = 0;
|
|
10919
10977
|
const char *__pyx_filename = NULL;
|
|
10920
10978
|
int __pyx_clineno = 0;
|
|
10921
|
-
__Pyx_RefNannySetupContext("__str__",
|
|
10979
|
+
__Pyx_RefNannySetupContext("__str__", 1);
|
|
10922
10980
|
|
|
10923
10981
|
/* "View.MemoryView":621
|
|
10924
10982
|
*
|
|
@@ -10995,9 +11053,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
10995
11053
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
10996
11054
|
#endif
|
|
10997
11055
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
10998
|
-
int __pyx_lineno = 0;
|
|
10999
|
-
const char *__pyx_filename = NULL;
|
|
11000
|
-
int __pyx_clineno = 0;
|
|
11001
11056
|
PyObject *__pyx_r = 0;
|
|
11002
11057
|
__Pyx_RefNannyDeclarations
|
|
11003
11058
|
__Pyx_RefNannySetupContext("is_c_contig (wrapper)", 0);
|
|
@@ -11005,21 +11060,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11005
11060
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11006
11061
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11007
11062
|
#else
|
|
11008
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11009
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 624, __pyx_L3_error)
|
|
11063
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11010
11064
|
#endif
|
|
11011
11065
|
#endif
|
|
11012
11066
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11013
11067
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11014
11068
|
__Pyx_RaiseArgtupleInvalid("is_c_contig", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11015
11069
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_c_contig", 0))) return NULL;
|
|
11016
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11017
|
-
goto __pyx_L3_error;
|
|
11018
|
-
__pyx_L3_error:;
|
|
11019
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.is_c_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11020
|
-
__Pyx_RefNannyFinishContext();
|
|
11021
|
-
return NULL;
|
|
11022
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11023
11070
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11024
11071
|
|
|
11025
11072
|
/* function exit code */
|
|
@@ -11037,7 +11084,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
|
|
|
11037
11084
|
int __pyx_lineno = 0;
|
|
11038
11085
|
const char *__pyx_filename = NULL;
|
|
11039
11086
|
int __pyx_clineno = 0;
|
|
11040
|
-
__Pyx_RefNannySetupContext("is_c_contig",
|
|
11087
|
+
__Pyx_RefNannySetupContext("is_c_contig", 1);
|
|
11041
11088
|
|
|
11042
11089
|
/* "View.MemoryView":627
|
|
11043
11090
|
* cdef __Pyx_memviewslice *mslice
|
|
@@ -11109,9 +11156,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11109
11156
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11110
11157
|
#endif
|
|
11111
11158
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11112
|
-
int __pyx_lineno = 0;
|
|
11113
|
-
const char *__pyx_filename = NULL;
|
|
11114
|
-
int __pyx_clineno = 0;
|
|
11115
11159
|
PyObject *__pyx_r = 0;
|
|
11116
11160
|
__Pyx_RefNannyDeclarations
|
|
11117
11161
|
__Pyx_RefNannySetupContext("is_f_contig (wrapper)", 0);
|
|
@@ -11119,21 +11163,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11119
11163
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11120
11164
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11121
11165
|
#else
|
|
11122
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11123
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 630, __pyx_L3_error)
|
|
11166
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11124
11167
|
#endif
|
|
11125
11168
|
#endif
|
|
11126
11169
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11127
11170
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11128
11171
|
__Pyx_RaiseArgtupleInvalid("is_f_contig", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11129
11172
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_f_contig", 0))) return NULL;
|
|
11130
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11131
|
-
goto __pyx_L3_error;
|
|
11132
|
-
__pyx_L3_error:;
|
|
11133
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.is_f_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11134
|
-
__Pyx_RefNannyFinishContext();
|
|
11135
|
-
return NULL;
|
|
11136
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11137
11173
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11138
11174
|
|
|
11139
11175
|
/* function exit code */
|
|
@@ -11151,7 +11187,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
|
|
|
11151
11187
|
int __pyx_lineno = 0;
|
|
11152
11188
|
const char *__pyx_filename = NULL;
|
|
11153
11189
|
int __pyx_clineno = 0;
|
|
11154
|
-
__Pyx_RefNannySetupContext("is_f_contig",
|
|
11190
|
+
__Pyx_RefNannySetupContext("is_f_contig", 1);
|
|
11155
11191
|
|
|
11156
11192
|
/* "View.MemoryView":633
|
|
11157
11193
|
* cdef __Pyx_memviewslice *mslice
|
|
@@ -11223,9 +11259,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11223
11259
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11224
11260
|
#endif
|
|
11225
11261
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11226
|
-
int __pyx_lineno = 0;
|
|
11227
|
-
const char *__pyx_filename = NULL;
|
|
11228
|
-
int __pyx_clineno = 0;
|
|
11229
11262
|
PyObject *__pyx_r = 0;
|
|
11230
11263
|
__Pyx_RefNannyDeclarations
|
|
11231
11264
|
__Pyx_RefNannySetupContext("copy (wrapper)", 0);
|
|
@@ -11233,21 +11266,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11233
11266
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11234
11267
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11235
11268
|
#else
|
|
11236
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11237
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 636, __pyx_L3_error)
|
|
11269
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11238
11270
|
#endif
|
|
11239
11271
|
#endif
|
|
11240
11272
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11241
11273
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11242
11274
|
__Pyx_RaiseArgtupleInvalid("copy", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11243
11275
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy", 0))) return NULL;
|
|
11244
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11245
|
-
goto __pyx_L3_error;
|
|
11246
|
-
__pyx_L3_error:;
|
|
11247
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.copy", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11248
|
-
__Pyx_RefNannyFinishContext();
|
|
11249
|
-
return NULL;
|
|
11250
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11251
11276
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11252
11277
|
|
|
11253
11278
|
/* function exit code */
|
|
@@ -11265,7 +11290,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
|
|
|
11265
11290
|
int __pyx_lineno = 0;
|
|
11266
11291
|
const char *__pyx_filename = NULL;
|
|
11267
11292
|
int __pyx_clineno = 0;
|
|
11268
|
-
__Pyx_RefNannySetupContext("copy",
|
|
11293
|
+
__Pyx_RefNannySetupContext("copy", 1);
|
|
11269
11294
|
|
|
11270
11295
|
/* "View.MemoryView":638
|
|
11271
11296
|
* def copy(self):
|
|
@@ -11355,9 +11380,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11355
11380
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11356
11381
|
#endif
|
|
11357
11382
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11358
|
-
int __pyx_lineno = 0;
|
|
11359
|
-
const char *__pyx_filename = NULL;
|
|
11360
|
-
int __pyx_clineno = 0;
|
|
11361
11383
|
PyObject *__pyx_r = 0;
|
|
11362
11384
|
__Pyx_RefNannyDeclarations
|
|
11363
11385
|
__Pyx_RefNannySetupContext("copy_fortran (wrapper)", 0);
|
|
@@ -11365,21 +11387,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11365
11387
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11366
11388
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11367
11389
|
#else
|
|
11368
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11369
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 648, __pyx_L3_error)
|
|
11390
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11370
11391
|
#endif
|
|
11371
11392
|
#endif
|
|
11372
11393
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11373
11394
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11374
11395
|
__Pyx_RaiseArgtupleInvalid("copy_fortran", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11375
11396
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy_fortran", 0))) return NULL;
|
|
11376
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11377
|
-
goto __pyx_L3_error;
|
|
11378
|
-
__pyx_L3_error:;
|
|
11379
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.copy_fortran", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11380
|
-
__Pyx_RefNannyFinishContext();
|
|
11381
|
-
return NULL;
|
|
11382
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11383
11397
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11384
11398
|
|
|
11385
11399
|
/* function exit code */
|
|
@@ -11398,7 +11412,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
|
|
|
11398
11412
|
int __pyx_lineno = 0;
|
|
11399
11413
|
const char *__pyx_filename = NULL;
|
|
11400
11414
|
int __pyx_clineno = 0;
|
|
11401
|
-
__Pyx_RefNannySetupContext("copy_fortran",
|
|
11415
|
+
__Pyx_RefNannySetupContext("copy_fortran", 1);
|
|
11402
11416
|
|
|
11403
11417
|
/* "View.MemoryView":650
|
|
11404
11418
|
* def copy_fortran(self):
|
|
@@ -11486,9 +11500,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11486
11500
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11487
11501
|
#endif
|
|
11488
11502
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11489
|
-
int __pyx_lineno = 0;
|
|
11490
|
-
const char *__pyx_filename = NULL;
|
|
11491
|
-
int __pyx_clineno = 0;
|
|
11492
11503
|
PyObject *__pyx_r = 0;
|
|
11493
11504
|
__Pyx_RefNannyDeclarations
|
|
11494
11505
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -11496,21 +11507,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11496
11507
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11497
11508
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11498
11509
|
#else
|
|
11499
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11500
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
11510
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11501
11511
|
#endif
|
|
11502
11512
|
#endif
|
|
11503
11513
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11504
11514
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11505
11515
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11506
11516
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
11507
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11508
|
-
goto __pyx_L3_error;
|
|
11509
|
-
__pyx_L3_error:;
|
|
11510
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11511
|
-
__Pyx_RefNannyFinishContext();
|
|
11512
|
-
return NULL;
|
|
11513
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11514
11517
|
__pyx_r = __pyx_pf___pyx_memoryview___reduce_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11515
11518
|
|
|
11516
11519
|
/* function exit code */
|
|
@@ -11524,7 +11527,7 @@ static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUSED struc
|
|
|
11524
11527
|
int __pyx_lineno = 0;
|
|
11525
11528
|
const char *__pyx_filename = NULL;
|
|
11526
11529
|
int __pyx_clineno = 0;
|
|
11527
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
11530
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
11528
11531
|
|
|
11529
11532
|
/* "(tree fragment)":2
|
|
11530
11533
|
* def __reduce_cython__(self):
|
|
@@ -11588,8 +11591,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11588
11591
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11589
11592
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11590
11593
|
#else
|
|
11591
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11592
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
11594
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11593
11595
|
#endif
|
|
11594
11596
|
#endif
|
|
11595
11597
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -11624,10 +11626,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11624
11626
|
}
|
|
11625
11627
|
__pyx_v___pyx_state = values[0];
|
|
11626
11628
|
}
|
|
11627
|
-
goto
|
|
11629
|
+
goto __pyx_L6_skip;
|
|
11628
11630
|
__pyx_L5_argtuple_error:;
|
|
11629
11631
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
11630
|
-
|
|
11632
|
+
__pyx_L6_skip:;
|
|
11633
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
11631
11634
|
__pyx_L3_error:;
|
|
11632
11635
|
{
|
|
11633
11636
|
Py_ssize_t __pyx_temp;
|
|
@@ -11658,7 +11661,7 @@ static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_UNUSED st
|
|
|
11658
11661
|
int __pyx_lineno = 0;
|
|
11659
11662
|
const char *__pyx_filename = NULL;
|
|
11660
11663
|
int __pyx_clineno = 0;
|
|
11661
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
11664
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
11662
11665
|
|
|
11663
11666
|
/* "(tree fragment)":4
|
|
11664
11667
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -11702,7 +11705,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
|
|
|
11702
11705
|
int __pyx_lineno = 0;
|
|
11703
11706
|
const char *__pyx_filename = NULL;
|
|
11704
11707
|
int __pyx_clineno = 0;
|
|
11705
|
-
__Pyx_RefNannySetupContext("memoryview_cwrapper",
|
|
11708
|
+
__Pyx_RefNannySetupContext("memoryview_cwrapper", 1);
|
|
11706
11709
|
|
|
11707
11710
|
/* "View.MemoryView":663
|
|
11708
11711
|
* @cname('__pyx_memoryview_new')
|
|
@@ -11785,9 +11788,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
|
|
|
11785
11788
|
|
|
11786
11789
|
static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
|
|
11787
11790
|
int __pyx_r;
|
|
11788
|
-
__Pyx_RefNannyDeclarations
|
|
11789
11791
|
int __pyx_t_1;
|
|
11790
|
-
__Pyx_RefNannySetupContext("memoryview_check", 0);
|
|
11791
11792
|
|
|
11792
11793
|
/* "View.MemoryView":669
|
|
11793
11794
|
* @cname('__pyx_memoryview_check')
|
|
@@ -11810,7 +11811,6 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
|
|
|
11810
11811
|
|
|
11811
11812
|
/* function exit code */
|
|
11812
11813
|
__pyx_L0:;
|
|
11813
|
-
__Pyx_RefNannyFinishContext();
|
|
11814
11814
|
return __pyx_r;
|
|
11815
11815
|
}
|
|
11816
11816
|
|
|
@@ -11842,7 +11842,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
11842
11842
|
int __pyx_lineno = 0;
|
|
11843
11843
|
const char *__pyx_filename = NULL;
|
|
11844
11844
|
int __pyx_clineno = 0;
|
|
11845
|
-
__Pyx_RefNannySetupContext("_unellipsify",
|
|
11845
|
+
__Pyx_RefNannySetupContext("_unellipsify", 1);
|
|
11846
11846
|
|
|
11847
11847
|
/* "View.MemoryView":677
|
|
11848
11848
|
* """
|
|
@@ -11924,13 +11924,20 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
11924
11924
|
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
|
|
11925
11925
|
__PYX_ERR(1, 683, __pyx_L1_error)
|
|
11926
11926
|
}
|
|
11927
|
-
__pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1);
|
|
11927
|
+
__pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1);
|
|
11928
|
+
__pyx_t_4 = 0;
|
|
11928
11929
|
for (;;) {
|
|
11929
|
-
|
|
11930
|
+
{
|
|
11931
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
|
|
11932
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
11933
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 683, __pyx_L1_error)
|
|
11934
|
+
#endif
|
|
11935
|
+
if (__pyx_t_4 >= __pyx_temp) break;
|
|
11936
|
+
}
|
|
11930
11937
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
11931
11938
|
__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)
|
|
11932
11939
|
#else
|
|
11933
|
-
__pyx_t_3 =
|
|
11940
|
+
__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)
|
|
11934
11941
|
__Pyx_GOTREF(__pyx_t_3);
|
|
11935
11942
|
#endif
|
|
11936
11943
|
__Pyx_XDECREF_SET(__pyx_v_item, __pyx_t_3);
|
|
@@ -12199,7 +12206,6 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
12199
12206
|
static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_ndim) {
|
|
12200
12207
|
Py_ssize_t __pyx_v_suboffset;
|
|
12201
12208
|
int __pyx_r;
|
|
12202
|
-
__Pyx_RefNannyDeclarations
|
|
12203
12209
|
Py_ssize_t *__pyx_t_1;
|
|
12204
12210
|
Py_ssize_t *__pyx_t_2;
|
|
12205
12211
|
Py_ssize_t *__pyx_t_3;
|
|
@@ -12207,7 +12213,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
|
|
|
12207
12213
|
int __pyx_lineno = 0;
|
|
12208
12214
|
const char *__pyx_filename = NULL;
|
|
12209
12215
|
int __pyx_clineno = 0;
|
|
12210
|
-
__Pyx_RefNannySetupContext("assert_direct_dimensions", 0);
|
|
12211
12216
|
|
|
12212
12217
|
/* "View.MemoryView":701
|
|
12213
12218
|
*
|
|
@@ -12274,7 +12279,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
|
|
|
12274
12279
|
__Pyx_AddTraceback("View.MemoryView.assert_direct_dimensions", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
12275
12280
|
__pyx_r = -1;
|
|
12276
12281
|
__pyx_L0:;
|
|
12277
|
-
__Pyx_RefNannyFinishContext();
|
|
12278
12282
|
return __pyx_r;
|
|
12279
12283
|
}
|
|
12280
12284
|
|
|
@@ -12320,7 +12324,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
12320
12324
|
int __pyx_lineno = 0;
|
|
12321
12325
|
const char *__pyx_filename = NULL;
|
|
12322
12326
|
int __pyx_clineno = 0;
|
|
12323
|
-
__Pyx_RefNannySetupContext("memview_slice",
|
|
12327
|
+
__Pyx_RefNannySetupContext("memview_slice", 1);
|
|
12324
12328
|
|
|
12325
12329
|
/* "View.MemoryView":712
|
|
12326
12330
|
* @cname('__pyx_memview_slice')
|
|
@@ -12470,7 +12474,8 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
12470
12474
|
*/
|
|
12471
12475
|
__pyx_t_5 = 0;
|
|
12472
12476
|
if (likely(PyList_CheckExact(__pyx_v_indices)) || PyTuple_CheckExact(__pyx_v_indices)) {
|
|
12473
|
-
__pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2);
|
|
12477
|
+
__pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2);
|
|
12478
|
+
__pyx_t_6 = 0;
|
|
12474
12479
|
__pyx_t_7 = NULL;
|
|
12475
12480
|
} else {
|
|
12476
12481
|
__pyx_t_6 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_indices); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
@@ -12480,19 +12485,31 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
12480
12485
|
for (;;) {
|
|
12481
12486
|
if (likely(!__pyx_t_7)) {
|
|
12482
12487
|
if (likely(PyList_CheckExact(__pyx_t_2))) {
|
|
12483
|
-
|
|
12488
|
+
{
|
|
12489
|
+
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
|
|
12490
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
12491
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
12492
|
+
#endif
|
|
12493
|
+
if (__pyx_t_6 >= __pyx_temp) break;
|
|
12494
|
+
}
|
|
12484
12495
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
12485
12496
|
__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)
|
|
12486
12497
|
#else
|
|
12487
|
-
__pyx_t_8 =
|
|
12498
|
+
__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)
|
|
12488
12499
|
__Pyx_GOTREF(__pyx_t_8);
|
|
12489
12500
|
#endif
|
|
12490
12501
|
} else {
|
|
12491
|
-
|
|
12502
|
+
{
|
|
12503
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
|
|
12504
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
12505
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
12506
|
+
#endif
|
|
12507
|
+
if (__pyx_t_6 >= __pyx_temp) break;
|
|
12508
|
+
}
|
|
12492
12509
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
12493
12510
|
__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)
|
|
12494
12511
|
#else
|
|
12495
|
-
__pyx_t_8 =
|
|
12512
|
+
__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)
|
|
12496
12513
|
__Pyx_GOTREF(__pyx_t_8);
|
|
12497
12514
|
#endif
|
|
12498
12515
|
}
|
|
@@ -12871,7 +12888,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
12871
12888
|
Py_ssize_t __pyx_v_new_shape;
|
|
12872
12889
|
int __pyx_v_negative_step;
|
|
12873
12890
|
int __pyx_r;
|
|
12874
|
-
__Pyx_RefNannyDeclarations
|
|
12875
12891
|
int __pyx_t_1;
|
|
12876
12892
|
int __pyx_t_2;
|
|
12877
12893
|
int __pyx_t_3;
|
|
@@ -12881,7 +12897,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
12881
12897
|
#ifdef WITH_THREAD
|
|
12882
12898
|
PyGILState_STATE __pyx_gilstate_save;
|
|
12883
12899
|
#endif
|
|
12884
|
-
__Pyx_RefNannySetupContext("slice_memviewslice", 1);
|
|
12885
12900
|
|
|
12886
12901
|
/* "View.MemoryView":813
|
|
12887
12902
|
* cdef bint negative_step
|
|
@@ -13636,7 +13651,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
13636
13651
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
13637
13652
|
#endif
|
|
13638
13653
|
__pyx_L0:;
|
|
13639
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
13640
13654
|
return __pyx_r;
|
|
13641
13655
|
}
|
|
13642
13656
|
|
|
@@ -13664,7 +13678,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
|
|
|
13664
13678
|
int __pyx_lineno = 0;
|
|
13665
13679
|
const char *__pyx_filename = NULL;
|
|
13666
13680
|
int __pyx_clineno = 0;
|
|
13667
|
-
__Pyx_RefNannySetupContext("pybuffer_index",
|
|
13681
|
+
__Pyx_RefNannySetupContext("pybuffer_index", 1);
|
|
13668
13682
|
|
|
13669
13683
|
/* "View.MemoryView":898
|
|
13670
13684
|
* cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,
|
|
@@ -13991,7 +14005,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
13991
14005
|
int __pyx_v_i;
|
|
13992
14006
|
int __pyx_v_j;
|
|
13993
14007
|
int __pyx_r;
|
|
13994
|
-
__Pyx_RefNannyDeclarations
|
|
13995
14008
|
int __pyx_t_1;
|
|
13996
14009
|
Py_ssize_t *__pyx_t_2;
|
|
13997
14010
|
long __pyx_t_3;
|
|
@@ -14007,7 +14020,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
14007
14020
|
#ifdef WITH_THREAD
|
|
14008
14021
|
PyGILState_STATE __pyx_gilstate_save;
|
|
14009
14022
|
#endif
|
|
14010
|
-
__Pyx_RefNannySetupContext("transpose_memslice", 1);
|
|
14011
14023
|
|
|
14012
14024
|
/* "View.MemoryView":930
|
|
14013
14025
|
* @cname('__pyx_memslice_transpose')
|
|
@@ -14150,7 +14162,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
14150
14162
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
14151
14163
|
#endif
|
|
14152
14164
|
__pyx_L0:;
|
|
14153
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
14154
14165
|
return __pyx_r;
|
|
14155
14166
|
}
|
|
14156
14167
|
|
|
@@ -14176,8 +14187,6 @@ static void __pyx_memoryviewslice___dealloc__(PyObject *__pyx_v_self) {
|
|
|
14176
14187
|
}
|
|
14177
14188
|
|
|
14178
14189
|
static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewslice___dealloc__(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
|
|
14179
|
-
__Pyx_RefNannyDeclarations
|
|
14180
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
14181
14190
|
|
|
14182
14191
|
/* "View.MemoryView":964
|
|
14183
14192
|
*
|
|
@@ -14197,7 +14206,6 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
|
|
|
14197
14206
|
*/
|
|
14198
14207
|
|
|
14199
14208
|
/* function exit code */
|
|
14200
|
-
__Pyx_RefNannyFinishContext();
|
|
14201
14209
|
}
|
|
14202
14210
|
|
|
14203
14211
|
/* "View.MemoryView":966
|
|
@@ -14216,7 +14224,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
|
|
|
14216
14224
|
int __pyx_lineno = 0;
|
|
14217
14225
|
const char *__pyx_filename = NULL;
|
|
14218
14226
|
int __pyx_clineno = 0;
|
|
14219
|
-
__Pyx_RefNannySetupContext("convert_item_to_object",
|
|
14227
|
+
__Pyx_RefNannySetupContext("convert_item_to_object", 1);
|
|
14220
14228
|
|
|
14221
14229
|
/* "View.MemoryView":967
|
|
14222
14230
|
*
|
|
@@ -14303,7 +14311,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
|
|
|
14303
14311
|
int __pyx_lineno = 0;
|
|
14304
14312
|
const char *__pyx_filename = NULL;
|
|
14305
14313
|
int __pyx_clineno = 0;
|
|
14306
|
-
__Pyx_RefNannySetupContext("assign_item_from_object",
|
|
14314
|
+
__Pyx_RefNannySetupContext("assign_item_from_object", 1);
|
|
14307
14315
|
|
|
14308
14316
|
/* "View.MemoryView":973
|
|
14309
14317
|
*
|
|
@@ -14380,7 +14388,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
|
|
|
14380
14388
|
static PyObject *__pyx_memoryviewslice__get_base(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
|
|
14381
14389
|
PyObject *__pyx_r = NULL;
|
|
14382
14390
|
__Pyx_RefNannyDeclarations
|
|
14383
|
-
__Pyx_RefNannySetupContext("_get_base",
|
|
14391
|
+
__Pyx_RefNannySetupContext("_get_base", 1);
|
|
14384
14392
|
|
|
14385
14393
|
/* "View.MemoryView":979
|
|
14386
14394
|
*
|
|
@@ -14434,9 +14442,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14434
14442
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
14435
14443
|
#endif
|
|
14436
14444
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
14437
|
-
int __pyx_lineno = 0;
|
|
14438
|
-
const char *__pyx_filename = NULL;
|
|
14439
|
-
int __pyx_clineno = 0;
|
|
14440
14445
|
PyObject *__pyx_r = 0;
|
|
14441
14446
|
__Pyx_RefNannyDeclarations
|
|
14442
14447
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -14444,21 +14449,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14444
14449
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
14445
14450
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
14446
14451
|
#else
|
|
14447
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
14448
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
14452
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
14449
14453
|
#endif
|
|
14450
14454
|
#endif
|
|
14451
14455
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
14452
14456
|
if (unlikely(__pyx_nargs > 0)) {
|
|
14453
14457
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
14454
14458
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
14455
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
14456
|
-
goto __pyx_L3_error;
|
|
14457
|
-
__pyx_L3_error:;
|
|
14458
|
-
__Pyx_AddTraceback("View.MemoryView._memoryviewslice.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
14459
|
-
__Pyx_RefNannyFinishContext();
|
|
14460
|
-
return NULL;
|
|
14461
|
-
__pyx_L4_argument_unpacking_done:;
|
|
14462
14459
|
__pyx_r = __pyx_pf___pyx_memoryviewslice___reduce_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self));
|
|
14463
14460
|
|
|
14464
14461
|
/* function exit code */
|
|
@@ -14472,7 +14469,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON_UNUSED
|
|
|
14472
14469
|
int __pyx_lineno = 0;
|
|
14473
14470
|
const char *__pyx_filename = NULL;
|
|
14474
14471
|
int __pyx_clineno = 0;
|
|
14475
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
14472
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
14476
14473
|
|
|
14477
14474
|
/* "(tree fragment)":2
|
|
14478
14475
|
* def __reduce_cython__(self):
|
|
@@ -14536,8 +14533,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14536
14533
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
14537
14534
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
14538
14535
|
#else
|
|
14539
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
14540
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
14536
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
14541
14537
|
#endif
|
|
14542
14538
|
#endif
|
|
14543
14539
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -14572,10 +14568,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14572
14568
|
}
|
|
14573
14569
|
__pyx_v___pyx_state = values[0];
|
|
14574
14570
|
}
|
|
14575
|
-
goto
|
|
14571
|
+
goto __pyx_L6_skip;
|
|
14576
14572
|
__pyx_L5_argtuple_error:;
|
|
14577
14573
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
14578
|
-
|
|
14574
|
+
__pyx_L6_skip:;
|
|
14575
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
14579
14576
|
__pyx_L3_error:;
|
|
14580
14577
|
{
|
|
14581
14578
|
Py_ssize_t __pyx_temp;
|
|
@@ -14606,7 +14603,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYTHON_UNUS
|
|
|
14606
14603
|
int __pyx_lineno = 0;
|
|
14607
14604
|
const char *__pyx_filename = NULL;
|
|
14608
14605
|
int __pyx_clineno = 0;
|
|
14609
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
14606
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
14610
14607
|
|
|
14611
14608
|
/* "(tree fragment)":4
|
|
14612
14609
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -14658,7 +14655,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
|
|
|
14658
14655
|
int __pyx_lineno = 0;
|
|
14659
14656
|
const char *__pyx_filename = NULL;
|
|
14660
14657
|
int __pyx_clineno = 0;
|
|
14661
|
-
__Pyx_RefNannySetupContext("memoryview_fromslice",
|
|
14658
|
+
__Pyx_RefNannySetupContext("memoryview_fromslice", 1);
|
|
14662
14659
|
|
|
14663
14660
|
/* "View.MemoryView":1007
|
|
14664
14661
|
* cdef _memoryviewslice result
|
|
@@ -15035,7 +15032,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
|
|
|
15035
15032
|
int __pyx_lineno = 0;
|
|
15036
15033
|
const char *__pyx_filename = NULL;
|
|
15037
15034
|
int __pyx_clineno = 0;
|
|
15038
|
-
__Pyx_RefNannySetupContext("get_slice_from_memview",
|
|
15035
|
+
__Pyx_RefNannySetupContext("get_slice_from_memview", 1);
|
|
15039
15036
|
|
|
15040
15037
|
/* "View.MemoryView":1055
|
|
15041
15038
|
* __Pyx_memviewslice *mslice) except NULL:
|
|
@@ -15132,14 +15129,12 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
|
|
|
15132
15129
|
Py_ssize_t *__pyx_v_shape;
|
|
15133
15130
|
Py_ssize_t *__pyx_v_strides;
|
|
15134
15131
|
Py_ssize_t *__pyx_v_suboffsets;
|
|
15135
|
-
__Pyx_RefNannyDeclarations
|
|
15136
15132
|
Py_ssize_t *__pyx_t_1;
|
|
15137
15133
|
int __pyx_t_2;
|
|
15138
15134
|
int __pyx_t_3;
|
|
15139
15135
|
int __pyx_t_4;
|
|
15140
15136
|
Py_ssize_t __pyx_t_5;
|
|
15141
15137
|
int __pyx_t_6;
|
|
15142
|
-
__Pyx_RefNannySetupContext("slice_copy", 0);
|
|
15143
15138
|
|
|
15144
15139
|
/* "View.MemoryView":1067
|
|
15145
15140
|
* cdef (Py_ssize_t*) shape, strides, suboffsets
|
|
@@ -15244,7 +15239,6 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
|
|
|
15244
15239
|
*/
|
|
15245
15240
|
|
|
15246
15241
|
/* function exit code */
|
|
15247
|
-
__Pyx_RefNannyFinishContext();
|
|
15248
15242
|
}
|
|
15249
15243
|
|
|
15250
15244
|
/* "View.MemoryView":1080
|
|
@@ -15263,7 +15257,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
|
|
|
15263
15257
|
int __pyx_lineno = 0;
|
|
15264
15258
|
const char *__pyx_filename = NULL;
|
|
15265
15259
|
int __pyx_clineno = 0;
|
|
15266
|
-
__Pyx_RefNannySetupContext("memoryview_copy",
|
|
15260
|
+
__Pyx_RefNannySetupContext("memoryview_copy", 1);
|
|
15267
15261
|
|
|
15268
15262
|
/* "View.MemoryView":1083
|
|
15269
15263
|
* "Create a new memoryview object"
|
|
@@ -15327,7 +15321,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
|
|
|
15327
15321
|
int __pyx_lineno = 0;
|
|
15328
15322
|
const char *__pyx_filename = NULL;
|
|
15329
15323
|
int __pyx_clineno = 0;
|
|
15330
|
-
__Pyx_RefNannySetupContext("memoryview_copy_from_slice",
|
|
15324
|
+
__Pyx_RefNannySetupContext("memoryview_copy_from_slice", 1);
|
|
15331
15325
|
|
|
15332
15326
|
/* "View.MemoryView":1094
|
|
15333
15327
|
* cdef int (*to_dtype_func)(char *, object) except 0
|
|
@@ -16136,7 +16130,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
16136
16130
|
size_t __pyx_v_itemsize;
|
|
16137
16131
|
size_t __pyx_v_size;
|
|
16138
16132
|
void *__pyx_r;
|
|
16139
|
-
__Pyx_RefNannyDeclarations
|
|
16140
16133
|
Py_ssize_t __pyx_t_1;
|
|
16141
16134
|
int __pyx_t_2;
|
|
16142
16135
|
int __pyx_t_3;
|
|
@@ -16149,7 +16142,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
16149
16142
|
#ifdef WITH_THREAD
|
|
16150
16143
|
PyGILState_STATE __pyx_gilstate_save;
|
|
16151
16144
|
#endif
|
|
16152
|
-
__Pyx_RefNannySetupContext("copy_data_to_temp", 1);
|
|
16153
16145
|
|
|
16154
16146
|
/* "View.MemoryView":1216
|
|
16155
16147
|
* cdef void *result
|
|
@@ -16377,7 +16369,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
16377
16369
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
16378
16370
|
#endif
|
|
16379
16371
|
__pyx_L0:;
|
|
16380
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
16381
16372
|
return __pyx_r;
|
|
16382
16373
|
}
|
|
16383
16374
|
|
|
@@ -16597,14 +16588,12 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, PyObject *__pyx_v_msg)
|
|
|
16597
16588
|
|
|
16598
16589
|
static int __pyx_memoryview_err_no_memory(void) {
|
|
16599
16590
|
int __pyx_r;
|
|
16600
|
-
__Pyx_RefNannyDeclarations
|
|
16601
16591
|
int __pyx_lineno = 0;
|
|
16602
16592
|
const char *__pyx_filename = NULL;
|
|
16603
16593
|
int __pyx_clineno = 0;
|
|
16604
16594
|
#ifdef WITH_THREAD
|
|
16605
16595
|
PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
|
|
16606
16596
|
#endif
|
|
16607
|
-
__Pyx_RefNannySetupContext("_err_no_memory", 0);
|
|
16608
16597
|
|
|
16609
16598
|
/* "View.MemoryView":1261
|
|
16610
16599
|
* @cname('__pyx_memoryview_err_no_memory')
|
|
@@ -16627,7 +16616,6 @@ static int __pyx_memoryview_err_no_memory(void) {
|
|
|
16627
16616
|
__pyx_L1_error:;
|
|
16628
16617
|
__Pyx_AddTraceback("View.MemoryView._err_no_memory", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
16629
16618
|
__pyx_r = -1;
|
|
16630
|
-
__Pyx_RefNannyFinishContext();
|
|
16631
16619
|
#ifdef WITH_THREAD
|
|
16632
16620
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
16633
16621
|
#endif
|
|
@@ -16652,7 +16640,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
16652
16640
|
__Pyx_memviewslice __pyx_v_tmp;
|
|
16653
16641
|
int __pyx_v_ndim;
|
|
16654
16642
|
int __pyx_r;
|
|
16655
|
-
__Pyx_RefNannyDeclarations
|
|
16656
16643
|
Py_ssize_t __pyx_t_1;
|
|
16657
16644
|
int __pyx_t_2;
|
|
16658
16645
|
int __pyx_t_3;
|
|
@@ -16666,7 +16653,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
16666
16653
|
#ifdef WITH_THREAD
|
|
16667
16654
|
PyGILState_STATE __pyx_gilstate_save;
|
|
16668
16655
|
#endif
|
|
16669
|
-
__Pyx_RefNannySetupContext("memoryview_copy_contents", 1);
|
|
16670
16656
|
|
|
16671
16657
|
/* "View.MemoryView":1273
|
|
16672
16658
|
* Check for overlapping memory and verify the shapes.
|
|
@@ -17211,7 +17197,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
17211
17197
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
17212
17198
|
#endif
|
|
17213
17199
|
__pyx_L0:;
|
|
17214
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
17215
17200
|
return __pyx_r;
|
|
17216
17201
|
}
|
|
17217
17202
|
|
|
@@ -17385,11 +17370,9 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
|
|
|
17385
17370
|
*/
|
|
17386
17371
|
|
|
17387
17372
|
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) {
|
|
17388
|
-
__Pyx_RefNannyDeclarations
|
|
17389
17373
|
#ifdef WITH_THREAD
|
|
17390
17374
|
PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
|
|
17391
17375
|
#endif
|
|
17392
|
-
__Pyx_RefNannySetupContext("refcount_objects_in_slice_with_gil", 0);
|
|
17393
17376
|
|
|
17394
17377
|
/* "View.MemoryView":1368
|
|
17395
17378
|
* Py_ssize_t *strides, int ndim,
|
|
@@ -17409,7 +17392,6 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
|
|
|
17409
17392
|
*/
|
|
17410
17393
|
|
|
17411
17394
|
/* function exit code */
|
|
17412
|
-
__Pyx_RefNannyFinishContext();
|
|
17413
17395
|
#ifdef WITH_THREAD
|
|
17414
17396
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
17415
17397
|
#endif
|
|
@@ -17426,12 +17408,10 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
|
|
|
17426
17408
|
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) {
|
|
17427
17409
|
CYTHON_UNUSED Py_ssize_t __pyx_v_i;
|
|
17428
17410
|
Py_ssize_t __pyx_v_stride;
|
|
17429
|
-
__Pyx_RefNannyDeclarations
|
|
17430
17411
|
Py_ssize_t __pyx_t_1;
|
|
17431
17412
|
Py_ssize_t __pyx_t_2;
|
|
17432
17413
|
Py_ssize_t __pyx_t_3;
|
|
17433
17414
|
int __pyx_t_4;
|
|
17434
|
-
__Pyx_RefNannySetupContext("refcount_objects_in_slice", 0);
|
|
17435
17415
|
|
|
17436
17416
|
/* "View.MemoryView":1374
|
|
17437
17417
|
* Py_ssize_t *strides, int ndim, bint inc) noexcept:
|
|
@@ -17545,7 +17525,6 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
|
|
|
17545
17525
|
*/
|
|
17546
17526
|
|
|
17547
17527
|
/* function exit code */
|
|
17548
|
-
__Pyx_RefNannyFinishContext();
|
|
17549
17528
|
}
|
|
17550
17529
|
|
|
17551
17530
|
/* "View.MemoryView":1391
|
|
@@ -17767,8 +17746,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
17767
17746
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
17768
17747
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
17769
17748
|
#else
|
|
17770
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
17771
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
17749
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
17772
17750
|
#endif
|
|
17773
17751
|
#endif
|
|
17774
17752
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -17831,10 +17809,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
17831
17809
|
__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)
|
|
17832
17810
|
__pyx_v___pyx_state = values[2];
|
|
17833
17811
|
}
|
|
17834
|
-
goto
|
|
17812
|
+
goto __pyx_L6_skip;
|
|
17835
17813
|
__pyx_L5_argtuple_error:;
|
|
17836
17814
|
__Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 1, __pyx_L3_error)
|
|
17837
|
-
|
|
17815
|
+
__pyx_L6_skip:;
|
|
17816
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
17838
17817
|
__pyx_L3_error:;
|
|
17839
17818
|
{
|
|
17840
17819
|
Py_ssize_t __pyx_temp;
|
|
@@ -17872,7 +17851,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSE
|
|
|
17872
17851
|
int __pyx_lineno = 0;
|
|
17873
17852
|
const char *__pyx_filename = NULL;
|
|
17874
17853
|
int __pyx_clineno = 0;
|
|
17875
|
-
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum",
|
|
17854
|
+
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 1);
|
|
17876
17855
|
|
|
17877
17856
|
/* "(tree fragment)":4
|
|
17878
17857
|
* cdef object __pyx_PickleError
|
|
@@ -18054,7 +18033,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
18054
18033
|
int __pyx_lineno = 0;
|
|
18055
18034
|
const char *__pyx_filename = NULL;
|
|
18056
18035
|
int __pyx_clineno = 0;
|
|
18057
|
-
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state",
|
|
18036
|
+
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 1);
|
|
18058
18037
|
|
|
18059
18038
|
/* "(tree fragment)":12
|
|
18060
18039
|
* return __pyx_result
|
|
@@ -18170,7 +18149,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
18170
18149
|
return __pyx_r;
|
|
18171
18150
|
}
|
|
18172
18151
|
|
|
18173
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18152
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":245
|
|
18174
18153
|
*
|
|
18175
18154
|
* @property
|
|
18176
18155
|
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18181,7 +18160,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
18181
18160
|
static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
|
|
18182
18161
|
PyObject *__pyx_r;
|
|
18183
18162
|
|
|
18184
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18163
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":248
|
|
18185
18164
|
* """Returns a borrowed reference to the object owning the data/memory.
|
|
18186
18165
|
* """
|
|
18187
18166
|
* return PyArray_BASE(self) # <<<<<<<<<<<<<<
|
|
@@ -18191,7 +18170,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
18191
18170
|
__pyx_r = PyArray_BASE(__pyx_v_self);
|
|
18192
18171
|
goto __pyx_L0;
|
|
18193
18172
|
|
|
18194
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18173
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":245
|
|
18195
18174
|
*
|
|
18196
18175
|
* @property
|
|
18197
18176
|
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18204,7 +18183,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
18204
18183
|
return __pyx_r;
|
|
18205
18184
|
}
|
|
18206
18185
|
|
|
18207
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18186
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":251
|
|
18208
18187
|
*
|
|
18209
18188
|
* @property
|
|
18210
18189
|
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
|
|
@@ -18216,9 +18195,9 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18216
18195
|
PyArray_Descr *__pyx_r = NULL;
|
|
18217
18196
|
__Pyx_RefNannyDeclarations
|
|
18218
18197
|
PyArray_Descr *__pyx_t_1;
|
|
18219
|
-
__Pyx_RefNannySetupContext("descr",
|
|
18198
|
+
__Pyx_RefNannySetupContext("descr", 1);
|
|
18220
18199
|
|
|
18221
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18200
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":254
|
|
18222
18201
|
* """Returns an owned reference to the dtype of the array.
|
|
18223
18202
|
* """
|
|
18224
18203
|
* return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
|
|
@@ -18231,7 +18210,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18231
18210
|
__pyx_r = ((PyArray_Descr *)__pyx_t_1);
|
|
18232
18211
|
goto __pyx_L0;
|
|
18233
18212
|
|
|
18234
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18213
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":251
|
|
18235
18214
|
*
|
|
18236
18215
|
* @property
|
|
18237
18216
|
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
|
|
@@ -18246,7 +18225,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18246
18225
|
return __pyx_r;
|
|
18247
18226
|
}
|
|
18248
18227
|
|
|
18249
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18228
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":257
|
|
18250
18229
|
*
|
|
18251
18230
|
* @property
|
|
18252
18231
|
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18257,7 +18236,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18257
18236
|
static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
|
|
18258
18237
|
int __pyx_r;
|
|
18259
18238
|
|
|
18260
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18239
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":260
|
|
18261
18240
|
* """Returns the number of dimensions in the array.
|
|
18262
18241
|
* """
|
|
18263
18242
|
* return PyArray_NDIM(self) # <<<<<<<<<<<<<<
|
|
@@ -18267,7 +18246,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
18267
18246
|
__pyx_r = PyArray_NDIM(__pyx_v_self);
|
|
18268
18247
|
goto __pyx_L0;
|
|
18269
18248
|
|
|
18270
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18249
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":257
|
|
18271
18250
|
*
|
|
18272
18251
|
* @property
|
|
18273
18252
|
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18280,7 +18259,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
18280
18259
|
return __pyx_r;
|
|
18281
18260
|
}
|
|
18282
18261
|
|
|
18283
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18262
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":263
|
|
18284
18263
|
*
|
|
18285
18264
|
* @property
|
|
18286
18265
|
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18291,7 +18270,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
18291
18270
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
|
|
18292
18271
|
npy_intp *__pyx_r;
|
|
18293
18272
|
|
|
18294
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18273
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":268
|
|
18295
18274
|
* Can return NULL for 0-dimensional arrays.
|
|
18296
18275
|
* """
|
|
18297
18276
|
* return PyArray_DIMS(self) # <<<<<<<<<<<<<<
|
|
@@ -18301,7 +18280,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18301
18280
|
__pyx_r = PyArray_DIMS(__pyx_v_self);
|
|
18302
18281
|
goto __pyx_L0;
|
|
18303
18282
|
|
|
18304
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18283
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":263
|
|
18305
18284
|
*
|
|
18306
18285
|
* @property
|
|
18307
18286
|
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18314,7 +18293,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18314
18293
|
return __pyx_r;
|
|
18315
18294
|
}
|
|
18316
18295
|
|
|
18317
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18296
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":271
|
|
18318
18297
|
*
|
|
18319
18298
|
* @property
|
|
18320
18299
|
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18325,7 +18304,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18325
18304
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
|
|
18326
18305
|
npy_intp *__pyx_r;
|
|
18327
18306
|
|
|
18328
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18307
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":275
|
|
18329
18308
|
* The number of elements matches the number of dimensions of the array (ndim).
|
|
18330
18309
|
* """
|
|
18331
18310
|
* return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
|
|
@@ -18335,7 +18314,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18335
18314
|
__pyx_r = PyArray_STRIDES(__pyx_v_self);
|
|
18336
18315
|
goto __pyx_L0;
|
|
18337
18316
|
|
|
18338
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18317
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":271
|
|
18339
18318
|
*
|
|
18340
18319
|
* @property
|
|
18341
18320
|
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18348,7 +18327,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18348
18327
|
return __pyx_r;
|
|
18349
18328
|
}
|
|
18350
18329
|
|
|
18351
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18330
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":278
|
|
18352
18331
|
*
|
|
18353
18332
|
* @property
|
|
18354
18333
|
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18359,7 +18338,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18359
18338
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
|
|
18360
18339
|
npy_intp __pyx_r;
|
|
18361
18340
|
|
|
18362
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18341
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":281
|
|
18363
18342
|
* """Returns the total size (in number of elements) of the array.
|
|
18364
18343
|
* """
|
|
18365
18344
|
* return PyArray_SIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -18369,7 +18348,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18369
18348
|
__pyx_r = PyArray_SIZE(__pyx_v_self);
|
|
18370
18349
|
goto __pyx_L0;
|
|
18371
18350
|
|
|
18372
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18351
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":278
|
|
18373
18352
|
*
|
|
18374
18353
|
* @property
|
|
18375
18354
|
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18382,7 +18361,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18382
18361
|
return __pyx_r;
|
|
18383
18362
|
}
|
|
18384
18363
|
|
|
18385
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18364
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":284
|
|
18386
18365
|
*
|
|
18387
18366
|
* @property
|
|
18388
18367
|
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18393,7 +18372,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18393
18372
|
static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
|
|
18394
18373
|
char *__pyx_r;
|
|
18395
18374
|
|
|
18396
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18375
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":290
|
|
18397
18376
|
* of `PyArray_DATA()` instead, which returns a 'void*'.
|
|
18398
18377
|
* """
|
|
18399
18378
|
* return PyArray_BYTES(self) # <<<<<<<<<<<<<<
|
|
@@ -18403,7 +18382,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
18403
18382
|
__pyx_r = PyArray_BYTES(__pyx_v_self);
|
|
18404
18383
|
goto __pyx_L0;
|
|
18405
18384
|
|
|
18406
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18385
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":284
|
|
18407
18386
|
*
|
|
18408
18387
|
* @property
|
|
18409
18388
|
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18416,7 +18395,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
18416
18395
|
return __pyx_r;
|
|
18417
18396
|
}
|
|
18418
18397
|
|
|
18419
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18398
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":776
|
|
18420
18399
|
* ctypedef npy_cdouble complex_t
|
|
18421
18400
|
*
|
|
18422
18401
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -18431,9 +18410,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
18431
18410
|
int __pyx_lineno = 0;
|
|
18432
18411
|
const char *__pyx_filename = NULL;
|
|
18433
18412
|
int __pyx_clineno = 0;
|
|
18434
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1",
|
|
18413
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1);
|
|
18435
18414
|
|
|
18436
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18415
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
|
|
18437
18416
|
*
|
|
18438
18417
|
* cdef inline object PyArray_MultiIterNew1(a):
|
|
18439
18418
|
* return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
|
|
@@ -18447,7 +18426,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
18447
18426
|
__pyx_t_1 = 0;
|
|
18448
18427
|
goto __pyx_L0;
|
|
18449
18428
|
|
|
18450
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18429
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":776
|
|
18451
18430
|
* ctypedef npy_cdouble complex_t
|
|
18452
18431
|
*
|
|
18453
18432
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -18466,7 +18445,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
18466
18445
|
return __pyx_r;
|
|
18467
18446
|
}
|
|
18468
18447
|
|
|
18469
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18448
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":779
|
|
18470
18449
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
18471
18450
|
*
|
|
18472
18451
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -18481,9 +18460,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
18481
18460
|
int __pyx_lineno = 0;
|
|
18482
18461
|
const char *__pyx_filename = NULL;
|
|
18483
18462
|
int __pyx_clineno = 0;
|
|
18484
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2",
|
|
18463
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1);
|
|
18485
18464
|
|
|
18486
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18465
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
|
|
18487
18466
|
*
|
|
18488
18467
|
* cdef inline object PyArray_MultiIterNew2(a, b):
|
|
18489
18468
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
|
|
@@ -18497,7 +18476,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
18497
18476
|
__pyx_t_1 = 0;
|
|
18498
18477
|
goto __pyx_L0;
|
|
18499
18478
|
|
|
18500
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18479
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":779
|
|
18501
18480
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
18502
18481
|
*
|
|
18503
18482
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -18516,7 +18495,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
18516
18495
|
return __pyx_r;
|
|
18517
18496
|
}
|
|
18518
18497
|
|
|
18519
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18498
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":782
|
|
18520
18499
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
18521
18500
|
*
|
|
18522
18501
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -18531,9 +18510,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
18531
18510
|
int __pyx_lineno = 0;
|
|
18532
18511
|
const char *__pyx_filename = NULL;
|
|
18533
18512
|
int __pyx_clineno = 0;
|
|
18534
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3",
|
|
18513
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1);
|
|
18535
18514
|
|
|
18536
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18515
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
|
|
18537
18516
|
*
|
|
18538
18517
|
* cdef inline object PyArray_MultiIterNew3(a, b, c):
|
|
18539
18518
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
|
|
@@ -18547,7 +18526,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
18547
18526
|
__pyx_t_1 = 0;
|
|
18548
18527
|
goto __pyx_L0;
|
|
18549
18528
|
|
|
18550
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18529
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":782
|
|
18551
18530
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
18552
18531
|
*
|
|
18553
18532
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -18566,7 +18545,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
18566
18545
|
return __pyx_r;
|
|
18567
18546
|
}
|
|
18568
18547
|
|
|
18569
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18548
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":785
|
|
18570
18549
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
18571
18550
|
*
|
|
18572
18551
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -18581,9 +18560,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
18581
18560
|
int __pyx_lineno = 0;
|
|
18582
18561
|
const char *__pyx_filename = NULL;
|
|
18583
18562
|
int __pyx_clineno = 0;
|
|
18584
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4",
|
|
18563
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1);
|
|
18585
18564
|
|
|
18586
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18565
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
|
|
18587
18566
|
*
|
|
18588
18567
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
|
|
18589
18568
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
|
|
@@ -18597,7 +18576,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
18597
18576
|
__pyx_t_1 = 0;
|
|
18598
18577
|
goto __pyx_L0;
|
|
18599
18578
|
|
|
18600
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18579
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":785
|
|
18601
18580
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
18602
18581
|
*
|
|
18603
18582
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -18616,7 +18595,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
18616
18595
|
return __pyx_r;
|
|
18617
18596
|
}
|
|
18618
18597
|
|
|
18619
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18598
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":788
|
|
18620
18599
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
18621
18600
|
*
|
|
18622
18601
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -18631,9 +18610,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
18631
18610
|
int __pyx_lineno = 0;
|
|
18632
18611
|
const char *__pyx_filename = NULL;
|
|
18633
18612
|
int __pyx_clineno = 0;
|
|
18634
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5",
|
|
18613
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1);
|
|
18635
18614
|
|
|
18636
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18615
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
|
|
18637
18616
|
*
|
|
18638
18617
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
|
|
18639
18618
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
|
|
@@ -18647,7 +18626,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
18647
18626
|
__pyx_t_1 = 0;
|
|
18648
18627
|
goto __pyx_L0;
|
|
18649
18628
|
|
|
18650
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18629
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":788
|
|
18651
18630
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
18652
18631
|
*
|
|
18653
18632
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -18666,7 +18645,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
18666
18645
|
return __pyx_r;
|
|
18667
18646
|
}
|
|
18668
18647
|
|
|
18669
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18648
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":791
|
|
18670
18649
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
18671
18650
|
*
|
|
18672
18651
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -18678,9 +18657,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18678
18657
|
PyObject *__pyx_r = NULL;
|
|
18679
18658
|
__Pyx_RefNannyDeclarations
|
|
18680
18659
|
int __pyx_t_1;
|
|
18681
|
-
__Pyx_RefNannySetupContext("PyDataType_SHAPE",
|
|
18660
|
+
__Pyx_RefNannySetupContext("PyDataType_SHAPE", 1);
|
|
18682
18661
|
|
|
18683
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18662
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
|
|
18684
18663
|
*
|
|
18685
18664
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
18686
18665
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -18690,7 +18669,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18690
18669
|
__pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
|
|
18691
18670
|
if (__pyx_t_1) {
|
|
18692
18671
|
|
|
18693
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18672
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
|
|
18694
18673
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
18695
18674
|
* if PyDataType_HASSUBARRAY(d):
|
|
18696
18675
|
* return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
|
|
@@ -18702,7 +18681,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18702
18681
|
__pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
|
|
18703
18682
|
goto __pyx_L0;
|
|
18704
18683
|
|
|
18705
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18684
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
|
|
18706
18685
|
*
|
|
18707
18686
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
18708
18687
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -18711,7 +18690,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18711
18690
|
*/
|
|
18712
18691
|
}
|
|
18713
18692
|
|
|
18714
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18693
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":795
|
|
18715
18694
|
* return <tuple>d.subarray.shape
|
|
18716
18695
|
* else:
|
|
18717
18696
|
* return () # <<<<<<<<<<<<<<
|
|
@@ -18725,7 +18704,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18725
18704
|
goto __pyx_L0;
|
|
18726
18705
|
}
|
|
18727
18706
|
|
|
18728
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18707
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":791
|
|
18729
18708
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
18730
18709
|
*
|
|
18731
18710
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -18740,7 +18719,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18740
18719
|
return __pyx_r;
|
|
18741
18720
|
}
|
|
18742
18721
|
|
|
18743
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18722
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":970
|
|
18744
18723
|
* int _import_umath() except -1
|
|
18745
18724
|
*
|
|
18746
18725
|
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
|
|
@@ -18749,10 +18728,8 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18749
18728
|
*/
|
|
18750
18729
|
|
|
18751
18730
|
static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
|
|
18752
|
-
__Pyx_RefNannyDeclarations
|
|
18753
|
-
__Pyx_RefNannySetupContext("set_array_base", 0);
|
|
18754
18731
|
|
|
18755
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18732
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
|
|
18756
18733
|
*
|
|
18757
18734
|
* cdef inline void set_array_base(ndarray arr, object base):
|
|
18758
18735
|
* Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
|
|
@@ -18761,7 +18738,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
18761
18738
|
*/
|
|
18762
18739
|
Py_INCREF(__pyx_v_base);
|
|
18763
18740
|
|
|
18764
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18741
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":972
|
|
18765
18742
|
* cdef inline void set_array_base(ndarray arr, object base):
|
|
18766
18743
|
* Py_INCREF(base) # important to do this before stealing the reference below!
|
|
18767
18744
|
* PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
|
|
@@ -18770,7 +18747,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
18770
18747
|
*/
|
|
18771
18748
|
(void)(PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base));
|
|
18772
18749
|
|
|
18773
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18750
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":970
|
|
18774
18751
|
* int _import_umath() except -1
|
|
18775
18752
|
*
|
|
18776
18753
|
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
|
|
@@ -18779,10 +18756,9 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
18779
18756
|
*/
|
|
18780
18757
|
|
|
18781
18758
|
/* function exit code */
|
|
18782
|
-
__Pyx_RefNannyFinishContext();
|
|
18783
18759
|
}
|
|
18784
18760
|
|
|
18785
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18761
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":974
|
|
18786
18762
|
* PyArray_SetBaseObject(arr, base)
|
|
18787
18763
|
*
|
|
18788
18764
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -18795,9 +18771,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18795
18771
|
PyObject *__pyx_r = NULL;
|
|
18796
18772
|
__Pyx_RefNannyDeclarations
|
|
18797
18773
|
int __pyx_t_1;
|
|
18798
|
-
__Pyx_RefNannySetupContext("get_array_base",
|
|
18774
|
+
__Pyx_RefNannySetupContext("get_array_base", 1);
|
|
18799
18775
|
|
|
18800
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18776
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":975
|
|
18801
18777
|
*
|
|
18802
18778
|
* cdef inline object get_array_base(ndarray arr):
|
|
18803
18779
|
* base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
|
|
@@ -18806,7 +18782,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18806
18782
|
*/
|
|
18807
18783
|
__pyx_v_base = PyArray_BASE(__pyx_v_arr);
|
|
18808
18784
|
|
|
18809
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18785
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":976
|
|
18810
18786
|
* cdef inline object get_array_base(ndarray arr):
|
|
18811
18787
|
* base = PyArray_BASE(arr)
|
|
18812
18788
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -18816,7 +18792,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18816
18792
|
__pyx_t_1 = (__pyx_v_base == NULL);
|
|
18817
18793
|
if (__pyx_t_1) {
|
|
18818
18794
|
|
|
18819
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18795
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":977
|
|
18820
18796
|
* base = PyArray_BASE(arr)
|
|
18821
18797
|
* if base is NULL:
|
|
18822
18798
|
* return None # <<<<<<<<<<<<<<
|
|
@@ -18827,7 +18803,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18827
18803
|
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
|
|
18828
18804
|
goto __pyx_L0;
|
|
18829
18805
|
|
|
18830
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18806
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":976
|
|
18831
18807
|
* cdef inline object get_array_base(ndarray arr):
|
|
18832
18808
|
* base = PyArray_BASE(arr)
|
|
18833
18809
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -18836,7 +18812,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18836
18812
|
*/
|
|
18837
18813
|
}
|
|
18838
18814
|
|
|
18839
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18815
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":978
|
|
18840
18816
|
* if base is NULL:
|
|
18841
18817
|
* return None
|
|
18842
18818
|
* return <object>base # <<<<<<<<<<<<<<
|
|
@@ -18848,7 +18824,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18848
18824
|
__pyx_r = ((PyObject *)__pyx_v_base);
|
|
18849
18825
|
goto __pyx_L0;
|
|
18850
18826
|
|
|
18851
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18827
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":974
|
|
18852
18828
|
* PyArray_SetBaseObject(arr, base)
|
|
18853
18829
|
*
|
|
18854
18830
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -18863,7 +18839,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18863
18839
|
return __pyx_r;
|
|
18864
18840
|
}
|
|
18865
18841
|
|
|
18866
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18842
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":982
|
|
18867
18843
|
* # Versions of the import_* functions which are more suitable for
|
|
18868
18844
|
* # Cython code.
|
|
18869
18845
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -18885,9 +18861,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18885
18861
|
int __pyx_lineno = 0;
|
|
18886
18862
|
const char *__pyx_filename = NULL;
|
|
18887
18863
|
int __pyx_clineno = 0;
|
|
18888
|
-
__Pyx_RefNannySetupContext("import_array",
|
|
18864
|
+
__Pyx_RefNannySetupContext("import_array", 1);
|
|
18889
18865
|
|
|
18890
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18866
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
|
|
18891
18867
|
* # Cython code.
|
|
18892
18868
|
* cdef inline int import_array() except -1:
|
|
18893
18869
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18903,7 +18879,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18903
18879
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
18904
18880
|
/*try:*/ {
|
|
18905
18881
|
|
|
18906
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18882
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
|
|
18907
18883
|
* cdef inline int import_array() except -1:
|
|
18908
18884
|
* try:
|
|
18909
18885
|
* __pyx_import_array() # <<<<<<<<<<<<<<
|
|
@@ -18912,7 +18888,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18912
18888
|
*/
|
|
18913
18889
|
__pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 984, __pyx_L3_error)
|
|
18914
18890
|
|
|
18915
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18891
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
|
|
18916
18892
|
* # Cython code.
|
|
18917
18893
|
* cdef inline int import_array() except -1:
|
|
18918
18894
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18926,7 +18902,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18926
18902
|
goto __pyx_L8_try_end;
|
|
18927
18903
|
__pyx_L3_error:;
|
|
18928
18904
|
|
|
18929
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18905
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":985
|
|
18930
18906
|
* try:
|
|
18931
18907
|
* __pyx_import_array()
|
|
18932
18908
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -18941,7 +18917,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18941
18917
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
18942
18918
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
18943
18919
|
|
|
18944
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18920
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":986
|
|
18945
18921
|
* __pyx_import_array()
|
|
18946
18922
|
* except Exception:
|
|
18947
18923
|
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -18956,7 +18932,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18956
18932
|
}
|
|
18957
18933
|
goto __pyx_L5_except_error;
|
|
18958
18934
|
|
|
18959
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18935
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
|
|
18960
18936
|
* # Cython code.
|
|
18961
18937
|
* cdef inline int import_array() except -1:
|
|
18962
18938
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18972,7 +18948,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18972
18948
|
__pyx_L8_try_end:;
|
|
18973
18949
|
}
|
|
18974
18950
|
|
|
18975
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18951
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":982
|
|
18976
18952
|
* # Versions of the import_* functions which are more suitable for
|
|
18977
18953
|
* # Cython code.
|
|
18978
18954
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -18995,7 +18971,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18995
18971
|
return __pyx_r;
|
|
18996
18972
|
}
|
|
18997
18973
|
|
|
18998
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18974
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":988
|
|
18999
18975
|
* raise ImportError("numpy.core.multiarray failed to import")
|
|
19000
18976
|
*
|
|
19001
18977
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19017,9 +18993,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19017
18993
|
int __pyx_lineno = 0;
|
|
19018
18994
|
const char *__pyx_filename = NULL;
|
|
19019
18995
|
int __pyx_clineno = 0;
|
|
19020
|
-
__Pyx_RefNannySetupContext("import_umath",
|
|
18996
|
+
__Pyx_RefNannySetupContext("import_umath", 1);
|
|
19021
18997
|
|
|
19022
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18998
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
|
|
19023
18999
|
*
|
|
19024
19000
|
* cdef inline int import_umath() except -1:
|
|
19025
19001
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19035,7 +19011,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19035
19011
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
19036
19012
|
/*try:*/ {
|
|
19037
19013
|
|
|
19038
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19014
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
|
|
19039
19015
|
* cdef inline int import_umath() except -1:
|
|
19040
19016
|
* try:
|
|
19041
19017
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -19044,7 +19020,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19044
19020
|
*/
|
|
19045
19021
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 990, __pyx_L3_error)
|
|
19046
19022
|
|
|
19047
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19023
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
|
|
19048
19024
|
*
|
|
19049
19025
|
* cdef inline int import_umath() except -1:
|
|
19050
19026
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19058,7 +19034,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19058
19034
|
goto __pyx_L8_try_end;
|
|
19059
19035
|
__pyx_L3_error:;
|
|
19060
19036
|
|
|
19061
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19037
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":991
|
|
19062
19038
|
* try:
|
|
19063
19039
|
* _import_umath()
|
|
19064
19040
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -19073,7 +19049,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19073
19049
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
19074
19050
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
19075
19051
|
|
|
19076
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19052
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":992
|
|
19077
19053
|
* _import_umath()
|
|
19078
19054
|
* except Exception:
|
|
19079
19055
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -19088,7 +19064,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19088
19064
|
}
|
|
19089
19065
|
goto __pyx_L5_except_error;
|
|
19090
19066
|
|
|
19091
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19067
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
|
|
19092
19068
|
*
|
|
19093
19069
|
* cdef inline int import_umath() except -1:
|
|
19094
19070
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19104,7 +19080,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19104
19080
|
__pyx_L8_try_end:;
|
|
19105
19081
|
}
|
|
19106
19082
|
|
|
19107
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19083
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":988
|
|
19108
19084
|
* raise ImportError("numpy.core.multiarray failed to import")
|
|
19109
19085
|
*
|
|
19110
19086
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19127,7 +19103,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19127
19103
|
return __pyx_r;
|
|
19128
19104
|
}
|
|
19129
19105
|
|
|
19130
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19106
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":994
|
|
19131
19107
|
* raise ImportError("numpy.core.umath failed to import")
|
|
19132
19108
|
*
|
|
19133
19109
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19149,9 +19125,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19149
19125
|
int __pyx_lineno = 0;
|
|
19150
19126
|
const char *__pyx_filename = NULL;
|
|
19151
19127
|
int __pyx_clineno = 0;
|
|
19152
|
-
__Pyx_RefNannySetupContext("import_ufunc",
|
|
19128
|
+
__Pyx_RefNannySetupContext("import_ufunc", 1);
|
|
19153
19129
|
|
|
19154
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19130
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
|
|
19155
19131
|
*
|
|
19156
19132
|
* cdef inline int import_ufunc() except -1:
|
|
19157
19133
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19167,7 +19143,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19167
19143
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
19168
19144
|
/*try:*/ {
|
|
19169
19145
|
|
|
19170
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19146
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
|
|
19171
19147
|
* cdef inline int import_ufunc() except -1:
|
|
19172
19148
|
* try:
|
|
19173
19149
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -19176,7 +19152,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19176
19152
|
*/
|
|
19177
19153
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 996, __pyx_L3_error)
|
|
19178
19154
|
|
|
19179
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19155
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
|
|
19180
19156
|
*
|
|
19181
19157
|
* cdef inline int import_ufunc() except -1:
|
|
19182
19158
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19190,7 +19166,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19190
19166
|
goto __pyx_L8_try_end;
|
|
19191
19167
|
__pyx_L3_error:;
|
|
19192
19168
|
|
|
19193
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19169
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":997
|
|
19194
19170
|
* try:
|
|
19195
19171
|
* _import_umath()
|
|
19196
19172
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -19205,7 +19181,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19205
19181
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
19206
19182
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
19207
19183
|
|
|
19208
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19184
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
|
|
19209
19185
|
* _import_umath()
|
|
19210
19186
|
* except Exception:
|
|
19211
19187
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -19220,7 +19196,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19220
19196
|
}
|
|
19221
19197
|
goto __pyx_L5_except_error;
|
|
19222
19198
|
|
|
19223
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19199
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
|
|
19224
19200
|
*
|
|
19225
19201
|
* cdef inline int import_ufunc() except -1:
|
|
19226
19202
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19236,7 +19212,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19236
19212
|
__pyx_L8_try_end:;
|
|
19237
19213
|
}
|
|
19238
19214
|
|
|
19239
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19215
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":994
|
|
19240
19216
|
* raise ImportError("numpy.core.umath failed to import")
|
|
19241
19217
|
*
|
|
19242
19218
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19259,7 +19235,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19259
19235
|
return __pyx_r;
|
|
19260
19236
|
}
|
|
19261
19237
|
|
|
19262
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19238
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1001
|
|
19263
19239
|
*
|
|
19264
19240
|
*
|
|
19265
19241
|
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19269,10 +19245,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19269
19245
|
|
|
19270
19246
|
static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
|
|
19271
19247
|
int __pyx_r;
|
|
19272
|
-
__Pyx_RefNannyDeclarations
|
|
19273
|
-
__Pyx_RefNannySetupContext("is_timedelta64_object", 0);
|
|
19274
19248
|
|
|
19275
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19249
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1013
|
|
19276
19250
|
* bool
|
|
19277
19251
|
* """
|
|
19278
19252
|
* return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -19282,7 +19256,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
19282
19256
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
|
|
19283
19257
|
goto __pyx_L0;
|
|
19284
19258
|
|
|
19285
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19259
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1001
|
|
19286
19260
|
*
|
|
19287
19261
|
*
|
|
19288
19262
|
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19292,11 +19266,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
19292
19266
|
|
|
19293
19267
|
/* function exit code */
|
|
19294
19268
|
__pyx_L0:;
|
|
19295
|
-
__Pyx_RefNannyFinishContext();
|
|
19296
19269
|
return __pyx_r;
|
|
19297
19270
|
}
|
|
19298
19271
|
|
|
19299
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19272
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1016
|
|
19300
19273
|
*
|
|
19301
19274
|
*
|
|
19302
19275
|
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19306,10 +19279,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
19306
19279
|
|
|
19307
19280
|
static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
|
|
19308
19281
|
int __pyx_r;
|
|
19309
|
-
__Pyx_RefNannyDeclarations
|
|
19310
|
-
__Pyx_RefNannySetupContext("is_datetime64_object", 0);
|
|
19311
19282
|
|
|
19312
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19283
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1028
|
|
19313
19284
|
* bool
|
|
19314
19285
|
* """
|
|
19315
19286
|
* return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -19319,7 +19290,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19319
19290
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
|
|
19320
19291
|
goto __pyx_L0;
|
|
19321
19292
|
|
|
19322
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19293
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1016
|
|
19323
19294
|
*
|
|
19324
19295
|
*
|
|
19325
19296
|
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19329,11 +19300,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19329
19300
|
|
|
19330
19301
|
/* function exit code */
|
|
19331
19302
|
__pyx_L0:;
|
|
19332
|
-
__Pyx_RefNannyFinishContext();
|
|
19333
19303
|
return __pyx_r;
|
|
19334
19304
|
}
|
|
19335
19305
|
|
|
19336
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19306
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1031
|
|
19337
19307
|
*
|
|
19338
19308
|
*
|
|
19339
19309
|
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19344,7 +19314,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19344
19314
|
static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
|
|
19345
19315
|
npy_datetime __pyx_r;
|
|
19346
19316
|
|
|
19347
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19317
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1038
|
|
19348
19318
|
* also needed. That can be found using `get_datetime64_unit`.
|
|
19349
19319
|
* """
|
|
19350
19320
|
* return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -19354,7 +19324,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19354
19324
|
__pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
|
|
19355
19325
|
goto __pyx_L0;
|
|
19356
19326
|
|
|
19357
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19327
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1031
|
|
19358
19328
|
*
|
|
19359
19329
|
*
|
|
19360
19330
|
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19367,7 +19337,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19367
19337
|
return __pyx_r;
|
|
19368
19338
|
}
|
|
19369
19339
|
|
|
19370
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19340
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1041
|
|
19371
19341
|
*
|
|
19372
19342
|
*
|
|
19373
19343
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19378,7 +19348,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19378
19348
|
static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
|
|
19379
19349
|
npy_timedelta __pyx_r;
|
|
19380
19350
|
|
|
19381
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19351
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1045
|
|
19382
19352
|
* returns the int64 value underlying scalar numpy timedelta64 object
|
|
19383
19353
|
* """
|
|
19384
19354
|
* return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -19388,7 +19358,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19388
19358
|
__pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
|
|
19389
19359
|
goto __pyx_L0;
|
|
19390
19360
|
|
|
19391
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19361
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1041
|
|
19392
19362
|
*
|
|
19393
19363
|
*
|
|
19394
19364
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19401,7 +19371,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19401
19371
|
return __pyx_r;
|
|
19402
19372
|
}
|
|
19403
19373
|
|
|
19404
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19374
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1048
|
|
19405
19375
|
*
|
|
19406
19376
|
*
|
|
19407
19377
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19412,7 +19382,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19412
19382
|
static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
|
|
19413
19383
|
NPY_DATETIMEUNIT __pyx_r;
|
|
19414
19384
|
|
|
19415
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19385
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1052
|
|
19416
19386
|
* returns the unit part of the dtype for a numpy datetime64 object.
|
|
19417
19387
|
* """
|
|
19418
19388
|
* return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
|
|
@@ -19420,7 +19390,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
19420
19390
|
__pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
|
|
19421
19391
|
goto __pyx_L0;
|
|
19422
19392
|
|
|
19423
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19393
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1048
|
|
19424
19394
|
*
|
|
19425
19395
|
*
|
|
19426
19396
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19474,8 +19444,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
19474
19444
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
19475
19445
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
19476
19446
|
#else
|
|
19477
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
19478
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 23, __pyx_L3_error)
|
|
19447
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
19479
19448
|
#endif
|
|
19480
19449
|
#endif
|
|
19481
19450
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -19510,10 +19479,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
19510
19479
|
}
|
|
19511
19480
|
__pyx_v_distances = ((PyArrayObject *)values[0]);
|
|
19512
19481
|
}
|
|
19513
|
-
goto
|
|
19482
|
+
goto __pyx_L6_skip;
|
|
19514
19483
|
__pyx_L5_argtuple_error:;
|
|
19515
19484
|
__Pyx_RaiseArgtupleInvalid("upgma", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 23, __pyx_L3_error)
|
|
19516
|
-
|
|
19485
|
+
__pyx_L6_skip:;
|
|
19486
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
19517
19487
|
__pyx_L3_error:;
|
|
19518
19488
|
{
|
|
19519
19489
|
Py_ssize_t __pyx_temp;
|
|
@@ -19595,7 +19565,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_5upgma_upgma(CYTHON_UNUSED P
|
|
|
19595
19565
|
int __pyx_lineno = 0;
|
|
19596
19566
|
const char *__pyx_filename = NULL;
|
|
19597
19567
|
int __pyx_clineno = 0;
|
|
19598
|
-
__Pyx_RefNannySetupContext("upgma",
|
|
19568
|
+
__Pyx_RefNannySetupContext("upgma", 1);
|
|
19599
19569
|
|
|
19600
19570
|
/* "biotite/sequence/phylo/upgma.pyx":68
|
|
19601
19571
|
* ((4,(3,2)),(1,0));
|
|
@@ -19760,7 +19730,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_5upgma_upgma(CYTHON_UNUSED P
|
|
|
19760
19730
|
}
|
|
19761
19731
|
#endif
|
|
19762
19732
|
{
|
|
19763
|
-
PyObject *__pyx_callargs[
|
|
19733
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_7, NULL};
|
|
19764
19734
|
__pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_9, 0+__pyx_t_9);
|
|
19765
19735
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
19766
19736
|
if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 77, __pyx_L1_error)
|
|
@@ -19822,7 +19792,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_5upgma_upgma(CYTHON_UNUSED P
|
|
|
19822
19792
|
}
|
|
19823
19793
|
#endif
|
|
19824
19794
|
{
|
|
19825
|
-
PyObject *__pyx_callargs[
|
|
19795
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_7, NULL};
|
|
19826
19796
|
__pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_9, 0+__pyx_t_9);
|
|
19827
19797
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
19828
19798
|
if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 79, __pyx_L1_error)
|
|
@@ -19881,7 +19851,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_5upgma_upgma(CYTHON_UNUSED P
|
|
|
19881
19851
|
}
|
|
19882
19852
|
#endif
|
|
19883
19853
|
{
|
|
19884
|
-
PyObject *__pyx_callargs[
|
|
19854
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_8, NULL};
|
|
19885
19855
|
__pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_9, 0+__pyx_t_9);
|
|
19886
19856
|
__Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
19887
19857
|
if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 81, __pyx_L1_error)
|
|
@@ -21967,7 +21937,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
|
|
|
21967
21937
|
__Pyx_GOTREF(__pyx_tuple__8);
|
|
21968
21938
|
__Pyx_GIVEREF(__pyx_tuple__8);
|
|
21969
21939
|
|
|
21970
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
21940
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":986
|
|
21971
21941
|
* __pyx_import_array()
|
|
21972
21942
|
* except Exception:
|
|
21973
21943
|
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -21978,7 +21948,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
|
|
|
21978
21948
|
__Pyx_GOTREF(__pyx_tuple__9);
|
|
21979
21949
|
__Pyx_GIVEREF(__pyx_tuple__9);
|
|
21980
21950
|
|
|
21981
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
21951
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-e7cfnk9g/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":992
|
|
21982
21952
|
* _import_umath()
|
|
21983
21953
|
* except Exception:
|
|
21984
21954
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -22403,33 +22373,33 @@ static int __Pyx_modinit_type_import_code(void) {
|
|
|
22403
22373
|
/*--- Type import code ---*/
|
|
22404
22374
|
__pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 9, __pyx_L1_error)
|
|
22405
22375
|
__Pyx_GOTREF(__pyx_t_1);
|
|
22406
|
-
__pyx_ptype_7cpython_4type_type =
|
|
22376
|
+
__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_10(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
|
|
22407
22377
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
22408
|
-
sizeof(PyTypeObject),
|
|
22378
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
|
|
22409
22379
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
22410
|
-
sizeof(PyTypeObject),
|
|
22380
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
|
|
22411
22381
|
#else
|
|
22412
|
-
sizeof(PyHeapTypeObject),
|
|
22382
|
+
sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyHeapTypeObject),
|
|
22413
22383
|
#endif
|
|
22414
|
-
|
|
22384
|
+
__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
|
|
22415
22385
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
22416
22386
|
__pyx_t_1 = PyImport_ImportModule("numpy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 202, __pyx_L1_error)
|
|
22417
22387
|
__Pyx_GOTREF(__pyx_t_1);
|
|
22418
|
-
__pyx_ptype_5numpy_dtype =
|
|
22419
|
-
__pyx_ptype_5numpy_flatiter =
|
|
22420
|
-
__pyx_ptype_5numpy_broadcast =
|
|
22421
|
-
__pyx_ptype_5numpy_ndarray =
|
|
22422
|
-
__pyx_ptype_5numpy_generic =
|
|
22423
|
-
__pyx_ptype_5numpy_number =
|
|
22424
|
-
__pyx_ptype_5numpy_integer =
|
|
22425
|
-
__pyx_ptype_5numpy_signedinteger =
|
|
22426
|
-
__pyx_ptype_5numpy_unsignedinteger =
|
|
22427
|
-
__pyx_ptype_5numpy_inexact =
|
|
22428
|
-
__pyx_ptype_5numpy_floating =
|
|
22429
|
-
__pyx_ptype_5numpy_complexfloating =
|
|
22430
|
-
__pyx_ptype_5numpy_flexible =
|
|
22431
|
-
__pyx_ptype_5numpy_character =
|
|
22432
|
-
__pyx_ptype_5numpy_ufunc =
|
|
22388
|
+
__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)
|
|
22389
|
+
__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)
|
|
22390
|
+
__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)
|
|
22391
|
+
__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)
|
|
22392
|
+
__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)
|
|
22393
|
+
__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)
|
|
22394
|
+
__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)
|
|
22395
|
+
__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)
|
|
22396
|
+
__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)
|
|
22397
|
+
__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)
|
|
22398
|
+
__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)
|
|
22399
|
+
__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)
|
|
22400
|
+
__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)
|
|
22401
|
+
__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)
|
|
22402
|
+
__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)
|
|
22433
22403
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
22434
22404
|
__Pyx_RefNannyFinishContext();
|
|
22435
22405
|
return 0;
|
|
@@ -22650,7 +22620,7 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_upgma(PyObject *__pyx_pyinit_modul
|
|
|
22650
22620
|
__pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
22651
22621
|
{
|
|
22652
22622
|
int add_module_result = PyState_AddModule(__pyx_t_1, &__pyx_moduledef);
|
|
22653
|
-
__pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to upgma pseudovariable */
|
|
22623
|
+
__pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "upgma" pseudovariable */
|
|
22654
22624
|
if (unlikely((add_module_result < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
22655
22625
|
pystate_addmodule_run = 1;
|
|
22656
22626
|
}
|
|
@@ -22662,10 +22632,8 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_upgma(PyObject *__pyx_pyinit_modul
|
|
|
22662
22632
|
CYTHON_UNUSED_VAR(__pyx_t_1);
|
|
22663
22633
|
__pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
22664
22634
|
Py_INCREF(__pyx_d);
|
|
22665
|
-
__pyx_b =
|
|
22666
|
-
|
|
22667
|
-
__pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
22668
|
-
Py_INCREF(__pyx_cython_runtime);
|
|
22635
|
+
__pyx_b = __Pyx_PyImport_AddModuleRef(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
22636
|
+
__pyx_cython_runtime = __Pyx_PyImport_AddModuleRef((const char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
22669
22637
|
if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
22670
22638
|
#if CYTHON_REFNANNY
|
|
22671
22639
|
__Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
|
|
@@ -22677,7 +22645,7 @@ if (!__Pyx_RefNanny) {
|
|
|
22677
22645
|
}
|
|
22678
22646
|
#endif
|
|
22679
22647
|
__Pyx_RefNannySetupContext("__Pyx_PyMODINIT_FUNC PyInit_upgma(void)", 0);
|
|
22680
|
-
if (__Pyx_check_binary_version() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
22648
|
+
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)
|
|
22681
22649
|
#ifdef __Pxy_PyFrame_Initialize_Offsets
|
|
22682
22650
|
__Pxy_PyFrame_Initialize_Offsets();
|
|
22683
22651
|
#endif
|
|
@@ -23507,6 +23475,8 @@ static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObjec
|
|
|
23507
23475
|
tmp_value = tstate->current_exception;
|
|
23508
23476
|
tstate->current_exception = value;
|
|
23509
23477
|
Py_XDECREF(tmp_value);
|
|
23478
|
+
Py_XDECREF(type);
|
|
23479
|
+
Py_XDECREF(tb);
|
|
23510
23480
|
#else
|
|
23511
23481
|
PyObject *tmp_type, *tmp_value, *tmp_tb;
|
|
23512
23482
|
tmp_type = tstate->curexc_type;
|
|
@@ -23564,14 +23534,20 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject
|
|
|
23564
23534
|
#endif
|
|
23565
23535
|
|
|
23566
23536
|
/* PyObjectGetAttrStrNoError */
|
|
23537
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
23567
23538
|
static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) {
|
|
23568
23539
|
__Pyx_PyThreadState_declare
|
|
23569
23540
|
__Pyx_PyThreadState_assign
|
|
23570
23541
|
if (likely(__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
|
|
23571
23542
|
__Pyx_PyErr_Clear();
|
|
23572
23543
|
}
|
|
23544
|
+
#endif
|
|
23573
23545
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name) {
|
|
23574
23546
|
PyObject *result;
|
|
23547
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
23548
|
+
(void) PyObject_GetOptionalAttr(obj, attr_name, &result);
|
|
23549
|
+
return result;
|
|
23550
|
+
#else
|
|
23575
23551
|
#if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_TYPE_SLOTS && PY_VERSION_HEX >= 0x030700B1
|
|
23576
23552
|
PyTypeObject* tp = Py_TYPE(obj);
|
|
23577
23553
|
if (likely(tp->tp_getattro == PyObject_GenericGetAttr)) {
|
|
@@ -23583,6 +23559,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, P
|
|
|
23583
23559
|
__Pyx_PyObject_GetAttrStr_ClearAttributeError();
|
|
23584
23560
|
}
|
|
23585
23561
|
return result;
|
|
23562
|
+
#endif
|
|
23586
23563
|
}
|
|
23587
23564
|
|
|
23588
23565
|
/* GetBuiltinName */
|
|
@@ -23798,13 +23775,31 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO
|
|
|
23798
23775
|
{
|
|
23799
23776
|
int eq = __Pyx_PyUnicode_Equals(s, PyTuple_GET_ITEM(kwnames, i), Py_EQ);
|
|
23800
23777
|
if (unlikely(eq != 0)) {
|
|
23801
|
-
if (unlikely(eq < 0)) return NULL;
|
|
23778
|
+
if (unlikely(eq < 0)) return NULL;
|
|
23802
23779
|
return kwvalues[i];
|
|
23803
23780
|
}
|
|
23804
23781
|
}
|
|
23805
|
-
return NULL;
|
|
23782
|
+
return NULL;
|
|
23783
|
+
}
|
|
23784
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
23785
|
+
CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) {
|
|
23786
|
+
Py_ssize_t i, nkwargs = PyTuple_GET_SIZE(kwnames);
|
|
23787
|
+
PyObject *dict;
|
|
23788
|
+
dict = PyDict_New();
|
|
23789
|
+
if (unlikely(!dict))
|
|
23790
|
+
return NULL;
|
|
23791
|
+
for (i=0; i<nkwargs; i++) {
|
|
23792
|
+
PyObject *key = PyTuple_GET_ITEM(kwnames, i);
|
|
23793
|
+
if (unlikely(PyDict_SetItem(dict, key, kwvalues[i]) < 0))
|
|
23794
|
+
goto bad;
|
|
23795
|
+
}
|
|
23796
|
+
return dict;
|
|
23797
|
+
bad:
|
|
23798
|
+
Py_DECREF(dict);
|
|
23799
|
+
return NULL;
|
|
23806
23800
|
}
|
|
23807
23801
|
#endif
|
|
23802
|
+
#endif
|
|
23808
23803
|
|
|
23809
23804
|
/* RaiseArgTupleInvalid */
|
|
23810
23805
|
static void __Pyx_RaiseArgtupleInvalid(
|
|
@@ -23897,7 +23892,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
23897
23892
|
if (*name) {
|
|
23898
23893
|
values[name-argnames] = value;
|
|
23899
23894
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
23900
|
-
Py_INCREF(value);
|
|
23895
|
+
Py_INCREF(value);
|
|
23901
23896
|
Py_DECREF(key);
|
|
23902
23897
|
#endif
|
|
23903
23898
|
key = NULL;
|
|
@@ -23916,7 +23911,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
23916
23911
|
&& _PyString_Eq(**name, key)) {
|
|
23917
23912
|
values[name-argnames] = value;
|
|
23918
23913
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
23919
|
-
value = NULL;
|
|
23914
|
+
value = NULL;
|
|
23920
23915
|
#endif
|
|
23921
23916
|
break;
|
|
23922
23917
|
}
|
|
@@ -23948,7 +23943,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
23948
23943
|
if (cmp == 0) {
|
|
23949
23944
|
values[name-argnames] = value;
|
|
23950
23945
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
23951
|
-
value = NULL;
|
|
23946
|
+
value = NULL;
|
|
23952
23947
|
#endif
|
|
23953
23948
|
break;
|
|
23954
23949
|
}
|
|
@@ -24235,9 +24230,15 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
|
|
24235
24230
|
PyObject *result;
|
|
24236
24231
|
assert(kwargs == NULL || PyDict_Check(kwargs));
|
|
24237
24232
|
nk = kwargs ? PyDict_Size(kwargs) : 0;
|
|
24233
|
+
#if PY_MAJOR_VERSION < 3
|
|
24238
24234
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) {
|
|
24239
24235
|
return NULL;
|
|
24240
24236
|
}
|
|
24237
|
+
#else
|
|
24238
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) {
|
|
24239
|
+
return NULL;
|
|
24240
|
+
}
|
|
24241
|
+
#endif
|
|
24241
24242
|
if (
|
|
24242
24243
|
#if PY_MAJOR_VERSION >= 3
|
|
24243
24244
|
co->co_kwonlyargcount == 0 &&
|
|
@@ -24314,8 +24315,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
|
|
|
24314
24315
|
ternaryfunc call = Py_TYPE(func)->tp_call;
|
|
24315
24316
|
if (unlikely(!call))
|
|
24316
24317
|
return PyObject_Call(func, arg, kw);
|
|
24318
|
+
#if PY_MAJOR_VERSION < 3
|
|
24317
24319
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
|
|
24318
24320
|
return NULL;
|
|
24321
|
+
#else
|
|
24322
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
|
|
24323
|
+
return NULL;
|
|
24324
|
+
#endif
|
|
24319
24325
|
result = (*call)(func, arg, kw);
|
|
24320
24326
|
Py_LeaveRecursiveCall();
|
|
24321
24327
|
if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
|
|
@@ -24332,10 +24338,15 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
|
|
|
24332
24338
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
|
|
24333
24339
|
PyObject *self, *result;
|
|
24334
24340
|
PyCFunction cfunc;
|
|
24335
|
-
cfunc =
|
|
24336
|
-
self =
|
|
24341
|
+
cfunc = __Pyx_CyOrPyCFunction_GET_FUNCTION(func);
|
|
24342
|
+
self = __Pyx_CyOrPyCFunction_GET_SELF(func);
|
|
24343
|
+
#if PY_MAJOR_VERSION < 3
|
|
24337
24344
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
|
|
24338
24345
|
return NULL;
|
|
24346
|
+
#else
|
|
24347
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
|
|
24348
|
+
return NULL;
|
|
24349
|
+
#endif
|
|
24339
24350
|
result = cfunc(self, arg);
|
|
24340
24351
|
Py_LeaveRecursiveCall();
|
|
24341
24352
|
if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
|
|
@@ -24348,6 +24359,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject
|
|
|
24348
24359
|
#endif
|
|
24349
24360
|
|
|
24350
24361
|
/* PyObjectFastCall */
|
|
24362
|
+
#if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API
|
|
24351
24363
|
static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **args, size_t nargs, PyObject *kwargs) {
|
|
24352
24364
|
PyObject *argstuple;
|
|
24353
24365
|
PyObject *result = 0;
|
|
@@ -24363,28 +24375,17 @@ static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **arg
|
|
|
24363
24375
|
Py_DECREF(argstuple);
|
|
24364
24376
|
return result;
|
|
24365
24377
|
}
|
|
24378
|
+
#endif
|
|
24366
24379
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject **args, size_t _nargs, PyObject *kwargs) {
|
|
24367
24380
|
Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs);
|
|
24368
24381
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
24369
24382
|
if (nargs == 0 && kwargs == NULL) {
|
|
24370
|
-
|
|
24371
|
-
|
|
24372
|
-
#else
|
|
24373
|
-
if (PyCFunction_Check(func))
|
|
24374
|
-
#endif
|
|
24375
|
-
{
|
|
24376
|
-
if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
|
|
24377
|
-
return __Pyx_PyObject_CallMethO(func, NULL);
|
|
24378
|
-
}
|
|
24379
|
-
}
|
|
24383
|
+
if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS))
|
|
24384
|
+
return __Pyx_PyObject_CallMethO(func, NULL);
|
|
24380
24385
|
}
|
|
24381
24386
|
else if (nargs == 1 && kwargs == NULL) {
|
|
24382
|
-
if (
|
|
24383
|
-
|
|
24384
|
-
if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
|
|
24385
|
-
return __Pyx_PyObject_CallMethO(func, args[0]);
|
|
24386
|
-
}
|
|
24387
|
-
}
|
|
24387
|
+
if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_O))
|
|
24388
|
+
return __Pyx_PyObject_CallMethO(func, args[0]);
|
|
24388
24389
|
}
|
|
24389
24390
|
#endif
|
|
24390
24391
|
#if PY_VERSION_HEX < 0x030800B1
|
|
@@ -24408,25 +24409,31 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj
|
|
|
24408
24409
|
}
|
|
24409
24410
|
#endif
|
|
24410
24411
|
#endif
|
|
24411
|
-
|
|
24412
|
-
|
|
24413
|
-
|
|
24414
|
-
|
|
24415
|
-
|
|
24416
|
-
|
|
24417
|
-
|
|
24418
|
-
|
|
24419
|
-
|
|
24420
|
-
|
|
24421
|
-
|
|
24422
|
-
|
|
24423
|
-
|
|
24412
|
+
if (kwargs == NULL) {
|
|
24413
|
+
#if CYTHON_VECTORCALL
|
|
24414
|
+
#if PY_VERSION_HEX < 0x03090000
|
|
24415
|
+
vectorcallfunc f = _PyVectorcall_Function(func);
|
|
24416
|
+
#else
|
|
24417
|
+
vectorcallfunc f = PyVectorcall_Function(func);
|
|
24418
|
+
#endif
|
|
24419
|
+
if (f) {
|
|
24420
|
+
return f(func, args, (size_t)nargs, NULL);
|
|
24421
|
+
}
|
|
24422
|
+
#elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
|
|
24423
|
+
if (__Pyx_CyFunction_CheckExact(func)) {
|
|
24424
|
+
__pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
|
|
24425
|
+
if (f) return f(func, args, (size_t)nargs, NULL);
|
|
24426
|
+
}
|
|
24427
|
+
#endif
|
|
24424
24428
|
}
|
|
24425
|
-
#endif
|
|
24426
24429
|
if (nargs == 0) {
|
|
24427
24430
|
return __Pyx_PyObject_Call(func, __pyx_empty_tuple, kwargs);
|
|
24428
24431
|
}
|
|
24432
|
+
#if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
24433
|
+
return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs);
|
|
24434
|
+
#else
|
|
24429
24435
|
return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs);
|
|
24436
|
+
#endif
|
|
24430
24437
|
}
|
|
24431
24438
|
|
|
24432
24439
|
/* RaiseUnexpectedTypeError */
|
|
@@ -24729,7 +24736,7 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject* value_tuple, Py_ssize_t value_co
|
|
|
24729
24736
|
if (!CYTHON_PEP393_ENABLED || ukind == result_ukind) {
|
|
24730
24737
|
memcpy((char *)result_udata + (char_pos << kind_shift), udata, (size_t) (ulength << kind_shift));
|
|
24731
24738
|
} else {
|
|
24732
|
-
#if PY_VERSION_HEX >=
|
|
24739
|
+
#if PY_VERSION_HEX >= 0x030d0000
|
|
24733
24740
|
if (unlikely(PyUnicode_CopyCharacters(result_uval, char_pos, uval, 0, ulength) < 0)) goto bad;
|
|
24734
24741
|
#elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030300F0 || defined(_PyUnicode_FastCopyCharacters)
|
|
24735
24742
|
_PyUnicode_FastCopyCharacters(result_uval, char_pos, uval, 0, ulength);
|
|
@@ -24858,7 +24865,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
|
|
|
24858
24865
|
}
|
|
24859
24866
|
}
|
|
24860
24867
|
#else
|
|
24861
|
-
if (is_list ||
|
|
24868
|
+
if (is_list || !PyMapping_Check(o)) {
|
|
24862
24869
|
return PySequence_GetItem(o, i);
|
|
24863
24870
|
}
|
|
24864
24871
|
#endif
|
|
@@ -24893,7 +24900,9 @@ static PyObject *__Pyx_PyObject_GetItem_Slow(PyObject *obj, PyObject *key) {
|
|
|
24893
24900
|
__Pyx_TypeName obj_type_name;
|
|
24894
24901
|
if (likely(PyType_Check(obj))) {
|
|
24895
24902
|
PyObject *meth = __Pyx_PyObject_GetAttrStrNoError(obj, __pyx_n_s_class_getitem);
|
|
24896
|
-
if (meth) {
|
|
24903
|
+
if (!meth) {
|
|
24904
|
+
PyErr_Clear();
|
|
24905
|
+
} else {
|
|
24897
24906
|
PyObject *result = __Pyx_PyObject_CallOneArg(meth, key);
|
|
24898
24907
|
Py_DECREF(meth);
|
|
24899
24908
|
return result;
|
|
@@ -25002,6 +25011,7 @@ static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ssize_t b)
|
|
|
25002
25011
|
}
|
|
25003
25012
|
|
|
25004
25013
|
/* GetAttr3 */
|
|
25014
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
25005
25015
|
static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
|
|
25006
25016
|
__Pyx_PyThreadState_declare
|
|
25007
25017
|
__Pyx_PyThreadState_assign
|
|
@@ -25011,9 +25021,14 @@ static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
|
|
|
25011
25021
|
Py_INCREF(d);
|
|
25012
25022
|
return d;
|
|
25013
25023
|
}
|
|
25024
|
+
#endif
|
|
25014
25025
|
static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) {
|
|
25015
25026
|
PyObject *r;
|
|
25016
|
-
#if
|
|
25027
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
25028
|
+
int res = PyObject_GetOptionalAttr(o, n, &r);
|
|
25029
|
+
return (res != 0) ? r : __Pyx_NewRef(d);
|
|
25030
|
+
#else
|
|
25031
|
+
#if CYTHON_USE_TYPE_SLOTS
|
|
25017
25032
|
if (likely(PyString_Check(n))) {
|
|
25018
25033
|
r = __Pyx_PyObject_GetAttrStrNoError(o, n);
|
|
25019
25034
|
if (unlikely(!r) && likely(!PyErr_Occurred())) {
|
|
@@ -25021,9 +25036,10 @@ static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject
|
|
|
25021
25036
|
}
|
|
25022
25037
|
return r;
|
|
25023
25038
|
}
|
|
25024
|
-
#endif
|
|
25039
|
+
#endif
|
|
25025
25040
|
r = PyObject_GetAttr(o, n);
|
|
25026
25041
|
return (likely(r)) ? r : __Pyx_GetAttr3Default(d);
|
|
25042
|
+
#endif
|
|
25027
25043
|
}
|
|
25028
25044
|
|
|
25029
25045
|
/* PyDictVersioning */
|
|
@@ -25061,7 +25077,7 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name)
|
|
|
25061
25077
|
{
|
|
25062
25078
|
PyObject *result;
|
|
25063
25079
|
#if !CYTHON_AVOID_BORROWED_REFS
|
|
25064
|
-
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
|
|
25080
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && PY_VERSION_HEX < 0x030d0000
|
|
25065
25081
|
result = _PyDict_GetItem_KnownHash(__pyx_d, name, ((PyASCIIObject *) name)->hash);
|
|
25066
25082
|
__PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
|
|
25067
25083
|
if (likely(result)) {
|
|
@@ -25387,7 +25403,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
|
|
|
25387
25403
|
{
|
|
25388
25404
|
#if PY_MAJOR_VERSION >= 3
|
|
25389
25405
|
if (level == -1) {
|
|
25390
|
-
if (
|
|
25406
|
+
if (strchr(__Pyx_MODULE_NAME, '.') != NULL) {
|
|
25391
25407
|
module = PyImport_ImportModuleLevelObject(
|
|
25392
25408
|
name, __pyx_d, empty_dict, from_list, 1);
|
|
25393
25409
|
if (unlikely(!module)) {
|
|
@@ -25550,16 +25566,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
|
|
|
25550
25566
|
return __Pyx__ImportDottedModule(name, parts_tuple);
|
|
25551
25567
|
}
|
|
25552
25568
|
|
|
25553
|
-
/* ssize_strlen */
|
|
25554
|
-
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
|
|
25555
|
-
size_t len = strlen(s);
|
|
25556
|
-
if (unlikely(len > PY_SSIZE_T_MAX)) {
|
|
25557
|
-
PyErr_SetString(PyExc_OverflowError, "byte string is too long");
|
|
25558
|
-
return -1;
|
|
25559
|
-
}
|
|
25560
|
-
return (Py_ssize_t) len;
|
|
25561
|
-
}
|
|
25562
|
-
|
|
25563
25569
|
/* FastTypeChecks */
|
|
25564
25570
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
25565
25571
|
static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
|
|
@@ -25743,11 +25749,7 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
|
|
|
25743
25749
|
}
|
|
25744
25750
|
}
|
|
25745
25751
|
#else
|
|
25746
|
-
|
|
25747
|
-
if (is_list || (PySequence_Check(o) && !PyDict_Check(o)))
|
|
25748
|
-
#else
|
|
25749
|
-
if (is_list || PySequence_Check(o))
|
|
25750
|
-
#endif
|
|
25752
|
+
if (is_list || !PyMapping_Check(o))
|
|
25751
25753
|
{
|
|
25752
25754
|
return PySequence_SetItem(o, i, v);
|
|
25753
25755
|
}
|
|
@@ -25812,6 +25814,7 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
|
|
|
25812
25814
|
}
|
|
25813
25815
|
|
|
25814
25816
|
/* HasAttr */
|
|
25817
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
25815
25818
|
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
|
25816
25819
|
PyObject *r;
|
|
25817
25820
|
if (unlikely(!__Pyx_PyBaseString_Check(n))) {
|
|
@@ -25828,6 +25831,7 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
|
|
25828
25831
|
return 1;
|
|
25829
25832
|
}
|
|
25830
25833
|
}
|
|
25834
|
+
#endif
|
|
25831
25835
|
|
|
25832
25836
|
/* PyObject_GenericGetAttrNoDict */
|
|
25833
25837
|
#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
|
|
@@ -25956,8 +25960,8 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
25956
25960
|
|
|
25957
25961
|
/* PyObjectCallNoArg */
|
|
25958
25962
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
|
|
25959
|
-
PyObject *arg = NULL;
|
|
25960
|
-
return __Pyx_PyObject_FastCall(func,
|
|
25963
|
+
PyObject *arg[2] = {NULL, NULL};
|
|
25964
|
+
return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
|
|
25961
25965
|
}
|
|
25962
25966
|
|
|
25963
25967
|
/* PyObjectGetMethod */
|
|
@@ -26122,38 +26126,38 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
|
|
|
26122
26126
|
#endif
|
|
26123
26127
|
return -1;
|
|
26124
26128
|
}
|
|
26125
|
-
|
|
26126
|
-
if (dictoffset == 0) {
|
|
26127
|
-
PyErr_Format(PyExc_TypeError,
|
|
26128
|
-
"extension type '%s.200s': "
|
|
26129
|
-
"unable to validate whether bases have a __dict__ "
|
|
26130
|
-
"when CYTHON_USE_TYPE_SLOTS is off "
|
|
26131
|
-
"(likely because you are building in the limited API). "
|
|
26132
|
-
"Therefore, all extension types with multiple bases "
|
|
26133
|
-
"must add 'cdef dict __dict__' in this compilation mode",
|
|
26134
|
-
type_name);
|
|
26135
|
-
#if CYTHON_AVOID_BORROWED_REFS
|
|
26136
|
-
Py_DECREF(b0);
|
|
26137
|
-
#endif
|
|
26138
|
-
return -1;
|
|
26139
|
-
}
|
|
26140
|
-
#else
|
|
26141
|
-
if (dictoffset == 0 && b->tp_dictoffset)
|
|
26129
|
+
if (dictoffset == 0)
|
|
26142
26130
|
{
|
|
26143
|
-
|
|
26144
|
-
|
|
26145
|
-
|
|
26146
|
-
|
|
26147
|
-
|
|
26148
|
-
|
|
26149
|
-
|
|
26150
|
-
|
|
26131
|
+
Py_ssize_t b_dictoffset = 0;
|
|
26132
|
+
#if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY
|
|
26133
|
+
b_dictoffset = b->tp_dictoffset;
|
|
26134
|
+
#else
|
|
26135
|
+
PyObject *py_b_dictoffset = PyObject_GetAttrString((PyObject*)b, "__dictoffset__");
|
|
26136
|
+
if (!py_b_dictoffset) goto dictoffset_return;
|
|
26137
|
+
b_dictoffset = PyLong_AsSsize_t(py_b_dictoffset);
|
|
26138
|
+
Py_DECREF(py_b_dictoffset);
|
|
26139
|
+
if (b_dictoffset == -1 && PyErr_Occurred()) goto dictoffset_return;
|
|
26140
|
+
#endif
|
|
26141
|
+
if (b_dictoffset) {
|
|
26142
|
+
{
|
|
26143
|
+
__Pyx_TypeName b_name = __Pyx_PyType_GetName(b);
|
|
26144
|
+
PyErr_Format(PyExc_TypeError,
|
|
26145
|
+
"extension type '%.200s' has no __dict__ slot, "
|
|
26146
|
+
"but base type '" __Pyx_FMT_TYPENAME "' has: "
|
|
26147
|
+
"either add 'cdef dict __dict__' to the extension type "
|
|
26148
|
+
"or add '__slots__ = [...]' to the base type",
|
|
26149
|
+
type_name, b_name);
|
|
26150
|
+
__Pyx_DECREF_TypeName(b_name);
|
|
26151
|
+
}
|
|
26152
|
+
#if !(CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY)
|
|
26153
|
+
dictoffset_return:
|
|
26154
|
+
#endif
|
|
26151
26155
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
26152
|
-
|
|
26156
|
+
Py_DECREF(b0);
|
|
26153
26157
|
#endif
|
|
26154
|
-
|
|
26158
|
+
return -1;
|
|
26159
|
+
}
|
|
26155
26160
|
}
|
|
26156
|
-
#endif
|
|
26157
26161
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
26158
26162
|
Py_DECREF(b0);
|
|
26159
26163
|
#endif
|
|
@@ -26447,10 +26451,10 @@ __PYX_GOOD:
|
|
|
26447
26451
|
#endif
|
|
26448
26452
|
|
|
26449
26453
|
/* TypeImport */
|
|
26450
|
-
#ifndef
|
|
26451
|
-
#define
|
|
26452
|
-
static PyTypeObject *
|
|
26453
|
-
size_t size, size_t alignment, enum
|
|
26454
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_0_10
|
|
26455
|
+
#define __PYX_HAVE_RT_ImportType_3_0_10
|
|
26456
|
+
static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject *module, const char *module_name, const char *class_name,
|
|
26457
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_10 check_size)
|
|
26454
26458
|
{
|
|
26455
26459
|
PyObject *result = 0;
|
|
26456
26460
|
char warning[200];
|
|
@@ -26504,7 +26508,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
|
|
|
26504
26508
|
module_name, class_name, size, basicsize+itemsize);
|
|
26505
26509
|
goto bad;
|
|
26506
26510
|
}
|
|
26507
|
-
if (check_size ==
|
|
26511
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_10 &&
|
|
26508
26512
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
26509
26513
|
PyErr_Format(PyExc_ValueError,
|
|
26510
26514
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -26512,7 +26516,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
|
|
|
26512
26516
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
26513
26517
|
goto bad;
|
|
26514
26518
|
}
|
|
26515
|
-
else if (check_size ==
|
|
26519
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_10 && (size_t)basicsize > size) {
|
|
26516
26520
|
PyOS_snprintf(warning, sizeof(warning),
|
|
26517
26521
|
"%s.%s size changed, may indicate binary incompatibility. "
|
|
26518
26522
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -26528,10 +26532,7 @@ bad:
|
|
|
26528
26532
|
|
|
26529
26533
|
/* FetchSharedCythonModule */
|
|
26530
26534
|
static PyObject *__Pyx_FetchSharedCythonABIModule(void) {
|
|
26531
|
-
|
|
26532
|
-
if (unlikely(!abi_module)) return NULL;
|
|
26533
|
-
Py_INCREF(abi_module);
|
|
26534
|
-
return abi_module;
|
|
26535
|
+
return __Pyx_PyImport_AddModuleRef((char*) __PYX_ABI_MODULE_NAME);
|
|
26535
26536
|
}
|
|
26536
26537
|
|
|
26537
26538
|
/* FetchCommonType */
|
|
@@ -26692,6 +26693,20 @@ static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, _
|
|
|
26692
26693
|
#endif
|
|
26693
26694
|
|
|
26694
26695
|
/* CythonFunctionShared */
|
|
26696
|
+
#if CYTHON_COMPILING_IN_LIMITED_API
|
|
26697
|
+
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
|
|
26698
|
+
if (__Pyx_CyFunction_Check(func)) {
|
|
26699
|
+
return PyCFunction_GetFunction(((__pyx_CyFunctionObject*)func)->func) == (PyCFunction) cfunc;
|
|
26700
|
+
} else if (PyCFunction_Check(func)) {
|
|
26701
|
+
return PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
|
|
26702
|
+
}
|
|
26703
|
+
return 0;
|
|
26704
|
+
}
|
|
26705
|
+
#else
|
|
26706
|
+
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
|
|
26707
|
+
return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
|
|
26708
|
+
}
|
|
26709
|
+
#endif
|
|
26695
26710
|
static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) {
|
|
26696
26711
|
#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API
|
|
26697
26712
|
__Pyx_Py_XDECREF_SET(
|
|
@@ -27501,7 +27516,7 @@ static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func,
|
|
|
27501
27516
|
default:
|
|
27502
27517
|
return NULL;
|
|
27503
27518
|
}
|
|
27504
|
-
return ((
|
|
27519
|
+
return ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames);
|
|
27505
27520
|
}
|
|
27506
27521
|
static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
|
|
27507
27522
|
{
|
|
@@ -27840,8 +27855,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
|
|
|
27840
27855
|
Py_DECREF(replace);
|
|
27841
27856
|
return result;
|
|
27842
27857
|
}
|
|
27843
|
-
#if __PYX_LIMITED_VERSION_HEX < 0x030780000
|
|
27844
27858
|
PyErr_Clear();
|
|
27859
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030780000
|
|
27845
27860
|
{
|
|
27846
27861
|
PyObject *compiled = NULL, *result = NULL;
|
|
27847
27862
|
if (unlikely(PyDict_SetItemString(scratch_dict, "code", code))) return NULL;
|
|
@@ -27861,6 +27876,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
|
|
|
27861
27876
|
if (result) Py_INCREF(result);
|
|
27862
27877
|
return result;
|
|
27863
27878
|
}
|
|
27879
|
+
#else
|
|
27880
|
+
return NULL;
|
|
27864
27881
|
#endif
|
|
27865
27882
|
}
|
|
27866
27883
|
static void __Pyx_AddTraceback(const char *funcname, int c_line,
|
|
@@ -27958,7 +27975,7 @@ static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
|
|
|
27958
27975
|
#else
|
|
27959
27976
|
py_code = PyCode_NewEmpty(filename, funcname, py_line);
|
|
27960
27977
|
#endif
|
|
27961
|
-
Py_XDECREF(py_funcname);
|
|
27978
|
+
Py_XDECREF(py_funcname);
|
|
27962
27979
|
return py_code;
|
|
27963
27980
|
bad:
|
|
27964
27981
|
Py_XDECREF(py_funcname);
|
|
@@ -29630,7 +29647,7 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
|
|
|
29630
29647
|
#endif
|
|
29631
29648
|
if (likely(v)) {
|
|
29632
29649
|
int ret = -1;
|
|
29633
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
29650
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
29634
29651
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
29635
29652
|
unsigned char *bytes = (unsigned char *)&val;
|
|
29636
29653
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -29766,13 +29783,13 @@ raise_neg_overflow:
|
|
|
29766
29783
|
{
|
|
29767
29784
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
29768
29785
|
unsigned char *bytes = (unsigned char *)&value;
|
|
29769
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
29786
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
29770
29787
|
return _PyLong_FromByteArray(bytes, sizeof(int),
|
|
29771
29788
|
little, !is_unsigned);
|
|
29772
29789
|
#else
|
|
29773
29790
|
PyObject *from_bytes, *result = NULL;
|
|
29774
29791
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
29775
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
29792
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
29776
29793
|
if (!from_bytes) return NULL;
|
|
29777
29794
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(int));
|
|
29778
29795
|
if (!py_bytes) goto limited_bad;
|
|
@@ -29780,16 +29797,18 @@ raise_neg_overflow:
|
|
|
29780
29797
|
if (!order_str) goto limited_bad;
|
|
29781
29798
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
29782
29799
|
if (!arg_tuple) goto limited_bad;
|
|
29783
|
-
|
|
29784
|
-
|
|
29785
|
-
|
|
29800
|
+
if (!is_unsigned) {
|
|
29801
|
+
kwds = PyDict_New();
|
|
29802
|
+
if (!kwds) goto limited_bad;
|
|
29803
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
29804
|
+
}
|
|
29786
29805
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
29787
29806
|
limited_bad:
|
|
29788
|
-
Py_XDECREF(from_bytes);
|
|
29789
|
-
Py_XDECREF(py_bytes);
|
|
29790
|
-
Py_XDECREF(order_str);
|
|
29791
|
-
Py_XDECREF(arg_tuple);
|
|
29792
29807
|
Py_XDECREF(kwds);
|
|
29808
|
+
Py_XDECREF(arg_tuple);
|
|
29809
|
+
Py_XDECREF(order_str);
|
|
29810
|
+
Py_XDECREF(py_bytes);
|
|
29811
|
+
Py_XDECREF(from_bytes);
|
|
29793
29812
|
return result;
|
|
29794
29813
|
#endif
|
|
29795
29814
|
}
|
|
@@ -29965,7 +29984,7 @@ raise_neg_overflow:
|
|
|
29965
29984
|
#endif
|
|
29966
29985
|
if (likely(v)) {
|
|
29967
29986
|
int ret = -1;
|
|
29968
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
29987
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
29969
29988
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
29970
29989
|
unsigned char *bytes = (unsigned char *)&val;
|
|
29971
29990
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -30101,13 +30120,13 @@ raise_neg_overflow:
|
|
|
30101
30120
|
{
|
|
30102
30121
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
30103
30122
|
unsigned char *bytes = (unsigned char *)&value;
|
|
30104
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
30123
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
30105
30124
|
return _PyLong_FromByteArray(bytes, sizeof(long),
|
|
30106
30125
|
little, !is_unsigned);
|
|
30107
30126
|
#else
|
|
30108
30127
|
PyObject *from_bytes, *result = NULL;
|
|
30109
30128
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
30110
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
30129
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
30111
30130
|
if (!from_bytes) return NULL;
|
|
30112
30131
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long));
|
|
30113
30132
|
if (!py_bytes) goto limited_bad;
|
|
@@ -30115,16 +30134,18 @@ raise_neg_overflow:
|
|
|
30115
30134
|
if (!order_str) goto limited_bad;
|
|
30116
30135
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
30117
30136
|
if (!arg_tuple) goto limited_bad;
|
|
30118
|
-
|
|
30119
|
-
|
|
30120
|
-
|
|
30137
|
+
if (!is_unsigned) {
|
|
30138
|
+
kwds = PyDict_New();
|
|
30139
|
+
if (!kwds) goto limited_bad;
|
|
30140
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
30141
|
+
}
|
|
30121
30142
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
30122
30143
|
limited_bad:
|
|
30123
|
-
Py_XDECREF(from_bytes);
|
|
30124
|
-
Py_XDECREF(py_bytes);
|
|
30125
|
-
Py_XDECREF(order_str);
|
|
30126
|
-
Py_XDECREF(arg_tuple);
|
|
30127
30144
|
Py_XDECREF(kwds);
|
|
30145
|
+
Py_XDECREF(arg_tuple);
|
|
30146
|
+
Py_XDECREF(order_str);
|
|
30147
|
+
Py_XDECREF(py_bytes);
|
|
30148
|
+
Py_XDECREF(from_bytes);
|
|
30128
30149
|
return result;
|
|
30129
30150
|
#endif
|
|
30130
30151
|
}
|
|
@@ -30300,7 +30321,7 @@ raise_neg_overflow:
|
|
|
30300
30321
|
#endif
|
|
30301
30322
|
if (likely(v)) {
|
|
30302
30323
|
int ret = -1;
|
|
30303
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
30324
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
30304
30325
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
30305
30326
|
unsigned char *bytes = (unsigned char *)&val;
|
|
30306
30327
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -30420,41 +30441,50 @@ __Pyx_PyType_GetName(PyTypeObject* tp)
|
|
|
30420
30441
|
#endif
|
|
30421
30442
|
|
|
30422
30443
|
/* CheckBinaryVersion */
|
|
30423
|
-
static
|
|
30424
|
-
|
|
30425
|
-
|
|
30426
|
-
|
|
30427
|
-
|
|
30428
|
-
|
|
30429
|
-
|
|
30430
|
-
|
|
30431
|
-
|
|
30432
|
-
|
|
30444
|
+
static unsigned long __Pyx_get_runtime_version(void) {
|
|
30445
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030B00A4
|
|
30446
|
+
return Py_Version & ~0xFFUL;
|
|
30447
|
+
#else
|
|
30448
|
+
const char* rt_version = Py_GetVersion();
|
|
30449
|
+
unsigned long version = 0;
|
|
30450
|
+
unsigned long factor = 0x01000000UL;
|
|
30451
|
+
unsigned int digit = 0;
|
|
30452
|
+
int i = 0;
|
|
30453
|
+
while (factor) {
|
|
30454
|
+
while ('0' <= rt_version[i] && rt_version[i] <= '9') {
|
|
30455
|
+
digit = digit * 10 + (unsigned int) (rt_version[i] - '0');
|
|
30456
|
+
++i;
|
|
30433
30457
|
}
|
|
30434
|
-
|
|
30435
|
-
|
|
30458
|
+
version += factor * digit;
|
|
30459
|
+
if (rt_version[i] != '.')
|
|
30436
30460
|
break;
|
|
30437
|
-
|
|
30461
|
+
digit = 0;
|
|
30462
|
+
factor >>= 8;
|
|
30463
|
+
++i;
|
|
30438
30464
|
}
|
|
30439
|
-
|
|
30440
|
-
|
|
30465
|
+
return version;
|
|
30466
|
+
#endif
|
|
30467
|
+
}
|
|
30468
|
+
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer) {
|
|
30469
|
+
const unsigned long MAJOR_MINOR = 0xFFFF0000UL;
|
|
30470
|
+
if ((rt_version & MAJOR_MINOR) == (ct_version & MAJOR_MINOR))
|
|
30471
|
+
return 0;
|
|
30472
|
+
if (likely(allow_newer && (rt_version & MAJOR_MINOR) > (ct_version & MAJOR_MINOR)))
|
|
30473
|
+
return 1;
|
|
30474
|
+
{
|
|
30441
30475
|
char message[200];
|
|
30442
|
-
for (i=0; i<4; ++i) {
|
|
30443
|
-
if (rt_from_call[i] == '.') {
|
|
30444
|
-
if (found_dot) break;
|
|
30445
|
-
found_dot = 1;
|
|
30446
|
-
} else if (rt_from_call[i] < '0' || rt_from_call[i] > '9') {
|
|
30447
|
-
break;
|
|
30448
|
-
}
|
|
30449
|
-
rtversion[i] = rt_from_call[i];
|
|
30450
|
-
}
|
|
30451
30476
|
PyOS_snprintf(message, sizeof(message),
|
|
30452
|
-
"compile time version %
|
|
30453
|
-
"
|
|
30454
|
-
|
|
30477
|
+
"compile time Python version %d.%d "
|
|
30478
|
+
"of module '%.100s' "
|
|
30479
|
+
"%s "
|
|
30480
|
+
"runtime version %d.%d",
|
|
30481
|
+
(int) (ct_version >> 24), (int) ((ct_version >> 16) & 0xFF),
|
|
30482
|
+
__Pyx_MODULE_NAME,
|
|
30483
|
+
(allow_newer) ? "was newer than" : "does not match",
|
|
30484
|
+
(int) (rt_version >> 24), (int) ((rt_version >> 16) & 0xFF)
|
|
30485
|
+
);
|
|
30455
30486
|
return PyErr_WarnEx(NULL, message, 1);
|
|
30456
30487
|
}
|
|
30457
|
-
return 0;
|
|
30458
30488
|
}
|
|
30459
30489
|
|
|
30460
30490
|
/* InitStrings */
|
|
@@ -30500,8 +30530,24 @@ static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
|
|
|
30500
30530
|
return 0;
|
|
30501
30531
|
}
|
|
30502
30532
|
|
|
30533
|
+
#include <string.h>
|
|
30534
|
+
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
|
|
30535
|
+
size_t len = strlen(s);
|
|
30536
|
+
if (unlikely(len > (size_t) PY_SSIZE_T_MAX)) {
|
|
30537
|
+
PyErr_SetString(PyExc_OverflowError, "byte string is too long");
|
|
30538
|
+
return -1;
|
|
30539
|
+
}
|
|
30540
|
+
return (Py_ssize_t) len;
|
|
30541
|
+
}
|
|
30503
30542
|
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
|
|
30504
|
-
|
|
30543
|
+
Py_ssize_t len = __Pyx_ssize_strlen(c_str);
|
|
30544
|
+
if (unlikely(len < 0)) return NULL;
|
|
30545
|
+
return __Pyx_PyUnicode_FromStringAndSize(c_str, len);
|
|
30546
|
+
}
|
|
30547
|
+
static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char* c_str) {
|
|
30548
|
+
Py_ssize_t len = __Pyx_ssize_strlen(c_str);
|
|
30549
|
+
if (unlikely(len < 0)) return NULL;
|
|
30550
|
+
return PyByteArray_FromStringAndSize(c_str, len);
|
|
30505
30551
|
}
|
|
30506
30552
|
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
|
|
30507
30553
|
Py_ssize_t ignore;
|