biotite 0.38.0__cp310-cp310-macosx_11_0_arm64.whl → 0.40.0__cp310-cp310-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of biotite might be problematic. Click here for more details.
- biotite/__init__.py +3 -3
- biotite/application/application.py +33 -28
- biotite/application/dssp/app.py +18 -18
- biotite/application/sra/__init__.py +5 -0
- biotite/application/sra/app.py +337 -55
- biotite/database/entrez/__init__.py +2 -1
- biotite/database/entrez/check.py +14 -3
- biotite/database/entrez/download.py +20 -13
- biotite/database/entrez/key.py +44 -0
- biotite/database/entrez/query.py +38 -34
- biotite/database/pubchem/query.py +44 -44
- biotite/database/rcsb/download.py +19 -14
- biotite/database/rcsb/query.py +46 -46
- biotite/sequence/align/__init__.py +5 -1
- biotite/sequence/align/banded.c +1408 -1025
- biotite/sequence/align/banded.cpython-310-darwin.so +0 -0
- biotite/sequence/align/buckets.py +69 -0
- biotite/sequence/align/cigar.py +389 -0
- biotite/sequence/align/kmeralphabet.c +3220 -2850
- biotite/sequence/align/kmeralphabet.cpython-310-darwin.so +0 -0
- biotite/sequence/align/kmersimilarity.c +713 -663
- biotite/sequence/align/kmersimilarity.cpython-310-darwin.so +0 -0
- biotite/sequence/align/kmertable.cpp +68398 -0
- biotite/sequence/align/kmertable.cpython-310-darwin.so +0 -0
- biotite/sequence/align/localgapped.c +1507 -1074
- biotite/sequence/align/localgapped.cpython-310-darwin.so +0 -0
- biotite/sequence/align/localungapped.c +1143 -833
- biotite/sequence/align/localungapped.cpython-310-darwin.so +0 -0
- biotite/sequence/align/multiple.c +1569 -1092
- biotite/sequence/align/multiple.cpython-310-darwin.so +0 -0
- biotite/sequence/align/pairwise.c +1612 -1212
- biotite/sequence/align/pairwise.cpython-310-darwin.so +0 -0
- biotite/sequence/align/permutation.c +33259 -0
- biotite/sequence/align/permutation.cpython-310-darwin.so +0 -0
- biotite/sequence/align/primes.txt +821 -0
- biotite/sequence/align/{kmertable.c → selector.c} +9129 -16497
- biotite/sequence/align/selector.cpython-310-darwin.so +0 -0
- biotite/sequence/align/tracetable.c +685 -646
- biotite/sequence/align/tracetable.cpython-310-darwin.so +0 -0
- biotite/sequence/codec.c +1159 -841
- biotite/sequence/codec.cpython-310-darwin.so +0 -0
- biotite/sequence/graphics/alignment.py +212 -2
- biotite/sequence/io/genbank/annotation.py +11 -11
- biotite/sequence/phylo/nj.c +684 -636
- biotite/sequence/phylo/nj.cpython-310-darwin.so +0 -0
- biotite/sequence/phylo/tree.c +970 -673
- biotite/sequence/phylo/tree.cpython-310-darwin.so +0 -0
- biotite/sequence/phylo/upgma.c +672 -626
- biotite/sequence/phylo/upgma.cpython-310-darwin.so +0 -0
- biotite/structure/__init__.py +1 -1
- biotite/structure/atoms.py +1 -1
- biotite/structure/basepairs.py +7 -12
- biotite/structure/bonds.c +3861 -3749
- biotite/structure/bonds.cpython-310-darwin.so +0 -0
- biotite/structure/celllist.c +727 -707
- biotite/structure/celllist.cpython-310-darwin.so +0 -0
- biotite/structure/charges.c +1561 -1560
- biotite/structure/charges.cpython-310-darwin.so +0 -0
- biotite/structure/filter.py +30 -37
- biotite/structure/info/__init__.py +5 -8
- biotite/structure/info/atoms.py +25 -67
- biotite/structure/info/bonds.py +46 -100
- biotite/structure/info/ccd/README.rst +8 -0
- biotite/structure/info/ccd/amino_acids.txt +1646 -0
- biotite/structure/info/ccd/carbohydrates.txt +1133 -0
- biotite/structure/info/ccd/components.bcif +0 -0
- biotite/structure/info/ccd/nucleotides.txt +797 -0
- biotite/structure/info/ccd.py +95 -0
- biotite/structure/info/groups.py +90 -0
- biotite/structure/info/masses.py +21 -20
- biotite/structure/info/misc.py +11 -22
- biotite/structure/info/standardize.py +17 -12
- biotite/structure/io/__init__.py +2 -4
- biotite/structure/io/ctab.py +1 -1
- biotite/structure/io/general.py +37 -43
- biotite/structure/io/mmtf/__init__.py +3 -0
- biotite/structure/io/mmtf/convertarray.c +528 -365
- biotite/structure/io/mmtf/convertarray.cpython-310-darwin.so +0 -0
- biotite/structure/io/mmtf/convertfile.c +725 -676
- biotite/structure/io/mmtf/convertfile.cpython-310-darwin.so +0 -0
- biotite/structure/io/mmtf/decode.c +1070 -754
- biotite/structure/io/mmtf/decode.cpython-310-darwin.so +0 -0
- biotite/structure/io/mmtf/encode.c +727 -677
- biotite/structure/io/mmtf/encode.cpython-310-darwin.so +0 -0
- biotite/structure/io/mmtf/file.py +34 -26
- biotite/structure/io/npz/__init__.py +3 -0
- biotite/structure/io/npz/file.py +21 -18
- biotite/structure/io/pdb/__init__.py +3 -3
- biotite/structure/io/pdb/file.py +72 -70
- biotite/structure/io/pdb/hybrid36.c +540 -478
- biotite/structure/io/pdb/hybrid36.cpython-310-darwin.so +0 -0
- biotite/structure/io/pdbqt/file.py +82 -68
- biotite/structure/io/pdbx/__init__.py +13 -6
- biotite/structure/io/pdbx/bcif.py +649 -0
- biotite/structure/io/pdbx/cif.py +1028 -0
- biotite/structure/io/pdbx/component.py +243 -0
- biotite/structure/io/pdbx/convert.py +707 -359
- biotite/structure/io/pdbx/encoding.c +112813 -0
- biotite/structure/io/pdbx/encoding.cpython-310-darwin.so +0 -0
- biotite/structure/io/pdbx/error.py +14 -0
- biotite/structure/io/pdbx/legacy.py +267 -0
- biotite/structure/molecules.py +151 -151
- biotite/structure/residues.py +40 -40
- biotite/structure/sasa.c +713 -644
- biotite/structure/sasa.cpython-310-darwin.so +0 -0
- biotite/structure/superimpose.py +158 -115
- biotite/visualize.py +9 -11
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/METADATA +2 -2
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/RECORD +112 -102
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/WHEEL +1 -1
- biotite/structure/info/amino_acids.json +0 -1556
- biotite/structure/info/amino_acids.py +0 -42
- biotite/structure/info/carbohydrates.json +0 -1122
- biotite/structure/info/carbohydrates.py +0 -39
- biotite/structure/info/intra_bonds.msgpack +0 -0
- biotite/structure/info/link_types.msgpack +0 -1
- biotite/structure/info/nucleotides.json +0 -772
- biotite/structure/info/nucleotides.py +0 -39
- biotite/structure/info/residue_masses.msgpack +0 -0
- biotite/structure/info/residue_names.msgpack +0 -3
- biotite/structure/info/residues.msgpack +0 -0
- biotite/structure/io/pdbx/file.py +0 -652
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/LICENSE.rst +0 -0
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/top_level.txt +0 -0
biotite/structure/celllist.c
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.0.
|
|
1
|
+
/* Generated by Cython 3.0.10 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -32,15 +32,15 @@ END: Cython Metadata */
|
|
|
32
32
|
#elif PY_VERSION_HEX < 0x02070000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
|
|
33
33
|
#error Cython requires Python 2.7+ or Python 3.3+.
|
|
34
34
|
#else
|
|
35
|
-
#if CYTHON_LIMITED_API
|
|
35
|
+
#if defined(CYTHON_LIMITED_API) && CYTHON_LIMITED_API
|
|
36
36
|
#define __PYX_EXTRA_ABI_MODULE_NAME "limited"
|
|
37
37
|
#else
|
|
38
38
|
#define __PYX_EXTRA_ABI_MODULE_NAME ""
|
|
39
39
|
#endif
|
|
40
|
-
#define CYTHON_ABI "
|
|
40
|
+
#define CYTHON_ABI "3_0_10" __PYX_EXTRA_ABI_MODULE_NAME
|
|
41
41
|
#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
|
|
42
42
|
#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
|
|
43
|
-
#define CYTHON_HEX_VERSION
|
|
43
|
+
#define CYTHON_HEX_VERSION 0x03000AF0
|
|
44
44
|
#define CYTHON_FUTURE_DIVISION 1
|
|
45
45
|
#include <stddef.h>
|
|
46
46
|
#ifndef offsetof
|
|
@@ -132,6 +132,8 @@ END: Cython Metadata */
|
|
|
132
132
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
133
133
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 0
|
|
134
134
|
#endif
|
|
135
|
+
#undef CYTHON_USE_FREELISTS
|
|
136
|
+
#define CYTHON_USE_FREELISTS 0
|
|
135
137
|
#elif defined(PYPY_VERSION)
|
|
136
138
|
#define CYTHON_COMPILING_IN_PYPY 1
|
|
137
139
|
#define CYTHON_COMPILING_IN_CPYTHON 0
|
|
@@ -193,6 +195,8 @@ END: Cython Metadata */
|
|
|
193
195
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
194
196
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 0
|
|
195
197
|
#endif
|
|
198
|
+
#undef CYTHON_USE_FREELISTS
|
|
199
|
+
#define CYTHON_USE_FREELISTS 0
|
|
196
200
|
#elif defined(CYTHON_LIMITED_API)
|
|
197
201
|
#ifdef Py_LIMITED_API
|
|
198
202
|
#undef __PYX_LIMITED_VERSION_HEX
|
|
@@ -254,7 +258,9 @@ END: Cython Metadata */
|
|
|
254
258
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
255
259
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 0
|
|
256
260
|
#endif
|
|
257
|
-
#
|
|
261
|
+
#undef CYTHON_USE_FREELISTS
|
|
262
|
+
#define CYTHON_USE_FREELISTS 0
|
|
263
|
+
#elif defined(Py_GIL_DISABLED) || defined(Py_NOGIL)
|
|
258
264
|
#define CYTHON_COMPILING_IN_PYPY 0
|
|
259
265
|
#define CYTHON_COMPILING_IN_CPYTHON 0
|
|
260
266
|
#define CYTHON_COMPILING_IN_LIMITED_API 0
|
|
@@ -263,11 +269,17 @@ END: Cython Metadata */
|
|
|
263
269
|
#ifndef CYTHON_USE_TYPE_SLOTS
|
|
264
270
|
#define CYTHON_USE_TYPE_SLOTS 1
|
|
265
271
|
#endif
|
|
272
|
+
#ifndef CYTHON_USE_TYPE_SPECS
|
|
273
|
+
#define CYTHON_USE_TYPE_SPECS 0
|
|
274
|
+
#endif
|
|
266
275
|
#undef CYTHON_USE_PYTYPE_LOOKUP
|
|
267
276
|
#define CYTHON_USE_PYTYPE_LOOKUP 0
|
|
268
277
|
#ifndef CYTHON_USE_ASYNC_SLOTS
|
|
269
278
|
#define CYTHON_USE_ASYNC_SLOTS 1
|
|
270
279
|
#endif
|
|
280
|
+
#ifndef CYTHON_USE_PYLONG_INTERNALS
|
|
281
|
+
#define CYTHON_USE_PYLONG_INTERNALS 0
|
|
282
|
+
#endif
|
|
271
283
|
#undef CYTHON_USE_PYLIST_INTERNALS
|
|
272
284
|
#define CYTHON_USE_PYLIST_INTERNALS 0
|
|
273
285
|
#ifndef CYTHON_USE_UNICODE_INTERNALS
|
|
@@ -275,8 +287,6 @@ END: Cython Metadata */
|
|
|
275
287
|
#endif
|
|
276
288
|
#undef CYTHON_USE_UNICODE_WRITER
|
|
277
289
|
#define CYTHON_USE_UNICODE_WRITER 0
|
|
278
|
-
#undef CYTHON_USE_PYLONG_INTERNALS
|
|
279
|
-
#define CYTHON_USE_PYLONG_INTERNALS 0
|
|
280
290
|
#ifndef CYTHON_AVOID_BORROWED_REFS
|
|
281
291
|
#define CYTHON_AVOID_BORROWED_REFS 0
|
|
282
292
|
#endif
|
|
@@ -288,11 +298,22 @@ END: Cython Metadata */
|
|
|
288
298
|
#endif
|
|
289
299
|
#undef CYTHON_FAST_THREAD_STATE
|
|
290
300
|
#define CYTHON_FAST_THREAD_STATE 0
|
|
301
|
+
#undef CYTHON_FAST_GIL
|
|
302
|
+
#define CYTHON_FAST_GIL 0
|
|
303
|
+
#ifndef CYTHON_METH_FASTCALL
|
|
304
|
+
#define CYTHON_METH_FASTCALL 1
|
|
305
|
+
#endif
|
|
291
306
|
#undef CYTHON_FAST_PYCALL
|
|
292
307
|
#define CYTHON_FAST_PYCALL 0
|
|
308
|
+
#ifndef CYTHON_PEP487_INIT_SUBCLASS
|
|
309
|
+
#define CYTHON_PEP487_INIT_SUBCLASS 1
|
|
310
|
+
#endif
|
|
293
311
|
#ifndef CYTHON_PEP489_MULTI_PHASE_INIT
|
|
294
312
|
#define CYTHON_PEP489_MULTI_PHASE_INIT 1
|
|
295
313
|
#endif
|
|
314
|
+
#ifndef CYTHON_USE_MODULE_STATE
|
|
315
|
+
#define CYTHON_USE_MODULE_STATE 0
|
|
316
|
+
#endif
|
|
296
317
|
#ifndef CYTHON_USE_TP_FINALIZE
|
|
297
318
|
#define CYTHON_USE_TP_FINALIZE 1
|
|
298
319
|
#endif
|
|
@@ -300,6 +321,12 @@ END: Cython Metadata */
|
|
|
300
321
|
#define CYTHON_USE_DICT_VERSIONS 0
|
|
301
322
|
#undef CYTHON_USE_EXC_INFO_STACK
|
|
302
323
|
#define CYTHON_USE_EXC_INFO_STACK 0
|
|
324
|
+
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
325
|
+
#define CYTHON_UPDATE_DESCRIPTOR_DOC 1
|
|
326
|
+
#endif
|
|
327
|
+
#ifndef CYTHON_USE_FREELISTS
|
|
328
|
+
#define CYTHON_USE_FREELISTS 0
|
|
329
|
+
#endif
|
|
303
330
|
#else
|
|
304
331
|
#define CYTHON_COMPILING_IN_PYPY 0
|
|
305
332
|
#define CYTHON_COMPILING_IN_CPYTHON 1
|
|
@@ -390,6 +417,9 @@ END: Cython Metadata */
|
|
|
390
417
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
391
418
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 1
|
|
392
419
|
#endif
|
|
420
|
+
#ifndef CYTHON_USE_FREELISTS
|
|
421
|
+
#define CYTHON_USE_FREELISTS 1
|
|
422
|
+
#endif
|
|
393
423
|
#endif
|
|
394
424
|
#if !defined(CYTHON_FAST_PYCCALL)
|
|
395
425
|
#define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
|
|
@@ -581,17 +611,20 @@ END: Cython Metadata */
|
|
|
581
611
|
PyObject *name, int fline, PyObject *lnos) {
|
|
582
612
|
PyObject *exception_table = NULL;
|
|
583
613
|
PyObject *types_module=NULL, *code_type=NULL, *result=NULL;
|
|
584
|
-
|
|
614
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030B0000
|
|
615
|
+
PyObject *version_info;
|
|
585
616
|
PyObject *py_minor_version = NULL;
|
|
617
|
+
#endif
|
|
586
618
|
long minor_version = 0;
|
|
587
619
|
PyObject *type, *value, *traceback;
|
|
588
620
|
PyErr_Fetch(&type, &value, &traceback);
|
|
589
621
|
#if __PYX_LIMITED_VERSION_HEX >= 0x030B0000
|
|
590
|
-
minor_version = 11;
|
|
622
|
+
minor_version = 11;
|
|
591
623
|
#else
|
|
592
624
|
if (!(version_info = PySys_GetObject("version_info"))) goto end;
|
|
593
625
|
if (!(py_minor_version = PySequence_GetItem(version_info, 1))) goto end;
|
|
594
626
|
minor_version = PyLong_AsLong(py_minor_version);
|
|
627
|
+
Py_DECREF(py_minor_version);
|
|
595
628
|
if (minor_version == -1 && PyErr_Occurred()) goto end;
|
|
596
629
|
#endif
|
|
597
630
|
if (!(types_module = PyImport_ImportModule("types"))) goto end;
|
|
@@ -612,7 +645,6 @@ END: Cython Metadata */
|
|
|
612
645
|
Py_XDECREF(code_type);
|
|
613
646
|
Py_XDECREF(exception_table);
|
|
614
647
|
Py_XDECREF(types_module);
|
|
615
|
-
Py_XDECREF(py_minor_version);
|
|
616
648
|
if (type) {
|
|
617
649
|
PyErr_Restore(type, value, traceback);
|
|
618
650
|
}
|
|
@@ -645,7 +677,7 @@ END: Cython Metadata */
|
|
|
645
677
|
PyObject *fv, PyObject *cell, PyObject* fn,
|
|
646
678
|
PyObject *name, int fline, PyObject *lnos) {
|
|
647
679
|
PyCodeObject *result;
|
|
648
|
-
PyObject *empty_bytes = PyBytes_FromStringAndSize("", 0);
|
|
680
|
+
PyObject *empty_bytes = PyBytes_FromStringAndSize("", 0);
|
|
649
681
|
if (!empty_bytes) return NULL;
|
|
650
682
|
result =
|
|
651
683
|
#if PY_VERSION_HEX >= 0x030C0000
|
|
@@ -731,8 +763,13 @@ END: Cython Metadata */
|
|
|
731
763
|
typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args,
|
|
732
764
|
Py_ssize_t nargs, PyObject *kwnames);
|
|
733
765
|
#else
|
|
734
|
-
#
|
|
735
|
-
#define
|
|
766
|
+
#if PY_VERSION_HEX >= 0x030d00A4
|
|
767
|
+
# define __Pyx_PyCFunctionFast PyCFunctionFast
|
|
768
|
+
# define __Pyx_PyCFunctionFastWithKeywords PyCFunctionFastWithKeywords
|
|
769
|
+
#else
|
|
770
|
+
# define __Pyx_PyCFunctionFast _PyCFunctionFast
|
|
771
|
+
# define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
|
|
772
|
+
#endif
|
|
736
773
|
#endif
|
|
737
774
|
#if CYTHON_METH_FASTCALL
|
|
738
775
|
#define __Pyx_METH_FASTCALL METH_FASTCALL
|
|
@@ -756,6 +793,31 @@ END: Cython Metadata */
|
|
|
756
793
|
#define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET 0
|
|
757
794
|
#define __Pyx_PyVectorcall_NARGS(n) ((Py_ssize_t)(n))
|
|
758
795
|
#endif
|
|
796
|
+
#if PY_MAJOR_VERSION >= 0x030900B1
|
|
797
|
+
#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_CheckExact(func)
|
|
798
|
+
#else
|
|
799
|
+
#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_Check(func)
|
|
800
|
+
#endif
|
|
801
|
+
#define __Pyx_CyOrPyCFunction_Check(func) PyCFunction_Check(func)
|
|
802
|
+
#if CYTHON_COMPILING_IN_CPYTHON
|
|
803
|
+
#define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) (((PyCFunctionObject*)(func))->m_ml->ml_meth)
|
|
804
|
+
#elif !CYTHON_COMPILING_IN_LIMITED_API
|
|
805
|
+
#define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(func)
|
|
806
|
+
#endif
|
|
807
|
+
#if CYTHON_COMPILING_IN_CPYTHON
|
|
808
|
+
#define __Pyx_CyOrPyCFunction_GET_FLAGS(func) (((PyCFunctionObject*)(func))->m_ml->ml_flags)
|
|
809
|
+
static CYTHON_INLINE PyObject* __Pyx_CyOrPyCFunction_GET_SELF(PyObject *func) {
|
|
810
|
+
return (__Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_STATIC) ? NULL : ((PyCFunctionObject*)func)->m_self;
|
|
811
|
+
}
|
|
812
|
+
#endif
|
|
813
|
+
static CYTHON_INLINE int __Pyx__IsSameCFunction(PyObject *func, void *cfunc) {
|
|
814
|
+
#if CYTHON_COMPILING_IN_LIMITED_API
|
|
815
|
+
return PyCFunction_Check(func) && PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
|
|
816
|
+
#else
|
|
817
|
+
return PyCFunction_Check(func) && PyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
|
|
818
|
+
#endif
|
|
819
|
+
}
|
|
820
|
+
#define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCFunction(func, cfunc)
|
|
759
821
|
#if __PYX_LIMITED_VERSION_HEX < 0x030900B1
|
|
760
822
|
#define __Pyx_PyType_FromModuleAndSpec(m, s, b) ((void)m, PyType_FromSpecWithBases(s, b))
|
|
761
823
|
typedef PyObject *(*__Pyx_PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, size_t, PyObject *);
|
|
@@ -782,6 +844,8 @@ END: Cython Metadata */
|
|
|
782
844
|
#define __Pyx_PyThreadState_Current PyThreadState_Get()
|
|
783
845
|
#elif !CYTHON_FAST_THREAD_STATE
|
|
784
846
|
#define __Pyx_PyThreadState_Current PyThreadState_GET()
|
|
847
|
+
#elif PY_VERSION_HEX >= 0x030d00A1
|
|
848
|
+
#define __Pyx_PyThreadState_Current PyThreadState_GetUnchecked()
|
|
785
849
|
#elif PY_VERSION_HEX >= 0x03060000
|
|
786
850
|
#define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
|
|
787
851
|
#elif PY_VERSION_HEX >= 0x03000000
|
|
@@ -857,7 +921,7 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
|
|
|
857
921
|
}
|
|
858
922
|
#endif
|
|
859
923
|
#endif
|
|
860
|
-
#if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized)
|
|
924
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030d0000 || defined(_PyDict_NewPresized)
|
|
861
925
|
#define __Pyx_PyDict_NewPresized(n) ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n))
|
|
862
926
|
#else
|
|
863
927
|
#define __Pyx_PyDict_NewPresized(n) PyDict_New()
|
|
@@ -869,7 +933,7 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
|
|
|
869
933
|
#define __Pyx_PyNumber_Divide(x,y) PyNumber_Divide(x,y)
|
|
870
934
|
#define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceDivide(x,y)
|
|
871
935
|
#endif
|
|
872
|
-
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX > 0x030600B4 && CYTHON_USE_UNICODE_INTERNALS
|
|
936
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX > 0x030600B4 && PY_VERSION_HEX < 0x030d0000 && CYTHON_USE_UNICODE_INTERNALS
|
|
873
937
|
#define __Pyx_PyDict_GetItemStrWithError(dict, name) _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash)
|
|
874
938
|
static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStr(PyObject *dict, PyObject *name) {
|
|
875
939
|
PyObject *res = __Pyx_PyDict_GetItemStrWithError(dict, name);
|
|
@@ -913,7 +977,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict,
|
|
|
913
977
|
#endif
|
|
914
978
|
#if CYTHON_USE_TYPE_SPECS && PY_VERSION_HEX >= 0x03080000
|
|
915
979
|
#define __Pyx_PyHeapTypeObject_GC_Del(obj) {\
|
|
916
|
-
PyTypeObject *type = Py_TYPE(obj);\
|
|
980
|
+
PyTypeObject *type = Py_TYPE((PyObject*)obj);\
|
|
917
981
|
assert(__Pyx_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE));\
|
|
918
982
|
PyObject_GC_Del(obj);\
|
|
919
983
|
Py_DECREF(type);\
|
|
@@ -1057,6 +1121,15 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict,
|
|
|
1057
1121
|
#define __Pyx_PyBytes_GET_SIZE(o) PyBytes_Size(o)
|
|
1058
1122
|
#define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_Size(o)
|
|
1059
1123
|
#endif
|
|
1124
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
1125
|
+
#define __Pyx_PyImport_AddModuleRef(name) PyImport_AddModuleRef(name)
|
|
1126
|
+
#else
|
|
1127
|
+
static CYTHON_INLINE PyObject *__Pyx_PyImport_AddModuleRef(const char *name) {
|
|
1128
|
+
PyObject *module = PyImport_AddModule(name);
|
|
1129
|
+
Py_XINCREF(module);
|
|
1130
|
+
return module;
|
|
1131
|
+
}
|
|
1132
|
+
#endif
|
|
1060
1133
|
#if PY_MAJOR_VERSION >= 3
|
|
1061
1134
|
#define PyIntObject PyLongObject
|
|
1062
1135
|
#define PyInt_Type PyLong_Type
|
|
@@ -1135,7 +1208,7 @@ static CYTHON_INLINE float __PYX_NAN() {
|
|
|
1135
1208
|
#endif
|
|
1136
1209
|
|
|
1137
1210
|
#define __PYX_MARK_ERR_POS(f_index, lineno) \
|
|
1138
|
-
{ __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__;
|
|
1211
|
+
{ __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__; (void)__pyx_clineno; }
|
|
1139
1212
|
#define __PYX_ERR(f_index, lineno, Ln_error) \
|
|
1140
1213
|
{ __PYX_MARK_ERR_POS(f_index, lineno) goto Ln_error; }
|
|
1141
1214
|
|
|
@@ -1219,9 +1292,10 @@ static CYTHON_INLINE int __Pyx_is_valid_index(Py_ssize_t i, Py_ssize_t limit) {
|
|
|
1219
1292
|
#else
|
|
1220
1293
|
#define __Pyx_sst_abs(value) ((value<0) ? -value : value)
|
|
1221
1294
|
#endif
|
|
1295
|
+
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s);
|
|
1222
1296
|
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*);
|
|
1223
1297
|
static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
|
|
1224
|
-
|
|
1298
|
+
static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char*);
|
|
1225
1299
|
#define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
|
|
1226
1300
|
#define __Pyx_PyBytes_FromString PyBytes_FromString
|
|
1227
1301
|
#define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize
|
|
@@ -1249,24 +1323,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*);
|
|
|
1249
1323
|
#define __Pyx_PyByteArray_FromCString(s) __Pyx_PyByteArray_FromString((const char*)s)
|
|
1250
1324
|
#define __Pyx_PyStr_FromCString(s) __Pyx_PyStr_FromString((const char*)s)
|
|
1251
1325
|
#define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
|
|
1252
|
-
#if CYTHON_COMPILING_IN_LIMITED_API
|
|
1253
|
-
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const wchar_t *u)
|
|
1254
|
-
{
|
|
1255
|
-
const wchar_t *u_end = u;
|
|
1256
|
-
while (*u_end++) ;
|
|
1257
|
-
return (size_t)(u_end - u - 1);
|
|
1258
|
-
}
|
|
1259
|
-
#else
|
|
1260
|
-
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
|
|
1261
|
-
{
|
|
1262
|
-
const Py_UNICODE *u_end = u;
|
|
1263
|
-
while (*u_end++) ;
|
|
1264
|
-
return (size_t)(u_end - u - 1);
|
|
1265
|
-
}
|
|
1266
|
-
#endif
|
|
1267
1326
|
#define __Pyx_PyUnicode_FromOrdinal(o) PyUnicode_FromOrdinal((int)o)
|
|
1268
|
-
#define __Pyx_PyUnicode_FromUnicode(u) PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
|
|
1269
|
-
#define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
|
|
1270
1327
|
#define __Pyx_PyUnicode_AsUnicode PyUnicode_AsUnicode
|
|
1271
1328
|
#define __Pyx_NewRef(obj) (Py_INCREF(obj), obj)
|
|
1272
1329
|
#define __Pyx_Owned_Py_None(b) __Pyx_NewRef(Py_None)
|
|
@@ -1316,7 +1373,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
|
|
|
1316
1373
|
#endif
|
|
1317
1374
|
typedef Py_ssize_t __Pyx_compact_pylong;
|
|
1318
1375
|
typedef size_t __Pyx_compact_upylong;
|
|
1319
|
-
#else
|
|
1376
|
+
#else
|
|
1320
1377
|
#define __Pyx_PyLong_IsNeg(x) (Py_SIZE(x) < 0)
|
|
1321
1378
|
#define __Pyx_PyLong_IsNonNeg(x) (Py_SIZE(x) >= 0)
|
|
1322
1379
|
#define __Pyx_PyLong_IsZero(x) (Py_SIZE(x) == 0)
|
|
@@ -1337,6 +1394,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
|
|
|
1337
1394
|
#endif
|
|
1338
1395
|
#endif
|
|
1339
1396
|
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
|
|
1397
|
+
#include <string.h>
|
|
1340
1398
|
static int __Pyx_sys_getdefaultencoding_not_ascii;
|
|
1341
1399
|
static int __Pyx_init_sys_getdefaultencoding_params(void) {
|
|
1342
1400
|
PyObject* sys;
|
|
@@ -1387,6 +1445,7 @@ bad:
|
|
|
1387
1445
|
#else
|
|
1388
1446
|
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
|
|
1389
1447
|
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
|
|
1448
|
+
#include <string.h>
|
|
1390
1449
|
static char* __PYX_DEFAULT_STRING_ENCODING;
|
|
1391
1450
|
static int __Pyx_init_sys_getdefaultencoding_params(void) {
|
|
1392
1451
|
PyObject* sys;
|
|
@@ -1434,7 +1493,7 @@ static const char *__pyx_filename;
|
|
|
1434
1493
|
#if !defined(CYTHON_CCOMPLEX)
|
|
1435
1494
|
#if defined(__cplusplus)
|
|
1436
1495
|
#define CYTHON_CCOMPLEX 1
|
|
1437
|
-
#elif (defined(_Complex_I) && !defined(_MSC_VER)) || ((defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_COMPLEX__))
|
|
1496
|
+
#elif (defined(_Complex_I) && !defined(_MSC_VER)) || ((defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_COMPLEX__) && !defined(_MSC_VER))
|
|
1438
1497
|
#define CYTHON_CCOMPLEX 1
|
|
1439
1498
|
#else
|
|
1440
1499
|
#define CYTHON_CCOMPLEX 0
|
|
@@ -1564,6 +1623,7 @@ typedef struct {
|
|
|
1564
1623
|
#include <intrin.h>
|
|
1565
1624
|
#undef __pyx_atomic_int_type
|
|
1566
1625
|
#define __pyx_atomic_int_type long
|
|
1626
|
+
#undef __pyx_nonatomic_int_type
|
|
1567
1627
|
#define __pyx_nonatomic_int_type long
|
|
1568
1628
|
#pragma intrinsic (_InterlockedExchangeAdd)
|
|
1569
1629
|
#define __pyx_atomic_incr_aligned(value) _InterlockedExchangeAdd(value, 1)
|
|
@@ -1603,7 +1663,7 @@ typedef struct {
|
|
|
1603
1663
|
|
|
1604
1664
|
/* #### Code section: numeric_typedefs ### */
|
|
1605
1665
|
|
|
1606
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1666
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":732
|
|
1607
1667
|
* # in Cython to enable them only on the right systems.
|
|
1608
1668
|
*
|
|
1609
1669
|
* ctypedef npy_int8 int8_t # <<<<<<<<<<<<<<
|
|
@@ -1612,7 +1672,7 @@ typedef struct {
|
|
|
1612
1672
|
*/
|
|
1613
1673
|
typedef npy_int8 __pyx_t_5numpy_int8_t;
|
|
1614
1674
|
|
|
1615
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1675
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":733
|
|
1616
1676
|
*
|
|
1617
1677
|
* ctypedef npy_int8 int8_t
|
|
1618
1678
|
* ctypedef npy_int16 int16_t # <<<<<<<<<<<<<<
|
|
@@ -1621,7 +1681,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t;
|
|
|
1621
1681
|
*/
|
|
1622
1682
|
typedef npy_int16 __pyx_t_5numpy_int16_t;
|
|
1623
1683
|
|
|
1624
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1684
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":734
|
|
1625
1685
|
* ctypedef npy_int8 int8_t
|
|
1626
1686
|
* ctypedef npy_int16 int16_t
|
|
1627
1687
|
* ctypedef npy_int32 int32_t # <<<<<<<<<<<<<<
|
|
@@ -1630,7 +1690,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t;
|
|
|
1630
1690
|
*/
|
|
1631
1691
|
typedef npy_int32 __pyx_t_5numpy_int32_t;
|
|
1632
1692
|
|
|
1633
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1693
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":735
|
|
1634
1694
|
* ctypedef npy_int16 int16_t
|
|
1635
1695
|
* ctypedef npy_int32 int32_t
|
|
1636
1696
|
* ctypedef npy_int64 int64_t # <<<<<<<<<<<<<<
|
|
@@ -1639,7 +1699,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t;
|
|
|
1639
1699
|
*/
|
|
1640
1700
|
typedef npy_int64 __pyx_t_5numpy_int64_t;
|
|
1641
1701
|
|
|
1642
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1702
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":739
|
|
1643
1703
|
* #ctypedef npy_int128 int128_t
|
|
1644
1704
|
*
|
|
1645
1705
|
* ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<<
|
|
@@ -1648,7 +1708,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t;
|
|
|
1648
1708
|
*/
|
|
1649
1709
|
typedef npy_uint8 __pyx_t_5numpy_uint8_t;
|
|
1650
1710
|
|
|
1651
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1711
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":740
|
|
1652
1712
|
*
|
|
1653
1713
|
* ctypedef npy_uint8 uint8_t
|
|
1654
1714
|
* ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<<
|
|
@@ -1657,7 +1717,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
|
|
|
1657
1717
|
*/
|
|
1658
1718
|
typedef npy_uint16 __pyx_t_5numpy_uint16_t;
|
|
1659
1719
|
|
|
1660
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1720
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":741
|
|
1661
1721
|
* ctypedef npy_uint8 uint8_t
|
|
1662
1722
|
* ctypedef npy_uint16 uint16_t
|
|
1663
1723
|
* ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<<
|
|
@@ -1666,7 +1726,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
|
|
|
1666
1726
|
*/
|
|
1667
1727
|
typedef npy_uint32 __pyx_t_5numpy_uint32_t;
|
|
1668
1728
|
|
|
1669
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1729
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":742
|
|
1670
1730
|
* ctypedef npy_uint16 uint16_t
|
|
1671
1731
|
* ctypedef npy_uint32 uint32_t
|
|
1672
1732
|
* ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<<
|
|
@@ -1675,7 +1735,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
|
|
|
1675
1735
|
*/
|
|
1676
1736
|
typedef npy_uint64 __pyx_t_5numpy_uint64_t;
|
|
1677
1737
|
|
|
1678
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1738
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":746
|
|
1679
1739
|
* #ctypedef npy_uint128 uint128_t
|
|
1680
1740
|
*
|
|
1681
1741
|
* ctypedef npy_float32 float32_t # <<<<<<<<<<<<<<
|
|
@@ -1684,7 +1744,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
|
|
|
1684
1744
|
*/
|
|
1685
1745
|
typedef npy_float32 __pyx_t_5numpy_float32_t;
|
|
1686
1746
|
|
|
1687
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1747
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":747
|
|
1688
1748
|
*
|
|
1689
1749
|
* ctypedef npy_float32 float32_t
|
|
1690
1750
|
* ctypedef npy_float64 float64_t # <<<<<<<<<<<<<<
|
|
@@ -1693,7 +1753,7 @@ typedef npy_float32 __pyx_t_5numpy_float32_t;
|
|
|
1693
1753
|
*/
|
|
1694
1754
|
typedef npy_float64 __pyx_t_5numpy_float64_t;
|
|
1695
1755
|
|
|
1696
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1756
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":756
|
|
1697
1757
|
* # The int types are mapped a bit surprising --
|
|
1698
1758
|
* # numpy.int corresponds to 'l' and numpy.long to 'q'
|
|
1699
1759
|
* ctypedef npy_long int_t # <<<<<<<<<<<<<<
|
|
@@ -1702,7 +1762,7 @@ typedef npy_float64 __pyx_t_5numpy_float64_t;
|
|
|
1702
1762
|
*/
|
|
1703
1763
|
typedef npy_long __pyx_t_5numpy_int_t;
|
|
1704
1764
|
|
|
1705
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1765
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":757
|
|
1706
1766
|
* # numpy.int corresponds to 'l' and numpy.long to 'q'
|
|
1707
1767
|
* ctypedef npy_long int_t
|
|
1708
1768
|
* ctypedef npy_longlong long_t # <<<<<<<<<<<<<<
|
|
@@ -1711,7 +1771,7 @@ typedef npy_long __pyx_t_5numpy_int_t;
|
|
|
1711
1771
|
*/
|
|
1712
1772
|
typedef npy_longlong __pyx_t_5numpy_long_t;
|
|
1713
1773
|
|
|
1714
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1774
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":758
|
|
1715
1775
|
* ctypedef npy_long int_t
|
|
1716
1776
|
* ctypedef npy_longlong long_t
|
|
1717
1777
|
* ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<<
|
|
@@ -1720,7 +1780,7 @@ typedef npy_longlong __pyx_t_5numpy_long_t;
|
|
|
1720
1780
|
*/
|
|
1721
1781
|
typedef npy_longlong __pyx_t_5numpy_longlong_t;
|
|
1722
1782
|
|
|
1723
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1783
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":760
|
|
1724
1784
|
* ctypedef npy_longlong longlong_t
|
|
1725
1785
|
*
|
|
1726
1786
|
* ctypedef npy_ulong uint_t # <<<<<<<<<<<<<<
|
|
@@ -1729,7 +1789,7 @@ typedef npy_longlong __pyx_t_5numpy_longlong_t;
|
|
|
1729
1789
|
*/
|
|
1730
1790
|
typedef npy_ulong __pyx_t_5numpy_uint_t;
|
|
1731
1791
|
|
|
1732
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1792
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":761
|
|
1733
1793
|
*
|
|
1734
1794
|
* ctypedef npy_ulong uint_t
|
|
1735
1795
|
* ctypedef npy_ulonglong ulong_t # <<<<<<<<<<<<<<
|
|
@@ -1738,7 +1798,7 @@ typedef npy_ulong __pyx_t_5numpy_uint_t;
|
|
|
1738
1798
|
*/
|
|
1739
1799
|
typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
|
|
1740
1800
|
|
|
1741
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1801
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":762
|
|
1742
1802
|
* ctypedef npy_ulong uint_t
|
|
1743
1803
|
* ctypedef npy_ulonglong ulong_t
|
|
1744
1804
|
* ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<<
|
|
@@ -1747,7 +1807,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
|
|
|
1747
1807
|
*/
|
|
1748
1808
|
typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
|
|
1749
1809
|
|
|
1750
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1810
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":764
|
|
1751
1811
|
* ctypedef npy_ulonglong ulonglong_t
|
|
1752
1812
|
*
|
|
1753
1813
|
* ctypedef npy_intp intp_t # <<<<<<<<<<<<<<
|
|
@@ -1756,7 +1816,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
|
|
|
1756
1816
|
*/
|
|
1757
1817
|
typedef npy_intp __pyx_t_5numpy_intp_t;
|
|
1758
1818
|
|
|
1759
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1819
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":765
|
|
1760
1820
|
*
|
|
1761
1821
|
* ctypedef npy_intp intp_t
|
|
1762
1822
|
* ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<<
|
|
@@ -1765,7 +1825,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t;
|
|
|
1765
1825
|
*/
|
|
1766
1826
|
typedef npy_uintp __pyx_t_5numpy_uintp_t;
|
|
1767
1827
|
|
|
1768
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1828
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":767
|
|
1769
1829
|
* ctypedef npy_uintp uintp_t
|
|
1770
1830
|
*
|
|
1771
1831
|
* ctypedef npy_double float_t # <<<<<<<<<<<<<<
|
|
@@ -1774,7 +1834,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t;
|
|
|
1774
1834
|
*/
|
|
1775
1835
|
typedef npy_double __pyx_t_5numpy_float_t;
|
|
1776
1836
|
|
|
1777
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1837
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":768
|
|
1778
1838
|
*
|
|
1779
1839
|
* ctypedef npy_double float_t
|
|
1780
1840
|
* ctypedef npy_double double_t # <<<<<<<<<<<<<<
|
|
@@ -1783,7 +1843,7 @@ typedef npy_double __pyx_t_5numpy_float_t;
|
|
|
1783
1843
|
*/
|
|
1784
1844
|
typedef npy_double __pyx_t_5numpy_double_t;
|
|
1785
1845
|
|
|
1786
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1846
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":769
|
|
1787
1847
|
* ctypedef npy_double float_t
|
|
1788
1848
|
* ctypedef npy_double double_t
|
|
1789
1849
|
* ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<<
|
|
@@ -1852,7 +1912,7 @@ struct __pyx_MemviewEnum_obj;
|
|
|
1852
1912
|
struct __pyx_memoryview_obj;
|
|
1853
1913
|
struct __pyx_memoryviewslice_obj;
|
|
1854
1914
|
|
|
1855
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1915
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":771
|
|
1856
1916
|
* ctypedef npy_longdouble longdouble_t
|
|
1857
1917
|
*
|
|
1858
1918
|
* ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<<
|
|
@@ -1861,7 +1921,7 @@ struct __pyx_memoryviewslice_obj;
|
|
|
1861
1921
|
*/
|
|
1862
1922
|
typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
|
|
1863
1923
|
|
|
1864
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1924
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":772
|
|
1865
1925
|
*
|
|
1866
1926
|
* ctypedef npy_cfloat cfloat_t
|
|
1867
1927
|
* ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<<
|
|
@@ -1870,7 +1930,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
|
|
|
1870
1930
|
*/
|
|
1871
1931
|
typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
|
|
1872
1932
|
|
|
1873
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1933
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":773
|
|
1874
1934
|
* ctypedef npy_cfloat cfloat_t
|
|
1875
1935
|
* ctypedef npy_cdouble cdouble_t
|
|
1876
1936
|
* ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<<
|
|
@@ -1879,7 +1939,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
|
|
|
1879
1939
|
*/
|
|
1880
1940
|
typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
|
|
1881
1941
|
|
|
1882
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1942
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":775
|
|
1883
1943
|
* ctypedef npy_clongdouble clongdouble_t
|
|
1884
1944
|
*
|
|
1885
1945
|
* ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<<
|
|
@@ -2233,8 +2293,8 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
|
|
|
2233
2293
|
#define __Pyx_Arg_NewRef_VARARGS(arg) __Pyx_NewRef(arg)
|
|
2234
2294
|
#define __Pyx_Arg_XDECREF_VARARGS(arg) Py_XDECREF(arg)
|
|
2235
2295
|
#else
|
|
2236
|
-
#define __Pyx_Arg_NewRef_VARARGS(arg) arg
|
|
2237
|
-
#define __Pyx_Arg_XDECREF_VARARGS(arg)
|
|
2296
|
+
#define __Pyx_Arg_NewRef_VARARGS(arg) arg
|
|
2297
|
+
#define __Pyx_Arg_XDECREF_VARARGS(arg)
|
|
2238
2298
|
#endif
|
|
2239
2299
|
#define __Pyx_NumKwargs_VARARGS(kwds) PyDict_Size(kwds)
|
|
2240
2300
|
#define __Pyx_KwValues_VARARGS(args, nargs) NULL
|
|
@@ -2245,9 +2305,14 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
|
|
|
2245
2305
|
#define __Pyx_NumKwargs_FASTCALL(kwds) PyTuple_GET_SIZE(kwds)
|
|
2246
2306
|
#define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs))
|
|
2247
2307
|
static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s);
|
|
2308
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
2309
|
+
CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);
|
|
2310
|
+
#else
|
|
2248
2311
|
#define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw)
|
|
2249
|
-
|
|
2250
|
-
#define
|
|
2312
|
+
#endif
|
|
2313
|
+
#define __Pyx_Arg_NewRef_FASTCALL(arg) arg /* no-op, __Pyx_Arg_FASTCALL is direct and this needs
|
|
2314
|
+
to have the same reference counting */
|
|
2315
|
+
#define __Pyx_Arg_XDECREF_FASTCALL(arg)
|
|
2251
2316
|
#else
|
|
2252
2317
|
#define __Pyx_Arg_FASTCALL __Pyx_Arg_VARARGS
|
|
2253
2318
|
#define __Pyx_NumKwargs_FASTCALL __Pyx_NumKwargs_VARARGS
|
|
@@ -2570,9 +2635,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
|
|
|
2570
2635
|
static PyObject *__Pyx_ImportDottedModule_WalkParts(PyObject *module, PyObject *name, PyObject *parts_tuple);
|
|
2571
2636
|
#endif
|
|
2572
2637
|
|
|
2573
|
-
/* ssize_strlen.proto */
|
|
2574
|
-
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s);
|
|
2575
|
-
|
|
2576
2638
|
/* FastTypeChecks.proto */
|
|
2577
2639
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
2578
2640
|
#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
|
|
@@ -2598,7 +2660,11 @@ static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
|
|
|
2598
2660
|
Py_ssize_t len = Py_SIZE(list);
|
|
2599
2661
|
if (likely(L->allocated > len)) {
|
|
2600
2662
|
Py_INCREF(x);
|
|
2663
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
2664
|
+
L->ob_item[len] = x;
|
|
2665
|
+
#else
|
|
2601
2666
|
PyList_SET_ITEM(list, len, x);
|
|
2667
|
+
#endif
|
|
2602
2668
|
__Pyx_SET_SIZE(list, len + 1);
|
|
2603
2669
|
return 0;
|
|
2604
2670
|
}
|
|
@@ -2638,7 +2704,11 @@ static CYTHON_INLINE int __Pyx_PySequence_ContainsTF(PyObject* item, PyObject* s
|
|
|
2638
2704
|
static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name);
|
|
2639
2705
|
|
|
2640
2706
|
/* HasAttr.proto */
|
|
2707
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
2708
|
+
#define __Pyx_HasAttr(o, n) PyObject_HasAttrWithError(o, n)
|
|
2709
|
+
#else
|
|
2641
2710
|
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *);
|
|
2711
|
+
#endif
|
|
2642
2712
|
|
|
2643
2713
|
/* PyIntCompare.proto */
|
|
2644
2714
|
static CYTHON_INLINE int __Pyx_PyInt_BoolNeObjC(PyObject *op1, PyObject *op2, long intval, long inplace);
|
|
@@ -2733,22 +2803,22 @@ static int __Pyx_setup_reduce(PyObject* type_obj);
|
|
|
2733
2803
|
#endif
|
|
2734
2804
|
|
|
2735
2805
|
/* TypeImport.proto */
|
|
2736
|
-
#ifndef
|
|
2737
|
-
#define
|
|
2806
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_0_10
|
|
2807
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_0_10
|
|
2738
2808
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2739
2809
|
#include <stdalign.h>
|
|
2740
2810
|
#endif
|
|
2741
2811
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2742
|
-
#define
|
|
2812
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) alignof(s)
|
|
2743
2813
|
#else
|
|
2744
|
-
#define
|
|
2814
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) sizeof(void*)
|
|
2745
2815
|
#endif
|
|
2746
|
-
enum
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2816
|
+
enum __Pyx_ImportType_CheckSize_3_0_10 {
|
|
2817
|
+
__Pyx_ImportType_CheckSize_Error_3_0_10 = 0,
|
|
2818
|
+
__Pyx_ImportType_CheckSize_Warn_3_0_10 = 1,
|
|
2819
|
+
__Pyx_ImportType_CheckSize_Ignore_3_0_10 = 2
|
|
2750
2820
|
};
|
|
2751
|
-
static PyTypeObject *
|
|
2821
|
+
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);
|
|
2752
2822
|
#endif
|
|
2753
2823
|
|
|
2754
2824
|
/* FetchSharedCythonModule.proto */
|
|
@@ -2841,7 +2911,7 @@ typedef struct {
|
|
|
2841
2911
|
#endif
|
|
2842
2912
|
void *defaults;
|
|
2843
2913
|
int defaults_pyobjects;
|
|
2844
|
-
size_t defaults_size;
|
|
2914
|
+
size_t defaults_size;
|
|
2845
2915
|
int flags;
|
|
2846
2916
|
PyObject *defaults_tuple;
|
|
2847
2917
|
PyObject *defaults_kwdict;
|
|
@@ -2849,9 +2919,13 @@ typedef struct {
|
|
|
2849
2919
|
PyObject *func_annotations;
|
|
2850
2920
|
PyObject *func_is_coroutine;
|
|
2851
2921
|
} __pyx_CyFunctionObject;
|
|
2922
|
+
#undef __Pyx_CyOrPyCFunction_Check
|
|
2852
2923
|
#define __Pyx_CyFunction_Check(obj) __Pyx_TypeCheck(obj, __pyx_CyFunctionType)
|
|
2853
|
-
#define
|
|
2924
|
+
#define __Pyx_CyOrPyCFunction_Check(obj) __Pyx_TypeCheck2(obj, __pyx_CyFunctionType, &PyCFunction_Type)
|
|
2854
2925
|
#define __Pyx_CyFunction_CheckExact(obj) __Pyx_IS_TYPE(obj, __pyx_CyFunctionType)
|
|
2926
|
+
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc);
|
|
2927
|
+
#undef __Pyx_IsSameCFunction
|
|
2928
|
+
#define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCyOrCFunction(func, cfunc)
|
|
2855
2929
|
static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject* op, PyMethodDef *ml,
|
|
2856
2930
|
int flags, PyObject* qualname,
|
|
2857
2931
|
PyObject *closure,
|
|
@@ -3173,7 +3247,8 @@ typedef const char *__Pyx_TypeName;
|
|
|
3173
3247
|
#endif
|
|
3174
3248
|
|
|
3175
3249
|
/* CheckBinaryVersion.proto */
|
|
3176
|
-
static
|
|
3250
|
+
static unsigned long __Pyx_get_runtime_version(void);
|
|
3251
|
+
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
|
|
3177
3252
|
|
|
3178
3253
|
/* InitStrings.proto */
|
|
3179
3254
|
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
|
|
@@ -5053,8 +5128,7 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
|
|
|
5053
5128
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
5054
5129
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
5055
5130
|
#else
|
|
5056
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
5057
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 131, __pyx_L3_error)
|
|
5131
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
5058
5132
|
#endif
|
|
5059
5133
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
5060
5134
|
{
|
|
@@ -5155,10 +5229,11 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
|
|
|
5155
5229
|
__pyx_v_allocate_buffer = ((int)1);
|
|
5156
5230
|
}
|
|
5157
5231
|
}
|
|
5158
|
-
goto
|
|
5232
|
+
goto __pyx_L6_skip;
|
|
5159
5233
|
__pyx_L5_argtuple_error:;
|
|
5160
5234
|
__Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, __pyx_nargs); __PYX_ERR(1, 131, __pyx_L3_error)
|
|
5161
|
-
|
|
5235
|
+
__pyx_L6_skip:;
|
|
5236
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
5162
5237
|
__pyx_L3_error:;
|
|
5163
5238
|
{
|
|
5164
5239
|
Py_ssize_t __pyx_temp;
|
|
@@ -5441,13 +5516,20 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
|
|
|
5441
5516
|
* raise ValueError, f"Invalid shape in axis {idx}: {dim}."
|
|
5442
5517
|
*/
|
|
5443
5518
|
__pyx_t_7 = 0;
|
|
5444
|
-
__pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4);
|
|
5519
|
+
__pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4);
|
|
5520
|
+
__pyx_t_1 = 0;
|
|
5445
5521
|
for (;;) {
|
|
5446
|
-
|
|
5522
|
+
{
|
|
5523
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
|
|
5524
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
5525
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 159, __pyx_L1_error)
|
|
5526
|
+
#endif
|
|
5527
|
+
if (__pyx_t_1 >= __pyx_temp) break;
|
|
5528
|
+
}
|
|
5447
5529
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
5448
5530
|
__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)
|
|
5449
5531
|
#else
|
|
5450
|
-
__pyx_t_5 =
|
|
5532
|
+
__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)
|
|
5451
5533
|
__Pyx_GOTREF(__pyx_t_5);
|
|
5452
5534
|
#endif
|
|
5453
5535
|
__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)
|
|
@@ -6090,10 +6172,8 @@ static void __pyx_array___dealloc__(PyObject *__pyx_v_self) {
|
|
|
6090
6172
|
}
|
|
6091
6173
|
|
|
6092
6174
|
static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struct __pyx_array_obj *__pyx_v_self) {
|
|
6093
|
-
__Pyx_RefNannyDeclarations
|
|
6094
6175
|
int __pyx_t_1;
|
|
6095
6176
|
int __pyx_t_2;
|
|
6096
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
6097
6177
|
|
|
6098
6178
|
/* "View.MemoryView":211
|
|
6099
6179
|
*
|
|
@@ -6205,7 +6285,6 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
|
|
|
6205
6285
|
*/
|
|
6206
6286
|
|
|
6207
6287
|
/* function exit code */
|
|
6208
|
-
__Pyx_RefNannyFinishContext();
|
|
6209
6288
|
}
|
|
6210
6289
|
|
|
6211
6290
|
/* "View.MemoryView":219
|
|
@@ -6238,7 +6317,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
|
|
|
6238
6317
|
int __pyx_lineno = 0;
|
|
6239
6318
|
const char *__pyx_filename = NULL;
|
|
6240
6319
|
int __pyx_clineno = 0;
|
|
6241
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
6320
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
6242
6321
|
|
|
6243
6322
|
/* "View.MemoryView":221
|
|
6244
6323
|
* @property
|
|
@@ -6291,7 +6370,7 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6291
6370
|
int __pyx_lineno = 0;
|
|
6292
6371
|
const char *__pyx_filename = NULL;
|
|
6293
6372
|
int __pyx_clineno = 0;
|
|
6294
|
-
__Pyx_RefNannySetupContext("get_memview",
|
|
6373
|
+
__Pyx_RefNannySetupContext("get_memview", 1);
|
|
6295
6374
|
|
|
6296
6375
|
/* "View.MemoryView":225
|
|
6297
6376
|
* @cname('get_memview')
|
|
@@ -6378,8 +6457,6 @@ static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self) {
|
|
|
6378
6457
|
|
|
6379
6458
|
static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(struct __pyx_array_obj *__pyx_v_self) {
|
|
6380
6459
|
Py_ssize_t __pyx_r;
|
|
6381
|
-
__Pyx_RefNannyDeclarations
|
|
6382
|
-
__Pyx_RefNannySetupContext("__len__", 0);
|
|
6383
6460
|
|
|
6384
6461
|
/* "View.MemoryView":229
|
|
6385
6462
|
*
|
|
@@ -6401,7 +6478,6 @@ static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(str
|
|
|
6401
6478
|
|
|
6402
6479
|
/* function exit code */
|
|
6403
6480
|
__pyx_L0:;
|
|
6404
|
-
__Pyx_RefNannyFinishContext();
|
|
6405
6481
|
return __pyx_r;
|
|
6406
6482
|
}
|
|
6407
6483
|
|
|
@@ -6436,7 +6512,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(
|
|
|
6436
6512
|
int __pyx_lineno = 0;
|
|
6437
6513
|
const char *__pyx_filename = NULL;
|
|
6438
6514
|
int __pyx_clineno = 0;
|
|
6439
|
-
__Pyx_RefNannySetupContext("__getattr__",
|
|
6515
|
+
__Pyx_RefNannySetupContext("__getattr__", 1);
|
|
6440
6516
|
|
|
6441
6517
|
/* "View.MemoryView":232
|
|
6442
6518
|
*
|
|
@@ -6506,7 +6582,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__
|
|
|
6506
6582
|
int __pyx_lineno = 0;
|
|
6507
6583
|
const char *__pyx_filename = NULL;
|
|
6508
6584
|
int __pyx_clineno = 0;
|
|
6509
|
-
__Pyx_RefNannySetupContext("__getitem__",
|
|
6585
|
+
__Pyx_RefNannySetupContext("__getitem__", 1);
|
|
6510
6586
|
|
|
6511
6587
|
/* "View.MemoryView":235
|
|
6512
6588
|
*
|
|
@@ -6575,7 +6651,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(struc
|
|
|
6575
6651
|
int __pyx_lineno = 0;
|
|
6576
6652
|
const char *__pyx_filename = NULL;
|
|
6577
6653
|
int __pyx_clineno = 0;
|
|
6578
|
-
__Pyx_RefNannySetupContext("__setitem__",
|
|
6654
|
+
__Pyx_RefNannySetupContext("__setitem__", 1);
|
|
6579
6655
|
|
|
6580
6656
|
/* "View.MemoryView":238
|
|
6581
6657
|
*
|
|
@@ -6634,9 +6710,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6634
6710
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
6635
6711
|
#endif
|
|
6636
6712
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
6637
|
-
int __pyx_lineno = 0;
|
|
6638
|
-
const char *__pyx_filename = NULL;
|
|
6639
|
-
int __pyx_clineno = 0;
|
|
6640
6713
|
PyObject *__pyx_r = 0;
|
|
6641
6714
|
__Pyx_RefNannyDeclarations
|
|
6642
6715
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -6644,21 +6717,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6644
6717
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6645
6718
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6646
6719
|
#else
|
|
6647
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6648
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
6720
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
6649
6721
|
#endif
|
|
6650
6722
|
#endif
|
|
6651
6723
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
6652
6724
|
if (unlikely(__pyx_nargs > 0)) {
|
|
6653
6725
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
6654
6726
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
6655
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
6656
|
-
goto __pyx_L3_error;
|
|
6657
|
-
__pyx_L3_error:;
|
|
6658
|
-
__Pyx_AddTraceback("View.MemoryView.array.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
6659
|
-
__Pyx_RefNannyFinishContext();
|
|
6660
|
-
return NULL;
|
|
6661
|
-
__pyx_L4_argument_unpacking_done:;
|
|
6662
6727
|
__pyx_r = __pyx_pf___pyx_array___reduce_cython__(((struct __pyx_array_obj *)__pyx_v_self));
|
|
6663
6728
|
|
|
6664
6729
|
/* function exit code */
|
|
@@ -6672,7 +6737,7 @@ static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED struct __p
|
|
|
6672
6737
|
int __pyx_lineno = 0;
|
|
6673
6738
|
const char *__pyx_filename = NULL;
|
|
6674
6739
|
int __pyx_clineno = 0;
|
|
6675
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
6740
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
6676
6741
|
|
|
6677
6742
|
/* "(tree fragment)":2
|
|
6678
6743
|
* def __reduce_cython__(self):
|
|
@@ -6736,8 +6801,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6736
6801
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6737
6802
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6738
6803
|
#else
|
|
6739
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6740
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
6804
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
6741
6805
|
#endif
|
|
6742
6806
|
#endif
|
|
6743
6807
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -6772,10 +6836,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6772
6836
|
}
|
|
6773
6837
|
__pyx_v___pyx_state = values[0];
|
|
6774
6838
|
}
|
|
6775
|
-
goto
|
|
6839
|
+
goto __pyx_L6_skip;
|
|
6776
6840
|
__pyx_L5_argtuple_error:;
|
|
6777
6841
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
6778
|
-
|
|
6842
|
+
__pyx_L6_skip:;
|
|
6843
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
6779
6844
|
__pyx_L3_error:;
|
|
6780
6845
|
{
|
|
6781
6846
|
Py_ssize_t __pyx_temp;
|
|
@@ -6806,7 +6871,7 @@ static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED struct
|
|
|
6806
6871
|
int __pyx_lineno = 0;
|
|
6807
6872
|
const char *__pyx_filename = NULL;
|
|
6808
6873
|
int __pyx_clineno = 0;
|
|
6809
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
6874
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
6810
6875
|
|
|
6811
6876
|
/* "(tree fragment)":4
|
|
6812
6877
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -6844,7 +6909,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6844
6909
|
Py_ssize_t __pyx_v_i;
|
|
6845
6910
|
PyObject **__pyx_v_p;
|
|
6846
6911
|
int __pyx_r;
|
|
6847
|
-
__Pyx_RefNannyDeclarations
|
|
6848
6912
|
int __pyx_t_1;
|
|
6849
6913
|
Py_ssize_t __pyx_t_2;
|
|
6850
6914
|
Py_ssize_t __pyx_t_3;
|
|
@@ -6852,7 +6916,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6852
6916
|
int __pyx_lineno = 0;
|
|
6853
6917
|
const char *__pyx_filename = NULL;
|
|
6854
6918
|
int __pyx_clineno = 0;
|
|
6855
|
-
__Pyx_RefNannySetupContext("_allocate_buffer", 0);
|
|
6856
6919
|
|
|
6857
6920
|
/* "View.MemoryView":254
|
|
6858
6921
|
* cdef PyObject **p
|
|
@@ -6990,7 +7053,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6990
7053
|
__Pyx_AddTraceback("View.MemoryView._allocate_buffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
6991
7054
|
__pyx_r = -1;
|
|
6992
7055
|
__pyx_L0:;
|
|
6993
|
-
__Pyx_RefNannyFinishContext();
|
|
6994
7056
|
return __pyx_r;
|
|
6995
7057
|
}
|
|
6996
7058
|
|
|
@@ -7014,7 +7076,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
|
|
|
7014
7076
|
int __pyx_lineno = 0;
|
|
7015
7077
|
const char *__pyx_filename = NULL;
|
|
7016
7078
|
int __pyx_clineno = 0;
|
|
7017
|
-
__Pyx_RefNannySetupContext("array_cwrapper",
|
|
7079
|
+
__Pyx_RefNannySetupContext("array_cwrapper", 1);
|
|
7018
7080
|
|
|
7019
7081
|
/* "View.MemoryView":270
|
|
7020
7082
|
* cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format, char *c_mode, char *buf):
|
|
@@ -7191,8 +7253,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
7191
7253
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
7192
7254
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
7193
7255
|
#else
|
|
7194
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
7195
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 304, __pyx_L3_error)
|
|
7256
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
7196
7257
|
#endif
|
|
7197
7258
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
7198
7259
|
{
|
|
@@ -7226,10 +7287,11 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
7226
7287
|
}
|
|
7227
7288
|
__pyx_v_name = values[0];
|
|
7228
7289
|
}
|
|
7229
|
-
goto
|
|
7290
|
+
goto __pyx_L6_skip;
|
|
7230
7291
|
__pyx_L5_argtuple_error:;
|
|
7231
7292
|
__Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 304, __pyx_L3_error)
|
|
7232
|
-
|
|
7293
|
+
__pyx_L6_skip:;
|
|
7294
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
7233
7295
|
__pyx_L3_error:;
|
|
7234
7296
|
{
|
|
7235
7297
|
Py_ssize_t __pyx_temp;
|
|
@@ -7257,7 +7319,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
7257
7319
|
static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v_name) {
|
|
7258
7320
|
int __pyx_r;
|
|
7259
7321
|
__Pyx_RefNannyDeclarations
|
|
7260
|
-
__Pyx_RefNannySetupContext("__init__",
|
|
7322
|
+
__Pyx_RefNannySetupContext("__init__", 1);
|
|
7261
7323
|
|
|
7262
7324
|
/* "View.MemoryView":305
|
|
7263
7325
|
* cdef object name
|
|
@@ -7312,7 +7374,7 @@ static PyObject *__pyx_MemviewEnum___repr__(PyObject *__pyx_v_self) {
|
|
|
7312
7374
|
static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr__(struct __pyx_MemviewEnum_obj *__pyx_v_self) {
|
|
7313
7375
|
PyObject *__pyx_r = NULL;
|
|
7314
7376
|
__Pyx_RefNannyDeclarations
|
|
7315
|
-
__Pyx_RefNannySetupContext("__repr__",
|
|
7377
|
+
__Pyx_RefNannySetupContext("__repr__", 1);
|
|
7316
7378
|
|
|
7317
7379
|
/* "View.MemoryView":307
|
|
7318
7380
|
* self.name = name
|
|
@@ -7366,9 +7428,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
7366
7428
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
7367
7429
|
#endif
|
|
7368
7430
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
7369
|
-
int __pyx_lineno = 0;
|
|
7370
|
-
const char *__pyx_filename = NULL;
|
|
7371
|
-
int __pyx_clineno = 0;
|
|
7372
7431
|
PyObject *__pyx_r = 0;
|
|
7373
7432
|
__Pyx_RefNannyDeclarations
|
|
7374
7433
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -7376,21 +7435,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
7376
7435
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
7377
7436
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
7378
7437
|
#else
|
|
7379
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
7380
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
7438
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
7381
7439
|
#endif
|
|
7382
7440
|
#endif
|
|
7383
7441
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
7384
7442
|
if (unlikely(__pyx_nargs > 0)) {
|
|
7385
7443
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
7386
7444
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
7387
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
7388
|
-
goto __pyx_L3_error;
|
|
7389
|
-
__pyx_L3_error:;
|
|
7390
|
-
__Pyx_AddTraceback("View.MemoryView.Enum.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
7391
|
-
__Pyx_RefNannyFinishContext();
|
|
7392
|
-
return NULL;
|
|
7393
|
-
__pyx_L4_argument_unpacking_done:;
|
|
7394
7445
|
__pyx_r = __pyx_pf___pyx_MemviewEnum___reduce_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self));
|
|
7395
7446
|
|
|
7396
7447
|
/* function exit code */
|
|
@@ -7411,7 +7462,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __pyx_Memvi
|
|
|
7411
7462
|
int __pyx_lineno = 0;
|
|
7412
7463
|
const char *__pyx_filename = NULL;
|
|
7413
7464
|
int __pyx_clineno = 0;
|
|
7414
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
7465
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
7415
7466
|
|
|
7416
7467
|
/* "(tree fragment)":5
|
|
7417
7468
|
* cdef object _dict
|
|
@@ -7648,8 +7699,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
7648
7699
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
7649
7700
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
7650
7701
|
#else
|
|
7651
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
7652
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 16, __pyx_L3_error)
|
|
7702
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
7653
7703
|
#endif
|
|
7654
7704
|
#endif
|
|
7655
7705
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -7684,10 +7734,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
7684
7734
|
}
|
|
7685
7735
|
__pyx_v___pyx_state = values[0];
|
|
7686
7736
|
}
|
|
7687
|
-
goto
|
|
7737
|
+
goto __pyx_L6_skip;
|
|
7688
7738
|
__pyx_L5_argtuple_error:;
|
|
7689
7739
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error)
|
|
7690
|
-
|
|
7740
|
+
__pyx_L6_skip:;
|
|
7741
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
7691
7742
|
__pyx_L3_error:;
|
|
7692
7743
|
{
|
|
7693
7744
|
Py_ssize_t __pyx_temp;
|
|
@@ -7719,7 +7770,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct __pyx_Me
|
|
|
7719
7770
|
int __pyx_lineno = 0;
|
|
7720
7771
|
const char *__pyx_filename = NULL;
|
|
7721
7772
|
int __pyx_clineno = 0;
|
|
7722
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
7773
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
7723
7774
|
|
|
7724
7775
|
/* "(tree fragment)":17
|
|
7725
7776
|
* return __pyx_unpickle_Enum, (type(self), 0x82a3537, state)
|
|
@@ -7777,8 +7828,7 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
7777
7828
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
7778
7829
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
7779
7830
|
#else
|
|
7780
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
7781
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 349, __pyx_L3_error)
|
|
7831
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
7782
7832
|
#endif
|
|
7783
7833
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
7784
7834
|
{
|
|
@@ -7844,10 +7894,11 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
7844
7894
|
__pyx_v_dtype_is_object = ((int)0);
|
|
7845
7895
|
}
|
|
7846
7896
|
}
|
|
7847
|
-
goto
|
|
7897
|
+
goto __pyx_L6_skip;
|
|
7848
7898
|
__pyx_L5_argtuple_error:;
|
|
7849
7899
|
__Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, __pyx_nargs); __PYX_ERR(1, 349, __pyx_L3_error)
|
|
7850
|
-
|
|
7900
|
+
__pyx_L6_skip:;
|
|
7901
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
7851
7902
|
__pyx_L3_error:;
|
|
7852
7903
|
{
|
|
7853
7904
|
Py_ssize_t __pyx_temp;
|
|
@@ -7883,7 +7934,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
|
|
|
7883
7934
|
int __pyx_lineno = 0;
|
|
7884
7935
|
const char *__pyx_filename = NULL;
|
|
7885
7936
|
int __pyx_clineno = 0;
|
|
7886
|
-
__Pyx_RefNannySetupContext("__cinit__",
|
|
7937
|
+
__Pyx_RefNannySetupContext("__cinit__", 1);
|
|
7887
7938
|
|
|
7888
7939
|
/* "View.MemoryView":350
|
|
7889
7940
|
*
|
|
@@ -8218,14 +8269,12 @@ static void __pyx_memoryview___dealloc__(PyObject *__pyx_v_self) {
|
|
|
8218
8269
|
|
|
8219
8270
|
static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
8220
8271
|
int __pyx_v_i;
|
|
8221
|
-
__Pyx_RefNannyDeclarations
|
|
8222
8272
|
int __pyx_t_1;
|
|
8223
8273
|
int __pyx_t_2;
|
|
8224
8274
|
int __pyx_t_3;
|
|
8225
8275
|
int __pyx_t_4;
|
|
8226
8276
|
PyThread_type_lock __pyx_t_5;
|
|
8227
8277
|
PyThread_type_lock __pyx_t_6;
|
|
8228
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
8229
8278
|
|
|
8230
8279
|
/* "View.MemoryView":377
|
|
8231
8280
|
*
|
|
@@ -8423,7 +8472,6 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
|
|
|
8423
8472
|
*/
|
|
8424
8473
|
|
|
8425
8474
|
/* function exit code */
|
|
8426
|
-
__Pyx_RefNannyFinishContext();
|
|
8427
8475
|
}
|
|
8428
8476
|
|
|
8429
8477
|
/* "View.MemoryView":397
|
|
@@ -8450,7 +8498,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
8450
8498
|
int __pyx_lineno = 0;
|
|
8451
8499
|
const char *__pyx_filename = NULL;
|
|
8452
8500
|
int __pyx_clineno = 0;
|
|
8453
|
-
__Pyx_RefNannySetupContext("get_item_pointer",
|
|
8501
|
+
__Pyx_RefNannySetupContext("get_item_pointer", 1);
|
|
8454
8502
|
|
|
8455
8503
|
/* "View.MemoryView":399
|
|
8456
8504
|
* cdef char *get_item_pointer(memoryview self, object index) except NULL:
|
|
@@ -8470,7 +8518,8 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
8470
8518
|
*/
|
|
8471
8519
|
__pyx_t_1 = 0;
|
|
8472
8520
|
if (likely(PyList_CheckExact(__pyx_v_index)) || PyTuple_CheckExact(__pyx_v_index)) {
|
|
8473
|
-
__pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2);
|
|
8521
|
+
__pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2);
|
|
8522
|
+
__pyx_t_3 = 0;
|
|
8474
8523
|
__pyx_t_4 = NULL;
|
|
8475
8524
|
} else {
|
|
8476
8525
|
__pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
@@ -8480,19 +8529,31 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
8480
8529
|
for (;;) {
|
|
8481
8530
|
if (likely(!__pyx_t_4)) {
|
|
8482
8531
|
if (likely(PyList_CheckExact(__pyx_t_2))) {
|
|
8483
|
-
|
|
8532
|
+
{
|
|
8533
|
+
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
|
|
8534
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
8535
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
8536
|
+
#endif
|
|
8537
|
+
if (__pyx_t_3 >= __pyx_temp) break;
|
|
8538
|
+
}
|
|
8484
8539
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
8485
8540
|
__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)
|
|
8486
8541
|
#else
|
|
8487
|
-
__pyx_t_5 =
|
|
8542
|
+
__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)
|
|
8488
8543
|
__Pyx_GOTREF(__pyx_t_5);
|
|
8489
8544
|
#endif
|
|
8490
8545
|
} else {
|
|
8491
|
-
|
|
8546
|
+
{
|
|
8547
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
|
|
8548
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
8549
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
8550
|
+
#endif
|
|
8551
|
+
if (__pyx_t_3 >= __pyx_temp) break;
|
|
8552
|
+
}
|
|
8492
8553
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
8493
8554
|
__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)
|
|
8494
8555
|
#else
|
|
8495
|
-
__pyx_t_5 =
|
|
8556
|
+
__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)
|
|
8496
8557
|
__Pyx_GOTREF(__pyx_t_5);
|
|
8497
8558
|
#endif
|
|
8498
8559
|
}
|
|
@@ -8601,7 +8662,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
|
|
|
8601
8662
|
int __pyx_lineno = 0;
|
|
8602
8663
|
const char *__pyx_filename = NULL;
|
|
8603
8664
|
int __pyx_clineno = 0;
|
|
8604
|
-
__Pyx_RefNannySetupContext("__getitem__",
|
|
8665
|
+
__Pyx_RefNannySetupContext("__getitem__", 1);
|
|
8605
8666
|
|
|
8606
8667
|
/* "View.MemoryView":408
|
|
8607
8668
|
*
|
|
@@ -9212,7 +9273,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryvi
|
|
|
9212
9273
|
int __pyx_lineno = 0;
|
|
9213
9274
|
const char *__pyx_filename = NULL;
|
|
9214
9275
|
int __pyx_clineno = 0;
|
|
9215
|
-
__Pyx_RefNannySetupContext("setitem_slice_assignment",
|
|
9276
|
+
__Pyx_RefNannySetupContext("setitem_slice_assignment", 1);
|
|
9216
9277
|
|
|
9217
9278
|
/* "View.MemoryView":448
|
|
9218
9279
|
* cdef __Pyx_memviewslice dst_slice
|
|
@@ -9305,7 +9366,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
|
|
|
9305
9366
|
int __pyx_lineno = 0;
|
|
9306
9367
|
const char *__pyx_filename = NULL;
|
|
9307
9368
|
int __pyx_clineno = 0;
|
|
9308
|
-
__Pyx_RefNannySetupContext("setitem_slice_assign_scalar",
|
|
9369
|
+
__Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 1);
|
|
9309
9370
|
|
|
9310
9371
|
/* "View.MemoryView":455
|
|
9311
9372
|
* cdef setitem_slice_assign_scalar(self, memoryview dst, value):
|
|
@@ -9578,7 +9639,7 @@ static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *_
|
|
|
9578
9639
|
int __pyx_lineno = 0;
|
|
9579
9640
|
const char *__pyx_filename = NULL;
|
|
9580
9641
|
int __pyx_clineno = 0;
|
|
9581
|
-
__Pyx_RefNannySetupContext("setitem_indexed",
|
|
9642
|
+
__Pyx_RefNannySetupContext("setitem_indexed", 1);
|
|
9582
9643
|
|
|
9583
9644
|
/* "View.MemoryView":486
|
|
9584
9645
|
*
|
|
@@ -9649,7 +9710,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
|
|
|
9649
9710
|
int __pyx_lineno = 0;
|
|
9650
9711
|
const char *__pyx_filename = NULL;
|
|
9651
9712
|
int __pyx_clineno = 0;
|
|
9652
|
-
__Pyx_RefNannySetupContext("convert_item_to_object",
|
|
9713
|
+
__Pyx_RefNannySetupContext("convert_item_to_object", 1);
|
|
9653
9714
|
|
|
9654
9715
|
/* "View.MemoryView":492
|
|
9655
9716
|
* """Only used if instantiated manually by the user, or if Cython doesn't
|
|
@@ -9899,7 +9960,7 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
|
|
|
9899
9960
|
int __pyx_lineno = 0;
|
|
9900
9961
|
const char *__pyx_filename = NULL;
|
|
9901
9962
|
int __pyx_clineno = 0;
|
|
9902
|
-
__Pyx_RefNannySetupContext("assign_item_from_object",
|
|
9963
|
+
__Pyx_RefNannySetupContext("assign_item_from_object", 1);
|
|
9903
9964
|
|
|
9904
9965
|
/* "View.MemoryView":508
|
|
9905
9966
|
* """Only used if instantiated manually by the user, or if Cython doesn't
|
|
@@ -10452,7 +10513,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
|
|
|
10452
10513
|
int __pyx_lineno = 0;
|
|
10453
10514
|
const char *__pyx_filename = NULL;
|
|
10454
10515
|
int __pyx_clineno = 0;
|
|
10455
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10516
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10456
10517
|
|
|
10457
10518
|
/* "View.MemoryView":556
|
|
10458
10519
|
* @property
|
|
@@ -10538,7 +10599,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
|
|
|
10538
10599
|
int __pyx_lineno = 0;
|
|
10539
10600
|
const char *__pyx_filename = NULL;
|
|
10540
10601
|
int __pyx_clineno = 0;
|
|
10541
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10602
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10542
10603
|
|
|
10543
10604
|
/* "View.MemoryView":562
|
|
10544
10605
|
* @property
|
|
@@ -10584,7 +10645,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
|
|
|
10584
10645
|
static PyObject *__pyx_memoryview__get_base(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
10585
10646
|
PyObject *__pyx_r = NULL;
|
|
10586
10647
|
__Pyx_RefNannyDeclarations
|
|
10587
|
-
__Pyx_RefNannySetupContext("_get_base",
|
|
10648
|
+
__Pyx_RefNannySetupContext("_get_base", 1);
|
|
10588
10649
|
|
|
10589
10650
|
/* "View.MemoryView":565
|
|
10590
10651
|
*
|
|
@@ -10648,7 +10709,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
|
|
|
10648
10709
|
int __pyx_lineno = 0;
|
|
10649
10710
|
const char *__pyx_filename = NULL;
|
|
10650
10711
|
int __pyx_clineno = 0;
|
|
10651
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10712
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10652
10713
|
|
|
10653
10714
|
/* "View.MemoryView":569
|
|
10654
10715
|
* @property
|
|
@@ -10734,7 +10795,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
|
|
|
10734
10795
|
int __pyx_lineno = 0;
|
|
10735
10796
|
const char *__pyx_filename = NULL;
|
|
10736
10797
|
int __pyx_clineno = 0;
|
|
10737
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10798
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10738
10799
|
|
|
10739
10800
|
/* "View.MemoryView":573
|
|
10740
10801
|
* @property
|
|
@@ -10849,7 +10910,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
|
|
|
10849
10910
|
int __pyx_lineno = 0;
|
|
10850
10911
|
const char *__pyx_filename = NULL;
|
|
10851
10912
|
int __pyx_clineno = 0;
|
|
10852
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10913
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10853
10914
|
|
|
10854
10915
|
/* "View.MemoryView":581
|
|
10855
10916
|
* @property
|
|
@@ -10962,7 +11023,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
|
|
|
10962
11023
|
int __pyx_lineno = 0;
|
|
10963
11024
|
const char *__pyx_filename = NULL;
|
|
10964
11025
|
int __pyx_clineno = 0;
|
|
10965
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
11026
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10966
11027
|
|
|
10967
11028
|
/* "View.MemoryView":588
|
|
10968
11029
|
* @property
|
|
@@ -11027,7 +11088,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
|
|
|
11027
11088
|
int __pyx_lineno = 0;
|
|
11028
11089
|
const char *__pyx_filename = NULL;
|
|
11029
11090
|
int __pyx_clineno = 0;
|
|
11030
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
11091
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
11031
11092
|
|
|
11032
11093
|
/* "View.MemoryView":592
|
|
11033
11094
|
* @property
|
|
@@ -11094,7 +11155,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
|
|
|
11094
11155
|
int __pyx_lineno = 0;
|
|
11095
11156
|
const char *__pyx_filename = NULL;
|
|
11096
11157
|
int __pyx_clineno = 0;
|
|
11097
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
11158
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
11098
11159
|
|
|
11099
11160
|
/* "View.MemoryView":596
|
|
11100
11161
|
* @property
|
|
@@ -11173,7 +11234,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
|
|
|
11173
11234
|
int __pyx_lineno = 0;
|
|
11174
11235
|
const char *__pyx_filename = NULL;
|
|
11175
11236
|
int __pyx_clineno = 0;
|
|
11176
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
11237
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
11177
11238
|
|
|
11178
11239
|
/* "View.MemoryView":600
|
|
11179
11240
|
* @property
|
|
@@ -11303,9 +11364,7 @@ static Py_ssize_t __pyx_memoryview___len__(PyObject *__pyx_v_self) {
|
|
|
11303
11364
|
|
|
11304
11365
|
static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_10__len__(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
11305
11366
|
Py_ssize_t __pyx_r;
|
|
11306
|
-
__Pyx_RefNannyDeclarations
|
|
11307
11367
|
int __pyx_t_1;
|
|
11308
|
-
__Pyx_RefNannySetupContext("__len__", 0);
|
|
11309
11368
|
|
|
11310
11369
|
/* "View.MemoryView":611
|
|
11311
11370
|
*
|
|
@@ -11356,7 +11415,6 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
|
|
|
11356
11415
|
|
|
11357
11416
|
/* function exit code */
|
|
11358
11417
|
__pyx_L0:;
|
|
11359
|
-
__Pyx_RefNannyFinishContext();
|
|
11360
11418
|
return __pyx_r;
|
|
11361
11419
|
}
|
|
11362
11420
|
|
|
@@ -11392,7 +11450,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
|
|
|
11392
11450
|
int __pyx_lineno = 0;
|
|
11393
11451
|
const char *__pyx_filename = NULL;
|
|
11394
11452
|
int __pyx_clineno = 0;
|
|
11395
|
-
__Pyx_RefNannySetupContext("__repr__",
|
|
11453
|
+
__Pyx_RefNannySetupContext("__repr__", 1);
|
|
11396
11454
|
|
|
11397
11455
|
/* "View.MemoryView":617
|
|
11398
11456
|
*
|
|
@@ -11495,7 +11553,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
|
|
|
11495
11553
|
int __pyx_lineno = 0;
|
|
11496
11554
|
const char *__pyx_filename = NULL;
|
|
11497
11555
|
int __pyx_clineno = 0;
|
|
11498
|
-
__Pyx_RefNannySetupContext("__str__",
|
|
11556
|
+
__Pyx_RefNannySetupContext("__str__", 1);
|
|
11499
11557
|
|
|
11500
11558
|
/* "View.MemoryView":621
|
|
11501
11559
|
*
|
|
@@ -11572,9 +11630,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11572
11630
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11573
11631
|
#endif
|
|
11574
11632
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11575
|
-
int __pyx_lineno = 0;
|
|
11576
|
-
const char *__pyx_filename = NULL;
|
|
11577
|
-
int __pyx_clineno = 0;
|
|
11578
11633
|
PyObject *__pyx_r = 0;
|
|
11579
11634
|
__Pyx_RefNannyDeclarations
|
|
11580
11635
|
__Pyx_RefNannySetupContext("is_c_contig (wrapper)", 0);
|
|
@@ -11582,21 +11637,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11582
11637
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11583
11638
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11584
11639
|
#else
|
|
11585
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11586
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 624, __pyx_L3_error)
|
|
11640
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11587
11641
|
#endif
|
|
11588
11642
|
#endif
|
|
11589
11643
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11590
11644
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11591
11645
|
__Pyx_RaiseArgtupleInvalid("is_c_contig", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11592
11646
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_c_contig", 0))) return NULL;
|
|
11593
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11594
|
-
goto __pyx_L3_error;
|
|
11595
|
-
__pyx_L3_error:;
|
|
11596
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.is_c_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11597
|
-
__Pyx_RefNannyFinishContext();
|
|
11598
|
-
return NULL;
|
|
11599
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11600
11647
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11601
11648
|
|
|
11602
11649
|
/* function exit code */
|
|
@@ -11614,7 +11661,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
|
|
|
11614
11661
|
int __pyx_lineno = 0;
|
|
11615
11662
|
const char *__pyx_filename = NULL;
|
|
11616
11663
|
int __pyx_clineno = 0;
|
|
11617
|
-
__Pyx_RefNannySetupContext("is_c_contig",
|
|
11664
|
+
__Pyx_RefNannySetupContext("is_c_contig", 1);
|
|
11618
11665
|
|
|
11619
11666
|
/* "View.MemoryView":627
|
|
11620
11667
|
* cdef __Pyx_memviewslice *mslice
|
|
@@ -11686,9 +11733,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11686
11733
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11687
11734
|
#endif
|
|
11688
11735
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11689
|
-
int __pyx_lineno = 0;
|
|
11690
|
-
const char *__pyx_filename = NULL;
|
|
11691
|
-
int __pyx_clineno = 0;
|
|
11692
11736
|
PyObject *__pyx_r = 0;
|
|
11693
11737
|
__Pyx_RefNannyDeclarations
|
|
11694
11738
|
__Pyx_RefNannySetupContext("is_f_contig (wrapper)", 0);
|
|
@@ -11696,21 +11740,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11696
11740
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11697
11741
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11698
11742
|
#else
|
|
11699
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11700
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 630, __pyx_L3_error)
|
|
11743
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11701
11744
|
#endif
|
|
11702
11745
|
#endif
|
|
11703
11746
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11704
11747
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11705
11748
|
__Pyx_RaiseArgtupleInvalid("is_f_contig", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11706
11749
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_f_contig", 0))) return NULL;
|
|
11707
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11708
|
-
goto __pyx_L3_error;
|
|
11709
|
-
__pyx_L3_error:;
|
|
11710
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.is_f_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11711
|
-
__Pyx_RefNannyFinishContext();
|
|
11712
|
-
return NULL;
|
|
11713
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11714
11750
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11715
11751
|
|
|
11716
11752
|
/* function exit code */
|
|
@@ -11728,7 +11764,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
|
|
|
11728
11764
|
int __pyx_lineno = 0;
|
|
11729
11765
|
const char *__pyx_filename = NULL;
|
|
11730
11766
|
int __pyx_clineno = 0;
|
|
11731
|
-
__Pyx_RefNannySetupContext("is_f_contig",
|
|
11767
|
+
__Pyx_RefNannySetupContext("is_f_contig", 1);
|
|
11732
11768
|
|
|
11733
11769
|
/* "View.MemoryView":633
|
|
11734
11770
|
* cdef __Pyx_memviewslice *mslice
|
|
@@ -11800,9 +11836,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11800
11836
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11801
11837
|
#endif
|
|
11802
11838
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11803
|
-
int __pyx_lineno = 0;
|
|
11804
|
-
const char *__pyx_filename = NULL;
|
|
11805
|
-
int __pyx_clineno = 0;
|
|
11806
11839
|
PyObject *__pyx_r = 0;
|
|
11807
11840
|
__Pyx_RefNannyDeclarations
|
|
11808
11841
|
__Pyx_RefNannySetupContext("copy (wrapper)", 0);
|
|
@@ -11810,21 +11843,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11810
11843
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11811
11844
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11812
11845
|
#else
|
|
11813
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11814
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 636, __pyx_L3_error)
|
|
11846
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11815
11847
|
#endif
|
|
11816
11848
|
#endif
|
|
11817
11849
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11818
11850
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11819
11851
|
__Pyx_RaiseArgtupleInvalid("copy", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11820
11852
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy", 0))) return NULL;
|
|
11821
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11822
|
-
goto __pyx_L3_error;
|
|
11823
|
-
__pyx_L3_error:;
|
|
11824
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.copy", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11825
|
-
__Pyx_RefNannyFinishContext();
|
|
11826
|
-
return NULL;
|
|
11827
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11828
11853
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11829
11854
|
|
|
11830
11855
|
/* function exit code */
|
|
@@ -11842,7 +11867,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
|
|
|
11842
11867
|
int __pyx_lineno = 0;
|
|
11843
11868
|
const char *__pyx_filename = NULL;
|
|
11844
11869
|
int __pyx_clineno = 0;
|
|
11845
|
-
__Pyx_RefNannySetupContext("copy",
|
|
11870
|
+
__Pyx_RefNannySetupContext("copy", 1);
|
|
11846
11871
|
|
|
11847
11872
|
/* "View.MemoryView":638
|
|
11848
11873
|
* def copy(self):
|
|
@@ -11932,9 +11957,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11932
11957
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11933
11958
|
#endif
|
|
11934
11959
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11935
|
-
int __pyx_lineno = 0;
|
|
11936
|
-
const char *__pyx_filename = NULL;
|
|
11937
|
-
int __pyx_clineno = 0;
|
|
11938
11960
|
PyObject *__pyx_r = 0;
|
|
11939
11961
|
__Pyx_RefNannyDeclarations
|
|
11940
11962
|
__Pyx_RefNannySetupContext("copy_fortran (wrapper)", 0);
|
|
@@ -11942,21 +11964,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11942
11964
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11943
11965
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11944
11966
|
#else
|
|
11945
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11946
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 648, __pyx_L3_error)
|
|
11967
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11947
11968
|
#endif
|
|
11948
11969
|
#endif
|
|
11949
11970
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11950
11971
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11951
11972
|
__Pyx_RaiseArgtupleInvalid("copy_fortran", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11952
11973
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy_fortran", 0))) return NULL;
|
|
11953
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11954
|
-
goto __pyx_L3_error;
|
|
11955
|
-
__pyx_L3_error:;
|
|
11956
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.copy_fortran", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11957
|
-
__Pyx_RefNannyFinishContext();
|
|
11958
|
-
return NULL;
|
|
11959
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11960
11974
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11961
11975
|
|
|
11962
11976
|
/* function exit code */
|
|
@@ -11975,7 +11989,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
|
|
|
11975
11989
|
int __pyx_lineno = 0;
|
|
11976
11990
|
const char *__pyx_filename = NULL;
|
|
11977
11991
|
int __pyx_clineno = 0;
|
|
11978
|
-
__Pyx_RefNannySetupContext("copy_fortran",
|
|
11992
|
+
__Pyx_RefNannySetupContext("copy_fortran", 1);
|
|
11979
11993
|
|
|
11980
11994
|
/* "View.MemoryView":650
|
|
11981
11995
|
* def copy_fortran(self):
|
|
@@ -12063,9 +12077,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
12063
12077
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
12064
12078
|
#endif
|
|
12065
12079
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
12066
|
-
int __pyx_lineno = 0;
|
|
12067
|
-
const char *__pyx_filename = NULL;
|
|
12068
|
-
int __pyx_clineno = 0;
|
|
12069
12080
|
PyObject *__pyx_r = 0;
|
|
12070
12081
|
__Pyx_RefNannyDeclarations
|
|
12071
12082
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -12073,21 +12084,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
12073
12084
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
12074
12085
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
12075
12086
|
#else
|
|
12076
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
12077
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
12087
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
12078
12088
|
#endif
|
|
12079
12089
|
#endif
|
|
12080
12090
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
12081
12091
|
if (unlikely(__pyx_nargs > 0)) {
|
|
12082
12092
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
12083
12093
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
12084
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
12085
|
-
goto __pyx_L3_error;
|
|
12086
|
-
__pyx_L3_error:;
|
|
12087
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
12088
|
-
__Pyx_RefNannyFinishContext();
|
|
12089
|
-
return NULL;
|
|
12090
|
-
__pyx_L4_argument_unpacking_done:;
|
|
12091
12094
|
__pyx_r = __pyx_pf___pyx_memoryview___reduce_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
12092
12095
|
|
|
12093
12096
|
/* function exit code */
|
|
@@ -12101,7 +12104,7 @@ static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUSED struc
|
|
|
12101
12104
|
int __pyx_lineno = 0;
|
|
12102
12105
|
const char *__pyx_filename = NULL;
|
|
12103
12106
|
int __pyx_clineno = 0;
|
|
12104
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
12107
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
12105
12108
|
|
|
12106
12109
|
/* "(tree fragment)":2
|
|
12107
12110
|
* def __reduce_cython__(self):
|
|
@@ -12165,8 +12168,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
12165
12168
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
12166
12169
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
12167
12170
|
#else
|
|
12168
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
12169
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
12171
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
12170
12172
|
#endif
|
|
12171
12173
|
#endif
|
|
12172
12174
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -12201,10 +12203,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
12201
12203
|
}
|
|
12202
12204
|
__pyx_v___pyx_state = values[0];
|
|
12203
12205
|
}
|
|
12204
|
-
goto
|
|
12206
|
+
goto __pyx_L6_skip;
|
|
12205
12207
|
__pyx_L5_argtuple_error:;
|
|
12206
12208
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
12207
|
-
|
|
12209
|
+
__pyx_L6_skip:;
|
|
12210
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
12208
12211
|
__pyx_L3_error:;
|
|
12209
12212
|
{
|
|
12210
12213
|
Py_ssize_t __pyx_temp;
|
|
@@ -12235,7 +12238,7 @@ static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_UNUSED st
|
|
|
12235
12238
|
int __pyx_lineno = 0;
|
|
12236
12239
|
const char *__pyx_filename = NULL;
|
|
12237
12240
|
int __pyx_clineno = 0;
|
|
12238
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
12241
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
12239
12242
|
|
|
12240
12243
|
/* "(tree fragment)":4
|
|
12241
12244
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -12279,7 +12282,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
|
|
|
12279
12282
|
int __pyx_lineno = 0;
|
|
12280
12283
|
const char *__pyx_filename = NULL;
|
|
12281
12284
|
int __pyx_clineno = 0;
|
|
12282
|
-
__Pyx_RefNannySetupContext("memoryview_cwrapper",
|
|
12285
|
+
__Pyx_RefNannySetupContext("memoryview_cwrapper", 1);
|
|
12283
12286
|
|
|
12284
12287
|
/* "View.MemoryView":663
|
|
12285
12288
|
* @cname('__pyx_memoryview_new')
|
|
@@ -12362,9 +12365,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
|
|
|
12362
12365
|
|
|
12363
12366
|
static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
|
|
12364
12367
|
int __pyx_r;
|
|
12365
|
-
__Pyx_RefNannyDeclarations
|
|
12366
12368
|
int __pyx_t_1;
|
|
12367
|
-
__Pyx_RefNannySetupContext("memoryview_check", 0);
|
|
12368
12369
|
|
|
12369
12370
|
/* "View.MemoryView":669
|
|
12370
12371
|
* @cname('__pyx_memoryview_check')
|
|
@@ -12387,7 +12388,6 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
|
|
|
12387
12388
|
|
|
12388
12389
|
/* function exit code */
|
|
12389
12390
|
__pyx_L0:;
|
|
12390
|
-
__Pyx_RefNannyFinishContext();
|
|
12391
12391
|
return __pyx_r;
|
|
12392
12392
|
}
|
|
12393
12393
|
|
|
@@ -12419,7 +12419,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
12419
12419
|
int __pyx_lineno = 0;
|
|
12420
12420
|
const char *__pyx_filename = NULL;
|
|
12421
12421
|
int __pyx_clineno = 0;
|
|
12422
|
-
__Pyx_RefNannySetupContext("_unellipsify",
|
|
12422
|
+
__Pyx_RefNannySetupContext("_unellipsify", 1);
|
|
12423
12423
|
|
|
12424
12424
|
/* "View.MemoryView":677
|
|
12425
12425
|
* """
|
|
@@ -12501,13 +12501,20 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
12501
12501
|
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
|
|
12502
12502
|
__PYX_ERR(1, 683, __pyx_L1_error)
|
|
12503
12503
|
}
|
|
12504
|
-
__pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1);
|
|
12504
|
+
__pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1);
|
|
12505
|
+
__pyx_t_4 = 0;
|
|
12505
12506
|
for (;;) {
|
|
12506
|
-
|
|
12507
|
+
{
|
|
12508
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
|
|
12509
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
12510
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 683, __pyx_L1_error)
|
|
12511
|
+
#endif
|
|
12512
|
+
if (__pyx_t_4 >= __pyx_temp) break;
|
|
12513
|
+
}
|
|
12507
12514
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
12508
12515
|
__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)
|
|
12509
12516
|
#else
|
|
12510
|
-
__pyx_t_3 =
|
|
12517
|
+
__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)
|
|
12511
12518
|
__Pyx_GOTREF(__pyx_t_3);
|
|
12512
12519
|
#endif
|
|
12513
12520
|
__Pyx_XDECREF_SET(__pyx_v_item, __pyx_t_3);
|
|
@@ -12776,7 +12783,6 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
12776
12783
|
static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_ndim) {
|
|
12777
12784
|
Py_ssize_t __pyx_v_suboffset;
|
|
12778
12785
|
int __pyx_r;
|
|
12779
|
-
__Pyx_RefNannyDeclarations
|
|
12780
12786
|
Py_ssize_t *__pyx_t_1;
|
|
12781
12787
|
Py_ssize_t *__pyx_t_2;
|
|
12782
12788
|
Py_ssize_t *__pyx_t_3;
|
|
@@ -12784,7 +12790,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
|
|
|
12784
12790
|
int __pyx_lineno = 0;
|
|
12785
12791
|
const char *__pyx_filename = NULL;
|
|
12786
12792
|
int __pyx_clineno = 0;
|
|
12787
|
-
__Pyx_RefNannySetupContext("assert_direct_dimensions", 0);
|
|
12788
12793
|
|
|
12789
12794
|
/* "View.MemoryView":701
|
|
12790
12795
|
*
|
|
@@ -12851,7 +12856,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
|
|
|
12851
12856
|
__Pyx_AddTraceback("View.MemoryView.assert_direct_dimensions", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
12852
12857
|
__pyx_r = -1;
|
|
12853
12858
|
__pyx_L0:;
|
|
12854
|
-
__Pyx_RefNannyFinishContext();
|
|
12855
12859
|
return __pyx_r;
|
|
12856
12860
|
}
|
|
12857
12861
|
|
|
@@ -12897,7 +12901,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
12897
12901
|
int __pyx_lineno = 0;
|
|
12898
12902
|
const char *__pyx_filename = NULL;
|
|
12899
12903
|
int __pyx_clineno = 0;
|
|
12900
|
-
__Pyx_RefNannySetupContext("memview_slice",
|
|
12904
|
+
__Pyx_RefNannySetupContext("memview_slice", 1);
|
|
12901
12905
|
|
|
12902
12906
|
/* "View.MemoryView":712
|
|
12903
12907
|
* @cname('__pyx_memview_slice')
|
|
@@ -13047,7 +13051,8 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
13047
13051
|
*/
|
|
13048
13052
|
__pyx_t_5 = 0;
|
|
13049
13053
|
if (likely(PyList_CheckExact(__pyx_v_indices)) || PyTuple_CheckExact(__pyx_v_indices)) {
|
|
13050
|
-
__pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2);
|
|
13054
|
+
__pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2);
|
|
13055
|
+
__pyx_t_6 = 0;
|
|
13051
13056
|
__pyx_t_7 = NULL;
|
|
13052
13057
|
} else {
|
|
13053
13058
|
__pyx_t_6 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_indices); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
@@ -13057,19 +13062,31 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
13057
13062
|
for (;;) {
|
|
13058
13063
|
if (likely(!__pyx_t_7)) {
|
|
13059
13064
|
if (likely(PyList_CheckExact(__pyx_t_2))) {
|
|
13060
|
-
|
|
13065
|
+
{
|
|
13066
|
+
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
|
|
13067
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
13068
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
13069
|
+
#endif
|
|
13070
|
+
if (__pyx_t_6 >= __pyx_temp) break;
|
|
13071
|
+
}
|
|
13061
13072
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
13062
13073
|
__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)
|
|
13063
13074
|
#else
|
|
13064
|
-
__pyx_t_8 =
|
|
13075
|
+
__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)
|
|
13065
13076
|
__Pyx_GOTREF(__pyx_t_8);
|
|
13066
13077
|
#endif
|
|
13067
13078
|
} else {
|
|
13068
|
-
|
|
13079
|
+
{
|
|
13080
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
|
|
13081
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
13082
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
13083
|
+
#endif
|
|
13084
|
+
if (__pyx_t_6 >= __pyx_temp) break;
|
|
13085
|
+
}
|
|
13069
13086
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
13070
13087
|
__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)
|
|
13071
13088
|
#else
|
|
13072
|
-
__pyx_t_8 =
|
|
13089
|
+
__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)
|
|
13073
13090
|
__Pyx_GOTREF(__pyx_t_8);
|
|
13074
13091
|
#endif
|
|
13075
13092
|
}
|
|
@@ -13448,7 +13465,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
13448
13465
|
Py_ssize_t __pyx_v_new_shape;
|
|
13449
13466
|
int __pyx_v_negative_step;
|
|
13450
13467
|
int __pyx_r;
|
|
13451
|
-
__Pyx_RefNannyDeclarations
|
|
13452
13468
|
int __pyx_t_1;
|
|
13453
13469
|
int __pyx_t_2;
|
|
13454
13470
|
int __pyx_t_3;
|
|
@@ -13458,7 +13474,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
13458
13474
|
#ifdef WITH_THREAD
|
|
13459
13475
|
PyGILState_STATE __pyx_gilstate_save;
|
|
13460
13476
|
#endif
|
|
13461
|
-
__Pyx_RefNannySetupContext("slice_memviewslice", 1);
|
|
13462
13477
|
|
|
13463
13478
|
/* "View.MemoryView":813
|
|
13464
13479
|
* cdef bint negative_step
|
|
@@ -14213,7 +14228,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
14213
14228
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
14214
14229
|
#endif
|
|
14215
14230
|
__pyx_L0:;
|
|
14216
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
14217
14231
|
return __pyx_r;
|
|
14218
14232
|
}
|
|
14219
14233
|
|
|
@@ -14241,7 +14255,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
|
|
|
14241
14255
|
int __pyx_lineno = 0;
|
|
14242
14256
|
const char *__pyx_filename = NULL;
|
|
14243
14257
|
int __pyx_clineno = 0;
|
|
14244
|
-
__Pyx_RefNannySetupContext("pybuffer_index",
|
|
14258
|
+
__Pyx_RefNannySetupContext("pybuffer_index", 1);
|
|
14245
14259
|
|
|
14246
14260
|
/* "View.MemoryView":898
|
|
14247
14261
|
* cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,
|
|
@@ -14568,7 +14582,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
14568
14582
|
int __pyx_v_i;
|
|
14569
14583
|
int __pyx_v_j;
|
|
14570
14584
|
int __pyx_r;
|
|
14571
|
-
__Pyx_RefNannyDeclarations
|
|
14572
14585
|
int __pyx_t_1;
|
|
14573
14586
|
Py_ssize_t *__pyx_t_2;
|
|
14574
14587
|
long __pyx_t_3;
|
|
@@ -14584,7 +14597,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
14584
14597
|
#ifdef WITH_THREAD
|
|
14585
14598
|
PyGILState_STATE __pyx_gilstate_save;
|
|
14586
14599
|
#endif
|
|
14587
|
-
__Pyx_RefNannySetupContext("transpose_memslice", 1);
|
|
14588
14600
|
|
|
14589
14601
|
/* "View.MemoryView":930
|
|
14590
14602
|
* @cname('__pyx_memslice_transpose')
|
|
@@ -14727,7 +14739,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
14727
14739
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
14728
14740
|
#endif
|
|
14729
14741
|
__pyx_L0:;
|
|
14730
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
14731
14742
|
return __pyx_r;
|
|
14732
14743
|
}
|
|
14733
14744
|
|
|
@@ -14753,8 +14764,6 @@ static void __pyx_memoryviewslice___dealloc__(PyObject *__pyx_v_self) {
|
|
|
14753
14764
|
}
|
|
14754
14765
|
|
|
14755
14766
|
static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewslice___dealloc__(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
|
|
14756
|
-
__Pyx_RefNannyDeclarations
|
|
14757
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
14758
14767
|
|
|
14759
14768
|
/* "View.MemoryView":964
|
|
14760
14769
|
*
|
|
@@ -14774,7 +14783,6 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
|
|
|
14774
14783
|
*/
|
|
14775
14784
|
|
|
14776
14785
|
/* function exit code */
|
|
14777
|
-
__Pyx_RefNannyFinishContext();
|
|
14778
14786
|
}
|
|
14779
14787
|
|
|
14780
14788
|
/* "View.MemoryView":966
|
|
@@ -14793,7 +14801,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
|
|
|
14793
14801
|
int __pyx_lineno = 0;
|
|
14794
14802
|
const char *__pyx_filename = NULL;
|
|
14795
14803
|
int __pyx_clineno = 0;
|
|
14796
|
-
__Pyx_RefNannySetupContext("convert_item_to_object",
|
|
14804
|
+
__Pyx_RefNannySetupContext("convert_item_to_object", 1);
|
|
14797
14805
|
|
|
14798
14806
|
/* "View.MemoryView":967
|
|
14799
14807
|
*
|
|
@@ -14880,7 +14888,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
|
|
|
14880
14888
|
int __pyx_lineno = 0;
|
|
14881
14889
|
const char *__pyx_filename = NULL;
|
|
14882
14890
|
int __pyx_clineno = 0;
|
|
14883
|
-
__Pyx_RefNannySetupContext("assign_item_from_object",
|
|
14891
|
+
__Pyx_RefNannySetupContext("assign_item_from_object", 1);
|
|
14884
14892
|
|
|
14885
14893
|
/* "View.MemoryView":973
|
|
14886
14894
|
*
|
|
@@ -14957,7 +14965,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
|
|
|
14957
14965
|
static PyObject *__pyx_memoryviewslice__get_base(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
|
|
14958
14966
|
PyObject *__pyx_r = NULL;
|
|
14959
14967
|
__Pyx_RefNannyDeclarations
|
|
14960
|
-
__Pyx_RefNannySetupContext("_get_base",
|
|
14968
|
+
__Pyx_RefNannySetupContext("_get_base", 1);
|
|
14961
14969
|
|
|
14962
14970
|
/* "View.MemoryView":979
|
|
14963
14971
|
*
|
|
@@ -15011,9 +15019,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
15011
15019
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
15012
15020
|
#endif
|
|
15013
15021
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
15014
|
-
int __pyx_lineno = 0;
|
|
15015
|
-
const char *__pyx_filename = NULL;
|
|
15016
|
-
int __pyx_clineno = 0;
|
|
15017
15022
|
PyObject *__pyx_r = 0;
|
|
15018
15023
|
__Pyx_RefNannyDeclarations
|
|
15019
15024
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -15021,21 +15026,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
15021
15026
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
15022
15027
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
15023
15028
|
#else
|
|
15024
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
15025
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
15029
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
15026
15030
|
#endif
|
|
15027
15031
|
#endif
|
|
15028
15032
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
15029
15033
|
if (unlikely(__pyx_nargs > 0)) {
|
|
15030
15034
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
15031
15035
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
15032
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
15033
|
-
goto __pyx_L3_error;
|
|
15034
|
-
__pyx_L3_error:;
|
|
15035
|
-
__Pyx_AddTraceback("View.MemoryView._memoryviewslice.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
15036
|
-
__Pyx_RefNannyFinishContext();
|
|
15037
|
-
return NULL;
|
|
15038
|
-
__pyx_L4_argument_unpacking_done:;
|
|
15039
15036
|
__pyx_r = __pyx_pf___pyx_memoryviewslice___reduce_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self));
|
|
15040
15037
|
|
|
15041
15038
|
/* function exit code */
|
|
@@ -15049,7 +15046,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON_UNUSED
|
|
|
15049
15046
|
int __pyx_lineno = 0;
|
|
15050
15047
|
const char *__pyx_filename = NULL;
|
|
15051
15048
|
int __pyx_clineno = 0;
|
|
15052
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
15049
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
15053
15050
|
|
|
15054
15051
|
/* "(tree fragment)":2
|
|
15055
15052
|
* def __reduce_cython__(self):
|
|
@@ -15113,8 +15110,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
15113
15110
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
15114
15111
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
15115
15112
|
#else
|
|
15116
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
15117
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
15113
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
15118
15114
|
#endif
|
|
15119
15115
|
#endif
|
|
15120
15116
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -15149,10 +15145,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
15149
15145
|
}
|
|
15150
15146
|
__pyx_v___pyx_state = values[0];
|
|
15151
15147
|
}
|
|
15152
|
-
goto
|
|
15148
|
+
goto __pyx_L6_skip;
|
|
15153
15149
|
__pyx_L5_argtuple_error:;
|
|
15154
15150
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
15155
|
-
|
|
15151
|
+
__pyx_L6_skip:;
|
|
15152
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
15156
15153
|
__pyx_L3_error:;
|
|
15157
15154
|
{
|
|
15158
15155
|
Py_ssize_t __pyx_temp;
|
|
@@ -15183,7 +15180,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYTHON_UNUS
|
|
|
15183
15180
|
int __pyx_lineno = 0;
|
|
15184
15181
|
const char *__pyx_filename = NULL;
|
|
15185
15182
|
int __pyx_clineno = 0;
|
|
15186
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
15183
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
15187
15184
|
|
|
15188
15185
|
/* "(tree fragment)":4
|
|
15189
15186
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -15235,7 +15232,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
|
|
|
15235
15232
|
int __pyx_lineno = 0;
|
|
15236
15233
|
const char *__pyx_filename = NULL;
|
|
15237
15234
|
int __pyx_clineno = 0;
|
|
15238
|
-
__Pyx_RefNannySetupContext("memoryview_fromslice",
|
|
15235
|
+
__Pyx_RefNannySetupContext("memoryview_fromslice", 1);
|
|
15239
15236
|
|
|
15240
15237
|
/* "View.MemoryView":1007
|
|
15241
15238
|
* cdef _memoryviewslice result
|
|
@@ -15612,7 +15609,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
|
|
|
15612
15609
|
int __pyx_lineno = 0;
|
|
15613
15610
|
const char *__pyx_filename = NULL;
|
|
15614
15611
|
int __pyx_clineno = 0;
|
|
15615
|
-
__Pyx_RefNannySetupContext("get_slice_from_memview",
|
|
15612
|
+
__Pyx_RefNannySetupContext("get_slice_from_memview", 1);
|
|
15616
15613
|
|
|
15617
15614
|
/* "View.MemoryView":1055
|
|
15618
15615
|
* __Pyx_memviewslice *mslice) except NULL:
|
|
@@ -15709,14 +15706,12 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
|
|
|
15709
15706
|
Py_ssize_t *__pyx_v_shape;
|
|
15710
15707
|
Py_ssize_t *__pyx_v_strides;
|
|
15711
15708
|
Py_ssize_t *__pyx_v_suboffsets;
|
|
15712
|
-
__Pyx_RefNannyDeclarations
|
|
15713
15709
|
Py_ssize_t *__pyx_t_1;
|
|
15714
15710
|
int __pyx_t_2;
|
|
15715
15711
|
int __pyx_t_3;
|
|
15716
15712
|
int __pyx_t_4;
|
|
15717
15713
|
Py_ssize_t __pyx_t_5;
|
|
15718
15714
|
int __pyx_t_6;
|
|
15719
|
-
__Pyx_RefNannySetupContext("slice_copy", 0);
|
|
15720
15715
|
|
|
15721
15716
|
/* "View.MemoryView":1067
|
|
15722
15717
|
* cdef (Py_ssize_t*) shape, strides, suboffsets
|
|
@@ -15821,7 +15816,6 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
|
|
|
15821
15816
|
*/
|
|
15822
15817
|
|
|
15823
15818
|
/* function exit code */
|
|
15824
|
-
__Pyx_RefNannyFinishContext();
|
|
15825
15819
|
}
|
|
15826
15820
|
|
|
15827
15821
|
/* "View.MemoryView":1080
|
|
@@ -15840,7 +15834,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
|
|
|
15840
15834
|
int __pyx_lineno = 0;
|
|
15841
15835
|
const char *__pyx_filename = NULL;
|
|
15842
15836
|
int __pyx_clineno = 0;
|
|
15843
|
-
__Pyx_RefNannySetupContext("memoryview_copy",
|
|
15837
|
+
__Pyx_RefNannySetupContext("memoryview_copy", 1);
|
|
15844
15838
|
|
|
15845
15839
|
/* "View.MemoryView":1083
|
|
15846
15840
|
* "Create a new memoryview object"
|
|
@@ -15904,7 +15898,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
|
|
|
15904
15898
|
int __pyx_lineno = 0;
|
|
15905
15899
|
const char *__pyx_filename = NULL;
|
|
15906
15900
|
int __pyx_clineno = 0;
|
|
15907
|
-
__Pyx_RefNannySetupContext("memoryview_copy_from_slice",
|
|
15901
|
+
__Pyx_RefNannySetupContext("memoryview_copy_from_slice", 1);
|
|
15908
15902
|
|
|
15909
15903
|
/* "View.MemoryView":1094
|
|
15910
15904
|
* cdef int (*to_dtype_func)(char *, object) except 0
|
|
@@ -16713,7 +16707,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
16713
16707
|
size_t __pyx_v_itemsize;
|
|
16714
16708
|
size_t __pyx_v_size;
|
|
16715
16709
|
void *__pyx_r;
|
|
16716
|
-
__Pyx_RefNannyDeclarations
|
|
16717
16710
|
Py_ssize_t __pyx_t_1;
|
|
16718
16711
|
int __pyx_t_2;
|
|
16719
16712
|
int __pyx_t_3;
|
|
@@ -16726,7 +16719,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
16726
16719
|
#ifdef WITH_THREAD
|
|
16727
16720
|
PyGILState_STATE __pyx_gilstate_save;
|
|
16728
16721
|
#endif
|
|
16729
|
-
__Pyx_RefNannySetupContext("copy_data_to_temp", 1);
|
|
16730
16722
|
|
|
16731
16723
|
/* "View.MemoryView":1216
|
|
16732
16724
|
* cdef void *result
|
|
@@ -16954,7 +16946,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
16954
16946
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
16955
16947
|
#endif
|
|
16956
16948
|
__pyx_L0:;
|
|
16957
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
16958
16949
|
return __pyx_r;
|
|
16959
16950
|
}
|
|
16960
16951
|
|
|
@@ -17174,14 +17165,12 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, PyObject *__pyx_v_msg)
|
|
|
17174
17165
|
|
|
17175
17166
|
static int __pyx_memoryview_err_no_memory(void) {
|
|
17176
17167
|
int __pyx_r;
|
|
17177
|
-
__Pyx_RefNannyDeclarations
|
|
17178
17168
|
int __pyx_lineno = 0;
|
|
17179
17169
|
const char *__pyx_filename = NULL;
|
|
17180
17170
|
int __pyx_clineno = 0;
|
|
17181
17171
|
#ifdef WITH_THREAD
|
|
17182
17172
|
PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
|
|
17183
17173
|
#endif
|
|
17184
|
-
__Pyx_RefNannySetupContext("_err_no_memory", 0);
|
|
17185
17174
|
|
|
17186
17175
|
/* "View.MemoryView":1261
|
|
17187
17176
|
* @cname('__pyx_memoryview_err_no_memory')
|
|
@@ -17204,7 +17193,6 @@ static int __pyx_memoryview_err_no_memory(void) {
|
|
|
17204
17193
|
__pyx_L1_error:;
|
|
17205
17194
|
__Pyx_AddTraceback("View.MemoryView._err_no_memory", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
17206
17195
|
__pyx_r = -1;
|
|
17207
|
-
__Pyx_RefNannyFinishContext();
|
|
17208
17196
|
#ifdef WITH_THREAD
|
|
17209
17197
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
17210
17198
|
#endif
|
|
@@ -17229,7 +17217,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
17229
17217
|
__Pyx_memviewslice __pyx_v_tmp;
|
|
17230
17218
|
int __pyx_v_ndim;
|
|
17231
17219
|
int __pyx_r;
|
|
17232
|
-
__Pyx_RefNannyDeclarations
|
|
17233
17220
|
Py_ssize_t __pyx_t_1;
|
|
17234
17221
|
int __pyx_t_2;
|
|
17235
17222
|
int __pyx_t_3;
|
|
@@ -17243,7 +17230,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
17243
17230
|
#ifdef WITH_THREAD
|
|
17244
17231
|
PyGILState_STATE __pyx_gilstate_save;
|
|
17245
17232
|
#endif
|
|
17246
|
-
__Pyx_RefNannySetupContext("memoryview_copy_contents", 1);
|
|
17247
17233
|
|
|
17248
17234
|
/* "View.MemoryView":1273
|
|
17249
17235
|
* Check for overlapping memory and verify the shapes.
|
|
@@ -17788,7 +17774,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
17788
17774
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
17789
17775
|
#endif
|
|
17790
17776
|
__pyx_L0:;
|
|
17791
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
17792
17777
|
return __pyx_r;
|
|
17793
17778
|
}
|
|
17794
17779
|
|
|
@@ -17962,11 +17947,9 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
|
|
|
17962
17947
|
*/
|
|
17963
17948
|
|
|
17964
17949
|
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) {
|
|
17965
|
-
__Pyx_RefNannyDeclarations
|
|
17966
17950
|
#ifdef WITH_THREAD
|
|
17967
17951
|
PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
|
|
17968
17952
|
#endif
|
|
17969
|
-
__Pyx_RefNannySetupContext("refcount_objects_in_slice_with_gil", 0);
|
|
17970
17953
|
|
|
17971
17954
|
/* "View.MemoryView":1368
|
|
17972
17955
|
* Py_ssize_t *strides, int ndim,
|
|
@@ -17986,7 +17969,6 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
|
|
|
17986
17969
|
*/
|
|
17987
17970
|
|
|
17988
17971
|
/* function exit code */
|
|
17989
|
-
__Pyx_RefNannyFinishContext();
|
|
17990
17972
|
#ifdef WITH_THREAD
|
|
17991
17973
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
17992
17974
|
#endif
|
|
@@ -18003,12 +17985,10 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
|
|
|
18003
17985
|
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) {
|
|
18004
17986
|
CYTHON_UNUSED Py_ssize_t __pyx_v_i;
|
|
18005
17987
|
Py_ssize_t __pyx_v_stride;
|
|
18006
|
-
__Pyx_RefNannyDeclarations
|
|
18007
17988
|
Py_ssize_t __pyx_t_1;
|
|
18008
17989
|
Py_ssize_t __pyx_t_2;
|
|
18009
17990
|
Py_ssize_t __pyx_t_3;
|
|
18010
17991
|
int __pyx_t_4;
|
|
18011
|
-
__Pyx_RefNannySetupContext("refcount_objects_in_slice", 0);
|
|
18012
17992
|
|
|
18013
17993
|
/* "View.MemoryView":1374
|
|
18014
17994
|
* Py_ssize_t *strides, int ndim, bint inc) noexcept:
|
|
@@ -18122,7 +18102,6 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
|
|
|
18122
18102
|
*/
|
|
18123
18103
|
|
|
18124
18104
|
/* function exit code */
|
|
18125
|
-
__Pyx_RefNannyFinishContext();
|
|
18126
18105
|
}
|
|
18127
18106
|
|
|
18128
18107
|
/* "View.MemoryView":1391
|
|
@@ -18344,8 +18323,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
18344
18323
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
18345
18324
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
18346
18325
|
#else
|
|
18347
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
18348
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
18326
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
18349
18327
|
#endif
|
|
18350
18328
|
#endif
|
|
18351
18329
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -18408,10 +18386,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
18408
18386
|
__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)
|
|
18409
18387
|
__pyx_v___pyx_state = values[2];
|
|
18410
18388
|
}
|
|
18411
|
-
goto
|
|
18389
|
+
goto __pyx_L6_skip;
|
|
18412
18390
|
__pyx_L5_argtuple_error:;
|
|
18413
18391
|
__Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 1, __pyx_L3_error)
|
|
18414
|
-
|
|
18392
|
+
__pyx_L6_skip:;
|
|
18393
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
18415
18394
|
__pyx_L3_error:;
|
|
18416
18395
|
{
|
|
18417
18396
|
Py_ssize_t __pyx_temp;
|
|
@@ -18449,7 +18428,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSE
|
|
|
18449
18428
|
int __pyx_lineno = 0;
|
|
18450
18429
|
const char *__pyx_filename = NULL;
|
|
18451
18430
|
int __pyx_clineno = 0;
|
|
18452
|
-
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum",
|
|
18431
|
+
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 1);
|
|
18453
18432
|
|
|
18454
18433
|
/* "(tree fragment)":4
|
|
18455
18434
|
* cdef object __pyx_PickleError
|
|
@@ -18631,7 +18610,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
18631
18610
|
int __pyx_lineno = 0;
|
|
18632
18611
|
const char *__pyx_filename = NULL;
|
|
18633
18612
|
int __pyx_clineno = 0;
|
|
18634
|
-
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state",
|
|
18613
|
+
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 1);
|
|
18635
18614
|
|
|
18636
18615
|
/* "(tree fragment)":12
|
|
18637
18616
|
* return __pyx_result
|
|
@@ -18747,7 +18726,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
18747
18726
|
return __pyx_r;
|
|
18748
18727
|
}
|
|
18749
18728
|
|
|
18750
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18729
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":246
|
|
18751
18730
|
*
|
|
18752
18731
|
* @property
|
|
18753
18732
|
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18758,7 +18737,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
18758
18737
|
static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
|
|
18759
18738
|
PyObject *__pyx_r;
|
|
18760
18739
|
|
|
18761
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18740
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":249
|
|
18762
18741
|
* """Returns a borrowed reference to the object owning the data/memory.
|
|
18763
18742
|
* """
|
|
18764
18743
|
* return PyArray_BASE(self) # <<<<<<<<<<<<<<
|
|
@@ -18768,7 +18747,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
18768
18747
|
__pyx_r = PyArray_BASE(__pyx_v_self);
|
|
18769
18748
|
goto __pyx_L0;
|
|
18770
18749
|
|
|
18771
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18750
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":246
|
|
18772
18751
|
*
|
|
18773
18752
|
* @property
|
|
18774
18753
|
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18781,7 +18760,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
18781
18760
|
return __pyx_r;
|
|
18782
18761
|
}
|
|
18783
18762
|
|
|
18784
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18763
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":252
|
|
18785
18764
|
*
|
|
18786
18765
|
* @property
|
|
18787
18766
|
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
|
|
@@ -18793,9 +18772,9 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18793
18772
|
PyArray_Descr *__pyx_r = NULL;
|
|
18794
18773
|
__Pyx_RefNannyDeclarations
|
|
18795
18774
|
PyArray_Descr *__pyx_t_1;
|
|
18796
|
-
__Pyx_RefNannySetupContext("descr",
|
|
18775
|
+
__Pyx_RefNannySetupContext("descr", 1);
|
|
18797
18776
|
|
|
18798
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18777
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":255
|
|
18799
18778
|
* """Returns an owned reference to the dtype of the array.
|
|
18800
18779
|
* """
|
|
18801
18780
|
* return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
|
|
@@ -18808,7 +18787,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18808
18787
|
__pyx_r = ((PyArray_Descr *)__pyx_t_1);
|
|
18809
18788
|
goto __pyx_L0;
|
|
18810
18789
|
|
|
18811
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18790
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":252
|
|
18812
18791
|
*
|
|
18813
18792
|
* @property
|
|
18814
18793
|
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
|
|
@@ -18823,7 +18802,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18823
18802
|
return __pyx_r;
|
|
18824
18803
|
}
|
|
18825
18804
|
|
|
18826
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18805
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":258
|
|
18827
18806
|
*
|
|
18828
18807
|
* @property
|
|
18829
18808
|
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18834,7 +18813,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18834
18813
|
static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
|
|
18835
18814
|
int __pyx_r;
|
|
18836
18815
|
|
|
18837
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18816
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":261
|
|
18838
18817
|
* """Returns the number of dimensions in the array.
|
|
18839
18818
|
* """
|
|
18840
18819
|
* return PyArray_NDIM(self) # <<<<<<<<<<<<<<
|
|
@@ -18844,7 +18823,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
18844
18823
|
__pyx_r = PyArray_NDIM(__pyx_v_self);
|
|
18845
18824
|
goto __pyx_L0;
|
|
18846
18825
|
|
|
18847
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18826
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":258
|
|
18848
18827
|
*
|
|
18849
18828
|
* @property
|
|
18850
18829
|
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18857,7 +18836,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
18857
18836
|
return __pyx_r;
|
|
18858
18837
|
}
|
|
18859
18838
|
|
|
18860
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18839
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":264
|
|
18861
18840
|
*
|
|
18862
18841
|
* @property
|
|
18863
18842
|
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18868,7 +18847,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
18868
18847
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
|
|
18869
18848
|
npy_intp *__pyx_r;
|
|
18870
18849
|
|
|
18871
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18850
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":269
|
|
18872
18851
|
* Can return NULL for 0-dimensional arrays.
|
|
18873
18852
|
* """
|
|
18874
18853
|
* return PyArray_DIMS(self) # <<<<<<<<<<<<<<
|
|
@@ -18878,7 +18857,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18878
18857
|
__pyx_r = PyArray_DIMS(__pyx_v_self);
|
|
18879
18858
|
goto __pyx_L0;
|
|
18880
18859
|
|
|
18881
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18860
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":264
|
|
18882
18861
|
*
|
|
18883
18862
|
* @property
|
|
18884
18863
|
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18891,7 +18870,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18891
18870
|
return __pyx_r;
|
|
18892
18871
|
}
|
|
18893
18872
|
|
|
18894
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18873
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":272
|
|
18895
18874
|
*
|
|
18896
18875
|
* @property
|
|
18897
18876
|
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18902,7 +18881,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18902
18881
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
|
|
18903
18882
|
npy_intp *__pyx_r;
|
|
18904
18883
|
|
|
18905
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18884
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":276
|
|
18906
18885
|
* The number of elements matches the number of dimensions of the array (ndim).
|
|
18907
18886
|
* """
|
|
18908
18887
|
* return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
|
|
@@ -18912,7 +18891,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18912
18891
|
__pyx_r = PyArray_STRIDES(__pyx_v_self);
|
|
18913
18892
|
goto __pyx_L0;
|
|
18914
18893
|
|
|
18915
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18894
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":272
|
|
18916
18895
|
*
|
|
18917
18896
|
* @property
|
|
18918
18897
|
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18925,7 +18904,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18925
18904
|
return __pyx_r;
|
|
18926
18905
|
}
|
|
18927
18906
|
|
|
18928
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18907
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":279
|
|
18929
18908
|
*
|
|
18930
18909
|
* @property
|
|
18931
18910
|
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18936,7 +18915,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18936
18915
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
|
|
18937
18916
|
npy_intp __pyx_r;
|
|
18938
18917
|
|
|
18939
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18918
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":282
|
|
18940
18919
|
* """Returns the total size (in number of elements) of the array.
|
|
18941
18920
|
* """
|
|
18942
18921
|
* return PyArray_SIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -18946,7 +18925,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18946
18925
|
__pyx_r = PyArray_SIZE(__pyx_v_self);
|
|
18947
18926
|
goto __pyx_L0;
|
|
18948
18927
|
|
|
18949
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18928
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":279
|
|
18950
18929
|
*
|
|
18951
18930
|
* @property
|
|
18952
18931
|
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18959,7 +18938,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18959
18938
|
return __pyx_r;
|
|
18960
18939
|
}
|
|
18961
18940
|
|
|
18962
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18941
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":285
|
|
18963
18942
|
*
|
|
18964
18943
|
* @property
|
|
18965
18944
|
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18970,7 +18949,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18970
18949
|
static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
|
|
18971
18950
|
char *__pyx_r;
|
|
18972
18951
|
|
|
18973
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18952
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":291
|
|
18974
18953
|
* of `PyArray_DATA()` instead, which returns a 'void*'.
|
|
18975
18954
|
* """
|
|
18976
18955
|
* return PyArray_BYTES(self) # <<<<<<<<<<<<<<
|
|
@@ -18980,7 +18959,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
18980
18959
|
__pyx_r = PyArray_BYTES(__pyx_v_self);
|
|
18981
18960
|
goto __pyx_L0;
|
|
18982
18961
|
|
|
18983
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18962
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":285
|
|
18984
18963
|
*
|
|
18985
18964
|
* @property
|
|
18986
18965
|
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18993,7 +18972,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
18993
18972
|
return __pyx_r;
|
|
18994
18973
|
}
|
|
18995
18974
|
|
|
18996
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18975
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":777
|
|
18997
18976
|
* ctypedef npy_cdouble complex_t
|
|
18998
18977
|
*
|
|
18999
18978
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -19008,9 +18987,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
19008
18987
|
int __pyx_lineno = 0;
|
|
19009
18988
|
const char *__pyx_filename = NULL;
|
|
19010
18989
|
int __pyx_clineno = 0;
|
|
19011
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1",
|
|
18990
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1);
|
|
19012
18991
|
|
|
19013
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18992
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":778
|
|
19014
18993
|
*
|
|
19015
18994
|
* cdef inline object PyArray_MultiIterNew1(a):
|
|
19016
18995
|
* return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
|
|
@@ -19024,7 +19003,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
19024
19003
|
__pyx_t_1 = 0;
|
|
19025
19004
|
goto __pyx_L0;
|
|
19026
19005
|
|
|
19027
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19006
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":777
|
|
19028
19007
|
* ctypedef npy_cdouble complex_t
|
|
19029
19008
|
*
|
|
19030
19009
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -19043,7 +19022,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
19043
19022
|
return __pyx_r;
|
|
19044
19023
|
}
|
|
19045
19024
|
|
|
19046
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19025
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":780
|
|
19047
19026
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
19048
19027
|
*
|
|
19049
19028
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -19058,9 +19037,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
19058
19037
|
int __pyx_lineno = 0;
|
|
19059
19038
|
const char *__pyx_filename = NULL;
|
|
19060
19039
|
int __pyx_clineno = 0;
|
|
19061
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2",
|
|
19040
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1);
|
|
19062
19041
|
|
|
19063
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19042
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":781
|
|
19064
19043
|
*
|
|
19065
19044
|
* cdef inline object PyArray_MultiIterNew2(a, b):
|
|
19066
19045
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
|
|
@@ -19074,7 +19053,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
19074
19053
|
__pyx_t_1 = 0;
|
|
19075
19054
|
goto __pyx_L0;
|
|
19076
19055
|
|
|
19077
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19056
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":780
|
|
19078
19057
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
19079
19058
|
*
|
|
19080
19059
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -19093,7 +19072,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
19093
19072
|
return __pyx_r;
|
|
19094
19073
|
}
|
|
19095
19074
|
|
|
19096
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19075
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":783
|
|
19097
19076
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
19098
19077
|
*
|
|
19099
19078
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -19108,9 +19087,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
19108
19087
|
int __pyx_lineno = 0;
|
|
19109
19088
|
const char *__pyx_filename = NULL;
|
|
19110
19089
|
int __pyx_clineno = 0;
|
|
19111
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3",
|
|
19090
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1);
|
|
19112
19091
|
|
|
19113
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19092
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":784
|
|
19114
19093
|
*
|
|
19115
19094
|
* cdef inline object PyArray_MultiIterNew3(a, b, c):
|
|
19116
19095
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
|
|
@@ -19124,7 +19103,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
19124
19103
|
__pyx_t_1 = 0;
|
|
19125
19104
|
goto __pyx_L0;
|
|
19126
19105
|
|
|
19127
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19106
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":783
|
|
19128
19107
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
19129
19108
|
*
|
|
19130
19109
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -19143,7 +19122,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
19143
19122
|
return __pyx_r;
|
|
19144
19123
|
}
|
|
19145
19124
|
|
|
19146
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19125
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":786
|
|
19147
19126
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
19148
19127
|
*
|
|
19149
19128
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -19158,9 +19137,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
19158
19137
|
int __pyx_lineno = 0;
|
|
19159
19138
|
const char *__pyx_filename = NULL;
|
|
19160
19139
|
int __pyx_clineno = 0;
|
|
19161
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4",
|
|
19140
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1);
|
|
19162
19141
|
|
|
19163
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19142
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":787
|
|
19164
19143
|
*
|
|
19165
19144
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
|
|
19166
19145
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
|
|
@@ -19174,7 +19153,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
19174
19153
|
__pyx_t_1 = 0;
|
|
19175
19154
|
goto __pyx_L0;
|
|
19176
19155
|
|
|
19177
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19156
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":786
|
|
19178
19157
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
19179
19158
|
*
|
|
19180
19159
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -19193,7 +19172,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
19193
19172
|
return __pyx_r;
|
|
19194
19173
|
}
|
|
19195
19174
|
|
|
19196
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19175
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789
|
|
19197
19176
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
19198
19177
|
*
|
|
19199
19178
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -19208,9 +19187,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
19208
19187
|
int __pyx_lineno = 0;
|
|
19209
19188
|
const char *__pyx_filename = NULL;
|
|
19210
19189
|
int __pyx_clineno = 0;
|
|
19211
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5",
|
|
19190
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1);
|
|
19212
19191
|
|
|
19213
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19192
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":790
|
|
19214
19193
|
*
|
|
19215
19194
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
|
|
19216
19195
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
|
|
@@ -19224,7 +19203,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
19224
19203
|
__pyx_t_1 = 0;
|
|
19225
19204
|
goto __pyx_L0;
|
|
19226
19205
|
|
|
19227
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19206
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789
|
|
19228
19207
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
19229
19208
|
*
|
|
19230
19209
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -19243,7 +19222,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
19243
19222
|
return __pyx_r;
|
|
19244
19223
|
}
|
|
19245
19224
|
|
|
19246
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19225
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":792
|
|
19247
19226
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
19248
19227
|
*
|
|
19249
19228
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -19255,9 +19234,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
19255
19234
|
PyObject *__pyx_r = NULL;
|
|
19256
19235
|
__Pyx_RefNannyDeclarations
|
|
19257
19236
|
int __pyx_t_1;
|
|
19258
|
-
__Pyx_RefNannySetupContext("PyDataType_SHAPE",
|
|
19237
|
+
__Pyx_RefNannySetupContext("PyDataType_SHAPE", 1);
|
|
19259
19238
|
|
|
19260
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19239
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":793
|
|
19261
19240
|
*
|
|
19262
19241
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
19263
19242
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -19267,7 +19246,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
19267
19246
|
__pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
|
|
19268
19247
|
if (__pyx_t_1) {
|
|
19269
19248
|
|
|
19270
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19249
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":794
|
|
19271
19250
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
19272
19251
|
* if PyDataType_HASSUBARRAY(d):
|
|
19273
19252
|
* return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
|
|
@@ -19279,7 +19258,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
19279
19258
|
__pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
|
|
19280
19259
|
goto __pyx_L0;
|
|
19281
19260
|
|
|
19282
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19261
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":793
|
|
19283
19262
|
*
|
|
19284
19263
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
19285
19264
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -19288,7 +19267,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
19288
19267
|
*/
|
|
19289
19268
|
}
|
|
19290
19269
|
|
|
19291
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19270
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":796
|
|
19292
19271
|
* return <tuple>d.subarray.shape
|
|
19293
19272
|
* else:
|
|
19294
19273
|
* return () # <<<<<<<<<<<<<<
|
|
@@ -19302,7 +19281,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
19302
19281
|
goto __pyx_L0;
|
|
19303
19282
|
}
|
|
19304
19283
|
|
|
19305
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19284
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":792
|
|
19306
19285
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
19307
19286
|
*
|
|
19308
19287
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -19317,7 +19296,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
19317
19296
|
return __pyx_r;
|
|
19318
19297
|
}
|
|
19319
19298
|
|
|
19320
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19299
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":971
|
|
19321
19300
|
* int _import_umath() except -1
|
|
19322
19301
|
*
|
|
19323
19302
|
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
|
|
@@ -19326,10 +19305,8 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
19326
19305
|
*/
|
|
19327
19306
|
|
|
19328
19307
|
static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
|
|
19329
|
-
__Pyx_RefNannyDeclarations
|
|
19330
|
-
__Pyx_RefNannySetupContext("set_array_base", 0);
|
|
19331
19308
|
|
|
19332
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19309
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":972
|
|
19333
19310
|
*
|
|
19334
19311
|
* cdef inline void set_array_base(ndarray arr, object base):
|
|
19335
19312
|
* Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
|
|
@@ -19338,7 +19315,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
19338
19315
|
*/
|
|
19339
19316
|
Py_INCREF(__pyx_v_base);
|
|
19340
19317
|
|
|
19341
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19318
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":973
|
|
19342
19319
|
* cdef inline void set_array_base(ndarray arr, object base):
|
|
19343
19320
|
* Py_INCREF(base) # important to do this before stealing the reference below!
|
|
19344
19321
|
* PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
|
|
@@ -19347,7 +19324,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
19347
19324
|
*/
|
|
19348
19325
|
(void)(PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base));
|
|
19349
19326
|
|
|
19350
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19327
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":971
|
|
19351
19328
|
* int _import_umath() except -1
|
|
19352
19329
|
*
|
|
19353
19330
|
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
|
|
@@ -19356,10 +19333,9 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
19356
19333
|
*/
|
|
19357
19334
|
|
|
19358
19335
|
/* function exit code */
|
|
19359
|
-
__Pyx_RefNannyFinishContext();
|
|
19360
19336
|
}
|
|
19361
19337
|
|
|
19362
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19338
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":975
|
|
19363
19339
|
* PyArray_SetBaseObject(arr, base)
|
|
19364
19340
|
*
|
|
19365
19341
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -19372,9 +19348,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
19372
19348
|
PyObject *__pyx_r = NULL;
|
|
19373
19349
|
__Pyx_RefNannyDeclarations
|
|
19374
19350
|
int __pyx_t_1;
|
|
19375
|
-
__Pyx_RefNannySetupContext("get_array_base",
|
|
19351
|
+
__Pyx_RefNannySetupContext("get_array_base", 1);
|
|
19376
19352
|
|
|
19377
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19353
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":976
|
|
19378
19354
|
*
|
|
19379
19355
|
* cdef inline object get_array_base(ndarray arr):
|
|
19380
19356
|
* base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
|
|
@@ -19383,7 +19359,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
19383
19359
|
*/
|
|
19384
19360
|
__pyx_v_base = PyArray_BASE(__pyx_v_arr);
|
|
19385
19361
|
|
|
19386
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19362
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":977
|
|
19387
19363
|
* cdef inline object get_array_base(ndarray arr):
|
|
19388
19364
|
* base = PyArray_BASE(arr)
|
|
19389
19365
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -19393,7 +19369,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
19393
19369
|
__pyx_t_1 = (__pyx_v_base == NULL);
|
|
19394
19370
|
if (__pyx_t_1) {
|
|
19395
19371
|
|
|
19396
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19372
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":978
|
|
19397
19373
|
* base = PyArray_BASE(arr)
|
|
19398
19374
|
* if base is NULL:
|
|
19399
19375
|
* return None # <<<<<<<<<<<<<<
|
|
@@ -19404,7 +19380,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
19404
19380
|
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
|
|
19405
19381
|
goto __pyx_L0;
|
|
19406
19382
|
|
|
19407
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19383
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":977
|
|
19408
19384
|
* cdef inline object get_array_base(ndarray arr):
|
|
19409
19385
|
* base = PyArray_BASE(arr)
|
|
19410
19386
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -19413,7 +19389,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
19413
19389
|
*/
|
|
19414
19390
|
}
|
|
19415
19391
|
|
|
19416
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19392
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":979
|
|
19417
19393
|
* if base is NULL:
|
|
19418
19394
|
* return None
|
|
19419
19395
|
* return <object>base # <<<<<<<<<<<<<<
|
|
@@ -19425,7 +19401,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
19425
19401
|
__pyx_r = ((PyObject *)__pyx_v_base);
|
|
19426
19402
|
goto __pyx_L0;
|
|
19427
19403
|
|
|
19428
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19404
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":975
|
|
19429
19405
|
* PyArray_SetBaseObject(arr, base)
|
|
19430
19406
|
*
|
|
19431
19407
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -19440,7 +19416,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
19440
19416
|
return __pyx_r;
|
|
19441
19417
|
}
|
|
19442
19418
|
|
|
19443
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19419
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":983
|
|
19444
19420
|
* # Versions of the import_* functions which are more suitable for
|
|
19445
19421
|
* # Cython code.
|
|
19446
19422
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19462,9 +19438,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19462
19438
|
int __pyx_lineno = 0;
|
|
19463
19439
|
const char *__pyx_filename = NULL;
|
|
19464
19440
|
int __pyx_clineno = 0;
|
|
19465
|
-
__Pyx_RefNannySetupContext("import_array",
|
|
19441
|
+
__Pyx_RefNannySetupContext("import_array", 1);
|
|
19466
19442
|
|
|
19467
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19443
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
|
|
19468
19444
|
* # Cython code.
|
|
19469
19445
|
* cdef inline int import_array() except -1:
|
|
19470
19446
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19480,7 +19456,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19480
19456
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
19481
19457
|
/*try:*/ {
|
|
19482
19458
|
|
|
19483
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19459
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":985
|
|
19484
19460
|
* cdef inline int import_array() except -1:
|
|
19485
19461
|
* try:
|
|
19486
19462
|
* __pyx_import_array() # <<<<<<<<<<<<<<
|
|
@@ -19489,7 +19465,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19489
19465
|
*/
|
|
19490
19466
|
__pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 985, __pyx_L3_error)
|
|
19491
19467
|
|
|
19492
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19468
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
|
|
19493
19469
|
* # Cython code.
|
|
19494
19470
|
* cdef inline int import_array() except -1:
|
|
19495
19471
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19503,7 +19479,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19503
19479
|
goto __pyx_L8_try_end;
|
|
19504
19480
|
__pyx_L3_error:;
|
|
19505
19481
|
|
|
19506
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19482
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":986
|
|
19507
19483
|
* try:
|
|
19508
19484
|
* __pyx_import_array()
|
|
19509
19485
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -19518,7 +19494,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19518
19494
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
19519
19495
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
19520
19496
|
|
|
19521
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19497
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987
|
|
19522
19498
|
* __pyx_import_array()
|
|
19523
19499
|
* except Exception:
|
|
19524
19500
|
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -19533,7 +19509,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19533
19509
|
}
|
|
19534
19510
|
goto __pyx_L5_except_error;
|
|
19535
19511
|
|
|
19536
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19512
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
|
|
19537
19513
|
* # Cython code.
|
|
19538
19514
|
* cdef inline int import_array() except -1:
|
|
19539
19515
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19549,7 +19525,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19549
19525
|
__pyx_L8_try_end:;
|
|
19550
19526
|
}
|
|
19551
19527
|
|
|
19552
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19528
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":983
|
|
19553
19529
|
* # Versions of the import_* functions which are more suitable for
|
|
19554
19530
|
* # Cython code.
|
|
19555
19531
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19572,7 +19548,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19572
19548
|
return __pyx_r;
|
|
19573
19549
|
}
|
|
19574
19550
|
|
|
19575
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19551
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":989
|
|
19576
19552
|
* raise ImportError("numpy.core.multiarray failed to import")
|
|
19577
19553
|
*
|
|
19578
19554
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19594,9 +19570,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19594
19570
|
int __pyx_lineno = 0;
|
|
19595
19571
|
const char *__pyx_filename = NULL;
|
|
19596
19572
|
int __pyx_clineno = 0;
|
|
19597
|
-
__Pyx_RefNannySetupContext("import_umath",
|
|
19573
|
+
__Pyx_RefNannySetupContext("import_umath", 1);
|
|
19598
19574
|
|
|
19599
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19575
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
|
|
19600
19576
|
*
|
|
19601
19577
|
* cdef inline int import_umath() except -1:
|
|
19602
19578
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19612,7 +19588,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19612
19588
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
19613
19589
|
/*try:*/ {
|
|
19614
19590
|
|
|
19615
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19591
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":991
|
|
19616
19592
|
* cdef inline int import_umath() except -1:
|
|
19617
19593
|
* try:
|
|
19618
19594
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -19621,7 +19597,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19621
19597
|
*/
|
|
19622
19598
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 991, __pyx_L3_error)
|
|
19623
19599
|
|
|
19624
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19600
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
|
|
19625
19601
|
*
|
|
19626
19602
|
* cdef inline int import_umath() except -1:
|
|
19627
19603
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19635,7 +19611,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19635
19611
|
goto __pyx_L8_try_end;
|
|
19636
19612
|
__pyx_L3_error:;
|
|
19637
19613
|
|
|
19638
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19614
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":992
|
|
19639
19615
|
* try:
|
|
19640
19616
|
* _import_umath()
|
|
19641
19617
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -19650,7 +19626,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19650
19626
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
19651
19627
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
19652
19628
|
|
|
19653
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19629
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993
|
|
19654
19630
|
* _import_umath()
|
|
19655
19631
|
* except Exception:
|
|
19656
19632
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -19665,7 +19641,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19665
19641
|
}
|
|
19666
19642
|
goto __pyx_L5_except_error;
|
|
19667
19643
|
|
|
19668
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19644
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
|
|
19669
19645
|
*
|
|
19670
19646
|
* cdef inline int import_umath() except -1:
|
|
19671
19647
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19681,7 +19657,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19681
19657
|
__pyx_L8_try_end:;
|
|
19682
19658
|
}
|
|
19683
19659
|
|
|
19684
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19660
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":989
|
|
19685
19661
|
* raise ImportError("numpy.core.multiarray failed to import")
|
|
19686
19662
|
*
|
|
19687
19663
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19704,7 +19680,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19704
19680
|
return __pyx_r;
|
|
19705
19681
|
}
|
|
19706
19682
|
|
|
19707
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19683
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":995
|
|
19708
19684
|
* raise ImportError("numpy.core.umath failed to import")
|
|
19709
19685
|
*
|
|
19710
19686
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19726,9 +19702,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19726
19702
|
int __pyx_lineno = 0;
|
|
19727
19703
|
const char *__pyx_filename = NULL;
|
|
19728
19704
|
int __pyx_clineno = 0;
|
|
19729
|
-
__Pyx_RefNannySetupContext("import_ufunc",
|
|
19705
|
+
__Pyx_RefNannySetupContext("import_ufunc", 1);
|
|
19730
19706
|
|
|
19731
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19707
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
|
|
19732
19708
|
*
|
|
19733
19709
|
* cdef inline int import_ufunc() except -1:
|
|
19734
19710
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19744,7 +19720,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19744
19720
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
19745
19721
|
/*try:*/ {
|
|
19746
19722
|
|
|
19747
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19723
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":997
|
|
19748
19724
|
* cdef inline int import_ufunc() except -1:
|
|
19749
19725
|
* try:
|
|
19750
19726
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -19753,7 +19729,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19753
19729
|
*/
|
|
19754
19730
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 997, __pyx_L3_error)
|
|
19755
19731
|
|
|
19756
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19732
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
|
|
19757
19733
|
*
|
|
19758
19734
|
* cdef inline int import_ufunc() except -1:
|
|
19759
19735
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19767,7 +19743,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19767
19743
|
goto __pyx_L8_try_end;
|
|
19768
19744
|
__pyx_L3_error:;
|
|
19769
19745
|
|
|
19770
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19746
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":998
|
|
19771
19747
|
* try:
|
|
19772
19748
|
* _import_umath()
|
|
19773
19749
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -19782,7 +19758,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19782
19758
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
19783
19759
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
19784
19760
|
|
|
19785
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19761
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":999
|
|
19786
19762
|
* _import_umath()
|
|
19787
19763
|
* except Exception:
|
|
19788
19764
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -19797,7 +19773,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19797
19773
|
}
|
|
19798
19774
|
goto __pyx_L5_except_error;
|
|
19799
19775
|
|
|
19800
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19776
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
|
|
19801
19777
|
*
|
|
19802
19778
|
* cdef inline int import_ufunc() except -1:
|
|
19803
19779
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19813,7 +19789,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19813
19789
|
__pyx_L8_try_end:;
|
|
19814
19790
|
}
|
|
19815
19791
|
|
|
19816
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19792
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":995
|
|
19817
19793
|
* raise ImportError("numpy.core.umath failed to import")
|
|
19818
19794
|
*
|
|
19819
19795
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19836,7 +19812,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19836
19812
|
return __pyx_r;
|
|
19837
19813
|
}
|
|
19838
19814
|
|
|
19839
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19815
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1002
|
|
19840
19816
|
*
|
|
19841
19817
|
*
|
|
19842
19818
|
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19846,10 +19822,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19846
19822
|
|
|
19847
19823
|
static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
|
|
19848
19824
|
int __pyx_r;
|
|
19849
|
-
__Pyx_RefNannyDeclarations
|
|
19850
|
-
__Pyx_RefNannySetupContext("is_timedelta64_object", 0);
|
|
19851
19825
|
|
|
19852
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19826
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1014
|
|
19853
19827
|
* bool
|
|
19854
19828
|
* """
|
|
19855
19829
|
* return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -19859,7 +19833,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
19859
19833
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
|
|
19860
19834
|
goto __pyx_L0;
|
|
19861
19835
|
|
|
19862
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19836
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1002
|
|
19863
19837
|
*
|
|
19864
19838
|
*
|
|
19865
19839
|
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19869,11 +19843,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
19869
19843
|
|
|
19870
19844
|
/* function exit code */
|
|
19871
19845
|
__pyx_L0:;
|
|
19872
|
-
__Pyx_RefNannyFinishContext();
|
|
19873
19846
|
return __pyx_r;
|
|
19874
19847
|
}
|
|
19875
19848
|
|
|
19876
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19849
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1017
|
|
19877
19850
|
*
|
|
19878
19851
|
*
|
|
19879
19852
|
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19883,10 +19856,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
19883
19856
|
|
|
19884
19857
|
static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
|
|
19885
19858
|
int __pyx_r;
|
|
19886
|
-
__Pyx_RefNannyDeclarations
|
|
19887
|
-
__Pyx_RefNannySetupContext("is_datetime64_object", 0);
|
|
19888
19859
|
|
|
19889
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19860
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1029
|
|
19890
19861
|
* bool
|
|
19891
19862
|
* """
|
|
19892
19863
|
* return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -19896,7 +19867,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19896
19867
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
|
|
19897
19868
|
goto __pyx_L0;
|
|
19898
19869
|
|
|
19899
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19870
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1017
|
|
19900
19871
|
*
|
|
19901
19872
|
*
|
|
19902
19873
|
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19906,11 +19877,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19906
19877
|
|
|
19907
19878
|
/* function exit code */
|
|
19908
19879
|
__pyx_L0:;
|
|
19909
|
-
__Pyx_RefNannyFinishContext();
|
|
19910
19880
|
return __pyx_r;
|
|
19911
19881
|
}
|
|
19912
19882
|
|
|
19913
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19883
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1032
|
|
19914
19884
|
*
|
|
19915
19885
|
*
|
|
19916
19886
|
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19921,7 +19891,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19921
19891
|
static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
|
|
19922
19892
|
npy_datetime __pyx_r;
|
|
19923
19893
|
|
|
19924
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19894
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1039
|
|
19925
19895
|
* also needed. That can be found using `get_datetime64_unit`.
|
|
19926
19896
|
* """
|
|
19927
19897
|
* return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -19931,7 +19901,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19931
19901
|
__pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
|
|
19932
19902
|
goto __pyx_L0;
|
|
19933
19903
|
|
|
19934
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19904
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1032
|
|
19935
19905
|
*
|
|
19936
19906
|
*
|
|
19937
19907
|
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19944,7 +19914,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19944
19914
|
return __pyx_r;
|
|
19945
19915
|
}
|
|
19946
19916
|
|
|
19947
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19917
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1042
|
|
19948
19918
|
*
|
|
19949
19919
|
*
|
|
19950
19920
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19955,7 +19925,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19955
19925
|
static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
|
|
19956
19926
|
npy_timedelta __pyx_r;
|
|
19957
19927
|
|
|
19958
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19928
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1046
|
|
19959
19929
|
* returns the int64 value underlying scalar numpy timedelta64 object
|
|
19960
19930
|
* """
|
|
19961
19931
|
* return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -19965,7 +19935,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19965
19935
|
__pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
|
|
19966
19936
|
goto __pyx_L0;
|
|
19967
19937
|
|
|
19968
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19938
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1042
|
|
19969
19939
|
*
|
|
19970
19940
|
*
|
|
19971
19941
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19978,7 +19948,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19978
19948
|
return __pyx_r;
|
|
19979
19949
|
}
|
|
19980
19950
|
|
|
19981
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19951
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049
|
|
19982
19952
|
*
|
|
19983
19953
|
*
|
|
19984
19954
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19989,7 +19959,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19989
19959
|
static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
|
|
19990
19960
|
NPY_DATETIMEUNIT __pyx_r;
|
|
19991
19961
|
|
|
19992
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19962
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1053
|
|
19993
19963
|
* returns the unit part of the dtype for a numpy datetime64 object.
|
|
19994
19964
|
* """
|
|
19995
19965
|
* return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
|
|
@@ -19997,7 +19967,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
19997
19967
|
__pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
|
|
19998
19968
|
goto __pyx_L0;
|
|
19999
19969
|
|
|
20000
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19970
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049
|
|
20001
19971
|
*
|
|
20002
19972
|
*
|
|
20003
19973
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -20038,8 +20008,7 @@ static int __pyx_pw_7biotite_9structure_8celllist_8CellList_1__cinit__(PyObject
|
|
|
20038
20008
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
20039
20009
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
20040
20010
|
#else
|
|
20041
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
20042
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 104, __pyx_L3_error)
|
|
20011
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
20043
20012
|
#endif
|
|
20044
20013
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
20045
20014
|
{
|
|
@@ -20139,10 +20108,11 @@ static int __pyx_pw_7biotite_9structure_8celllist_8CellList_1__cinit__(PyObject
|
|
|
20139
20108
|
__pyx_v_box = values[3];
|
|
20140
20109
|
__pyx_v_selection = ((PyArrayObject *)values[4]);
|
|
20141
20110
|
}
|
|
20142
|
-
goto
|
|
20111
|
+
goto __pyx_L6_skip;
|
|
20143
20112
|
__pyx_L5_argtuple_error:;
|
|
20144
20113
|
__Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 5, __pyx_nargs); __PYX_ERR(0, 104, __pyx_L3_error)
|
|
20145
|
-
|
|
20114
|
+
__pyx_L6_skip:;
|
|
20115
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
20146
20116
|
__pyx_L3_error:;
|
|
20147
20117
|
{
|
|
20148
20118
|
Py_ssize_t __pyx_temp;
|
|
@@ -20223,7 +20193,7 @@ static int __pyx_pf_7biotite_9structure_8celllist_8CellList___cinit__(struct __p
|
|
|
20223
20193
|
int __pyx_lineno = 0;
|
|
20224
20194
|
const char *__pyx_filename = NULL;
|
|
20225
20195
|
int __pyx_clineno = 0;
|
|
20226
|
-
__Pyx_RefNannySetupContext("__cinit__",
|
|
20196
|
+
__Pyx_RefNannySetupContext("__cinit__", 1);
|
|
20227
20197
|
|
|
20228
20198
|
/* "biotite/structure/celllist.pyx":112
|
|
20229
20199
|
* cdef int i, j, k
|
|
@@ -20495,7 +20465,7 @@ static int __pyx_pf_7biotite_9structure_8celllist_8CellList___cinit__(struct __p
|
|
|
20495
20465
|
}
|
|
20496
20466
|
#endif
|
|
20497
20467
|
{
|
|
20498
|
-
PyObject *__pyx_callargs[
|
|
20468
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL};
|
|
20499
20469
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
20500
20470
|
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
20501
20471
|
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 128, __pyx_L1_error)
|
|
@@ -20720,7 +20690,7 @@ static int __pyx_pf_7biotite_9structure_8celllist_8CellList___cinit__(struct __p
|
|
|
20720
20690
|
}
|
|
20721
20691
|
#endif
|
|
20722
20692
|
{
|
|
20723
|
-
PyObject *__pyx_callargs[
|
|
20693
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_6, NULL};
|
|
20724
20694
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
20725
20695
|
__Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
|
|
20726
20696
|
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 144, __pyx_L1_error)
|
|
@@ -21897,12 +21867,10 @@ static void __pyx_pw_7biotite_9structure_8celllist_8CellList_3__dealloc__(PyObje
|
|
|
21897
21867
|
}
|
|
21898
21868
|
|
|
21899
21869
|
static void __pyx_pf_7biotite_9structure_8celllist_8CellList_2__dealloc__(struct __pyx_obj_7biotite_9structure_8celllist_CellList *__pyx_v_self) {
|
|
21900
|
-
__Pyx_RefNannyDeclarations
|
|
21901
21870
|
int __pyx_t_1;
|
|
21902
21871
|
int __pyx_lineno = 0;
|
|
21903
21872
|
const char *__pyx_filename = NULL;
|
|
21904
21873
|
int __pyx_clineno = 0;
|
|
21905
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
21906
21874
|
|
|
21907
21875
|
/* "biotite/structure/celllist.pyx":214
|
|
21908
21876
|
*
|
|
@@ -21946,7 +21914,6 @@ static void __pyx_pf_7biotite_9structure_8celllist_8CellList_2__dealloc__(struct
|
|
|
21946
21914
|
__pyx_L1_error:;
|
|
21947
21915
|
__Pyx_WriteUnraisable("biotite.structure.celllist.CellList.__dealloc__", __pyx_clineno, __pyx_lineno, __pyx_filename, 1, 0);
|
|
21948
21916
|
__pyx_L0:;
|
|
21949
|
-
__Pyx_RefNannyFinishContext();
|
|
21950
21917
|
}
|
|
21951
21918
|
|
|
21952
21919
|
/* "biotite/structure/celllist.pyx":218
|
|
@@ -21990,8 +21957,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
21990
21957
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
21991
21958
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
21992
21959
|
#else
|
|
21993
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
21994
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 218, __pyx_L3_error)
|
|
21960
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
21995
21961
|
#endif
|
|
21996
21962
|
#endif
|
|
21997
21963
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -22026,10 +21992,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
22026
21992
|
}
|
|
22027
21993
|
__pyx_v_threshold_distance = __pyx_PyFloat_AsFloat(values[0]); if (unlikely((__pyx_v_threshold_distance == ((npy_float32)-1)) && PyErr_Occurred())) __PYX_ERR(0, 221, __pyx_L3_error)
|
|
22028
21994
|
}
|
|
22029
|
-
goto
|
|
21995
|
+
goto __pyx_L6_skip;
|
|
22030
21996
|
__pyx_L5_argtuple_error:;
|
|
22031
21997
|
__Pyx_RaiseArgtupleInvalid("create_adjacency_matrix", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 218, __pyx_L3_error)
|
|
22032
|
-
|
|
21998
|
+
__pyx_L6_skip:;
|
|
21999
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
22033
22000
|
__pyx_L3_error:;
|
|
22034
22001
|
{
|
|
22035
22002
|
Py_ssize_t __pyx_temp;
|
|
@@ -22071,7 +22038,7 @@ static PyObject *__pyx_pf_7biotite_9structure_8celllist_8CellList_4create_adjace
|
|
|
22071
22038
|
int __pyx_lineno = 0;
|
|
22072
22039
|
const char *__pyx_filename = NULL;
|
|
22073
22040
|
int __pyx_clineno = 0;
|
|
22074
|
-
__Pyx_RefNannySetupContext("create_adjacency_matrix",
|
|
22041
|
+
__Pyx_RefNannySetupContext("create_adjacency_matrix", 1);
|
|
22075
22042
|
|
|
22076
22043
|
/* "biotite/structure/celllist.pyx":269
|
|
22077
22044
|
* >>> matrix = cell_list.create_adjacency_matrix(5)
|
|
@@ -22489,8 +22456,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
22489
22456
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
22490
22457
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
22491
22458
|
#else
|
|
22492
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
22493
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 292, __pyx_L3_error)
|
|
22459
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
22494
22460
|
#endif
|
|
22495
22461
|
#endif
|
|
22496
22462
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -22565,10 +22531,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
22565
22531
|
__pyx_v_as_mask = ((int)0);
|
|
22566
22532
|
}
|
|
22567
22533
|
}
|
|
22568
|
-
goto
|
|
22534
|
+
goto __pyx_L6_skip;
|
|
22569
22535
|
__pyx_L5_argtuple_error:;
|
|
22570
22536
|
__Pyx_RaiseArgtupleInvalid("get_atoms", 0, 2, 3, __pyx_nargs); __PYX_ERR(0, 292, __pyx_L3_error)
|
|
22571
|
-
|
|
22537
|
+
__pyx_L6_skip:;
|
|
22538
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
22572
22539
|
__pyx_L3_error:;
|
|
22573
22540
|
{
|
|
22574
22541
|
Py_ssize_t __pyx_temp;
|
|
@@ -23777,8 +23744,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
23777
23744
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
23778
23745
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
23779
23746
|
#else
|
|
23780
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
23781
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 474, __pyx_L3_error)
|
|
23747
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
23782
23748
|
#endif
|
|
23783
23749
|
#endif
|
|
23784
23750
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -23852,10 +23818,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
23852
23818
|
__pyx_v_as_mask = ((int)0);
|
|
23853
23819
|
}
|
|
23854
23820
|
}
|
|
23855
|
-
goto
|
|
23821
|
+
goto __pyx_L6_skip;
|
|
23856
23822
|
__pyx_L5_argtuple_error:;
|
|
23857
23823
|
__Pyx_RaiseArgtupleInvalid("get_atoms_in_cells", 0, 1, 3, __pyx_nargs); __PYX_ERR(0, 474, __pyx_L3_error)
|
|
23858
|
-
|
|
23824
|
+
__pyx_L6_skip:;
|
|
23825
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
23859
23826
|
__pyx_L3_error:;
|
|
23860
23827
|
{
|
|
23861
23828
|
Py_ssize_t __pyx_temp;
|
|
@@ -24295,8 +24262,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
24295
24262
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
24296
24263
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
24297
24264
|
#else
|
|
24298
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
24299
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 568, __pyx_L3_error)
|
|
24265
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
24300
24266
|
#endif
|
|
24301
24267
|
#endif
|
|
24302
24268
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -24359,10 +24325,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
24359
24325
|
__pyx_v_cell_radii = ((PyArrayObject *)values[1]);
|
|
24360
24326
|
__pyx_v_is_multi_radius = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_is_multi_radius == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 573, __pyx_L3_error)
|
|
24361
24327
|
}
|
|
24362
|
-
goto
|
|
24328
|
+
goto __pyx_L6_skip;
|
|
24363
24329
|
__pyx_L5_argtuple_error:;
|
|
24364
24330
|
__Pyx_RaiseArgtupleInvalid("_get_atoms_in_cells", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 568, __pyx_L3_error)
|
|
24365
|
-
|
|
24331
|
+
__pyx_L6_skip:;
|
|
24332
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
24366
24333
|
__pyx_L3_error:;
|
|
24367
24334
|
{
|
|
24368
24335
|
Py_ssize_t __pyx_temp;
|
|
@@ -24413,7 +24380,7 @@ static PyObject *__pyx_pf_7biotite_9structure_8celllist_8CellList_10_get_atoms_i
|
|
|
24413
24380
|
int __pyx_lineno = 0;
|
|
24414
24381
|
const char *__pyx_filename = NULL;
|
|
24415
24382
|
int __pyx_clineno = 0;
|
|
24416
|
-
__Pyx_RefNannySetupContext("_get_atoms_in_cells",
|
|
24383
|
+
__Pyx_RefNannySetupContext("_get_atoms_in_cells", 1);
|
|
24417
24384
|
|
|
24418
24385
|
/* "biotite/structure/celllist.pyx":594
|
|
24419
24386
|
*
|
|
@@ -24649,7 +24616,6 @@ static int __pyx_f_7biotite_9structure_8celllist_8CellList__find_adjacent_atoms(
|
|
|
24649
24616
|
__Pyx_memviewslice __pyx_v_cells = { 0, 0, { 0 }, { 0 }, { 0 } };
|
|
24650
24617
|
__Pyx_memviewslice __pyx_v_cell_length = { 0, 0, { 0 }, { 0 }, { 0 } };
|
|
24651
24618
|
int __pyx_r;
|
|
24652
|
-
__Pyx_RefNannyDeclarations
|
|
24653
24619
|
__Pyx_memviewslice __pyx_t_1 = { 0, 0, { 0 }, { 0 }, { 0 } };
|
|
24654
24620
|
__Pyx_memviewslice __pyx_t_2 = { 0, 0, { 0 }, { 0 }, { 0 } };
|
|
24655
24621
|
Py_ssize_t __pyx_t_3;
|
|
@@ -24675,7 +24641,6 @@ static int __pyx_f_7biotite_9structure_8celllist_8CellList__find_adjacent_atoms(
|
|
|
24675
24641
|
int __pyx_lineno = 0;
|
|
24676
24642
|
const char *__pyx_filename = NULL;
|
|
24677
24643
|
int __pyx_clineno = 0;
|
|
24678
|
-
__Pyx_RefNannySetupContext("_find_adjacent_atoms", 0);
|
|
24679
24644
|
|
|
24680
24645
|
/* "biotite/structure/celllist.pyx":630
|
|
24681
24646
|
* cdef int* list_ptr
|
|
@@ -25031,7 +24996,6 @@ static int __pyx_f_7biotite_9structure_8celllist_8CellList__find_adjacent_atoms(
|
|
|
25031
24996
|
__pyx_L0:;
|
|
25032
24997
|
__PYX_XCLEAR_MEMVIEW(&__pyx_v_cells, 1);
|
|
25033
24998
|
__PYX_XCLEAR_MEMVIEW(&__pyx_v_cell_length, 1);
|
|
25034
|
-
__Pyx_RefNannyFinishContext();
|
|
25035
24999
|
return __pyx_r;
|
|
25036
25000
|
}
|
|
25037
25001
|
|
|
@@ -25078,8 +25042,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
25078
25042
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
25079
25043
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
25080
25044
|
#else
|
|
25081
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
25082
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 668, __pyx_L3_error)
|
|
25045
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
25083
25046
|
#endif
|
|
25084
25047
|
#endif
|
|
25085
25048
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -25142,10 +25105,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
25142
25105
|
__pyx_v_as_mask = __Pyx_PyObject_IsTrue(values[1]); if (unlikely((__pyx_v_as_mask == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 672, __pyx_L3_error)
|
|
25143
25106
|
__pyx_v_is_multi_coord = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_is_multi_coord == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 673, __pyx_L3_error)
|
|
25144
25107
|
}
|
|
25145
|
-
goto
|
|
25108
|
+
goto __pyx_L6_skip;
|
|
25146
25109
|
__pyx_L5_argtuple_error:;
|
|
25147
25110
|
__Pyx_RaiseArgtupleInvalid("_post_process", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 668, __pyx_L3_error)
|
|
25148
|
-
|
|
25111
|
+
__pyx_L6_skip:;
|
|
25112
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
25149
25113
|
__pyx_L3_error:;
|
|
25150
25114
|
{
|
|
25151
25115
|
Py_ssize_t __pyx_temp;
|
|
@@ -25187,7 +25151,7 @@ static PyObject *__pyx_pf_7biotite_9structure_8celllist_8CellList_12_post_proces
|
|
|
25187
25151
|
int __pyx_lineno = 0;
|
|
25188
25152
|
const char *__pyx_filename = NULL;
|
|
25189
25153
|
int __pyx_clineno = 0;
|
|
25190
|
-
__Pyx_RefNannySetupContext("_post_process",
|
|
25154
|
+
__Pyx_RefNannySetupContext("_post_process", 1);
|
|
25191
25155
|
|
|
25192
25156
|
/* "biotite/structure/celllist.pyx":680
|
|
25193
25157
|
* """
|
|
@@ -25387,9 +25351,7 @@ static PyObject *__pyx_pf_7biotite_9structure_8celllist_8CellList_12_post_proces
|
|
|
25387
25351
|
*/
|
|
25388
25352
|
|
|
25389
25353
|
static CYTHON_INLINE void __pyx_f_7biotite_9structure_8celllist_8CellList__get_cell_index(struct __pyx_obj_7biotite_9structure_8celllist_CellList *__pyx_v_self, __pyx_t_7biotite_9structure_8celllist_float32 __pyx_v_x, __pyx_t_7biotite_9structure_8celllist_float32 __pyx_v_y, __pyx_t_7biotite_9structure_8celllist_float32 __pyx_v_z, int *__pyx_v_i, int *__pyx_v_j, int *__pyx_v_k) {
|
|
25390
|
-
__Pyx_RefNannyDeclarations
|
|
25391
25354
|
Py_ssize_t __pyx_t_1;
|
|
25392
|
-
__Pyx_RefNannySetupContext("_get_cell_index", 0);
|
|
25393
25355
|
|
|
25394
25356
|
/* "biotite/structure/celllist.pyx":706
|
|
25395
25357
|
* cdef inline void _get_cell_index(self, float32 x, float32 y, float32 z,
|
|
@@ -25430,7 +25392,6 @@ static CYTHON_INLINE void __pyx_f_7biotite_9structure_8celllist_8CellList__get_c
|
|
|
25430
25392
|
*/
|
|
25431
25393
|
|
|
25432
25394
|
/* function exit code */
|
|
25433
|
-
__Pyx_RefNannyFinishContext();
|
|
25434
25395
|
}
|
|
25435
25396
|
|
|
25436
25397
|
/* "biotite/structure/celllist.pyx":713
|
|
@@ -25443,11 +25404,9 @@ static CYTHON_INLINE void __pyx_f_7biotite_9structure_8celllist_8CellList__get_c
|
|
|
25443
25404
|
|
|
25444
25405
|
static CYTHON_INLINE int __pyx_f_7biotite_9structure_8celllist_8CellList__check_coord(struct __pyx_obj_7biotite_9structure_8celllist_CellList *__pyx_v_self, __pyx_t_7biotite_9structure_8celllist_float32 __pyx_v_x, __pyx_t_7biotite_9structure_8celllist_float32 __pyx_v_y, __pyx_t_7biotite_9structure_8celllist_float32 __pyx_v_z) {
|
|
25445
25406
|
int __pyx_r;
|
|
25446
|
-
__Pyx_RefNannyDeclarations
|
|
25447
25407
|
int __pyx_t_1;
|
|
25448
25408
|
Py_ssize_t __pyx_t_2;
|
|
25449
25409
|
int __pyx_t_3;
|
|
25450
|
-
__Pyx_RefNannySetupContext("_check_coord", 0);
|
|
25451
25410
|
|
|
25452
25411
|
/* "biotite/structure/celllist.pyx":714
|
|
25453
25412
|
* @cython.wraparound(False)
|
|
@@ -25586,7 +25545,6 @@ static CYTHON_INLINE int __pyx_f_7biotite_9structure_8celllist_8CellList__check_
|
|
|
25586
25545
|
|
|
25587
25546
|
/* function exit code */
|
|
25588
25547
|
__pyx_L0:;
|
|
25589
|
-
__Pyx_RefNannyFinishContext();
|
|
25590
25548
|
return __pyx_r;
|
|
25591
25549
|
}
|
|
25592
25550
|
|
|
@@ -25623,7 +25581,7 @@ static PyArrayObject *__pyx_f_7biotite_9structure_8celllist_8CellList__as_mask(s
|
|
|
25623
25581
|
int __pyx_lineno = 0;
|
|
25624
25582
|
const char *__pyx_filename = NULL;
|
|
25625
25583
|
int __pyx_clineno = 0;
|
|
25626
|
-
__Pyx_RefNannySetupContext("_as_mask",
|
|
25584
|
+
__Pyx_RefNannySetupContext("_as_mask", 1);
|
|
25627
25585
|
|
|
25628
25586
|
/* "biotite/structure/celllist.pyx":728
|
|
25629
25587
|
* cdef int i,j
|
|
@@ -25863,7 +25821,7 @@ static CYTHON_INLINE int __pyx_f_7biotite_9structure_8celllist_8CellList__has_in
|
|
|
25863
25821
|
int __pyx_lineno = 0;
|
|
25864
25822
|
const char *__pyx_filename = NULL;
|
|
25865
25823
|
int __pyx_clineno = 0;
|
|
25866
|
-
__Pyx_RefNannySetupContext("_has_initialized_cells",
|
|
25824
|
+
__Pyx_RefNannySetupContext("_has_initialized_cells", 1);
|
|
25867
25825
|
|
|
25868
25826
|
/* "biotite/structure/celllist.pyx":745
|
|
25869
25827
|
* # This method checks if the _cells memoryview was initialized
|
|
@@ -26036,9 +25994,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
26036
25994
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
26037
25995
|
#endif
|
|
26038
25996
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
26039
|
-
int __pyx_lineno = 0;
|
|
26040
|
-
const char *__pyx_filename = NULL;
|
|
26041
|
-
int __pyx_clineno = 0;
|
|
26042
25997
|
PyObject *__pyx_r = 0;
|
|
26043
25998
|
__Pyx_RefNannyDeclarations
|
|
26044
25999
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -26046,21 +26001,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
26046
26001
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
26047
26002
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
26048
26003
|
#else
|
|
26049
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
26050
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
26004
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
26051
26005
|
#endif
|
|
26052
26006
|
#endif
|
|
26053
26007
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
26054
26008
|
if (unlikely(__pyx_nargs > 0)) {
|
|
26055
26009
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
26056
26010
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
26057
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
26058
|
-
goto __pyx_L3_error;
|
|
26059
|
-
__pyx_L3_error:;
|
|
26060
|
-
__Pyx_AddTraceback("biotite.structure.celllist.CellList.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
26061
|
-
__Pyx_RefNannyFinishContext();
|
|
26062
|
-
return NULL;
|
|
26063
|
-
__pyx_L4_argument_unpacking_done:;
|
|
26064
26011
|
__pyx_r = __pyx_pf_7biotite_9structure_8celllist_8CellList_14__reduce_cython__(((struct __pyx_obj_7biotite_9structure_8celllist_CellList *)__pyx_v_self));
|
|
26065
26012
|
|
|
26066
26013
|
/* function exit code */
|
|
@@ -26074,7 +26021,7 @@ static PyObject *__pyx_pf_7biotite_9structure_8celllist_8CellList_14__reduce_cyt
|
|
|
26074
26021
|
int __pyx_lineno = 0;
|
|
26075
26022
|
const char *__pyx_filename = NULL;
|
|
26076
26023
|
int __pyx_clineno = 0;
|
|
26077
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
26024
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
26078
26025
|
|
|
26079
26026
|
/* "(tree fragment)":2
|
|
26080
26027
|
* def __reduce_cython__(self):
|
|
@@ -26139,8 +26086,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
26139
26086
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
26140
26087
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
26141
26088
|
#else
|
|
26142
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
26143
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
26089
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
26144
26090
|
#endif
|
|
26145
26091
|
#endif
|
|
26146
26092
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -26175,10 +26121,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
26175
26121
|
}
|
|
26176
26122
|
__pyx_v___pyx_state = values[0];
|
|
26177
26123
|
}
|
|
26178
|
-
goto
|
|
26124
|
+
goto __pyx_L6_skip;
|
|
26179
26125
|
__pyx_L5_argtuple_error:;
|
|
26180
26126
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
26181
|
-
|
|
26127
|
+
__pyx_L6_skip:;
|
|
26128
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
26182
26129
|
__pyx_L3_error:;
|
|
26183
26130
|
{
|
|
26184
26131
|
Py_ssize_t __pyx_temp;
|
|
@@ -26209,7 +26156,7 @@ static PyObject *__pyx_pf_7biotite_9structure_8celllist_8CellList_16__setstate_c
|
|
|
26209
26156
|
int __pyx_lineno = 0;
|
|
26210
26157
|
const char *__pyx_filename = NULL;
|
|
26211
26158
|
int __pyx_clineno = 0;
|
|
26212
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
26159
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
26213
26160
|
|
|
26214
26161
|
/* "(tree fragment)":4
|
|
26215
26162
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -26276,8 +26223,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
26276
26223
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
26277
26224
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
26278
26225
|
#else
|
|
26279
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
26280
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 754, __pyx_L3_error)
|
|
26226
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
26281
26227
|
#endif
|
|
26282
26228
|
#endif
|
|
26283
26229
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -26312,10 +26258,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
26312
26258
|
}
|
|
26313
26259
|
__pyx_v_as_mask = values[0];
|
|
26314
26260
|
}
|
|
26315
|
-
goto
|
|
26261
|
+
goto __pyx_L6_skip;
|
|
26316
26262
|
__pyx_L5_argtuple_error:;
|
|
26317
26263
|
__Pyx_RaiseArgtupleInvalid("_empty_result", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 754, __pyx_L3_error)
|
|
26318
|
-
|
|
26264
|
+
__pyx_L6_skip:;
|
|
26265
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
26319
26266
|
__pyx_L3_error:;
|
|
26320
26267
|
{
|
|
26321
26268
|
Py_ssize_t __pyx_temp;
|
|
@@ -26352,7 +26299,7 @@ static PyObject *__pyx_pf_7biotite_9structure_8celllist__empty_result(CYTHON_UNU
|
|
|
26352
26299
|
int __pyx_lineno = 0;
|
|
26353
26300
|
const char *__pyx_filename = NULL;
|
|
26354
26301
|
int __pyx_clineno = 0;
|
|
26355
|
-
__Pyx_RefNannySetupContext("_empty_result",
|
|
26302
|
+
__Pyx_RefNannySetupContext("_empty_result", 1);
|
|
26356
26303
|
|
|
26357
26304
|
/* "biotite/structure/celllist.pyx":759
|
|
26358
26305
|
* :func:`get_atoms_in_cells()`, if no coordinates are given.
|
|
@@ -26511,8 +26458,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
26511
26458
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
26512
26459
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
26513
26460
|
#else
|
|
26514
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
26515
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 765, __pyx_L3_error)
|
|
26461
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
26516
26462
|
#endif
|
|
26517
26463
|
#endif
|
|
26518
26464
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -26575,10 +26521,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
26575
26521
|
__pyx_v_radius = values[1];
|
|
26576
26522
|
__pyx_v_radius_dtype = values[2];
|
|
26577
26523
|
}
|
|
26578
|
-
goto
|
|
26524
|
+
goto __pyx_L6_skip;
|
|
26579
26525
|
__pyx_L5_argtuple_error:;
|
|
26580
26526
|
__Pyx_RaiseArgtupleInvalid("_prepare_vectorization", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 765, __pyx_L3_error)
|
|
26581
|
-
|
|
26527
|
+
__pyx_L6_skip:;
|
|
26528
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
26582
26529
|
__pyx_L3_error:;
|
|
26583
26530
|
{
|
|
26584
26531
|
Py_ssize_t __pyx_temp;
|
|
@@ -27018,7 +26965,7 @@ static PyObject *__pyx_pf_7biotite_9structure_8celllist_2_prepare_vectorization(
|
|
|
27018
26965
|
}
|
|
27019
26966
|
#endif
|
|
27020
26967
|
{
|
|
27021
|
-
PyObject *__pyx_callargs[
|
|
26968
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_6, NULL};
|
|
27022
26969
|
__pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_2, 0+__pyx_t_2);
|
|
27023
26970
|
__Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
|
|
27024
26971
|
if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 816, __pyx_L1_error)
|
|
@@ -27242,7 +27189,6 @@ static CYTHON_INLINE void __pyx_f_7biotite_9structure_8celllist_deallocate_ptrs(
|
|
|
27242
27189
|
int __pyx_v_j;
|
|
27243
27190
|
int __pyx_v_k;
|
|
27244
27191
|
int *__pyx_v_cell_ptr;
|
|
27245
|
-
__Pyx_RefNannyDeclarations
|
|
27246
27192
|
Py_ssize_t __pyx_t_1;
|
|
27247
27193
|
Py_ssize_t __pyx_t_2;
|
|
27248
27194
|
int __pyx_t_3;
|
|
@@ -27259,7 +27205,6 @@ static CYTHON_INLINE void __pyx_f_7biotite_9structure_8celllist_deallocate_ptrs(
|
|
|
27259
27205
|
int __pyx_lineno = 0;
|
|
27260
27206
|
const char *__pyx_filename = NULL;
|
|
27261
27207
|
int __pyx_clineno = 0;
|
|
27262
|
-
__Pyx_RefNannySetupContext("deallocate_ptrs", 0);
|
|
27263
27208
|
|
|
27264
27209
|
/* "biotite/structure/celllist.pyx":837
|
|
27265
27210
|
* cdef int* cell_ptr
|
|
@@ -27351,7 +27296,6 @@ static CYTHON_INLINE void __pyx_f_7biotite_9structure_8celllist_deallocate_ptrs(
|
|
|
27351
27296
|
__pyx_L1_error:;
|
|
27352
27297
|
__Pyx_AddTraceback("biotite.structure.celllist.deallocate_ptrs", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
27353
27298
|
__pyx_L0:;
|
|
27354
|
-
__Pyx_RefNannyFinishContext();
|
|
27355
27299
|
}
|
|
27356
27300
|
|
|
27357
27301
|
/* "biotite/structure/celllist.pyx":844
|
|
@@ -27367,8 +27311,6 @@ static CYTHON_INLINE __pyx_t_7biotite_9structure_8celllist_float32 __pyx_f_7biot
|
|
|
27367
27311
|
__pyx_t_7biotite_9structure_8celllist_float32 __pyx_v_diff_y;
|
|
27368
27312
|
__pyx_t_7biotite_9structure_8celllist_float32 __pyx_v_diff_z;
|
|
27369
27313
|
__pyx_t_7biotite_9structure_8celllist_float32 __pyx_r;
|
|
27370
|
-
__Pyx_RefNannyDeclarations
|
|
27371
|
-
__Pyx_RefNannySetupContext("squared_distance", 0);
|
|
27372
27314
|
|
|
27373
27315
|
/* "biotite/structure/celllist.pyx":846
|
|
27374
27316
|
* cdef inline float32 squared_distance(float32 x1, float32 y1, float32 z1,
|
|
@@ -27414,7 +27356,6 @@ static CYTHON_INLINE __pyx_t_7biotite_9structure_8celllist_float32 __pyx_f_7biot
|
|
|
27414
27356
|
|
|
27415
27357
|
/* function exit code */
|
|
27416
27358
|
__pyx_L0:;
|
|
27417
|
-
__Pyx_RefNannyFinishContext();
|
|
27418
27359
|
return __pyx_r;
|
|
27419
27360
|
}
|
|
27420
27361
|
static struct __pyx_vtabstruct_7biotite_9structure_8celllist_CellList __pyx_vtable_7biotite_9structure_8celllist_CellList;
|
|
@@ -28889,7 +28830,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
|
|
|
28889
28830
|
__Pyx_GOTREF(__pyx_tuple__8);
|
|
28890
28831
|
__Pyx_GIVEREF(__pyx_tuple__8);
|
|
28891
28832
|
|
|
28892
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
28833
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987
|
|
28893
28834
|
* __pyx_import_array()
|
|
28894
28835
|
* except Exception:
|
|
28895
28836
|
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -28900,7 +28841,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
|
|
|
28900
28841
|
__Pyx_GOTREF(__pyx_tuple__9);
|
|
28901
28842
|
__Pyx_GIVEREF(__pyx_tuple__9);
|
|
28902
28843
|
|
|
28903
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
28844
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993
|
|
28904
28845
|
* _import_umath()
|
|
28905
28846
|
* except Exception:
|
|
28906
28847
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -29598,33 +29539,33 @@ static int __Pyx_modinit_type_import_code(void) {
|
|
|
29598
29539
|
/*--- Type import code ---*/
|
|
29599
29540
|
__pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 9, __pyx_L1_error)
|
|
29600
29541
|
__Pyx_GOTREF(__pyx_t_1);
|
|
29601
|
-
__pyx_ptype_7cpython_4type_type =
|
|
29542
|
+
__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_10(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
|
|
29602
29543
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
29603
|
-
sizeof(PyTypeObject),
|
|
29544
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
|
|
29604
29545
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
29605
|
-
sizeof(PyTypeObject),
|
|
29546
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
|
|
29606
29547
|
#else
|
|
29607
|
-
sizeof(PyHeapTypeObject),
|
|
29548
|
+
sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyHeapTypeObject),
|
|
29608
29549
|
#endif
|
|
29609
|
-
|
|
29550
|
+
__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
|
|
29610
29551
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
29611
29552
|
__pyx_t_1 = PyImport_ImportModule("numpy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 203, __pyx_L1_error)
|
|
29612
29553
|
__Pyx_GOTREF(__pyx_t_1);
|
|
29613
|
-
__pyx_ptype_5numpy_dtype =
|
|
29614
|
-
__pyx_ptype_5numpy_flatiter =
|
|
29615
|
-
__pyx_ptype_5numpy_broadcast =
|
|
29616
|
-
__pyx_ptype_5numpy_ndarray =
|
|
29617
|
-
__pyx_ptype_5numpy_generic =
|
|
29618
|
-
__pyx_ptype_5numpy_number =
|
|
29619
|
-
__pyx_ptype_5numpy_integer =
|
|
29620
|
-
__pyx_ptype_5numpy_signedinteger =
|
|
29621
|
-
__pyx_ptype_5numpy_unsignedinteger =
|
|
29622
|
-
__pyx_ptype_5numpy_inexact =
|
|
29623
|
-
__pyx_ptype_5numpy_floating =
|
|
29624
|
-
__pyx_ptype_5numpy_complexfloating =
|
|
29625
|
-
__pyx_ptype_5numpy_flexible =
|
|
29626
|
-
__pyx_ptype_5numpy_character =
|
|
29627
|
-
__pyx_ptype_5numpy_ufunc =
|
|
29554
|
+
__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, 203, __pyx_L1_error)
|
|
29555
|
+
__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, 226, __pyx_L1_error)
|
|
29556
|
+
__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, 230, __pyx_L1_error)
|
|
29557
|
+
__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, 239, __pyx_L1_error)
|
|
29558
|
+
__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, 813, __pyx_L1_error)
|
|
29559
|
+
__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, 815, __pyx_L1_error)
|
|
29560
|
+
__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, 817, __pyx_L1_error)
|
|
29561
|
+
__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, 819, __pyx_L1_error)
|
|
29562
|
+
__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, 821, __pyx_L1_error)
|
|
29563
|
+
__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, 823, __pyx_L1_error)
|
|
29564
|
+
__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, 825, __pyx_L1_error)
|
|
29565
|
+
__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, 827, __pyx_L1_error)
|
|
29566
|
+
__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, 829, __pyx_L1_error)
|
|
29567
|
+
__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, 831, __pyx_L1_error)
|
|
29568
|
+
__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, 869, __pyx_L1_error)
|
|
29628
29569
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
29629
29570
|
__Pyx_RefNannyFinishContext();
|
|
29630
29571
|
return 0;
|
|
@@ -29844,7 +29785,7 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_celllist(PyObject *__pyx_pyinit_mo
|
|
|
29844
29785
|
__pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
29845
29786
|
{
|
|
29846
29787
|
int add_module_result = PyState_AddModule(__pyx_t_1, &__pyx_moduledef);
|
|
29847
|
-
__pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to celllist pseudovariable */
|
|
29788
|
+
__pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "celllist" pseudovariable */
|
|
29848
29789
|
if (unlikely((add_module_result < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
29849
29790
|
pystate_addmodule_run = 1;
|
|
29850
29791
|
}
|
|
@@ -29856,10 +29797,8 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_celllist(PyObject *__pyx_pyinit_mo
|
|
|
29856
29797
|
CYTHON_UNUSED_VAR(__pyx_t_1);
|
|
29857
29798
|
__pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
29858
29799
|
Py_INCREF(__pyx_d);
|
|
29859
|
-
__pyx_b =
|
|
29860
|
-
|
|
29861
|
-
__pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
29862
|
-
Py_INCREF(__pyx_cython_runtime);
|
|
29800
|
+
__pyx_b = __Pyx_PyImport_AddModuleRef(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
29801
|
+
__pyx_cython_runtime = __Pyx_PyImport_AddModuleRef((const char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
29863
29802
|
if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
29864
29803
|
#if CYTHON_REFNANNY
|
|
29865
29804
|
__Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
|
|
@@ -29871,7 +29810,7 @@ if (!__Pyx_RefNanny) {
|
|
|
29871
29810
|
}
|
|
29872
29811
|
#endif
|
|
29873
29812
|
__Pyx_RefNannySetupContext("__Pyx_PyMODINIT_FUNC PyInit_celllist(void)", 0);
|
|
29874
|
-
if (__Pyx_check_binary_version() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
29813
|
+
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)
|
|
29875
29814
|
#ifdef __Pxy_PyFrame_Initialize_Offsets
|
|
29876
29815
|
__Pxy_PyFrame_Initialize_Offsets();
|
|
29877
29816
|
#endif
|
|
@@ -30816,6 +30755,8 @@ static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObjec
|
|
|
30816
30755
|
tmp_value = tstate->current_exception;
|
|
30817
30756
|
tstate->current_exception = value;
|
|
30818
30757
|
Py_XDECREF(tmp_value);
|
|
30758
|
+
Py_XDECREF(type);
|
|
30759
|
+
Py_XDECREF(tb);
|
|
30819
30760
|
#else
|
|
30820
30761
|
PyObject *tmp_type, *tmp_value, *tmp_tb;
|
|
30821
30762
|
tmp_type = tstate->curexc_type;
|
|
@@ -30873,14 +30814,20 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject
|
|
|
30873
30814
|
#endif
|
|
30874
30815
|
|
|
30875
30816
|
/* PyObjectGetAttrStrNoError */
|
|
30817
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
30876
30818
|
static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) {
|
|
30877
30819
|
__Pyx_PyThreadState_declare
|
|
30878
30820
|
__Pyx_PyThreadState_assign
|
|
30879
30821
|
if (likely(__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
|
|
30880
30822
|
__Pyx_PyErr_Clear();
|
|
30881
30823
|
}
|
|
30824
|
+
#endif
|
|
30882
30825
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name) {
|
|
30883
30826
|
PyObject *result;
|
|
30827
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
30828
|
+
(void) PyObject_GetOptionalAttr(obj, attr_name, &result);
|
|
30829
|
+
return result;
|
|
30830
|
+
#else
|
|
30884
30831
|
#if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_TYPE_SLOTS && PY_VERSION_HEX >= 0x030700B1
|
|
30885
30832
|
PyTypeObject* tp = Py_TYPE(obj);
|
|
30886
30833
|
if (likely(tp->tp_getattro == PyObject_GenericGetAttr)) {
|
|
@@ -30892,6 +30839,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, P
|
|
|
30892
30839
|
__Pyx_PyObject_GetAttrStr_ClearAttributeError();
|
|
30893
30840
|
}
|
|
30894
30841
|
return result;
|
|
30842
|
+
#endif
|
|
30895
30843
|
}
|
|
30896
30844
|
|
|
30897
30845
|
/* GetBuiltinName */
|
|
@@ -31107,13 +31055,31 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO
|
|
|
31107
31055
|
{
|
|
31108
31056
|
int eq = __Pyx_PyUnicode_Equals(s, PyTuple_GET_ITEM(kwnames, i), Py_EQ);
|
|
31109
31057
|
if (unlikely(eq != 0)) {
|
|
31110
|
-
if (unlikely(eq < 0)) return NULL;
|
|
31058
|
+
if (unlikely(eq < 0)) return NULL;
|
|
31111
31059
|
return kwvalues[i];
|
|
31112
31060
|
}
|
|
31113
31061
|
}
|
|
31114
|
-
return NULL;
|
|
31062
|
+
return NULL;
|
|
31063
|
+
}
|
|
31064
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
31065
|
+
CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) {
|
|
31066
|
+
Py_ssize_t i, nkwargs = PyTuple_GET_SIZE(kwnames);
|
|
31067
|
+
PyObject *dict;
|
|
31068
|
+
dict = PyDict_New();
|
|
31069
|
+
if (unlikely(!dict))
|
|
31070
|
+
return NULL;
|
|
31071
|
+
for (i=0; i<nkwargs; i++) {
|
|
31072
|
+
PyObject *key = PyTuple_GET_ITEM(kwnames, i);
|
|
31073
|
+
if (unlikely(PyDict_SetItem(dict, key, kwvalues[i]) < 0))
|
|
31074
|
+
goto bad;
|
|
31075
|
+
}
|
|
31076
|
+
return dict;
|
|
31077
|
+
bad:
|
|
31078
|
+
Py_DECREF(dict);
|
|
31079
|
+
return NULL;
|
|
31115
31080
|
}
|
|
31116
31081
|
#endif
|
|
31082
|
+
#endif
|
|
31117
31083
|
|
|
31118
31084
|
/* RaiseArgTupleInvalid */
|
|
31119
31085
|
static void __Pyx_RaiseArgtupleInvalid(
|
|
@@ -31206,7 +31172,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
31206
31172
|
if (*name) {
|
|
31207
31173
|
values[name-argnames] = value;
|
|
31208
31174
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
31209
|
-
Py_INCREF(value);
|
|
31175
|
+
Py_INCREF(value);
|
|
31210
31176
|
Py_DECREF(key);
|
|
31211
31177
|
#endif
|
|
31212
31178
|
key = NULL;
|
|
@@ -31225,7 +31191,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
31225
31191
|
&& _PyString_Eq(**name, key)) {
|
|
31226
31192
|
values[name-argnames] = value;
|
|
31227
31193
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
31228
|
-
value = NULL;
|
|
31194
|
+
value = NULL;
|
|
31229
31195
|
#endif
|
|
31230
31196
|
break;
|
|
31231
31197
|
}
|
|
@@ -31257,7 +31223,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
31257
31223
|
if (cmp == 0) {
|
|
31258
31224
|
values[name-argnames] = value;
|
|
31259
31225
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
31260
|
-
value = NULL;
|
|
31226
|
+
value = NULL;
|
|
31261
31227
|
#endif
|
|
31262
31228
|
break;
|
|
31263
31229
|
}
|
|
@@ -31544,9 +31510,15 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
|
|
31544
31510
|
PyObject *result;
|
|
31545
31511
|
assert(kwargs == NULL || PyDict_Check(kwargs));
|
|
31546
31512
|
nk = kwargs ? PyDict_Size(kwargs) : 0;
|
|
31513
|
+
#if PY_MAJOR_VERSION < 3
|
|
31547
31514
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) {
|
|
31548
31515
|
return NULL;
|
|
31549
31516
|
}
|
|
31517
|
+
#else
|
|
31518
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) {
|
|
31519
|
+
return NULL;
|
|
31520
|
+
}
|
|
31521
|
+
#endif
|
|
31550
31522
|
if (
|
|
31551
31523
|
#if PY_MAJOR_VERSION >= 3
|
|
31552
31524
|
co->co_kwonlyargcount == 0 &&
|
|
@@ -31623,8 +31595,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
|
|
|
31623
31595
|
ternaryfunc call = Py_TYPE(func)->tp_call;
|
|
31624
31596
|
if (unlikely(!call))
|
|
31625
31597
|
return PyObject_Call(func, arg, kw);
|
|
31598
|
+
#if PY_MAJOR_VERSION < 3
|
|
31626
31599
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
|
|
31627
31600
|
return NULL;
|
|
31601
|
+
#else
|
|
31602
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
|
|
31603
|
+
return NULL;
|
|
31604
|
+
#endif
|
|
31628
31605
|
result = (*call)(func, arg, kw);
|
|
31629
31606
|
Py_LeaveRecursiveCall();
|
|
31630
31607
|
if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
|
|
@@ -31641,10 +31618,15 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
|
|
|
31641
31618
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
|
|
31642
31619
|
PyObject *self, *result;
|
|
31643
31620
|
PyCFunction cfunc;
|
|
31644
|
-
cfunc =
|
|
31645
|
-
self =
|
|
31621
|
+
cfunc = __Pyx_CyOrPyCFunction_GET_FUNCTION(func);
|
|
31622
|
+
self = __Pyx_CyOrPyCFunction_GET_SELF(func);
|
|
31623
|
+
#if PY_MAJOR_VERSION < 3
|
|
31646
31624
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
|
|
31647
31625
|
return NULL;
|
|
31626
|
+
#else
|
|
31627
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
|
|
31628
|
+
return NULL;
|
|
31629
|
+
#endif
|
|
31648
31630
|
result = cfunc(self, arg);
|
|
31649
31631
|
Py_LeaveRecursiveCall();
|
|
31650
31632
|
if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
|
|
@@ -31657,6 +31639,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject
|
|
|
31657
31639
|
#endif
|
|
31658
31640
|
|
|
31659
31641
|
/* PyObjectFastCall */
|
|
31642
|
+
#if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API
|
|
31660
31643
|
static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **args, size_t nargs, PyObject *kwargs) {
|
|
31661
31644
|
PyObject *argstuple;
|
|
31662
31645
|
PyObject *result = 0;
|
|
@@ -31672,28 +31655,17 @@ static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **arg
|
|
|
31672
31655
|
Py_DECREF(argstuple);
|
|
31673
31656
|
return result;
|
|
31674
31657
|
}
|
|
31658
|
+
#endif
|
|
31675
31659
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject **args, size_t _nargs, PyObject *kwargs) {
|
|
31676
31660
|
Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs);
|
|
31677
31661
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
31678
31662
|
if (nargs == 0 && kwargs == NULL) {
|
|
31679
|
-
|
|
31680
|
-
|
|
31681
|
-
#else
|
|
31682
|
-
if (PyCFunction_Check(func))
|
|
31683
|
-
#endif
|
|
31684
|
-
{
|
|
31685
|
-
if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
|
|
31686
|
-
return __Pyx_PyObject_CallMethO(func, NULL);
|
|
31687
|
-
}
|
|
31688
|
-
}
|
|
31663
|
+
if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS))
|
|
31664
|
+
return __Pyx_PyObject_CallMethO(func, NULL);
|
|
31689
31665
|
}
|
|
31690
31666
|
else if (nargs == 1 && kwargs == NULL) {
|
|
31691
|
-
if (
|
|
31692
|
-
|
|
31693
|
-
if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
|
|
31694
|
-
return __Pyx_PyObject_CallMethO(func, args[0]);
|
|
31695
|
-
}
|
|
31696
|
-
}
|
|
31667
|
+
if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_O))
|
|
31668
|
+
return __Pyx_PyObject_CallMethO(func, args[0]);
|
|
31697
31669
|
}
|
|
31698
31670
|
#endif
|
|
31699
31671
|
#if PY_VERSION_HEX < 0x030800B1
|
|
@@ -31717,25 +31689,31 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj
|
|
|
31717
31689
|
}
|
|
31718
31690
|
#endif
|
|
31719
31691
|
#endif
|
|
31720
|
-
|
|
31721
|
-
|
|
31722
|
-
|
|
31723
|
-
|
|
31724
|
-
|
|
31725
|
-
|
|
31726
|
-
|
|
31727
|
-
|
|
31728
|
-
|
|
31729
|
-
|
|
31730
|
-
|
|
31731
|
-
|
|
31732
|
-
|
|
31692
|
+
if (kwargs == NULL) {
|
|
31693
|
+
#if CYTHON_VECTORCALL
|
|
31694
|
+
#if PY_VERSION_HEX < 0x03090000
|
|
31695
|
+
vectorcallfunc f = _PyVectorcall_Function(func);
|
|
31696
|
+
#else
|
|
31697
|
+
vectorcallfunc f = PyVectorcall_Function(func);
|
|
31698
|
+
#endif
|
|
31699
|
+
if (f) {
|
|
31700
|
+
return f(func, args, (size_t)nargs, NULL);
|
|
31701
|
+
}
|
|
31702
|
+
#elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
|
|
31703
|
+
if (__Pyx_CyFunction_CheckExact(func)) {
|
|
31704
|
+
__pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
|
|
31705
|
+
if (f) return f(func, args, (size_t)nargs, NULL);
|
|
31706
|
+
}
|
|
31707
|
+
#endif
|
|
31733
31708
|
}
|
|
31734
|
-
#endif
|
|
31735
31709
|
if (nargs == 0) {
|
|
31736
31710
|
return __Pyx_PyObject_Call(func, __pyx_empty_tuple, kwargs);
|
|
31737
31711
|
}
|
|
31712
|
+
#if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
31713
|
+
return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs);
|
|
31714
|
+
#else
|
|
31738
31715
|
return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs);
|
|
31716
|
+
#endif
|
|
31739
31717
|
}
|
|
31740
31718
|
|
|
31741
31719
|
/* RaiseUnexpectedTypeError */
|
|
@@ -32038,7 +32016,7 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject* value_tuple, Py_ssize_t value_co
|
|
|
32038
32016
|
if (!CYTHON_PEP393_ENABLED || ukind == result_ukind) {
|
|
32039
32017
|
memcpy((char *)result_udata + (char_pos << kind_shift), udata, (size_t) (ulength << kind_shift));
|
|
32040
32018
|
} else {
|
|
32041
|
-
#if PY_VERSION_HEX >=
|
|
32019
|
+
#if PY_VERSION_HEX >= 0x030d0000
|
|
32042
32020
|
if (unlikely(PyUnicode_CopyCharacters(result_uval, char_pos, uval, 0, ulength) < 0)) goto bad;
|
|
32043
32021
|
#elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030300F0 || defined(_PyUnicode_FastCopyCharacters)
|
|
32044
32022
|
_PyUnicode_FastCopyCharacters(result_uval, char_pos, uval, 0, ulength);
|
|
@@ -32167,7 +32145,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
|
|
|
32167
32145
|
}
|
|
32168
32146
|
}
|
|
32169
32147
|
#else
|
|
32170
|
-
if (is_list ||
|
|
32148
|
+
if (is_list || !PyMapping_Check(o)) {
|
|
32171
32149
|
return PySequence_GetItem(o, i);
|
|
32172
32150
|
}
|
|
32173
32151
|
#endif
|
|
@@ -32202,7 +32180,9 @@ static PyObject *__Pyx_PyObject_GetItem_Slow(PyObject *obj, PyObject *key) {
|
|
|
32202
32180
|
__Pyx_TypeName obj_type_name;
|
|
32203
32181
|
if (likely(PyType_Check(obj))) {
|
|
32204
32182
|
PyObject *meth = __Pyx_PyObject_GetAttrStrNoError(obj, __pyx_n_s_class_getitem);
|
|
32205
|
-
if (meth) {
|
|
32183
|
+
if (!meth) {
|
|
32184
|
+
PyErr_Clear();
|
|
32185
|
+
} else {
|
|
32206
32186
|
PyObject *result = __Pyx_PyObject_CallOneArg(meth, key);
|
|
32207
32187
|
Py_DECREF(meth);
|
|
32208
32188
|
return result;
|
|
@@ -32311,6 +32291,7 @@ static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ssize_t b)
|
|
|
32311
32291
|
}
|
|
32312
32292
|
|
|
32313
32293
|
/* GetAttr3 */
|
|
32294
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
32314
32295
|
static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
|
|
32315
32296
|
__Pyx_PyThreadState_declare
|
|
32316
32297
|
__Pyx_PyThreadState_assign
|
|
@@ -32320,9 +32301,14 @@ static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
|
|
|
32320
32301
|
Py_INCREF(d);
|
|
32321
32302
|
return d;
|
|
32322
32303
|
}
|
|
32304
|
+
#endif
|
|
32323
32305
|
static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) {
|
|
32324
32306
|
PyObject *r;
|
|
32325
|
-
#if
|
|
32307
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
32308
|
+
int res = PyObject_GetOptionalAttr(o, n, &r);
|
|
32309
|
+
return (res != 0) ? r : __Pyx_NewRef(d);
|
|
32310
|
+
#else
|
|
32311
|
+
#if CYTHON_USE_TYPE_SLOTS
|
|
32326
32312
|
if (likely(PyString_Check(n))) {
|
|
32327
32313
|
r = __Pyx_PyObject_GetAttrStrNoError(o, n);
|
|
32328
32314
|
if (unlikely(!r) && likely(!PyErr_Occurred())) {
|
|
@@ -32330,9 +32316,10 @@ static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject
|
|
|
32330
32316
|
}
|
|
32331
32317
|
return r;
|
|
32332
32318
|
}
|
|
32333
|
-
#endif
|
|
32319
|
+
#endif
|
|
32334
32320
|
r = PyObject_GetAttr(o, n);
|
|
32335
32321
|
return (likely(r)) ? r : __Pyx_GetAttr3Default(d);
|
|
32322
|
+
#endif
|
|
32336
32323
|
}
|
|
32337
32324
|
|
|
32338
32325
|
/* PyDictVersioning */
|
|
@@ -32370,7 +32357,7 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name)
|
|
|
32370
32357
|
{
|
|
32371
32358
|
PyObject *result;
|
|
32372
32359
|
#if !CYTHON_AVOID_BORROWED_REFS
|
|
32373
|
-
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
|
|
32360
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && PY_VERSION_HEX < 0x030d0000
|
|
32374
32361
|
result = _PyDict_GetItem_KnownHash(__pyx_d, name, ((PyASCIIObject *) name)->hash);
|
|
32375
32362
|
__PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
|
|
32376
32363
|
if (likely(result)) {
|
|
@@ -32696,7 +32683,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
|
|
|
32696
32683
|
{
|
|
32697
32684
|
#if PY_MAJOR_VERSION >= 3
|
|
32698
32685
|
if (level == -1) {
|
|
32699
|
-
if (
|
|
32686
|
+
if (strchr(__Pyx_MODULE_NAME, '.') != NULL) {
|
|
32700
32687
|
module = PyImport_ImportModuleLevelObject(
|
|
32701
32688
|
name, __pyx_d, empty_dict, from_list, 1);
|
|
32702
32689
|
if (unlikely(!module)) {
|
|
@@ -32859,16 +32846,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
|
|
|
32859
32846
|
return __Pyx__ImportDottedModule(name, parts_tuple);
|
|
32860
32847
|
}
|
|
32861
32848
|
|
|
32862
|
-
/* ssize_strlen */
|
|
32863
|
-
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
|
|
32864
|
-
size_t len = strlen(s);
|
|
32865
|
-
if (unlikely(len > PY_SSIZE_T_MAX)) {
|
|
32866
|
-
PyErr_SetString(PyExc_OverflowError, "byte string is too long");
|
|
32867
|
-
return -1;
|
|
32868
|
-
}
|
|
32869
|
-
return (Py_ssize_t) len;
|
|
32870
|
-
}
|
|
32871
|
-
|
|
32872
32849
|
/* FastTypeChecks */
|
|
32873
32850
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
32874
32851
|
static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
|
|
@@ -33052,11 +33029,7 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
|
|
|
33052
33029
|
}
|
|
33053
33030
|
}
|
|
33054
33031
|
#else
|
|
33055
|
-
|
|
33056
|
-
if (is_list || (PySequence_Check(o) && !PyDict_Check(o)))
|
|
33057
|
-
#else
|
|
33058
|
-
if (is_list || PySequence_Check(o))
|
|
33059
|
-
#endif
|
|
33032
|
+
if (is_list || !PyMapping_Check(o))
|
|
33060
33033
|
{
|
|
33061
33034
|
return PySequence_SetItem(o, i, v);
|
|
33062
33035
|
}
|
|
@@ -33121,6 +33094,7 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
|
|
|
33121
33094
|
}
|
|
33122
33095
|
|
|
33123
33096
|
/* HasAttr */
|
|
33097
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
33124
33098
|
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
|
33125
33099
|
PyObject *r;
|
|
33126
33100
|
if (unlikely(!__Pyx_PyBaseString_Check(n))) {
|
|
@@ -33137,6 +33111,7 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
|
|
33137
33111
|
return 1;
|
|
33138
33112
|
}
|
|
33139
33113
|
}
|
|
33114
|
+
#endif
|
|
33140
33115
|
|
|
33141
33116
|
/* PyIntCompare */
|
|
33142
33117
|
static CYTHON_INLINE int __Pyx_PyInt_BoolNeObjC(PyObject *op1, PyObject *op2, long intval, long inplace) {
|
|
@@ -33284,9 +33259,10 @@ static CYTHON_INLINE int __Pyx_PyInt_BoolEqObjC(PyObject *op1, PyObject *op2, lo
|
|
|
33284
33259
|
|
|
33285
33260
|
/* IterFinish */
|
|
33286
33261
|
static CYTHON_INLINE int __Pyx_IterFinish(void) {
|
|
33262
|
+
PyObject* exc_type;
|
|
33287
33263
|
__Pyx_PyThreadState_declare
|
|
33288
33264
|
__Pyx_PyThreadState_assign
|
|
33289
|
-
|
|
33265
|
+
exc_type = __Pyx_PyErr_CurrentExceptionType();
|
|
33290
33266
|
if (unlikely(exc_type)) {
|
|
33291
33267
|
if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration)))
|
|
33292
33268
|
return -1;
|
|
@@ -33727,8 +33703,8 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
33727
33703
|
|
|
33728
33704
|
/* PyObjectCallNoArg */
|
|
33729
33705
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
|
|
33730
|
-
PyObject *arg = NULL;
|
|
33731
|
-
return __Pyx_PyObject_FastCall(func,
|
|
33706
|
+
PyObject *arg[2] = {NULL, NULL};
|
|
33707
|
+
return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
|
|
33732
33708
|
}
|
|
33733
33709
|
|
|
33734
33710
|
/* PyObjectGetMethod */
|
|
@@ -33893,38 +33869,38 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
|
|
|
33893
33869
|
#endif
|
|
33894
33870
|
return -1;
|
|
33895
33871
|
}
|
|
33896
|
-
|
|
33897
|
-
if (dictoffset == 0) {
|
|
33898
|
-
PyErr_Format(PyExc_TypeError,
|
|
33899
|
-
"extension type '%s.200s': "
|
|
33900
|
-
"unable to validate whether bases have a __dict__ "
|
|
33901
|
-
"when CYTHON_USE_TYPE_SLOTS is off "
|
|
33902
|
-
"(likely because you are building in the limited API). "
|
|
33903
|
-
"Therefore, all extension types with multiple bases "
|
|
33904
|
-
"must add 'cdef dict __dict__' in this compilation mode",
|
|
33905
|
-
type_name);
|
|
33906
|
-
#if CYTHON_AVOID_BORROWED_REFS
|
|
33907
|
-
Py_DECREF(b0);
|
|
33908
|
-
#endif
|
|
33909
|
-
return -1;
|
|
33910
|
-
}
|
|
33911
|
-
#else
|
|
33912
|
-
if (dictoffset == 0 && b->tp_dictoffset)
|
|
33872
|
+
if (dictoffset == 0)
|
|
33913
33873
|
{
|
|
33914
|
-
|
|
33915
|
-
|
|
33916
|
-
|
|
33917
|
-
|
|
33918
|
-
|
|
33919
|
-
|
|
33920
|
-
|
|
33921
|
-
|
|
33874
|
+
Py_ssize_t b_dictoffset = 0;
|
|
33875
|
+
#if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY
|
|
33876
|
+
b_dictoffset = b->tp_dictoffset;
|
|
33877
|
+
#else
|
|
33878
|
+
PyObject *py_b_dictoffset = PyObject_GetAttrString((PyObject*)b, "__dictoffset__");
|
|
33879
|
+
if (!py_b_dictoffset) goto dictoffset_return;
|
|
33880
|
+
b_dictoffset = PyLong_AsSsize_t(py_b_dictoffset);
|
|
33881
|
+
Py_DECREF(py_b_dictoffset);
|
|
33882
|
+
if (b_dictoffset == -1 && PyErr_Occurred()) goto dictoffset_return;
|
|
33883
|
+
#endif
|
|
33884
|
+
if (b_dictoffset) {
|
|
33885
|
+
{
|
|
33886
|
+
__Pyx_TypeName b_name = __Pyx_PyType_GetName(b);
|
|
33887
|
+
PyErr_Format(PyExc_TypeError,
|
|
33888
|
+
"extension type '%.200s' has no __dict__ slot, "
|
|
33889
|
+
"but base type '" __Pyx_FMT_TYPENAME "' has: "
|
|
33890
|
+
"either add 'cdef dict __dict__' to the extension type "
|
|
33891
|
+
"or add '__slots__ = [...]' to the base type",
|
|
33892
|
+
type_name, b_name);
|
|
33893
|
+
__Pyx_DECREF_TypeName(b_name);
|
|
33894
|
+
}
|
|
33895
|
+
#if !(CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY)
|
|
33896
|
+
dictoffset_return:
|
|
33897
|
+
#endif
|
|
33922
33898
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
33923
|
-
|
|
33899
|
+
Py_DECREF(b0);
|
|
33924
33900
|
#endif
|
|
33925
|
-
|
|
33901
|
+
return -1;
|
|
33902
|
+
}
|
|
33926
33903
|
}
|
|
33927
|
-
#endif
|
|
33928
33904
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
33929
33905
|
Py_DECREF(b0);
|
|
33930
33906
|
#endif
|
|
@@ -34218,10 +34194,10 @@ __PYX_GOOD:
|
|
|
34218
34194
|
#endif
|
|
34219
34195
|
|
|
34220
34196
|
/* TypeImport */
|
|
34221
|
-
#ifndef
|
|
34222
|
-
#define
|
|
34223
|
-
static PyTypeObject *
|
|
34224
|
-
size_t size, size_t alignment, enum
|
|
34197
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_0_10
|
|
34198
|
+
#define __PYX_HAVE_RT_ImportType_3_0_10
|
|
34199
|
+
static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject *module, const char *module_name, const char *class_name,
|
|
34200
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_10 check_size)
|
|
34225
34201
|
{
|
|
34226
34202
|
PyObject *result = 0;
|
|
34227
34203
|
char warning[200];
|
|
@@ -34275,7 +34251,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
|
|
|
34275
34251
|
module_name, class_name, size, basicsize+itemsize);
|
|
34276
34252
|
goto bad;
|
|
34277
34253
|
}
|
|
34278
|
-
if (check_size ==
|
|
34254
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_10 &&
|
|
34279
34255
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
34280
34256
|
PyErr_Format(PyExc_ValueError,
|
|
34281
34257
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -34283,7 +34259,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
|
|
|
34283
34259
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
34284
34260
|
goto bad;
|
|
34285
34261
|
}
|
|
34286
|
-
else if (check_size ==
|
|
34262
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_10 && (size_t)basicsize > size) {
|
|
34287
34263
|
PyOS_snprintf(warning, sizeof(warning),
|
|
34288
34264
|
"%s.%s size changed, may indicate binary incompatibility. "
|
|
34289
34265
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -34299,10 +34275,7 @@ bad:
|
|
|
34299
34275
|
|
|
34300
34276
|
/* FetchSharedCythonModule */
|
|
34301
34277
|
static PyObject *__Pyx_FetchSharedCythonABIModule(void) {
|
|
34302
|
-
|
|
34303
|
-
if (unlikely(!abi_module)) return NULL;
|
|
34304
|
-
Py_INCREF(abi_module);
|
|
34305
|
-
return abi_module;
|
|
34278
|
+
return __Pyx_PyImport_AddModuleRef((char*) __PYX_ABI_MODULE_NAME);
|
|
34306
34279
|
}
|
|
34307
34280
|
|
|
34308
34281
|
/* FetchCommonType */
|
|
@@ -34463,6 +34436,20 @@ static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, _
|
|
|
34463
34436
|
#endif
|
|
34464
34437
|
|
|
34465
34438
|
/* CythonFunctionShared */
|
|
34439
|
+
#if CYTHON_COMPILING_IN_LIMITED_API
|
|
34440
|
+
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
|
|
34441
|
+
if (__Pyx_CyFunction_Check(func)) {
|
|
34442
|
+
return PyCFunction_GetFunction(((__pyx_CyFunctionObject*)func)->func) == (PyCFunction) cfunc;
|
|
34443
|
+
} else if (PyCFunction_Check(func)) {
|
|
34444
|
+
return PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
|
|
34445
|
+
}
|
|
34446
|
+
return 0;
|
|
34447
|
+
}
|
|
34448
|
+
#else
|
|
34449
|
+
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
|
|
34450
|
+
return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
|
|
34451
|
+
}
|
|
34452
|
+
#endif
|
|
34466
34453
|
static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) {
|
|
34467
34454
|
#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API
|
|
34468
34455
|
__Pyx_Py_XDECREF_SET(
|
|
@@ -35272,7 +35259,7 @@ static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func,
|
|
|
35272
35259
|
default:
|
|
35273
35260
|
return NULL;
|
|
35274
35261
|
}
|
|
35275
|
-
return ((
|
|
35262
|
+
return ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames);
|
|
35276
35263
|
}
|
|
35277
35264
|
static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
|
|
35278
35265
|
{
|
|
@@ -35611,8 +35598,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
|
|
|
35611
35598
|
Py_DECREF(replace);
|
|
35612
35599
|
return result;
|
|
35613
35600
|
}
|
|
35614
|
-
#if __PYX_LIMITED_VERSION_HEX < 0x030780000
|
|
35615
35601
|
PyErr_Clear();
|
|
35602
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030780000
|
|
35616
35603
|
{
|
|
35617
35604
|
PyObject *compiled = NULL, *result = NULL;
|
|
35618
35605
|
if (unlikely(PyDict_SetItemString(scratch_dict, "code", code))) return NULL;
|
|
@@ -35632,6 +35619,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
|
|
|
35632
35619
|
if (result) Py_INCREF(result);
|
|
35633
35620
|
return result;
|
|
35634
35621
|
}
|
|
35622
|
+
#else
|
|
35623
|
+
return NULL;
|
|
35635
35624
|
#endif
|
|
35636
35625
|
}
|
|
35637
35626
|
static void __Pyx_AddTraceback(const char *funcname, int c_line,
|
|
@@ -35729,7 +35718,7 @@ static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
|
|
|
35729
35718
|
#else
|
|
35730
35719
|
py_code = PyCode_NewEmpty(filename, funcname, py_line);
|
|
35731
35720
|
#endif
|
|
35732
|
-
Py_XDECREF(py_funcname);
|
|
35721
|
+
Py_XDECREF(py_funcname);
|
|
35733
35722
|
return py_code;
|
|
35734
35723
|
bad:
|
|
35735
35724
|
Py_XDECREF(py_funcname);
|
|
@@ -37419,13 +37408,13 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
|
|
|
37419
37408
|
{
|
|
37420
37409
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
37421
37410
|
unsigned char *bytes = (unsigned char *)&value;
|
|
37422
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
37411
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
37423
37412
|
return _PyLong_FromByteArray(bytes, sizeof(long),
|
|
37424
37413
|
little, !is_unsigned);
|
|
37425
37414
|
#else
|
|
37426
37415
|
PyObject *from_bytes, *result = NULL;
|
|
37427
37416
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
37428
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
37417
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
37429
37418
|
if (!from_bytes) return NULL;
|
|
37430
37419
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long));
|
|
37431
37420
|
if (!py_bytes) goto limited_bad;
|
|
@@ -37433,16 +37422,18 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
|
|
|
37433
37422
|
if (!order_str) goto limited_bad;
|
|
37434
37423
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
37435
37424
|
if (!arg_tuple) goto limited_bad;
|
|
37436
|
-
|
|
37437
|
-
|
|
37438
|
-
|
|
37425
|
+
if (!is_unsigned) {
|
|
37426
|
+
kwds = PyDict_New();
|
|
37427
|
+
if (!kwds) goto limited_bad;
|
|
37428
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
37429
|
+
}
|
|
37439
37430
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
37440
37431
|
limited_bad:
|
|
37441
|
-
Py_XDECREF(from_bytes);
|
|
37442
|
-
Py_XDECREF(py_bytes);
|
|
37443
|
-
Py_XDECREF(order_str);
|
|
37444
|
-
Py_XDECREF(arg_tuple);
|
|
37445
37432
|
Py_XDECREF(kwds);
|
|
37433
|
+
Py_XDECREF(arg_tuple);
|
|
37434
|
+
Py_XDECREF(order_str);
|
|
37435
|
+
Py_XDECREF(py_bytes);
|
|
37436
|
+
Py_XDECREF(from_bytes);
|
|
37446
37437
|
return result;
|
|
37447
37438
|
#endif
|
|
37448
37439
|
}
|
|
@@ -37618,7 +37609,7 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
|
|
|
37618
37609
|
#endif
|
|
37619
37610
|
if (likely(v)) {
|
|
37620
37611
|
int ret = -1;
|
|
37621
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
37612
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
37622
37613
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
37623
37614
|
unsigned char *bytes = (unsigned char *)&val;
|
|
37624
37615
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -37754,13 +37745,13 @@ raise_neg_overflow:
|
|
|
37754
37745
|
{
|
|
37755
37746
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
37756
37747
|
unsigned char *bytes = (unsigned char *)&value;
|
|
37757
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
37748
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
37758
37749
|
return _PyLong_FromByteArray(bytes, sizeof(npy_uint8),
|
|
37759
37750
|
little, !is_unsigned);
|
|
37760
37751
|
#else
|
|
37761
37752
|
PyObject *from_bytes, *result = NULL;
|
|
37762
37753
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
37763
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
37754
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
37764
37755
|
if (!from_bytes) return NULL;
|
|
37765
37756
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(npy_uint8));
|
|
37766
37757
|
if (!py_bytes) goto limited_bad;
|
|
@@ -37768,16 +37759,18 @@ raise_neg_overflow:
|
|
|
37768
37759
|
if (!order_str) goto limited_bad;
|
|
37769
37760
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
37770
37761
|
if (!arg_tuple) goto limited_bad;
|
|
37771
|
-
|
|
37772
|
-
|
|
37773
|
-
|
|
37762
|
+
if (!is_unsigned) {
|
|
37763
|
+
kwds = PyDict_New();
|
|
37764
|
+
if (!kwds) goto limited_bad;
|
|
37765
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
37766
|
+
}
|
|
37774
37767
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
37775
37768
|
limited_bad:
|
|
37776
|
-
Py_XDECREF(from_bytes);
|
|
37777
|
-
Py_XDECREF(py_bytes);
|
|
37778
|
-
Py_XDECREF(order_str);
|
|
37779
|
-
Py_XDECREF(arg_tuple);
|
|
37780
37769
|
Py_XDECREF(kwds);
|
|
37770
|
+
Py_XDECREF(arg_tuple);
|
|
37771
|
+
Py_XDECREF(order_str);
|
|
37772
|
+
Py_XDECREF(py_bytes);
|
|
37773
|
+
Py_XDECREF(from_bytes);
|
|
37781
37774
|
return result;
|
|
37782
37775
|
#endif
|
|
37783
37776
|
}
|
|
@@ -37816,13 +37809,13 @@ raise_neg_overflow:
|
|
|
37816
37809
|
{
|
|
37817
37810
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
37818
37811
|
unsigned char *bytes = (unsigned char *)&value;
|
|
37819
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
37812
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
37820
37813
|
return _PyLong_FromByteArray(bytes, sizeof(int),
|
|
37821
37814
|
little, !is_unsigned);
|
|
37822
37815
|
#else
|
|
37823
37816
|
PyObject *from_bytes, *result = NULL;
|
|
37824
37817
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
37825
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
37818
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
37826
37819
|
if (!from_bytes) return NULL;
|
|
37827
37820
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(int));
|
|
37828
37821
|
if (!py_bytes) goto limited_bad;
|
|
@@ -37830,16 +37823,18 @@ raise_neg_overflow:
|
|
|
37830
37823
|
if (!order_str) goto limited_bad;
|
|
37831
37824
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
37832
37825
|
if (!arg_tuple) goto limited_bad;
|
|
37833
|
-
|
|
37834
|
-
|
|
37835
|
-
|
|
37826
|
+
if (!is_unsigned) {
|
|
37827
|
+
kwds = PyDict_New();
|
|
37828
|
+
if (!kwds) goto limited_bad;
|
|
37829
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
37830
|
+
}
|
|
37836
37831
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
37837
37832
|
limited_bad:
|
|
37838
|
-
Py_XDECREF(from_bytes);
|
|
37839
|
-
Py_XDECREF(py_bytes);
|
|
37840
|
-
Py_XDECREF(order_str);
|
|
37841
|
-
Py_XDECREF(arg_tuple);
|
|
37842
37833
|
Py_XDECREF(kwds);
|
|
37834
|
+
Py_XDECREF(arg_tuple);
|
|
37835
|
+
Py_XDECREF(order_str);
|
|
37836
|
+
Py_XDECREF(py_bytes);
|
|
37837
|
+
Py_XDECREF(from_bytes);
|
|
37843
37838
|
return result;
|
|
37844
37839
|
#endif
|
|
37845
37840
|
}
|
|
@@ -38015,7 +38010,7 @@ raise_neg_overflow:
|
|
|
38015
38010
|
#endif
|
|
38016
38011
|
if (likely(v)) {
|
|
38017
38012
|
int ret = -1;
|
|
38018
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
38013
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
38019
38014
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
38020
38015
|
unsigned char *bytes = (unsigned char *)&val;
|
|
38021
38016
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -38288,7 +38283,7 @@ raise_neg_overflow:
|
|
|
38288
38283
|
#endif
|
|
38289
38284
|
if (likely(v)) {
|
|
38290
38285
|
int ret = -1;
|
|
38291
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
38286
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
38292
38287
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
38293
38288
|
unsigned char *bytes = (unsigned char *)&val;
|
|
38294
38289
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -38561,7 +38556,7 @@ raise_neg_overflow:
|
|
|
38561
38556
|
#endif
|
|
38562
38557
|
if (likely(v)) {
|
|
38563
38558
|
int ret = -1;
|
|
38564
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
38559
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
38565
38560
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
38566
38561
|
unsigned char *bytes = (unsigned char *)&val;
|
|
38567
38562
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -38681,41 +38676,50 @@ __Pyx_PyType_GetName(PyTypeObject* tp)
|
|
|
38681
38676
|
#endif
|
|
38682
38677
|
|
|
38683
38678
|
/* CheckBinaryVersion */
|
|
38684
|
-
static
|
|
38685
|
-
|
|
38686
|
-
|
|
38687
|
-
|
|
38688
|
-
|
|
38689
|
-
|
|
38690
|
-
|
|
38691
|
-
|
|
38692
|
-
|
|
38693
|
-
|
|
38679
|
+
static unsigned long __Pyx_get_runtime_version(void) {
|
|
38680
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030B00A4
|
|
38681
|
+
return Py_Version & ~0xFFUL;
|
|
38682
|
+
#else
|
|
38683
|
+
const char* rt_version = Py_GetVersion();
|
|
38684
|
+
unsigned long version = 0;
|
|
38685
|
+
unsigned long factor = 0x01000000UL;
|
|
38686
|
+
unsigned int digit = 0;
|
|
38687
|
+
int i = 0;
|
|
38688
|
+
while (factor) {
|
|
38689
|
+
while ('0' <= rt_version[i] && rt_version[i] <= '9') {
|
|
38690
|
+
digit = digit * 10 + (unsigned int) (rt_version[i] - '0');
|
|
38691
|
+
++i;
|
|
38694
38692
|
}
|
|
38695
|
-
|
|
38696
|
-
|
|
38693
|
+
version += factor * digit;
|
|
38694
|
+
if (rt_version[i] != '.')
|
|
38697
38695
|
break;
|
|
38698
|
-
|
|
38696
|
+
digit = 0;
|
|
38697
|
+
factor >>= 8;
|
|
38698
|
+
++i;
|
|
38699
38699
|
}
|
|
38700
|
-
|
|
38701
|
-
|
|
38700
|
+
return version;
|
|
38701
|
+
#endif
|
|
38702
|
+
}
|
|
38703
|
+
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer) {
|
|
38704
|
+
const unsigned long MAJOR_MINOR = 0xFFFF0000UL;
|
|
38705
|
+
if ((rt_version & MAJOR_MINOR) == (ct_version & MAJOR_MINOR))
|
|
38706
|
+
return 0;
|
|
38707
|
+
if (likely(allow_newer && (rt_version & MAJOR_MINOR) > (ct_version & MAJOR_MINOR)))
|
|
38708
|
+
return 1;
|
|
38709
|
+
{
|
|
38702
38710
|
char message[200];
|
|
38703
|
-
for (i=0; i<4; ++i) {
|
|
38704
|
-
if (rt_from_call[i] == '.') {
|
|
38705
|
-
if (found_dot) break;
|
|
38706
|
-
found_dot = 1;
|
|
38707
|
-
} else if (rt_from_call[i] < '0' || rt_from_call[i] > '9') {
|
|
38708
|
-
break;
|
|
38709
|
-
}
|
|
38710
|
-
rtversion[i] = rt_from_call[i];
|
|
38711
|
-
}
|
|
38712
38711
|
PyOS_snprintf(message, sizeof(message),
|
|
38713
|
-
"compile time version %
|
|
38714
|
-
"
|
|
38715
|
-
|
|
38712
|
+
"compile time Python version %d.%d "
|
|
38713
|
+
"of module '%.100s' "
|
|
38714
|
+
"%s "
|
|
38715
|
+
"runtime version %d.%d",
|
|
38716
|
+
(int) (ct_version >> 24), (int) ((ct_version >> 16) & 0xFF),
|
|
38717
|
+
__Pyx_MODULE_NAME,
|
|
38718
|
+
(allow_newer) ? "was newer than" : "does not match",
|
|
38719
|
+
(int) (rt_version >> 24), (int) ((rt_version >> 16) & 0xFF)
|
|
38720
|
+
);
|
|
38716
38721
|
return PyErr_WarnEx(NULL, message, 1);
|
|
38717
38722
|
}
|
|
38718
|
-
return 0;
|
|
38719
38723
|
}
|
|
38720
38724
|
|
|
38721
38725
|
/* InitStrings */
|
|
@@ -38761,8 +38765,24 @@ static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
|
|
|
38761
38765
|
return 0;
|
|
38762
38766
|
}
|
|
38763
38767
|
|
|
38768
|
+
#include <string.h>
|
|
38769
|
+
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
|
|
38770
|
+
size_t len = strlen(s);
|
|
38771
|
+
if (unlikely(len > (size_t) PY_SSIZE_T_MAX)) {
|
|
38772
|
+
PyErr_SetString(PyExc_OverflowError, "byte string is too long");
|
|
38773
|
+
return -1;
|
|
38774
|
+
}
|
|
38775
|
+
return (Py_ssize_t) len;
|
|
38776
|
+
}
|
|
38764
38777
|
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
|
|
38765
|
-
|
|
38778
|
+
Py_ssize_t len = __Pyx_ssize_strlen(c_str);
|
|
38779
|
+
if (unlikely(len < 0)) return NULL;
|
|
38780
|
+
return __Pyx_PyUnicode_FromStringAndSize(c_str, len);
|
|
38781
|
+
}
|
|
38782
|
+
static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char* c_str) {
|
|
38783
|
+
Py_ssize_t len = __Pyx_ssize_strlen(c_str);
|
|
38784
|
+
if (unlikely(len < 0)) return NULL;
|
|
38785
|
+
return PyByteArray_FromStringAndSize(c_str, len);
|
|
38766
38786
|
}
|
|
38767
38787
|
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
|
|
38768
38788
|
Py_ssize_t ignore;
|