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
|
@@ -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 # <<<<<<<<<<<<<<
|
|
@@ -1896,7 +1956,7 @@ struct __pyx_MemviewEnum_obj;
|
|
|
1896
1956
|
struct __pyx_memoryview_obj;
|
|
1897
1957
|
struct __pyx_memoryviewslice_obj;
|
|
1898
1958
|
|
|
1899
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1959
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":771
|
|
1900
1960
|
* ctypedef npy_longdouble longdouble_t
|
|
1901
1961
|
*
|
|
1902
1962
|
* ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<<
|
|
@@ -1905,7 +1965,7 @@ struct __pyx_memoryviewslice_obj;
|
|
|
1905
1965
|
*/
|
|
1906
1966
|
typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
|
|
1907
1967
|
|
|
1908
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1968
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":772
|
|
1909
1969
|
*
|
|
1910
1970
|
* ctypedef npy_cfloat cfloat_t
|
|
1911
1971
|
* ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<<
|
|
@@ -1914,7 +1974,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
|
|
|
1914
1974
|
*/
|
|
1915
1975
|
typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
|
|
1916
1976
|
|
|
1917
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1977
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":773
|
|
1918
1978
|
* ctypedef npy_cfloat cfloat_t
|
|
1919
1979
|
* ctypedef npy_cdouble cdouble_t
|
|
1920
1980
|
* ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<<
|
|
@@ -1923,7 +1983,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
|
|
|
1923
1983
|
*/
|
|
1924
1984
|
typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
|
|
1925
1985
|
|
|
1926
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
1986
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":775
|
|
1927
1987
|
* ctypedef npy_clongdouble clongdouble_t
|
|
1928
1988
|
*
|
|
1929
1989
|
* ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<<
|
|
@@ -2229,8 +2289,8 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
|
|
|
2229
2289
|
#define __Pyx_Arg_NewRef_VARARGS(arg) __Pyx_NewRef(arg)
|
|
2230
2290
|
#define __Pyx_Arg_XDECREF_VARARGS(arg) Py_XDECREF(arg)
|
|
2231
2291
|
#else
|
|
2232
|
-
#define __Pyx_Arg_NewRef_VARARGS(arg) arg
|
|
2233
|
-
#define __Pyx_Arg_XDECREF_VARARGS(arg)
|
|
2292
|
+
#define __Pyx_Arg_NewRef_VARARGS(arg) arg
|
|
2293
|
+
#define __Pyx_Arg_XDECREF_VARARGS(arg)
|
|
2234
2294
|
#endif
|
|
2235
2295
|
#define __Pyx_NumKwargs_VARARGS(kwds) PyDict_Size(kwds)
|
|
2236
2296
|
#define __Pyx_KwValues_VARARGS(args, nargs) NULL
|
|
@@ -2241,9 +2301,14 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
|
|
|
2241
2301
|
#define __Pyx_NumKwargs_FASTCALL(kwds) PyTuple_GET_SIZE(kwds)
|
|
2242
2302
|
#define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs))
|
|
2243
2303
|
static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s);
|
|
2304
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
2305
|
+
CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);
|
|
2306
|
+
#else
|
|
2244
2307
|
#define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw)
|
|
2245
|
-
|
|
2246
|
-
#define
|
|
2308
|
+
#endif
|
|
2309
|
+
#define __Pyx_Arg_NewRef_FASTCALL(arg) arg /* no-op, __Pyx_Arg_FASTCALL is direct and this needs
|
|
2310
|
+
to have the same reference counting */
|
|
2311
|
+
#define __Pyx_Arg_XDECREF_FASTCALL(arg)
|
|
2247
2312
|
#else
|
|
2248
2313
|
#define __Pyx_Arg_FASTCALL __Pyx_Arg_VARARGS
|
|
2249
2314
|
#define __Pyx_NumKwargs_FASTCALL __Pyx_NumKwargs_VARARGS
|
|
@@ -2566,9 +2631,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
|
|
|
2566
2631
|
static PyObject *__Pyx_ImportDottedModule_WalkParts(PyObject *module, PyObject *name, PyObject *parts_tuple);
|
|
2567
2632
|
#endif
|
|
2568
2633
|
|
|
2569
|
-
/* ssize_strlen.proto */
|
|
2570
|
-
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s);
|
|
2571
|
-
|
|
2572
2634
|
/* FastTypeChecks.proto */
|
|
2573
2635
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
2574
2636
|
#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
|
|
@@ -2594,7 +2656,11 @@ static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
|
|
|
2594
2656
|
Py_ssize_t len = Py_SIZE(list);
|
|
2595
2657
|
if (likely(L->allocated > len)) {
|
|
2596
2658
|
Py_INCREF(x);
|
|
2659
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
2660
|
+
L->ob_item[len] = x;
|
|
2661
|
+
#else
|
|
2597
2662
|
PyList_SET_ITEM(list, len, x);
|
|
2663
|
+
#endif
|
|
2598
2664
|
__Pyx_SET_SIZE(list, len + 1);
|
|
2599
2665
|
return 0;
|
|
2600
2666
|
}
|
|
@@ -2634,7 +2700,11 @@ static CYTHON_INLINE int __Pyx_PySequence_ContainsTF(PyObject* item, PyObject* s
|
|
|
2634
2700
|
static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name);
|
|
2635
2701
|
|
|
2636
2702
|
/* HasAttr.proto */
|
|
2703
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
2704
|
+
#define __Pyx_HasAttr(o, n) PyObject_HasAttrWithError(o, n)
|
|
2705
|
+
#else
|
|
2637
2706
|
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *);
|
|
2707
|
+
#endif
|
|
2638
2708
|
|
|
2639
2709
|
/* PyObject_Str.proto */
|
|
2640
2710
|
#define __Pyx_PyObject_Str(obj)\
|
|
@@ -2705,22 +2775,22 @@ static int __Pyx_setup_reduce(PyObject* type_obj);
|
|
|
2705
2775
|
#endif
|
|
2706
2776
|
|
|
2707
2777
|
/* TypeImport.proto */
|
|
2708
|
-
#ifndef
|
|
2709
|
-
#define
|
|
2778
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_0_10
|
|
2779
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_0_10
|
|
2710
2780
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2711
2781
|
#include <stdalign.h>
|
|
2712
2782
|
#endif
|
|
2713
2783
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2714
|
-
#define
|
|
2784
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) alignof(s)
|
|
2715
2785
|
#else
|
|
2716
|
-
#define
|
|
2786
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) sizeof(void*)
|
|
2717
2787
|
#endif
|
|
2718
|
-
enum
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2788
|
+
enum __Pyx_ImportType_CheckSize_3_0_10 {
|
|
2789
|
+
__Pyx_ImportType_CheckSize_Error_3_0_10 = 0,
|
|
2790
|
+
__Pyx_ImportType_CheckSize_Warn_3_0_10 = 1,
|
|
2791
|
+
__Pyx_ImportType_CheckSize_Ignore_3_0_10 = 2
|
|
2722
2792
|
};
|
|
2723
|
-
static PyTypeObject *
|
|
2793
|
+
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);
|
|
2724
2794
|
#endif
|
|
2725
2795
|
|
|
2726
2796
|
/* FetchSharedCythonModule.proto */
|
|
@@ -2813,7 +2883,7 @@ typedef struct {
|
|
|
2813
2883
|
#endif
|
|
2814
2884
|
void *defaults;
|
|
2815
2885
|
int defaults_pyobjects;
|
|
2816
|
-
size_t defaults_size;
|
|
2886
|
+
size_t defaults_size;
|
|
2817
2887
|
int flags;
|
|
2818
2888
|
PyObject *defaults_tuple;
|
|
2819
2889
|
PyObject *defaults_kwdict;
|
|
@@ -2821,9 +2891,13 @@ typedef struct {
|
|
|
2821
2891
|
PyObject *func_annotations;
|
|
2822
2892
|
PyObject *func_is_coroutine;
|
|
2823
2893
|
} __pyx_CyFunctionObject;
|
|
2894
|
+
#undef __Pyx_CyOrPyCFunction_Check
|
|
2824
2895
|
#define __Pyx_CyFunction_Check(obj) __Pyx_TypeCheck(obj, __pyx_CyFunctionType)
|
|
2825
|
-
#define
|
|
2896
|
+
#define __Pyx_CyOrPyCFunction_Check(obj) __Pyx_TypeCheck2(obj, __pyx_CyFunctionType, &PyCFunction_Type)
|
|
2826
2897
|
#define __Pyx_CyFunction_CheckExact(obj) __Pyx_IS_TYPE(obj, __pyx_CyFunctionType)
|
|
2898
|
+
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc);
|
|
2899
|
+
#undef __Pyx_IsSameCFunction
|
|
2900
|
+
#define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCyOrCFunction(func, cfunc)
|
|
2827
2901
|
static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject* op, PyMethodDef *ml,
|
|
2828
2902
|
int flags, PyObject* qualname,
|
|
2829
2903
|
PyObject *closure,
|
|
@@ -3126,7 +3200,8 @@ typedef const char *__Pyx_TypeName;
|
|
|
3126
3200
|
#endif
|
|
3127
3201
|
|
|
3128
3202
|
/* CheckBinaryVersion.proto */
|
|
3129
|
-
static
|
|
3203
|
+
static unsigned long __Pyx_get_runtime_version(void);
|
|
3204
|
+
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
|
|
3130
3205
|
|
|
3131
3206
|
/* InitStrings.proto */
|
|
3132
3207
|
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
|
|
@@ -4585,8 +4660,7 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
|
|
|
4585
4660
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
4586
4661
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
4587
4662
|
#else
|
|
4588
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
4589
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 131, __pyx_L3_error)
|
|
4663
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
4590
4664
|
#endif
|
|
4591
4665
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
4592
4666
|
{
|
|
@@ -4687,10 +4761,11 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
|
|
|
4687
4761
|
__pyx_v_allocate_buffer = ((int)1);
|
|
4688
4762
|
}
|
|
4689
4763
|
}
|
|
4690
|
-
goto
|
|
4764
|
+
goto __pyx_L6_skip;
|
|
4691
4765
|
__pyx_L5_argtuple_error:;
|
|
4692
4766
|
__Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, __pyx_nargs); __PYX_ERR(1, 131, __pyx_L3_error)
|
|
4693
|
-
|
|
4767
|
+
__pyx_L6_skip:;
|
|
4768
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
4694
4769
|
__pyx_L3_error:;
|
|
4695
4770
|
{
|
|
4696
4771
|
Py_ssize_t __pyx_temp;
|
|
@@ -4973,13 +5048,20 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
|
|
|
4973
5048
|
* raise ValueError, f"Invalid shape in axis {idx}: {dim}."
|
|
4974
5049
|
*/
|
|
4975
5050
|
__pyx_t_7 = 0;
|
|
4976
|
-
__pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4);
|
|
5051
|
+
__pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4);
|
|
5052
|
+
__pyx_t_1 = 0;
|
|
4977
5053
|
for (;;) {
|
|
4978
|
-
|
|
5054
|
+
{
|
|
5055
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
|
|
5056
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
5057
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 159, __pyx_L1_error)
|
|
5058
|
+
#endif
|
|
5059
|
+
if (__pyx_t_1 >= __pyx_temp) break;
|
|
5060
|
+
}
|
|
4979
5061
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
4980
5062
|
__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)
|
|
4981
5063
|
#else
|
|
4982
|
-
__pyx_t_5 =
|
|
5064
|
+
__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)
|
|
4983
5065
|
__Pyx_GOTREF(__pyx_t_5);
|
|
4984
5066
|
#endif
|
|
4985
5067
|
__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)
|
|
@@ -5622,10 +5704,8 @@ static void __pyx_array___dealloc__(PyObject *__pyx_v_self) {
|
|
|
5622
5704
|
}
|
|
5623
5705
|
|
|
5624
5706
|
static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struct __pyx_array_obj *__pyx_v_self) {
|
|
5625
|
-
__Pyx_RefNannyDeclarations
|
|
5626
5707
|
int __pyx_t_1;
|
|
5627
5708
|
int __pyx_t_2;
|
|
5628
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
5629
5709
|
|
|
5630
5710
|
/* "View.MemoryView":211
|
|
5631
5711
|
*
|
|
@@ -5737,7 +5817,6 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
|
|
|
5737
5817
|
*/
|
|
5738
5818
|
|
|
5739
5819
|
/* function exit code */
|
|
5740
|
-
__Pyx_RefNannyFinishContext();
|
|
5741
5820
|
}
|
|
5742
5821
|
|
|
5743
5822
|
/* "View.MemoryView":219
|
|
@@ -5770,7 +5849,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
|
|
|
5770
5849
|
int __pyx_lineno = 0;
|
|
5771
5850
|
const char *__pyx_filename = NULL;
|
|
5772
5851
|
int __pyx_clineno = 0;
|
|
5773
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
5852
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
5774
5853
|
|
|
5775
5854
|
/* "View.MemoryView":221
|
|
5776
5855
|
* @property
|
|
@@ -5823,7 +5902,7 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
5823
5902
|
int __pyx_lineno = 0;
|
|
5824
5903
|
const char *__pyx_filename = NULL;
|
|
5825
5904
|
int __pyx_clineno = 0;
|
|
5826
|
-
__Pyx_RefNannySetupContext("get_memview",
|
|
5905
|
+
__Pyx_RefNannySetupContext("get_memview", 1);
|
|
5827
5906
|
|
|
5828
5907
|
/* "View.MemoryView":225
|
|
5829
5908
|
* @cname('get_memview')
|
|
@@ -5910,8 +5989,6 @@ static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self) {
|
|
|
5910
5989
|
|
|
5911
5990
|
static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(struct __pyx_array_obj *__pyx_v_self) {
|
|
5912
5991
|
Py_ssize_t __pyx_r;
|
|
5913
|
-
__Pyx_RefNannyDeclarations
|
|
5914
|
-
__Pyx_RefNannySetupContext("__len__", 0);
|
|
5915
5992
|
|
|
5916
5993
|
/* "View.MemoryView":229
|
|
5917
5994
|
*
|
|
@@ -5933,7 +6010,6 @@ static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(str
|
|
|
5933
6010
|
|
|
5934
6011
|
/* function exit code */
|
|
5935
6012
|
__pyx_L0:;
|
|
5936
|
-
__Pyx_RefNannyFinishContext();
|
|
5937
6013
|
return __pyx_r;
|
|
5938
6014
|
}
|
|
5939
6015
|
|
|
@@ -5968,7 +6044,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(
|
|
|
5968
6044
|
int __pyx_lineno = 0;
|
|
5969
6045
|
const char *__pyx_filename = NULL;
|
|
5970
6046
|
int __pyx_clineno = 0;
|
|
5971
|
-
__Pyx_RefNannySetupContext("__getattr__",
|
|
6047
|
+
__Pyx_RefNannySetupContext("__getattr__", 1);
|
|
5972
6048
|
|
|
5973
6049
|
/* "View.MemoryView":232
|
|
5974
6050
|
*
|
|
@@ -6038,7 +6114,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__
|
|
|
6038
6114
|
int __pyx_lineno = 0;
|
|
6039
6115
|
const char *__pyx_filename = NULL;
|
|
6040
6116
|
int __pyx_clineno = 0;
|
|
6041
|
-
__Pyx_RefNannySetupContext("__getitem__",
|
|
6117
|
+
__Pyx_RefNannySetupContext("__getitem__", 1);
|
|
6042
6118
|
|
|
6043
6119
|
/* "View.MemoryView":235
|
|
6044
6120
|
*
|
|
@@ -6107,7 +6183,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(struc
|
|
|
6107
6183
|
int __pyx_lineno = 0;
|
|
6108
6184
|
const char *__pyx_filename = NULL;
|
|
6109
6185
|
int __pyx_clineno = 0;
|
|
6110
|
-
__Pyx_RefNannySetupContext("__setitem__",
|
|
6186
|
+
__Pyx_RefNannySetupContext("__setitem__", 1);
|
|
6111
6187
|
|
|
6112
6188
|
/* "View.MemoryView":238
|
|
6113
6189
|
*
|
|
@@ -6166,9 +6242,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6166
6242
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
6167
6243
|
#endif
|
|
6168
6244
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
6169
|
-
int __pyx_lineno = 0;
|
|
6170
|
-
const char *__pyx_filename = NULL;
|
|
6171
|
-
int __pyx_clineno = 0;
|
|
6172
6245
|
PyObject *__pyx_r = 0;
|
|
6173
6246
|
__Pyx_RefNannyDeclarations
|
|
6174
6247
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -6176,21 +6249,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6176
6249
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6177
6250
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6178
6251
|
#else
|
|
6179
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6180
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
6252
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
6181
6253
|
#endif
|
|
6182
6254
|
#endif
|
|
6183
6255
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
6184
6256
|
if (unlikely(__pyx_nargs > 0)) {
|
|
6185
6257
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
6186
6258
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
6187
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
6188
|
-
goto __pyx_L3_error;
|
|
6189
|
-
__pyx_L3_error:;
|
|
6190
|
-
__Pyx_AddTraceback("View.MemoryView.array.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
6191
|
-
__Pyx_RefNannyFinishContext();
|
|
6192
|
-
return NULL;
|
|
6193
|
-
__pyx_L4_argument_unpacking_done:;
|
|
6194
6259
|
__pyx_r = __pyx_pf___pyx_array___reduce_cython__(((struct __pyx_array_obj *)__pyx_v_self));
|
|
6195
6260
|
|
|
6196
6261
|
/* function exit code */
|
|
@@ -6204,7 +6269,7 @@ static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED struct __p
|
|
|
6204
6269
|
int __pyx_lineno = 0;
|
|
6205
6270
|
const char *__pyx_filename = NULL;
|
|
6206
6271
|
int __pyx_clineno = 0;
|
|
6207
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
6272
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
6208
6273
|
|
|
6209
6274
|
/* "(tree fragment)":2
|
|
6210
6275
|
* def __reduce_cython__(self):
|
|
@@ -6268,8 +6333,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6268
6333
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6269
6334
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6270
6335
|
#else
|
|
6271
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6272
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
6336
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
6273
6337
|
#endif
|
|
6274
6338
|
#endif
|
|
6275
6339
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -6304,10 +6368,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6304
6368
|
}
|
|
6305
6369
|
__pyx_v___pyx_state = values[0];
|
|
6306
6370
|
}
|
|
6307
|
-
goto
|
|
6371
|
+
goto __pyx_L6_skip;
|
|
6308
6372
|
__pyx_L5_argtuple_error:;
|
|
6309
6373
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
6310
|
-
|
|
6374
|
+
__pyx_L6_skip:;
|
|
6375
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
6311
6376
|
__pyx_L3_error:;
|
|
6312
6377
|
{
|
|
6313
6378
|
Py_ssize_t __pyx_temp;
|
|
@@ -6338,7 +6403,7 @@ static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED struct
|
|
|
6338
6403
|
int __pyx_lineno = 0;
|
|
6339
6404
|
const char *__pyx_filename = NULL;
|
|
6340
6405
|
int __pyx_clineno = 0;
|
|
6341
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
6406
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
6342
6407
|
|
|
6343
6408
|
/* "(tree fragment)":4
|
|
6344
6409
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -6376,7 +6441,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6376
6441
|
Py_ssize_t __pyx_v_i;
|
|
6377
6442
|
PyObject **__pyx_v_p;
|
|
6378
6443
|
int __pyx_r;
|
|
6379
|
-
__Pyx_RefNannyDeclarations
|
|
6380
6444
|
int __pyx_t_1;
|
|
6381
6445
|
Py_ssize_t __pyx_t_2;
|
|
6382
6446
|
Py_ssize_t __pyx_t_3;
|
|
@@ -6384,7 +6448,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6384
6448
|
int __pyx_lineno = 0;
|
|
6385
6449
|
const char *__pyx_filename = NULL;
|
|
6386
6450
|
int __pyx_clineno = 0;
|
|
6387
|
-
__Pyx_RefNannySetupContext("_allocate_buffer", 0);
|
|
6388
6451
|
|
|
6389
6452
|
/* "View.MemoryView":254
|
|
6390
6453
|
* cdef PyObject **p
|
|
@@ -6522,7 +6585,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6522
6585
|
__Pyx_AddTraceback("View.MemoryView._allocate_buffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
6523
6586
|
__pyx_r = -1;
|
|
6524
6587
|
__pyx_L0:;
|
|
6525
|
-
__Pyx_RefNannyFinishContext();
|
|
6526
6588
|
return __pyx_r;
|
|
6527
6589
|
}
|
|
6528
6590
|
|
|
@@ -6546,7 +6608,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
|
|
|
6546
6608
|
int __pyx_lineno = 0;
|
|
6547
6609
|
const char *__pyx_filename = NULL;
|
|
6548
6610
|
int __pyx_clineno = 0;
|
|
6549
|
-
__Pyx_RefNannySetupContext("array_cwrapper",
|
|
6611
|
+
__Pyx_RefNannySetupContext("array_cwrapper", 1);
|
|
6550
6612
|
|
|
6551
6613
|
/* "View.MemoryView":270
|
|
6552
6614
|
* cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format, char *c_mode, char *buf):
|
|
@@ -6723,8 +6785,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6723
6785
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6724
6786
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6725
6787
|
#else
|
|
6726
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6727
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 304, __pyx_L3_error)
|
|
6788
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
6728
6789
|
#endif
|
|
6729
6790
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
6730
6791
|
{
|
|
@@ -6758,10 +6819,11 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6758
6819
|
}
|
|
6759
6820
|
__pyx_v_name = values[0];
|
|
6760
6821
|
}
|
|
6761
|
-
goto
|
|
6822
|
+
goto __pyx_L6_skip;
|
|
6762
6823
|
__pyx_L5_argtuple_error:;
|
|
6763
6824
|
__Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 304, __pyx_L3_error)
|
|
6764
|
-
|
|
6825
|
+
__pyx_L6_skip:;
|
|
6826
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
6765
6827
|
__pyx_L3_error:;
|
|
6766
6828
|
{
|
|
6767
6829
|
Py_ssize_t __pyx_temp;
|
|
@@ -6789,7 +6851,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6789
6851
|
static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v_name) {
|
|
6790
6852
|
int __pyx_r;
|
|
6791
6853
|
__Pyx_RefNannyDeclarations
|
|
6792
|
-
__Pyx_RefNannySetupContext("__init__",
|
|
6854
|
+
__Pyx_RefNannySetupContext("__init__", 1);
|
|
6793
6855
|
|
|
6794
6856
|
/* "View.MemoryView":305
|
|
6795
6857
|
* cdef object name
|
|
@@ -6844,7 +6906,7 @@ static PyObject *__pyx_MemviewEnum___repr__(PyObject *__pyx_v_self) {
|
|
|
6844
6906
|
static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr__(struct __pyx_MemviewEnum_obj *__pyx_v_self) {
|
|
6845
6907
|
PyObject *__pyx_r = NULL;
|
|
6846
6908
|
__Pyx_RefNannyDeclarations
|
|
6847
|
-
__Pyx_RefNannySetupContext("__repr__",
|
|
6909
|
+
__Pyx_RefNannySetupContext("__repr__", 1);
|
|
6848
6910
|
|
|
6849
6911
|
/* "View.MemoryView":307
|
|
6850
6912
|
* self.name = name
|
|
@@ -6898,9 +6960,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6898
6960
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
6899
6961
|
#endif
|
|
6900
6962
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
6901
|
-
int __pyx_lineno = 0;
|
|
6902
|
-
const char *__pyx_filename = NULL;
|
|
6903
|
-
int __pyx_clineno = 0;
|
|
6904
6963
|
PyObject *__pyx_r = 0;
|
|
6905
6964
|
__Pyx_RefNannyDeclarations
|
|
6906
6965
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -6908,21 +6967,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6908
6967
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6909
6968
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6910
6969
|
#else
|
|
6911
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6912
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
6970
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
6913
6971
|
#endif
|
|
6914
6972
|
#endif
|
|
6915
6973
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
6916
6974
|
if (unlikely(__pyx_nargs > 0)) {
|
|
6917
6975
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
6918
6976
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
6919
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
6920
|
-
goto __pyx_L3_error;
|
|
6921
|
-
__pyx_L3_error:;
|
|
6922
|
-
__Pyx_AddTraceback("View.MemoryView.Enum.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
6923
|
-
__Pyx_RefNannyFinishContext();
|
|
6924
|
-
return NULL;
|
|
6925
|
-
__pyx_L4_argument_unpacking_done:;
|
|
6926
6977
|
__pyx_r = __pyx_pf___pyx_MemviewEnum___reduce_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self));
|
|
6927
6978
|
|
|
6928
6979
|
/* function exit code */
|
|
@@ -6943,7 +6994,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __pyx_Memvi
|
|
|
6943
6994
|
int __pyx_lineno = 0;
|
|
6944
6995
|
const char *__pyx_filename = NULL;
|
|
6945
6996
|
int __pyx_clineno = 0;
|
|
6946
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
6997
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
6947
6998
|
|
|
6948
6999
|
/* "(tree fragment)":5
|
|
6949
7000
|
* cdef object _dict
|
|
@@ -7180,8 +7231,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
7180
7231
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
7181
7232
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
7182
7233
|
#else
|
|
7183
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
7184
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 16, __pyx_L3_error)
|
|
7234
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
7185
7235
|
#endif
|
|
7186
7236
|
#endif
|
|
7187
7237
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -7216,10 +7266,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
7216
7266
|
}
|
|
7217
7267
|
__pyx_v___pyx_state = values[0];
|
|
7218
7268
|
}
|
|
7219
|
-
goto
|
|
7269
|
+
goto __pyx_L6_skip;
|
|
7220
7270
|
__pyx_L5_argtuple_error:;
|
|
7221
7271
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error)
|
|
7222
|
-
|
|
7272
|
+
__pyx_L6_skip:;
|
|
7273
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
7223
7274
|
__pyx_L3_error:;
|
|
7224
7275
|
{
|
|
7225
7276
|
Py_ssize_t __pyx_temp;
|
|
@@ -7251,7 +7302,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct __pyx_Me
|
|
|
7251
7302
|
int __pyx_lineno = 0;
|
|
7252
7303
|
const char *__pyx_filename = NULL;
|
|
7253
7304
|
int __pyx_clineno = 0;
|
|
7254
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
7305
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
7255
7306
|
|
|
7256
7307
|
/* "(tree fragment)":17
|
|
7257
7308
|
* return __pyx_unpickle_Enum, (type(self), 0x82a3537, state)
|
|
@@ -7309,8 +7360,7 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
7309
7360
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
7310
7361
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
7311
7362
|
#else
|
|
7312
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
7313
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 349, __pyx_L3_error)
|
|
7363
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
7314
7364
|
#endif
|
|
7315
7365
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
7316
7366
|
{
|
|
@@ -7376,10 +7426,11 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
7376
7426
|
__pyx_v_dtype_is_object = ((int)0);
|
|
7377
7427
|
}
|
|
7378
7428
|
}
|
|
7379
|
-
goto
|
|
7429
|
+
goto __pyx_L6_skip;
|
|
7380
7430
|
__pyx_L5_argtuple_error:;
|
|
7381
7431
|
__Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, __pyx_nargs); __PYX_ERR(1, 349, __pyx_L3_error)
|
|
7382
|
-
|
|
7432
|
+
__pyx_L6_skip:;
|
|
7433
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
7383
7434
|
__pyx_L3_error:;
|
|
7384
7435
|
{
|
|
7385
7436
|
Py_ssize_t __pyx_temp;
|
|
@@ -7415,7 +7466,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
|
|
|
7415
7466
|
int __pyx_lineno = 0;
|
|
7416
7467
|
const char *__pyx_filename = NULL;
|
|
7417
7468
|
int __pyx_clineno = 0;
|
|
7418
|
-
__Pyx_RefNannySetupContext("__cinit__",
|
|
7469
|
+
__Pyx_RefNannySetupContext("__cinit__", 1);
|
|
7419
7470
|
|
|
7420
7471
|
/* "View.MemoryView":350
|
|
7421
7472
|
*
|
|
@@ -7750,14 +7801,12 @@ static void __pyx_memoryview___dealloc__(PyObject *__pyx_v_self) {
|
|
|
7750
7801
|
|
|
7751
7802
|
static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
7752
7803
|
int __pyx_v_i;
|
|
7753
|
-
__Pyx_RefNannyDeclarations
|
|
7754
7804
|
int __pyx_t_1;
|
|
7755
7805
|
int __pyx_t_2;
|
|
7756
7806
|
int __pyx_t_3;
|
|
7757
7807
|
int __pyx_t_4;
|
|
7758
7808
|
PyThread_type_lock __pyx_t_5;
|
|
7759
7809
|
PyThread_type_lock __pyx_t_6;
|
|
7760
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
7761
7810
|
|
|
7762
7811
|
/* "View.MemoryView":377
|
|
7763
7812
|
*
|
|
@@ -7955,7 +8004,6 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
|
|
|
7955
8004
|
*/
|
|
7956
8005
|
|
|
7957
8006
|
/* function exit code */
|
|
7958
|
-
__Pyx_RefNannyFinishContext();
|
|
7959
8007
|
}
|
|
7960
8008
|
|
|
7961
8009
|
/* "View.MemoryView":397
|
|
@@ -7982,7 +8030,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
7982
8030
|
int __pyx_lineno = 0;
|
|
7983
8031
|
const char *__pyx_filename = NULL;
|
|
7984
8032
|
int __pyx_clineno = 0;
|
|
7985
|
-
__Pyx_RefNannySetupContext("get_item_pointer",
|
|
8033
|
+
__Pyx_RefNannySetupContext("get_item_pointer", 1);
|
|
7986
8034
|
|
|
7987
8035
|
/* "View.MemoryView":399
|
|
7988
8036
|
* cdef char *get_item_pointer(memoryview self, object index) except NULL:
|
|
@@ -8002,7 +8050,8 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
8002
8050
|
*/
|
|
8003
8051
|
__pyx_t_1 = 0;
|
|
8004
8052
|
if (likely(PyList_CheckExact(__pyx_v_index)) || PyTuple_CheckExact(__pyx_v_index)) {
|
|
8005
|
-
__pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2);
|
|
8053
|
+
__pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2);
|
|
8054
|
+
__pyx_t_3 = 0;
|
|
8006
8055
|
__pyx_t_4 = NULL;
|
|
8007
8056
|
} else {
|
|
8008
8057
|
__pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
@@ -8012,19 +8061,31 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
8012
8061
|
for (;;) {
|
|
8013
8062
|
if (likely(!__pyx_t_4)) {
|
|
8014
8063
|
if (likely(PyList_CheckExact(__pyx_t_2))) {
|
|
8015
|
-
|
|
8064
|
+
{
|
|
8065
|
+
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
|
|
8066
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
8067
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
8068
|
+
#endif
|
|
8069
|
+
if (__pyx_t_3 >= __pyx_temp) break;
|
|
8070
|
+
}
|
|
8016
8071
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
8017
8072
|
__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)
|
|
8018
8073
|
#else
|
|
8019
|
-
__pyx_t_5 =
|
|
8074
|
+
__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)
|
|
8020
8075
|
__Pyx_GOTREF(__pyx_t_5);
|
|
8021
8076
|
#endif
|
|
8022
8077
|
} else {
|
|
8023
|
-
|
|
8078
|
+
{
|
|
8079
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
|
|
8080
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
8081
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
8082
|
+
#endif
|
|
8083
|
+
if (__pyx_t_3 >= __pyx_temp) break;
|
|
8084
|
+
}
|
|
8024
8085
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
8025
8086
|
__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)
|
|
8026
8087
|
#else
|
|
8027
|
-
__pyx_t_5 =
|
|
8088
|
+
__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)
|
|
8028
8089
|
__Pyx_GOTREF(__pyx_t_5);
|
|
8029
8090
|
#endif
|
|
8030
8091
|
}
|
|
@@ -8133,7 +8194,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
|
|
|
8133
8194
|
int __pyx_lineno = 0;
|
|
8134
8195
|
const char *__pyx_filename = NULL;
|
|
8135
8196
|
int __pyx_clineno = 0;
|
|
8136
|
-
__Pyx_RefNannySetupContext("__getitem__",
|
|
8197
|
+
__Pyx_RefNannySetupContext("__getitem__", 1);
|
|
8137
8198
|
|
|
8138
8199
|
/* "View.MemoryView":408
|
|
8139
8200
|
*
|
|
@@ -8744,7 +8805,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryvi
|
|
|
8744
8805
|
int __pyx_lineno = 0;
|
|
8745
8806
|
const char *__pyx_filename = NULL;
|
|
8746
8807
|
int __pyx_clineno = 0;
|
|
8747
|
-
__Pyx_RefNannySetupContext("setitem_slice_assignment",
|
|
8808
|
+
__Pyx_RefNannySetupContext("setitem_slice_assignment", 1);
|
|
8748
8809
|
|
|
8749
8810
|
/* "View.MemoryView":448
|
|
8750
8811
|
* cdef __Pyx_memviewslice dst_slice
|
|
@@ -8837,7 +8898,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
|
|
|
8837
8898
|
int __pyx_lineno = 0;
|
|
8838
8899
|
const char *__pyx_filename = NULL;
|
|
8839
8900
|
int __pyx_clineno = 0;
|
|
8840
|
-
__Pyx_RefNannySetupContext("setitem_slice_assign_scalar",
|
|
8901
|
+
__Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 1);
|
|
8841
8902
|
|
|
8842
8903
|
/* "View.MemoryView":455
|
|
8843
8904
|
* cdef setitem_slice_assign_scalar(self, memoryview dst, value):
|
|
@@ -9110,7 +9171,7 @@ static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *_
|
|
|
9110
9171
|
int __pyx_lineno = 0;
|
|
9111
9172
|
const char *__pyx_filename = NULL;
|
|
9112
9173
|
int __pyx_clineno = 0;
|
|
9113
|
-
__Pyx_RefNannySetupContext("setitem_indexed",
|
|
9174
|
+
__Pyx_RefNannySetupContext("setitem_indexed", 1);
|
|
9114
9175
|
|
|
9115
9176
|
/* "View.MemoryView":486
|
|
9116
9177
|
*
|
|
@@ -9181,7 +9242,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
|
|
|
9181
9242
|
int __pyx_lineno = 0;
|
|
9182
9243
|
const char *__pyx_filename = NULL;
|
|
9183
9244
|
int __pyx_clineno = 0;
|
|
9184
|
-
__Pyx_RefNannySetupContext("convert_item_to_object",
|
|
9245
|
+
__Pyx_RefNannySetupContext("convert_item_to_object", 1);
|
|
9185
9246
|
|
|
9186
9247
|
/* "View.MemoryView":492
|
|
9187
9248
|
* """Only used if instantiated manually by the user, or if Cython doesn't
|
|
@@ -9431,7 +9492,7 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
|
|
|
9431
9492
|
int __pyx_lineno = 0;
|
|
9432
9493
|
const char *__pyx_filename = NULL;
|
|
9433
9494
|
int __pyx_clineno = 0;
|
|
9434
|
-
__Pyx_RefNannySetupContext("assign_item_from_object",
|
|
9495
|
+
__Pyx_RefNannySetupContext("assign_item_from_object", 1);
|
|
9435
9496
|
|
|
9436
9497
|
/* "View.MemoryView":508
|
|
9437
9498
|
* """Only used if instantiated manually by the user, or if Cython doesn't
|
|
@@ -9984,7 +10045,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
|
|
|
9984
10045
|
int __pyx_lineno = 0;
|
|
9985
10046
|
const char *__pyx_filename = NULL;
|
|
9986
10047
|
int __pyx_clineno = 0;
|
|
9987
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10048
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
9988
10049
|
|
|
9989
10050
|
/* "View.MemoryView":556
|
|
9990
10051
|
* @property
|
|
@@ -10070,7 +10131,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
|
|
|
10070
10131
|
int __pyx_lineno = 0;
|
|
10071
10132
|
const char *__pyx_filename = NULL;
|
|
10072
10133
|
int __pyx_clineno = 0;
|
|
10073
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10134
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10074
10135
|
|
|
10075
10136
|
/* "View.MemoryView":562
|
|
10076
10137
|
* @property
|
|
@@ -10116,7 +10177,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
|
|
|
10116
10177
|
static PyObject *__pyx_memoryview__get_base(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
10117
10178
|
PyObject *__pyx_r = NULL;
|
|
10118
10179
|
__Pyx_RefNannyDeclarations
|
|
10119
|
-
__Pyx_RefNannySetupContext("_get_base",
|
|
10180
|
+
__Pyx_RefNannySetupContext("_get_base", 1);
|
|
10120
10181
|
|
|
10121
10182
|
/* "View.MemoryView":565
|
|
10122
10183
|
*
|
|
@@ -10180,7 +10241,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
|
|
|
10180
10241
|
int __pyx_lineno = 0;
|
|
10181
10242
|
const char *__pyx_filename = NULL;
|
|
10182
10243
|
int __pyx_clineno = 0;
|
|
10183
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10244
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10184
10245
|
|
|
10185
10246
|
/* "View.MemoryView":569
|
|
10186
10247
|
* @property
|
|
@@ -10266,7 +10327,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
|
|
|
10266
10327
|
int __pyx_lineno = 0;
|
|
10267
10328
|
const char *__pyx_filename = NULL;
|
|
10268
10329
|
int __pyx_clineno = 0;
|
|
10269
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10330
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10270
10331
|
|
|
10271
10332
|
/* "View.MemoryView":573
|
|
10272
10333
|
* @property
|
|
@@ -10381,7 +10442,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
|
|
|
10381
10442
|
int __pyx_lineno = 0;
|
|
10382
10443
|
const char *__pyx_filename = NULL;
|
|
10383
10444
|
int __pyx_clineno = 0;
|
|
10384
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10445
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10385
10446
|
|
|
10386
10447
|
/* "View.MemoryView":581
|
|
10387
10448
|
* @property
|
|
@@ -10494,7 +10555,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
|
|
|
10494
10555
|
int __pyx_lineno = 0;
|
|
10495
10556
|
const char *__pyx_filename = NULL;
|
|
10496
10557
|
int __pyx_clineno = 0;
|
|
10497
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10558
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10498
10559
|
|
|
10499
10560
|
/* "View.MemoryView":588
|
|
10500
10561
|
* @property
|
|
@@ -10559,7 +10620,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
|
|
|
10559
10620
|
int __pyx_lineno = 0;
|
|
10560
10621
|
const char *__pyx_filename = NULL;
|
|
10561
10622
|
int __pyx_clineno = 0;
|
|
10562
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10623
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10563
10624
|
|
|
10564
10625
|
/* "View.MemoryView":592
|
|
10565
10626
|
* @property
|
|
@@ -10626,7 +10687,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
|
|
|
10626
10687
|
int __pyx_lineno = 0;
|
|
10627
10688
|
const char *__pyx_filename = NULL;
|
|
10628
10689
|
int __pyx_clineno = 0;
|
|
10629
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10690
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10630
10691
|
|
|
10631
10692
|
/* "View.MemoryView":596
|
|
10632
10693
|
* @property
|
|
@@ -10705,7 +10766,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
|
|
|
10705
10766
|
int __pyx_lineno = 0;
|
|
10706
10767
|
const char *__pyx_filename = NULL;
|
|
10707
10768
|
int __pyx_clineno = 0;
|
|
10708
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10769
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10709
10770
|
|
|
10710
10771
|
/* "View.MemoryView":600
|
|
10711
10772
|
* @property
|
|
@@ -10835,9 +10896,7 @@ static Py_ssize_t __pyx_memoryview___len__(PyObject *__pyx_v_self) {
|
|
|
10835
10896
|
|
|
10836
10897
|
static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_10__len__(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
10837
10898
|
Py_ssize_t __pyx_r;
|
|
10838
|
-
__Pyx_RefNannyDeclarations
|
|
10839
10899
|
int __pyx_t_1;
|
|
10840
|
-
__Pyx_RefNannySetupContext("__len__", 0);
|
|
10841
10900
|
|
|
10842
10901
|
/* "View.MemoryView":611
|
|
10843
10902
|
*
|
|
@@ -10888,7 +10947,6 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
|
|
|
10888
10947
|
|
|
10889
10948
|
/* function exit code */
|
|
10890
10949
|
__pyx_L0:;
|
|
10891
|
-
__Pyx_RefNannyFinishContext();
|
|
10892
10950
|
return __pyx_r;
|
|
10893
10951
|
}
|
|
10894
10952
|
|
|
@@ -10924,7 +10982,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
|
|
|
10924
10982
|
int __pyx_lineno = 0;
|
|
10925
10983
|
const char *__pyx_filename = NULL;
|
|
10926
10984
|
int __pyx_clineno = 0;
|
|
10927
|
-
__Pyx_RefNannySetupContext("__repr__",
|
|
10985
|
+
__Pyx_RefNannySetupContext("__repr__", 1);
|
|
10928
10986
|
|
|
10929
10987
|
/* "View.MemoryView":617
|
|
10930
10988
|
*
|
|
@@ -11027,7 +11085,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
|
|
|
11027
11085
|
int __pyx_lineno = 0;
|
|
11028
11086
|
const char *__pyx_filename = NULL;
|
|
11029
11087
|
int __pyx_clineno = 0;
|
|
11030
|
-
__Pyx_RefNannySetupContext("__str__",
|
|
11088
|
+
__Pyx_RefNannySetupContext("__str__", 1);
|
|
11031
11089
|
|
|
11032
11090
|
/* "View.MemoryView":621
|
|
11033
11091
|
*
|
|
@@ -11104,9 +11162,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11104
11162
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11105
11163
|
#endif
|
|
11106
11164
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11107
|
-
int __pyx_lineno = 0;
|
|
11108
|
-
const char *__pyx_filename = NULL;
|
|
11109
|
-
int __pyx_clineno = 0;
|
|
11110
11165
|
PyObject *__pyx_r = 0;
|
|
11111
11166
|
__Pyx_RefNannyDeclarations
|
|
11112
11167
|
__Pyx_RefNannySetupContext("is_c_contig (wrapper)", 0);
|
|
@@ -11114,21 +11169,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11114
11169
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11115
11170
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11116
11171
|
#else
|
|
11117
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11118
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 624, __pyx_L3_error)
|
|
11172
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11119
11173
|
#endif
|
|
11120
11174
|
#endif
|
|
11121
11175
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11122
11176
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11123
11177
|
__Pyx_RaiseArgtupleInvalid("is_c_contig", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11124
11178
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_c_contig", 0))) return NULL;
|
|
11125
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11126
|
-
goto __pyx_L3_error;
|
|
11127
|
-
__pyx_L3_error:;
|
|
11128
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.is_c_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11129
|
-
__Pyx_RefNannyFinishContext();
|
|
11130
|
-
return NULL;
|
|
11131
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11132
11179
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11133
11180
|
|
|
11134
11181
|
/* function exit code */
|
|
@@ -11146,7 +11193,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
|
|
|
11146
11193
|
int __pyx_lineno = 0;
|
|
11147
11194
|
const char *__pyx_filename = NULL;
|
|
11148
11195
|
int __pyx_clineno = 0;
|
|
11149
|
-
__Pyx_RefNannySetupContext("is_c_contig",
|
|
11196
|
+
__Pyx_RefNannySetupContext("is_c_contig", 1);
|
|
11150
11197
|
|
|
11151
11198
|
/* "View.MemoryView":627
|
|
11152
11199
|
* cdef __Pyx_memviewslice *mslice
|
|
@@ -11218,9 +11265,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11218
11265
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11219
11266
|
#endif
|
|
11220
11267
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11221
|
-
int __pyx_lineno = 0;
|
|
11222
|
-
const char *__pyx_filename = NULL;
|
|
11223
|
-
int __pyx_clineno = 0;
|
|
11224
11268
|
PyObject *__pyx_r = 0;
|
|
11225
11269
|
__Pyx_RefNannyDeclarations
|
|
11226
11270
|
__Pyx_RefNannySetupContext("is_f_contig (wrapper)", 0);
|
|
@@ -11228,21 +11272,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11228
11272
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11229
11273
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11230
11274
|
#else
|
|
11231
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11232
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 630, __pyx_L3_error)
|
|
11275
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11233
11276
|
#endif
|
|
11234
11277
|
#endif
|
|
11235
11278
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11236
11279
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11237
11280
|
__Pyx_RaiseArgtupleInvalid("is_f_contig", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11238
11281
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_f_contig", 0))) return NULL;
|
|
11239
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11240
|
-
goto __pyx_L3_error;
|
|
11241
|
-
__pyx_L3_error:;
|
|
11242
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.is_f_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11243
|
-
__Pyx_RefNannyFinishContext();
|
|
11244
|
-
return NULL;
|
|
11245
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11246
11282
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11247
11283
|
|
|
11248
11284
|
/* function exit code */
|
|
@@ -11260,7 +11296,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
|
|
|
11260
11296
|
int __pyx_lineno = 0;
|
|
11261
11297
|
const char *__pyx_filename = NULL;
|
|
11262
11298
|
int __pyx_clineno = 0;
|
|
11263
|
-
__Pyx_RefNannySetupContext("is_f_contig",
|
|
11299
|
+
__Pyx_RefNannySetupContext("is_f_contig", 1);
|
|
11264
11300
|
|
|
11265
11301
|
/* "View.MemoryView":633
|
|
11266
11302
|
* cdef __Pyx_memviewslice *mslice
|
|
@@ -11332,9 +11368,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11332
11368
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11333
11369
|
#endif
|
|
11334
11370
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11335
|
-
int __pyx_lineno = 0;
|
|
11336
|
-
const char *__pyx_filename = NULL;
|
|
11337
|
-
int __pyx_clineno = 0;
|
|
11338
11371
|
PyObject *__pyx_r = 0;
|
|
11339
11372
|
__Pyx_RefNannyDeclarations
|
|
11340
11373
|
__Pyx_RefNannySetupContext("copy (wrapper)", 0);
|
|
@@ -11342,21 +11375,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11342
11375
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11343
11376
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11344
11377
|
#else
|
|
11345
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11346
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 636, __pyx_L3_error)
|
|
11378
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11347
11379
|
#endif
|
|
11348
11380
|
#endif
|
|
11349
11381
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11350
11382
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11351
11383
|
__Pyx_RaiseArgtupleInvalid("copy", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11352
11384
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy", 0))) return NULL;
|
|
11353
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11354
|
-
goto __pyx_L3_error;
|
|
11355
|
-
__pyx_L3_error:;
|
|
11356
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.copy", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11357
|
-
__Pyx_RefNannyFinishContext();
|
|
11358
|
-
return NULL;
|
|
11359
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11360
11385
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11361
11386
|
|
|
11362
11387
|
/* function exit code */
|
|
@@ -11374,7 +11399,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
|
|
|
11374
11399
|
int __pyx_lineno = 0;
|
|
11375
11400
|
const char *__pyx_filename = NULL;
|
|
11376
11401
|
int __pyx_clineno = 0;
|
|
11377
|
-
__Pyx_RefNannySetupContext("copy",
|
|
11402
|
+
__Pyx_RefNannySetupContext("copy", 1);
|
|
11378
11403
|
|
|
11379
11404
|
/* "View.MemoryView":638
|
|
11380
11405
|
* def copy(self):
|
|
@@ -11464,9 +11489,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11464
11489
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11465
11490
|
#endif
|
|
11466
11491
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11467
|
-
int __pyx_lineno = 0;
|
|
11468
|
-
const char *__pyx_filename = NULL;
|
|
11469
|
-
int __pyx_clineno = 0;
|
|
11470
11492
|
PyObject *__pyx_r = 0;
|
|
11471
11493
|
__Pyx_RefNannyDeclarations
|
|
11472
11494
|
__Pyx_RefNannySetupContext("copy_fortran (wrapper)", 0);
|
|
@@ -11474,21 +11496,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11474
11496
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11475
11497
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11476
11498
|
#else
|
|
11477
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11478
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 648, __pyx_L3_error)
|
|
11499
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11479
11500
|
#endif
|
|
11480
11501
|
#endif
|
|
11481
11502
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11482
11503
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11483
11504
|
__Pyx_RaiseArgtupleInvalid("copy_fortran", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11484
11505
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy_fortran", 0))) return NULL;
|
|
11485
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11486
|
-
goto __pyx_L3_error;
|
|
11487
|
-
__pyx_L3_error:;
|
|
11488
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.copy_fortran", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11489
|
-
__Pyx_RefNannyFinishContext();
|
|
11490
|
-
return NULL;
|
|
11491
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11492
11506
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11493
11507
|
|
|
11494
11508
|
/* function exit code */
|
|
@@ -11507,7 +11521,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
|
|
|
11507
11521
|
int __pyx_lineno = 0;
|
|
11508
11522
|
const char *__pyx_filename = NULL;
|
|
11509
11523
|
int __pyx_clineno = 0;
|
|
11510
|
-
__Pyx_RefNannySetupContext("copy_fortran",
|
|
11524
|
+
__Pyx_RefNannySetupContext("copy_fortran", 1);
|
|
11511
11525
|
|
|
11512
11526
|
/* "View.MemoryView":650
|
|
11513
11527
|
* def copy_fortran(self):
|
|
@@ -11595,9 +11609,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11595
11609
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11596
11610
|
#endif
|
|
11597
11611
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11598
|
-
int __pyx_lineno = 0;
|
|
11599
|
-
const char *__pyx_filename = NULL;
|
|
11600
|
-
int __pyx_clineno = 0;
|
|
11601
11612
|
PyObject *__pyx_r = 0;
|
|
11602
11613
|
__Pyx_RefNannyDeclarations
|
|
11603
11614
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -11605,21 +11616,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11605
11616
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11606
11617
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11607
11618
|
#else
|
|
11608
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11609
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
11619
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11610
11620
|
#endif
|
|
11611
11621
|
#endif
|
|
11612
11622
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11613
11623
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11614
11624
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11615
11625
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
11616
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11617
|
-
goto __pyx_L3_error;
|
|
11618
|
-
__pyx_L3_error:;
|
|
11619
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11620
|
-
__Pyx_RefNannyFinishContext();
|
|
11621
|
-
return NULL;
|
|
11622
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11623
11626
|
__pyx_r = __pyx_pf___pyx_memoryview___reduce_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11624
11627
|
|
|
11625
11628
|
/* function exit code */
|
|
@@ -11633,7 +11636,7 @@ static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUSED struc
|
|
|
11633
11636
|
int __pyx_lineno = 0;
|
|
11634
11637
|
const char *__pyx_filename = NULL;
|
|
11635
11638
|
int __pyx_clineno = 0;
|
|
11636
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
11639
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
11637
11640
|
|
|
11638
11641
|
/* "(tree fragment)":2
|
|
11639
11642
|
* def __reduce_cython__(self):
|
|
@@ -11697,8 +11700,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11697
11700
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11698
11701
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11699
11702
|
#else
|
|
11700
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11701
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
11703
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11702
11704
|
#endif
|
|
11703
11705
|
#endif
|
|
11704
11706
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -11733,10 +11735,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11733
11735
|
}
|
|
11734
11736
|
__pyx_v___pyx_state = values[0];
|
|
11735
11737
|
}
|
|
11736
|
-
goto
|
|
11738
|
+
goto __pyx_L6_skip;
|
|
11737
11739
|
__pyx_L5_argtuple_error:;
|
|
11738
11740
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
11739
|
-
|
|
11741
|
+
__pyx_L6_skip:;
|
|
11742
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
11740
11743
|
__pyx_L3_error:;
|
|
11741
11744
|
{
|
|
11742
11745
|
Py_ssize_t __pyx_temp;
|
|
@@ -11767,7 +11770,7 @@ static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_UNUSED st
|
|
|
11767
11770
|
int __pyx_lineno = 0;
|
|
11768
11771
|
const char *__pyx_filename = NULL;
|
|
11769
11772
|
int __pyx_clineno = 0;
|
|
11770
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
11773
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
11771
11774
|
|
|
11772
11775
|
/* "(tree fragment)":4
|
|
11773
11776
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -11811,7 +11814,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
|
|
|
11811
11814
|
int __pyx_lineno = 0;
|
|
11812
11815
|
const char *__pyx_filename = NULL;
|
|
11813
11816
|
int __pyx_clineno = 0;
|
|
11814
|
-
__Pyx_RefNannySetupContext("memoryview_cwrapper",
|
|
11817
|
+
__Pyx_RefNannySetupContext("memoryview_cwrapper", 1);
|
|
11815
11818
|
|
|
11816
11819
|
/* "View.MemoryView":663
|
|
11817
11820
|
* @cname('__pyx_memoryview_new')
|
|
@@ -11894,9 +11897,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
|
|
|
11894
11897
|
|
|
11895
11898
|
static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
|
|
11896
11899
|
int __pyx_r;
|
|
11897
|
-
__Pyx_RefNannyDeclarations
|
|
11898
11900
|
int __pyx_t_1;
|
|
11899
|
-
__Pyx_RefNannySetupContext("memoryview_check", 0);
|
|
11900
11901
|
|
|
11901
11902
|
/* "View.MemoryView":669
|
|
11902
11903
|
* @cname('__pyx_memoryview_check')
|
|
@@ -11919,7 +11920,6 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
|
|
|
11919
11920
|
|
|
11920
11921
|
/* function exit code */
|
|
11921
11922
|
__pyx_L0:;
|
|
11922
|
-
__Pyx_RefNannyFinishContext();
|
|
11923
11923
|
return __pyx_r;
|
|
11924
11924
|
}
|
|
11925
11925
|
|
|
@@ -11951,7 +11951,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
11951
11951
|
int __pyx_lineno = 0;
|
|
11952
11952
|
const char *__pyx_filename = NULL;
|
|
11953
11953
|
int __pyx_clineno = 0;
|
|
11954
|
-
__Pyx_RefNannySetupContext("_unellipsify",
|
|
11954
|
+
__Pyx_RefNannySetupContext("_unellipsify", 1);
|
|
11955
11955
|
|
|
11956
11956
|
/* "View.MemoryView":677
|
|
11957
11957
|
* """
|
|
@@ -12033,13 +12033,20 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
12033
12033
|
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
|
|
12034
12034
|
__PYX_ERR(1, 683, __pyx_L1_error)
|
|
12035
12035
|
}
|
|
12036
|
-
__pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1);
|
|
12036
|
+
__pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1);
|
|
12037
|
+
__pyx_t_4 = 0;
|
|
12037
12038
|
for (;;) {
|
|
12038
|
-
|
|
12039
|
+
{
|
|
12040
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
|
|
12041
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
12042
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 683, __pyx_L1_error)
|
|
12043
|
+
#endif
|
|
12044
|
+
if (__pyx_t_4 >= __pyx_temp) break;
|
|
12045
|
+
}
|
|
12039
12046
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
12040
12047
|
__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)
|
|
12041
12048
|
#else
|
|
12042
|
-
__pyx_t_3 =
|
|
12049
|
+
__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)
|
|
12043
12050
|
__Pyx_GOTREF(__pyx_t_3);
|
|
12044
12051
|
#endif
|
|
12045
12052
|
__Pyx_XDECREF_SET(__pyx_v_item, __pyx_t_3);
|
|
@@ -12308,7 +12315,6 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
12308
12315
|
static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_ndim) {
|
|
12309
12316
|
Py_ssize_t __pyx_v_suboffset;
|
|
12310
12317
|
int __pyx_r;
|
|
12311
|
-
__Pyx_RefNannyDeclarations
|
|
12312
12318
|
Py_ssize_t *__pyx_t_1;
|
|
12313
12319
|
Py_ssize_t *__pyx_t_2;
|
|
12314
12320
|
Py_ssize_t *__pyx_t_3;
|
|
@@ -12316,7 +12322,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
|
|
|
12316
12322
|
int __pyx_lineno = 0;
|
|
12317
12323
|
const char *__pyx_filename = NULL;
|
|
12318
12324
|
int __pyx_clineno = 0;
|
|
12319
|
-
__Pyx_RefNannySetupContext("assert_direct_dimensions", 0);
|
|
12320
12325
|
|
|
12321
12326
|
/* "View.MemoryView":701
|
|
12322
12327
|
*
|
|
@@ -12383,7 +12388,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
|
|
|
12383
12388
|
__Pyx_AddTraceback("View.MemoryView.assert_direct_dimensions", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
12384
12389
|
__pyx_r = -1;
|
|
12385
12390
|
__pyx_L0:;
|
|
12386
|
-
__Pyx_RefNannyFinishContext();
|
|
12387
12391
|
return __pyx_r;
|
|
12388
12392
|
}
|
|
12389
12393
|
|
|
@@ -12429,7 +12433,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
12429
12433
|
int __pyx_lineno = 0;
|
|
12430
12434
|
const char *__pyx_filename = NULL;
|
|
12431
12435
|
int __pyx_clineno = 0;
|
|
12432
|
-
__Pyx_RefNannySetupContext("memview_slice",
|
|
12436
|
+
__Pyx_RefNannySetupContext("memview_slice", 1);
|
|
12433
12437
|
|
|
12434
12438
|
/* "View.MemoryView":712
|
|
12435
12439
|
* @cname('__pyx_memview_slice')
|
|
@@ -12579,7 +12583,8 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
12579
12583
|
*/
|
|
12580
12584
|
__pyx_t_5 = 0;
|
|
12581
12585
|
if (likely(PyList_CheckExact(__pyx_v_indices)) || PyTuple_CheckExact(__pyx_v_indices)) {
|
|
12582
|
-
__pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2);
|
|
12586
|
+
__pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2);
|
|
12587
|
+
__pyx_t_6 = 0;
|
|
12583
12588
|
__pyx_t_7 = NULL;
|
|
12584
12589
|
} else {
|
|
12585
12590
|
__pyx_t_6 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_indices); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
@@ -12589,19 +12594,31 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
12589
12594
|
for (;;) {
|
|
12590
12595
|
if (likely(!__pyx_t_7)) {
|
|
12591
12596
|
if (likely(PyList_CheckExact(__pyx_t_2))) {
|
|
12592
|
-
|
|
12597
|
+
{
|
|
12598
|
+
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
|
|
12599
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
12600
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
12601
|
+
#endif
|
|
12602
|
+
if (__pyx_t_6 >= __pyx_temp) break;
|
|
12603
|
+
}
|
|
12593
12604
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
12594
12605
|
__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)
|
|
12595
12606
|
#else
|
|
12596
|
-
__pyx_t_8 =
|
|
12607
|
+
__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)
|
|
12597
12608
|
__Pyx_GOTREF(__pyx_t_8);
|
|
12598
12609
|
#endif
|
|
12599
12610
|
} else {
|
|
12600
|
-
|
|
12611
|
+
{
|
|
12612
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
|
|
12613
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
12614
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
12615
|
+
#endif
|
|
12616
|
+
if (__pyx_t_6 >= __pyx_temp) break;
|
|
12617
|
+
}
|
|
12601
12618
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
12602
12619
|
__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)
|
|
12603
12620
|
#else
|
|
12604
|
-
__pyx_t_8 =
|
|
12621
|
+
__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)
|
|
12605
12622
|
__Pyx_GOTREF(__pyx_t_8);
|
|
12606
12623
|
#endif
|
|
12607
12624
|
}
|
|
@@ -12980,7 +12997,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
12980
12997
|
Py_ssize_t __pyx_v_new_shape;
|
|
12981
12998
|
int __pyx_v_negative_step;
|
|
12982
12999
|
int __pyx_r;
|
|
12983
|
-
__Pyx_RefNannyDeclarations
|
|
12984
13000
|
int __pyx_t_1;
|
|
12985
13001
|
int __pyx_t_2;
|
|
12986
13002
|
int __pyx_t_3;
|
|
@@ -12990,7 +13006,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
12990
13006
|
#ifdef WITH_THREAD
|
|
12991
13007
|
PyGILState_STATE __pyx_gilstate_save;
|
|
12992
13008
|
#endif
|
|
12993
|
-
__Pyx_RefNannySetupContext("slice_memviewslice", 1);
|
|
12994
13009
|
|
|
12995
13010
|
/* "View.MemoryView":813
|
|
12996
13011
|
* cdef bint negative_step
|
|
@@ -13745,7 +13760,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
13745
13760
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
13746
13761
|
#endif
|
|
13747
13762
|
__pyx_L0:;
|
|
13748
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
13749
13763
|
return __pyx_r;
|
|
13750
13764
|
}
|
|
13751
13765
|
|
|
@@ -13773,7 +13787,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
|
|
|
13773
13787
|
int __pyx_lineno = 0;
|
|
13774
13788
|
const char *__pyx_filename = NULL;
|
|
13775
13789
|
int __pyx_clineno = 0;
|
|
13776
|
-
__Pyx_RefNannySetupContext("pybuffer_index",
|
|
13790
|
+
__Pyx_RefNannySetupContext("pybuffer_index", 1);
|
|
13777
13791
|
|
|
13778
13792
|
/* "View.MemoryView":898
|
|
13779
13793
|
* cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,
|
|
@@ -14100,7 +14114,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
14100
14114
|
int __pyx_v_i;
|
|
14101
14115
|
int __pyx_v_j;
|
|
14102
14116
|
int __pyx_r;
|
|
14103
|
-
__Pyx_RefNannyDeclarations
|
|
14104
14117
|
int __pyx_t_1;
|
|
14105
14118
|
Py_ssize_t *__pyx_t_2;
|
|
14106
14119
|
long __pyx_t_3;
|
|
@@ -14116,7 +14129,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
14116
14129
|
#ifdef WITH_THREAD
|
|
14117
14130
|
PyGILState_STATE __pyx_gilstate_save;
|
|
14118
14131
|
#endif
|
|
14119
|
-
__Pyx_RefNannySetupContext("transpose_memslice", 1);
|
|
14120
14132
|
|
|
14121
14133
|
/* "View.MemoryView":930
|
|
14122
14134
|
* @cname('__pyx_memslice_transpose')
|
|
@@ -14259,7 +14271,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
14259
14271
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
14260
14272
|
#endif
|
|
14261
14273
|
__pyx_L0:;
|
|
14262
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
14263
14274
|
return __pyx_r;
|
|
14264
14275
|
}
|
|
14265
14276
|
|
|
@@ -14285,8 +14296,6 @@ static void __pyx_memoryviewslice___dealloc__(PyObject *__pyx_v_self) {
|
|
|
14285
14296
|
}
|
|
14286
14297
|
|
|
14287
14298
|
static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewslice___dealloc__(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
|
|
14288
|
-
__Pyx_RefNannyDeclarations
|
|
14289
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
14290
14299
|
|
|
14291
14300
|
/* "View.MemoryView":964
|
|
14292
14301
|
*
|
|
@@ -14306,7 +14315,6 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
|
|
|
14306
14315
|
*/
|
|
14307
14316
|
|
|
14308
14317
|
/* function exit code */
|
|
14309
|
-
__Pyx_RefNannyFinishContext();
|
|
14310
14318
|
}
|
|
14311
14319
|
|
|
14312
14320
|
/* "View.MemoryView":966
|
|
@@ -14325,7 +14333,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
|
|
|
14325
14333
|
int __pyx_lineno = 0;
|
|
14326
14334
|
const char *__pyx_filename = NULL;
|
|
14327
14335
|
int __pyx_clineno = 0;
|
|
14328
|
-
__Pyx_RefNannySetupContext("convert_item_to_object",
|
|
14336
|
+
__Pyx_RefNannySetupContext("convert_item_to_object", 1);
|
|
14329
14337
|
|
|
14330
14338
|
/* "View.MemoryView":967
|
|
14331
14339
|
*
|
|
@@ -14412,7 +14420,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
|
|
|
14412
14420
|
int __pyx_lineno = 0;
|
|
14413
14421
|
const char *__pyx_filename = NULL;
|
|
14414
14422
|
int __pyx_clineno = 0;
|
|
14415
|
-
__Pyx_RefNannySetupContext("assign_item_from_object",
|
|
14423
|
+
__Pyx_RefNannySetupContext("assign_item_from_object", 1);
|
|
14416
14424
|
|
|
14417
14425
|
/* "View.MemoryView":973
|
|
14418
14426
|
*
|
|
@@ -14489,7 +14497,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
|
|
|
14489
14497
|
static PyObject *__pyx_memoryviewslice__get_base(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
|
|
14490
14498
|
PyObject *__pyx_r = NULL;
|
|
14491
14499
|
__Pyx_RefNannyDeclarations
|
|
14492
|
-
__Pyx_RefNannySetupContext("_get_base",
|
|
14500
|
+
__Pyx_RefNannySetupContext("_get_base", 1);
|
|
14493
14501
|
|
|
14494
14502
|
/* "View.MemoryView":979
|
|
14495
14503
|
*
|
|
@@ -14543,9 +14551,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14543
14551
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
14544
14552
|
#endif
|
|
14545
14553
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
14546
|
-
int __pyx_lineno = 0;
|
|
14547
|
-
const char *__pyx_filename = NULL;
|
|
14548
|
-
int __pyx_clineno = 0;
|
|
14549
14554
|
PyObject *__pyx_r = 0;
|
|
14550
14555
|
__Pyx_RefNannyDeclarations
|
|
14551
14556
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -14553,21 +14558,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14553
14558
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
14554
14559
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
14555
14560
|
#else
|
|
14556
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
14557
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
14561
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
14558
14562
|
#endif
|
|
14559
14563
|
#endif
|
|
14560
14564
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
14561
14565
|
if (unlikely(__pyx_nargs > 0)) {
|
|
14562
14566
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
14563
14567
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
14564
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
14565
|
-
goto __pyx_L3_error;
|
|
14566
|
-
__pyx_L3_error:;
|
|
14567
|
-
__Pyx_AddTraceback("View.MemoryView._memoryviewslice.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
14568
|
-
__Pyx_RefNannyFinishContext();
|
|
14569
|
-
return NULL;
|
|
14570
|
-
__pyx_L4_argument_unpacking_done:;
|
|
14571
14568
|
__pyx_r = __pyx_pf___pyx_memoryviewslice___reduce_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self));
|
|
14572
14569
|
|
|
14573
14570
|
/* function exit code */
|
|
@@ -14581,7 +14578,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON_UNUSED
|
|
|
14581
14578
|
int __pyx_lineno = 0;
|
|
14582
14579
|
const char *__pyx_filename = NULL;
|
|
14583
14580
|
int __pyx_clineno = 0;
|
|
14584
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
14581
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
14585
14582
|
|
|
14586
14583
|
/* "(tree fragment)":2
|
|
14587
14584
|
* def __reduce_cython__(self):
|
|
@@ -14645,8 +14642,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14645
14642
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
14646
14643
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
14647
14644
|
#else
|
|
14648
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
14649
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
14645
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
14650
14646
|
#endif
|
|
14651
14647
|
#endif
|
|
14652
14648
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -14681,10 +14677,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14681
14677
|
}
|
|
14682
14678
|
__pyx_v___pyx_state = values[0];
|
|
14683
14679
|
}
|
|
14684
|
-
goto
|
|
14680
|
+
goto __pyx_L6_skip;
|
|
14685
14681
|
__pyx_L5_argtuple_error:;
|
|
14686
14682
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
14687
|
-
|
|
14683
|
+
__pyx_L6_skip:;
|
|
14684
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
14688
14685
|
__pyx_L3_error:;
|
|
14689
14686
|
{
|
|
14690
14687
|
Py_ssize_t __pyx_temp;
|
|
@@ -14715,7 +14712,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYTHON_UNUS
|
|
|
14715
14712
|
int __pyx_lineno = 0;
|
|
14716
14713
|
const char *__pyx_filename = NULL;
|
|
14717
14714
|
int __pyx_clineno = 0;
|
|
14718
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
14715
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
14719
14716
|
|
|
14720
14717
|
/* "(tree fragment)":4
|
|
14721
14718
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -14767,7 +14764,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
|
|
|
14767
14764
|
int __pyx_lineno = 0;
|
|
14768
14765
|
const char *__pyx_filename = NULL;
|
|
14769
14766
|
int __pyx_clineno = 0;
|
|
14770
|
-
__Pyx_RefNannySetupContext("memoryview_fromslice",
|
|
14767
|
+
__Pyx_RefNannySetupContext("memoryview_fromslice", 1);
|
|
14771
14768
|
|
|
14772
14769
|
/* "View.MemoryView":1007
|
|
14773
14770
|
* cdef _memoryviewslice result
|
|
@@ -15144,7 +15141,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
|
|
|
15144
15141
|
int __pyx_lineno = 0;
|
|
15145
15142
|
const char *__pyx_filename = NULL;
|
|
15146
15143
|
int __pyx_clineno = 0;
|
|
15147
|
-
__Pyx_RefNannySetupContext("get_slice_from_memview",
|
|
15144
|
+
__Pyx_RefNannySetupContext("get_slice_from_memview", 1);
|
|
15148
15145
|
|
|
15149
15146
|
/* "View.MemoryView":1055
|
|
15150
15147
|
* __Pyx_memviewslice *mslice) except NULL:
|
|
@@ -15241,14 +15238,12 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
|
|
|
15241
15238
|
Py_ssize_t *__pyx_v_shape;
|
|
15242
15239
|
Py_ssize_t *__pyx_v_strides;
|
|
15243
15240
|
Py_ssize_t *__pyx_v_suboffsets;
|
|
15244
|
-
__Pyx_RefNannyDeclarations
|
|
15245
15241
|
Py_ssize_t *__pyx_t_1;
|
|
15246
15242
|
int __pyx_t_2;
|
|
15247
15243
|
int __pyx_t_3;
|
|
15248
15244
|
int __pyx_t_4;
|
|
15249
15245
|
Py_ssize_t __pyx_t_5;
|
|
15250
15246
|
int __pyx_t_6;
|
|
15251
|
-
__Pyx_RefNannySetupContext("slice_copy", 0);
|
|
15252
15247
|
|
|
15253
15248
|
/* "View.MemoryView":1067
|
|
15254
15249
|
* cdef (Py_ssize_t*) shape, strides, suboffsets
|
|
@@ -15353,7 +15348,6 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
|
|
|
15353
15348
|
*/
|
|
15354
15349
|
|
|
15355
15350
|
/* function exit code */
|
|
15356
|
-
__Pyx_RefNannyFinishContext();
|
|
15357
15351
|
}
|
|
15358
15352
|
|
|
15359
15353
|
/* "View.MemoryView":1080
|
|
@@ -15372,7 +15366,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
|
|
|
15372
15366
|
int __pyx_lineno = 0;
|
|
15373
15367
|
const char *__pyx_filename = NULL;
|
|
15374
15368
|
int __pyx_clineno = 0;
|
|
15375
|
-
__Pyx_RefNannySetupContext("memoryview_copy",
|
|
15369
|
+
__Pyx_RefNannySetupContext("memoryview_copy", 1);
|
|
15376
15370
|
|
|
15377
15371
|
/* "View.MemoryView":1083
|
|
15378
15372
|
* "Create a new memoryview object"
|
|
@@ -15436,7 +15430,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
|
|
|
15436
15430
|
int __pyx_lineno = 0;
|
|
15437
15431
|
const char *__pyx_filename = NULL;
|
|
15438
15432
|
int __pyx_clineno = 0;
|
|
15439
|
-
__Pyx_RefNannySetupContext("memoryview_copy_from_slice",
|
|
15433
|
+
__Pyx_RefNannySetupContext("memoryview_copy_from_slice", 1);
|
|
15440
15434
|
|
|
15441
15435
|
/* "View.MemoryView":1094
|
|
15442
15436
|
* cdef int (*to_dtype_func)(char *, object) except 0
|
|
@@ -16245,7 +16239,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
16245
16239
|
size_t __pyx_v_itemsize;
|
|
16246
16240
|
size_t __pyx_v_size;
|
|
16247
16241
|
void *__pyx_r;
|
|
16248
|
-
__Pyx_RefNannyDeclarations
|
|
16249
16242
|
Py_ssize_t __pyx_t_1;
|
|
16250
16243
|
int __pyx_t_2;
|
|
16251
16244
|
int __pyx_t_3;
|
|
@@ -16258,7 +16251,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
16258
16251
|
#ifdef WITH_THREAD
|
|
16259
16252
|
PyGILState_STATE __pyx_gilstate_save;
|
|
16260
16253
|
#endif
|
|
16261
|
-
__Pyx_RefNannySetupContext("copy_data_to_temp", 1);
|
|
16262
16254
|
|
|
16263
16255
|
/* "View.MemoryView":1216
|
|
16264
16256
|
* cdef void *result
|
|
@@ -16486,7 +16478,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
16486
16478
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
16487
16479
|
#endif
|
|
16488
16480
|
__pyx_L0:;
|
|
16489
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
16490
16481
|
return __pyx_r;
|
|
16491
16482
|
}
|
|
16492
16483
|
|
|
@@ -16706,14 +16697,12 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, PyObject *__pyx_v_msg)
|
|
|
16706
16697
|
|
|
16707
16698
|
static int __pyx_memoryview_err_no_memory(void) {
|
|
16708
16699
|
int __pyx_r;
|
|
16709
|
-
__Pyx_RefNannyDeclarations
|
|
16710
16700
|
int __pyx_lineno = 0;
|
|
16711
16701
|
const char *__pyx_filename = NULL;
|
|
16712
16702
|
int __pyx_clineno = 0;
|
|
16713
16703
|
#ifdef WITH_THREAD
|
|
16714
16704
|
PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
|
|
16715
16705
|
#endif
|
|
16716
|
-
__Pyx_RefNannySetupContext("_err_no_memory", 0);
|
|
16717
16706
|
|
|
16718
16707
|
/* "View.MemoryView":1261
|
|
16719
16708
|
* @cname('__pyx_memoryview_err_no_memory')
|
|
@@ -16736,7 +16725,6 @@ static int __pyx_memoryview_err_no_memory(void) {
|
|
|
16736
16725
|
__pyx_L1_error:;
|
|
16737
16726
|
__Pyx_AddTraceback("View.MemoryView._err_no_memory", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
16738
16727
|
__pyx_r = -1;
|
|
16739
|
-
__Pyx_RefNannyFinishContext();
|
|
16740
16728
|
#ifdef WITH_THREAD
|
|
16741
16729
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
16742
16730
|
#endif
|
|
@@ -16761,7 +16749,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
16761
16749
|
__Pyx_memviewslice __pyx_v_tmp;
|
|
16762
16750
|
int __pyx_v_ndim;
|
|
16763
16751
|
int __pyx_r;
|
|
16764
|
-
__Pyx_RefNannyDeclarations
|
|
16765
16752
|
Py_ssize_t __pyx_t_1;
|
|
16766
16753
|
int __pyx_t_2;
|
|
16767
16754
|
int __pyx_t_3;
|
|
@@ -16775,7 +16762,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
16775
16762
|
#ifdef WITH_THREAD
|
|
16776
16763
|
PyGILState_STATE __pyx_gilstate_save;
|
|
16777
16764
|
#endif
|
|
16778
|
-
__Pyx_RefNannySetupContext("memoryview_copy_contents", 1);
|
|
16779
16765
|
|
|
16780
16766
|
/* "View.MemoryView":1273
|
|
16781
16767
|
* Check for overlapping memory and verify the shapes.
|
|
@@ -17320,7 +17306,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
17320
17306
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
17321
17307
|
#endif
|
|
17322
17308
|
__pyx_L0:;
|
|
17323
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
17324
17309
|
return __pyx_r;
|
|
17325
17310
|
}
|
|
17326
17311
|
|
|
@@ -17494,11 +17479,9 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
|
|
|
17494
17479
|
*/
|
|
17495
17480
|
|
|
17496
17481
|
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) {
|
|
17497
|
-
__Pyx_RefNannyDeclarations
|
|
17498
17482
|
#ifdef WITH_THREAD
|
|
17499
17483
|
PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
|
|
17500
17484
|
#endif
|
|
17501
|
-
__Pyx_RefNannySetupContext("refcount_objects_in_slice_with_gil", 0);
|
|
17502
17485
|
|
|
17503
17486
|
/* "View.MemoryView":1368
|
|
17504
17487
|
* Py_ssize_t *strides, int ndim,
|
|
@@ -17518,7 +17501,6 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
|
|
|
17518
17501
|
*/
|
|
17519
17502
|
|
|
17520
17503
|
/* function exit code */
|
|
17521
|
-
__Pyx_RefNannyFinishContext();
|
|
17522
17504
|
#ifdef WITH_THREAD
|
|
17523
17505
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
17524
17506
|
#endif
|
|
@@ -17535,12 +17517,10 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
|
|
|
17535
17517
|
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) {
|
|
17536
17518
|
CYTHON_UNUSED Py_ssize_t __pyx_v_i;
|
|
17537
17519
|
Py_ssize_t __pyx_v_stride;
|
|
17538
|
-
__Pyx_RefNannyDeclarations
|
|
17539
17520
|
Py_ssize_t __pyx_t_1;
|
|
17540
17521
|
Py_ssize_t __pyx_t_2;
|
|
17541
17522
|
Py_ssize_t __pyx_t_3;
|
|
17542
17523
|
int __pyx_t_4;
|
|
17543
|
-
__Pyx_RefNannySetupContext("refcount_objects_in_slice", 0);
|
|
17544
17524
|
|
|
17545
17525
|
/* "View.MemoryView":1374
|
|
17546
17526
|
* Py_ssize_t *strides, int ndim, bint inc) noexcept:
|
|
@@ -17654,7 +17634,6 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
|
|
|
17654
17634
|
*/
|
|
17655
17635
|
|
|
17656
17636
|
/* function exit code */
|
|
17657
|
-
__Pyx_RefNannyFinishContext();
|
|
17658
17637
|
}
|
|
17659
17638
|
|
|
17660
17639
|
/* "View.MemoryView":1391
|
|
@@ -17876,8 +17855,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
17876
17855
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
17877
17856
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
17878
17857
|
#else
|
|
17879
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
17880
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
17858
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
17881
17859
|
#endif
|
|
17882
17860
|
#endif
|
|
17883
17861
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -17940,10 +17918,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
17940
17918
|
__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)
|
|
17941
17919
|
__pyx_v___pyx_state = values[2];
|
|
17942
17920
|
}
|
|
17943
|
-
goto
|
|
17921
|
+
goto __pyx_L6_skip;
|
|
17944
17922
|
__pyx_L5_argtuple_error:;
|
|
17945
17923
|
__Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 1, __pyx_L3_error)
|
|
17946
|
-
|
|
17924
|
+
__pyx_L6_skip:;
|
|
17925
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
17947
17926
|
__pyx_L3_error:;
|
|
17948
17927
|
{
|
|
17949
17928
|
Py_ssize_t __pyx_temp;
|
|
@@ -17981,7 +17960,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSE
|
|
|
17981
17960
|
int __pyx_lineno = 0;
|
|
17982
17961
|
const char *__pyx_filename = NULL;
|
|
17983
17962
|
int __pyx_clineno = 0;
|
|
17984
|
-
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum",
|
|
17963
|
+
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 1);
|
|
17985
17964
|
|
|
17986
17965
|
/* "(tree fragment)":4
|
|
17987
17966
|
* cdef object __pyx_PickleError
|
|
@@ -18163,7 +18142,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
18163
18142
|
int __pyx_lineno = 0;
|
|
18164
18143
|
const char *__pyx_filename = NULL;
|
|
18165
18144
|
int __pyx_clineno = 0;
|
|
18166
|
-
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state",
|
|
18145
|
+
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 1);
|
|
18167
18146
|
|
|
18168
18147
|
/* "(tree fragment)":12
|
|
18169
18148
|
* return __pyx_result
|
|
@@ -18279,7 +18258,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
18279
18258
|
return __pyx_r;
|
|
18280
18259
|
}
|
|
18281
18260
|
|
|
18282
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18261
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":246
|
|
18283
18262
|
*
|
|
18284
18263
|
* @property
|
|
18285
18264
|
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18290,7 +18269,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
18290
18269
|
static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
|
|
18291
18270
|
PyObject *__pyx_r;
|
|
18292
18271
|
|
|
18293
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18272
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":249
|
|
18294
18273
|
* """Returns a borrowed reference to the object owning the data/memory.
|
|
18295
18274
|
* """
|
|
18296
18275
|
* return PyArray_BASE(self) # <<<<<<<<<<<<<<
|
|
@@ -18300,7 +18279,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
18300
18279
|
__pyx_r = PyArray_BASE(__pyx_v_self);
|
|
18301
18280
|
goto __pyx_L0;
|
|
18302
18281
|
|
|
18303
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18282
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":246
|
|
18304
18283
|
*
|
|
18305
18284
|
* @property
|
|
18306
18285
|
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18313,7 +18292,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
18313
18292
|
return __pyx_r;
|
|
18314
18293
|
}
|
|
18315
18294
|
|
|
18316
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18295
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":252
|
|
18317
18296
|
*
|
|
18318
18297
|
* @property
|
|
18319
18298
|
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
|
|
@@ -18325,9 +18304,9 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18325
18304
|
PyArray_Descr *__pyx_r = NULL;
|
|
18326
18305
|
__Pyx_RefNannyDeclarations
|
|
18327
18306
|
PyArray_Descr *__pyx_t_1;
|
|
18328
|
-
__Pyx_RefNannySetupContext("descr",
|
|
18307
|
+
__Pyx_RefNannySetupContext("descr", 1);
|
|
18329
18308
|
|
|
18330
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18309
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":255
|
|
18331
18310
|
* """Returns an owned reference to the dtype of the array.
|
|
18332
18311
|
* """
|
|
18333
18312
|
* return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
|
|
@@ -18340,7 +18319,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18340
18319
|
__pyx_r = ((PyArray_Descr *)__pyx_t_1);
|
|
18341
18320
|
goto __pyx_L0;
|
|
18342
18321
|
|
|
18343
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18322
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":252
|
|
18344
18323
|
*
|
|
18345
18324
|
* @property
|
|
18346
18325
|
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
|
|
@@ -18355,7 +18334,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18355
18334
|
return __pyx_r;
|
|
18356
18335
|
}
|
|
18357
18336
|
|
|
18358
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18337
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":258
|
|
18359
18338
|
*
|
|
18360
18339
|
* @property
|
|
18361
18340
|
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18366,7 +18345,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
18366
18345
|
static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
|
|
18367
18346
|
int __pyx_r;
|
|
18368
18347
|
|
|
18369
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18348
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":261
|
|
18370
18349
|
* """Returns the number of dimensions in the array.
|
|
18371
18350
|
* """
|
|
18372
18351
|
* return PyArray_NDIM(self) # <<<<<<<<<<<<<<
|
|
@@ -18376,7 +18355,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
18376
18355
|
__pyx_r = PyArray_NDIM(__pyx_v_self);
|
|
18377
18356
|
goto __pyx_L0;
|
|
18378
18357
|
|
|
18379
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18358
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":258
|
|
18380
18359
|
*
|
|
18381
18360
|
* @property
|
|
18382
18361
|
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18389,7 +18368,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
18389
18368
|
return __pyx_r;
|
|
18390
18369
|
}
|
|
18391
18370
|
|
|
18392
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18371
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":264
|
|
18393
18372
|
*
|
|
18394
18373
|
* @property
|
|
18395
18374
|
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18400,7 +18379,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
18400
18379
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
|
|
18401
18380
|
npy_intp *__pyx_r;
|
|
18402
18381
|
|
|
18403
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18382
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":269
|
|
18404
18383
|
* Can return NULL for 0-dimensional arrays.
|
|
18405
18384
|
* """
|
|
18406
18385
|
* return PyArray_DIMS(self) # <<<<<<<<<<<<<<
|
|
@@ -18410,7 +18389,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18410
18389
|
__pyx_r = PyArray_DIMS(__pyx_v_self);
|
|
18411
18390
|
goto __pyx_L0;
|
|
18412
18391
|
|
|
18413
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18392
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":264
|
|
18414
18393
|
*
|
|
18415
18394
|
* @property
|
|
18416
18395
|
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18423,7 +18402,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18423
18402
|
return __pyx_r;
|
|
18424
18403
|
}
|
|
18425
18404
|
|
|
18426
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18405
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":272
|
|
18427
18406
|
*
|
|
18428
18407
|
* @property
|
|
18429
18408
|
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18434,7 +18413,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18434
18413
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
|
|
18435
18414
|
npy_intp *__pyx_r;
|
|
18436
18415
|
|
|
18437
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18416
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":276
|
|
18438
18417
|
* The number of elements matches the number of dimensions of the array (ndim).
|
|
18439
18418
|
* """
|
|
18440
18419
|
* return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
|
|
@@ -18444,7 +18423,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18444
18423
|
__pyx_r = PyArray_STRIDES(__pyx_v_self);
|
|
18445
18424
|
goto __pyx_L0;
|
|
18446
18425
|
|
|
18447
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18426
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":272
|
|
18448
18427
|
*
|
|
18449
18428
|
* @property
|
|
18450
18429
|
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18457,7 +18436,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18457
18436
|
return __pyx_r;
|
|
18458
18437
|
}
|
|
18459
18438
|
|
|
18460
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18439
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":279
|
|
18461
18440
|
*
|
|
18462
18441
|
* @property
|
|
18463
18442
|
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18468,7 +18447,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18468
18447
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
|
|
18469
18448
|
npy_intp __pyx_r;
|
|
18470
18449
|
|
|
18471
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18450
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":282
|
|
18472
18451
|
* """Returns the total size (in number of elements) of the array.
|
|
18473
18452
|
* """
|
|
18474
18453
|
* return PyArray_SIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -18478,7 +18457,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18478
18457
|
__pyx_r = PyArray_SIZE(__pyx_v_self);
|
|
18479
18458
|
goto __pyx_L0;
|
|
18480
18459
|
|
|
18481
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18460
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":279
|
|
18482
18461
|
*
|
|
18483
18462
|
* @property
|
|
18484
18463
|
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18491,7 +18470,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18491
18470
|
return __pyx_r;
|
|
18492
18471
|
}
|
|
18493
18472
|
|
|
18494
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18473
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":285
|
|
18495
18474
|
*
|
|
18496
18475
|
* @property
|
|
18497
18476
|
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18502,7 +18481,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18502
18481
|
static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
|
|
18503
18482
|
char *__pyx_r;
|
|
18504
18483
|
|
|
18505
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18484
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":291
|
|
18506
18485
|
* of `PyArray_DATA()` instead, which returns a 'void*'.
|
|
18507
18486
|
* """
|
|
18508
18487
|
* return PyArray_BYTES(self) # <<<<<<<<<<<<<<
|
|
@@ -18512,7 +18491,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
18512
18491
|
__pyx_r = PyArray_BYTES(__pyx_v_self);
|
|
18513
18492
|
goto __pyx_L0;
|
|
18514
18493
|
|
|
18515
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18494
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":285
|
|
18516
18495
|
*
|
|
18517
18496
|
* @property
|
|
18518
18497
|
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18525,7 +18504,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
18525
18504
|
return __pyx_r;
|
|
18526
18505
|
}
|
|
18527
18506
|
|
|
18528
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18507
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":777
|
|
18529
18508
|
* ctypedef npy_cdouble complex_t
|
|
18530
18509
|
*
|
|
18531
18510
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -18540,9 +18519,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
18540
18519
|
int __pyx_lineno = 0;
|
|
18541
18520
|
const char *__pyx_filename = NULL;
|
|
18542
18521
|
int __pyx_clineno = 0;
|
|
18543
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1",
|
|
18522
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1);
|
|
18544
18523
|
|
|
18545
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18524
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":778
|
|
18546
18525
|
*
|
|
18547
18526
|
* cdef inline object PyArray_MultiIterNew1(a):
|
|
18548
18527
|
* return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
|
|
@@ -18556,7 +18535,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
18556
18535
|
__pyx_t_1 = 0;
|
|
18557
18536
|
goto __pyx_L0;
|
|
18558
18537
|
|
|
18559
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18538
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":777
|
|
18560
18539
|
* ctypedef npy_cdouble complex_t
|
|
18561
18540
|
*
|
|
18562
18541
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -18575,7 +18554,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
18575
18554
|
return __pyx_r;
|
|
18576
18555
|
}
|
|
18577
18556
|
|
|
18578
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18557
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":780
|
|
18579
18558
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
18580
18559
|
*
|
|
18581
18560
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -18590,9 +18569,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
18590
18569
|
int __pyx_lineno = 0;
|
|
18591
18570
|
const char *__pyx_filename = NULL;
|
|
18592
18571
|
int __pyx_clineno = 0;
|
|
18593
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2",
|
|
18572
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1);
|
|
18594
18573
|
|
|
18595
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18574
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":781
|
|
18596
18575
|
*
|
|
18597
18576
|
* cdef inline object PyArray_MultiIterNew2(a, b):
|
|
18598
18577
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
|
|
@@ -18606,7 +18585,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
18606
18585
|
__pyx_t_1 = 0;
|
|
18607
18586
|
goto __pyx_L0;
|
|
18608
18587
|
|
|
18609
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18588
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":780
|
|
18610
18589
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
18611
18590
|
*
|
|
18612
18591
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -18625,7 +18604,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
18625
18604
|
return __pyx_r;
|
|
18626
18605
|
}
|
|
18627
18606
|
|
|
18628
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18607
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":783
|
|
18629
18608
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
18630
18609
|
*
|
|
18631
18610
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -18640,9 +18619,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
18640
18619
|
int __pyx_lineno = 0;
|
|
18641
18620
|
const char *__pyx_filename = NULL;
|
|
18642
18621
|
int __pyx_clineno = 0;
|
|
18643
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3",
|
|
18622
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1);
|
|
18644
18623
|
|
|
18645
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18624
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":784
|
|
18646
18625
|
*
|
|
18647
18626
|
* cdef inline object PyArray_MultiIterNew3(a, b, c):
|
|
18648
18627
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
|
|
@@ -18656,7 +18635,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
18656
18635
|
__pyx_t_1 = 0;
|
|
18657
18636
|
goto __pyx_L0;
|
|
18658
18637
|
|
|
18659
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18638
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":783
|
|
18660
18639
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
18661
18640
|
*
|
|
18662
18641
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -18675,7 +18654,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
18675
18654
|
return __pyx_r;
|
|
18676
18655
|
}
|
|
18677
18656
|
|
|
18678
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18657
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":786
|
|
18679
18658
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
18680
18659
|
*
|
|
18681
18660
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -18690,9 +18669,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
18690
18669
|
int __pyx_lineno = 0;
|
|
18691
18670
|
const char *__pyx_filename = NULL;
|
|
18692
18671
|
int __pyx_clineno = 0;
|
|
18693
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4",
|
|
18672
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1);
|
|
18694
18673
|
|
|
18695
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18674
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":787
|
|
18696
18675
|
*
|
|
18697
18676
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
|
|
18698
18677
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
|
|
@@ -18706,7 +18685,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
18706
18685
|
__pyx_t_1 = 0;
|
|
18707
18686
|
goto __pyx_L0;
|
|
18708
18687
|
|
|
18709
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18688
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":786
|
|
18710
18689
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
18711
18690
|
*
|
|
18712
18691
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -18725,7 +18704,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
18725
18704
|
return __pyx_r;
|
|
18726
18705
|
}
|
|
18727
18706
|
|
|
18728
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18707
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789
|
|
18729
18708
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
18730
18709
|
*
|
|
18731
18710
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -18740,9 +18719,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
18740
18719
|
int __pyx_lineno = 0;
|
|
18741
18720
|
const char *__pyx_filename = NULL;
|
|
18742
18721
|
int __pyx_clineno = 0;
|
|
18743
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5",
|
|
18722
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1);
|
|
18744
18723
|
|
|
18745
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18724
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":790
|
|
18746
18725
|
*
|
|
18747
18726
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
|
|
18748
18727
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
|
|
@@ -18756,7 +18735,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
18756
18735
|
__pyx_t_1 = 0;
|
|
18757
18736
|
goto __pyx_L0;
|
|
18758
18737
|
|
|
18759
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18738
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789
|
|
18760
18739
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
18761
18740
|
*
|
|
18762
18741
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -18775,7 +18754,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
18775
18754
|
return __pyx_r;
|
|
18776
18755
|
}
|
|
18777
18756
|
|
|
18778
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18757
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":792
|
|
18779
18758
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
18780
18759
|
*
|
|
18781
18760
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -18787,9 +18766,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18787
18766
|
PyObject *__pyx_r = NULL;
|
|
18788
18767
|
__Pyx_RefNannyDeclarations
|
|
18789
18768
|
int __pyx_t_1;
|
|
18790
|
-
__Pyx_RefNannySetupContext("PyDataType_SHAPE",
|
|
18769
|
+
__Pyx_RefNannySetupContext("PyDataType_SHAPE", 1);
|
|
18791
18770
|
|
|
18792
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18771
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":793
|
|
18793
18772
|
*
|
|
18794
18773
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
18795
18774
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -18799,7 +18778,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18799
18778
|
__pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
|
|
18800
18779
|
if (__pyx_t_1) {
|
|
18801
18780
|
|
|
18802
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18781
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":794
|
|
18803
18782
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
18804
18783
|
* if PyDataType_HASSUBARRAY(d):
|
|
18805
18784
|
* return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
|
|
@@ -18811,7 +18790,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18811
18790
|
__pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
|
|
18812
18791
|
goto __pyx_L0;
|
|
18813
18792
|
|
|
18814
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18793
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":793
|
|
18815
18794
|
*
|
|
18816
18795
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
18817
18796
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -18820,7 +18799,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18820
18799
|
*/
|
|
18821
18800
|
}
|
|
18822
18801
|
|
|
18823
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18802
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":796
|
|
18824
18803
|
* return <tuple>d.subarray.shape
|
|
18825
18804
|
* else:
|
|
18826
18805
|
* return () # <<<<<<<<<<<<<<
|
|
@@ -18834,7 +18813,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18834
18813
|
goto __pyx_L0;
|
|
18835
18814
|
}
|
|
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":792
|
|
18838
18817
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
18839
18818
|
*
|
|
18840
18819
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -18849,7 +18828,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18849
18828
|
return __pyx_r;
|
|
18850
18829
|
}
|
|
18851
18830
|
|
|
18852
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18831
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":971
|
|
18853
18832
|
* int _import_umath() except -1
|
|
18854
18833
|
*
|
|
18855
18834
|
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
|
|
@@ -18858,10 +18837,8 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18858
18837
|
*/
|
|
18859
18838
|
|
|
18860
18839
|
static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
|
|
18861
|
-
__Pyx_RefNannyDeclarations
|
|
18862
|
-
__Pyx_RefNannySetupContext("set_array_base", 0);
|
|
18863
18840
|
|
|
18864
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18841
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":972
|
|
18865
18842
|
*
|
|
18866
18843
|
* cdef inline void set_array_base(ndarray arr, object base):
|
|
18867
18844
|
* Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
|
|
@@ -18870,7 +18847,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
18870
18847
|
*/
|
|
18871
18848
|
Py_INCREF(__pyx_v_base);
|
|
18872
18849
|
|
|
18873
|
-
/* "../../../../../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":973
|
|
18874
18851
|
* cdef inline void set_array_base(ndarray arr, object base):
|
|
18875
18852
|
* Py_INCREF(base) # important to do this before stealing the reference below!
|
|
18876
18853
|
* PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
|
|
@@ -18879,7 +18856,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
18879
18856
|
*/
|
|
18880
18857
|
(void)(PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base));
|
|
18881
18858
|
|
|
18882
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18859
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":971
|
|
18883
18860
|
* int _import_umath() except -1
|
|
18884
18861
|
*
|
|
18885
18862
|
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
|
|
@@ -18888,10 +18865,9 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
18888
18865
|
*/
|
|
18889
18866
|
|
|
18890
18867
|
/* function exit code */
|
|
18891
|
-
__Pyx_RefNannyFinishContext();
|
|
18892
18868
|
}
|
|
18893
18869
|
|
|
18894
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18870
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":975
|
|
18895
18871
|
* PyArray_SetBaseObject(arr, base)
|
|
18896
18872
|
*
|
|
18897
18873
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -18904,9 +18880,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18904
18880
|
PyObject *__pyx_r = NULL;
|
|
18905
18881
|
__Pyx_RefNannyDeclarations
|
|
18906
18882
|
int __pyx_t_1;
|
|
18907
|
-
__Pyx_RefNannySetupContext("get_array_base",
|
|
18883
|
+
__Pyx_RefNannySetupContext("get_array_base", 1);
|
|
18908
18884
|
|
|
18909
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18885
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":976
|
|
18910
18886
|
*
|
|
18911
18887
|
* cdef inline object get_array_base(ndarray arr):
|
|
18912
18888
|
* base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
|
|
@@ -18915,7 +18891,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18915
18891
|
*/
|
|
18916
18892
|
__pyx_v_base = PyArray_BASE(__pyx_v_arr);
|
|
18917
18893
|
|
|
18918
|
-
/* "../../../../../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":977
|
|
18919
18895
|
* cdef inline object get_array_base(ndarray arr):
|
|
18920
18896
|
* base = PyArray_BASE(arr)
|
|
18921
18897
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -18925,7 +18901,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18925
18901
|
__pyx_t_1 = (__pyx_v_base == NULL);
|
|
18926
18902
|
if (__pyx_t_1) {
|
|
18927
18903
|
|
|
18928
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18904
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":978
|
|
18929
18905
|
* base = PyArray_BASE(arr)
|
|
18930
18906
|
* if base is NULL:
|
|
18931
18907
|
* return None # <<<<<<<<<<<<<<
|
|
@@ -18936,7 +18912,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18936
18912
|
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
|
|
18937
18913
|
goto __pyx_L0;
|
|
18938
18914
|
|
|
18939
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18915
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":977
|
|
18940
18916
|
* cdef inline object get_array_base(ndarray arr):
|
|
18941
18917
|
* base = PyArray_BASE(arr)
|
|
18942
18918
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -18945,7 +18921,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18945
18921
|
*/
|
|
18946
18922
|
}
|
|
18947
18923
|
|
|
18948
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18924
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":979
|
|
18949
18925
|
* if base is NULL:
|
|
18950
18926
|
* return None
|
|
18951
18927
|
* return <object>base # <<<<<<<<<<<<<<
|
|
@@ -18957,7 +18933,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18957
18933
|
__pyx_r = ((PyObject *)__pyx_v_base);
|
|
18958
18934
|
goto __pyx_L0;
|
|
18959
18935
|
|
|
18960
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18936
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":975
|
|
18961
18937
|
* PyArray_SetBaseObject(arr, base)
|
|
18962
18938
|
*
|
|
18963
18939
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -18972,7 +18948,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18972
18948
|
return __pyx_r;
|
|
18973
18949
|
}
|
|
18974
18950
|
|
|
18975
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18951
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":983
|
|
18976
18952
|
* # Versions of the import_* functions which are more suitable for
|
|
18977
18953
|
* # Cython code.
|
|
18978
18954
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -18994,9 +18970,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18994
18970
|
int __pyx_lineno = 0;
|
|
18995
18971
|
const char *__pyx_filename = NULL;
|
|
18996
18972
|
int __pyx_clineno = 0;
|
|
18997
|
-
__Pyx_RefNannySetupContext("import_array",
|
|
18973
|
+
__Pyx_RefNannySetupContext("import_array", 1);
|
|
18998
18974
|
|
|
18999
|
-
/* "../../../../../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":984
|
|
19000
18976
|
* # Cython code.
|
|
19001
18977
|
* cdef inline int import_array() except -1:
|
|
19002
18978
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19012,7 +18988,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19012
18988
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
19013
18989
|
/*try:*/ {
|
|
19014
18990
|
|
|
19015
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
18991
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":985
|
|
19016
18992
|
* cdef inline int import_array() except -1:
|
|
19017
18993
|
* try:
|
|
19018
18994
|
* __pyx_import_array() # <<<<<<<<<<<<<<
|
|
@@ -19021,7 +18997,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19021
18997
|
*/
|
|
19022
18998
|
__pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 985, __pyx_L3_error)
|
|
19023
18999
|
|
|
19024
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19000
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
|
|
19025
19001
|
* # Cython code.
|
|
19026
19002
|
* cdef inline int import_array() except -1:
|
|
19027
19003
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19035,7 +19011,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19035
19011
|
goto __pyx_L8_try_end;
|
|
19036
19012
|
__pyx_L3_error:;
|
|
19037
19013
|
|
|
19038
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19014
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":986
|
|
19039
19015
|
* try:
|
|
19040
19016
|
* __pyx_import_array()
|
|
19041
19017
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -19050,7 +19026,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19050
19026
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
19051
19027
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
19052
19028
|
|
|
19053
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19029
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987
|
|
19054
19030
|
* __pyx_import_array()
|
|
19055
19031
|
* except Exception:
|
|
19056
19032
|
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -19065,7 +19041,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19065
19041
|
}
|
|
19066
19042
|
goto __pyx_L5_except_error;
|
|
19067
19043
|
|
|
19068
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19044
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
|
|
19069
19045
|
* # Cython code.
|
|
19070
19046
|
* cdef inline int import_array() except -1:
|
|
19071
19047
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19081,7 +19057,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19081
19057
|
__pyx_L8_try_end:;
|
|
19082
19058
|
}
|
|
19083
19059
|
|
|
19084
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19060
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":983
|
|
19085
19061
|
* # Versions of the import_* functions which are more suitable for
|
|
19086
19062
|
* # Cython code.
|
|
19087
19063
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19104,7 +19080,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
19104
19080
|
return __pyx_r;
|
|
19105
19081
|
}
|
|
19106
19082
|
|
|
19107
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19083
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":989
|
|
19108
19084
|
* raise ImportError("numpy.core.multiarray failed to import")
|
|
19109
19085
|
*
|
|
19110
19086
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19126,9 +19102,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19126
19102
|
int __pyx_lineno = 0;
|
|
19127
19103
|
const char *__pyx_filename = NULL;
|
|
19128
19104
|
int __pyx_clineno = 0;
|
|
19129
|
-
__Pyx_RefNannySetupContext("import_umath",
|
|
19105
|
+
__Pyx_RefNannySetupContext("import_umath", 1);
|
|
19130
19106
|
|
|
19131
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19107
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
|
|
19132
19108
|
*
|
|
19133
19109
|
* cdef inline int import_umath() except -1:
|
|
19134
19110
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19144,7 +19120,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19144
19120
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
19145
19121
|
/*try:*/ {
|
|
19146
19122
|
|
|
19147
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19123
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":991
|
|
19148
19124
|
* cdef inline int import_umath() except -1:
|
|
19149
19125
|
* try:
|
|
19150
19126
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -19153,7 +19129,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19153
19129
|
*/
|
|
19154
19130
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 991, __pyx_L3_error)
|
|
19155
19131
|
|
|
19156
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19132
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
|
|
19157
19133
|
*
|
|
19158
19134
|
* cdef inline int import_umath() except -1:
|
|
19159
19135
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19167,7 +19143,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19167
19143
|
goto __pyx_L8_try_end;
|
|
19168
19144
|
__pyx_L3_error:;
|
|
19169
19145
|
|
|
19170
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19146
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":992
|
|
19171
19147
|
* try:
|
|
19172
19148
|
* _import_umath()
|
|
19173
19149
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -19182,7 +19158,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19182
19158
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
19183
19159
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
19184
19160
|
|
|
19185
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19161
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993
|
|
19186
19162
|
* _import_umath()
|
|
19187
19163
|
* except Exception:
|
|
19188
19164
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -19197,7 +19173,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19197
19173
|
}
|
|
19198
19174
|
goto __pyx_L5_except_error;
|
|
19199
19175
|
|
|
19200
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19176
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
|
|
19201
19177
|
*
|
|
19202
19178
|
* cdef inline int import_umath() except -1:
|
|
19203
19179
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19213,7 +19189,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19213
19189
|
__pyx_L8_try_end:;
|
|
19214
19190
|
}
|
|
19215
19191
|
|
|
19216
|
-
/* "../../../../../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":989
|
|
19217
19193
|
* raise ImportError("numpy.core.multiarray failed to import")
|
|
19218
19194
|
*
|
|
19219
19195
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19236,7 +19212,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
19236
19212
|
return __pyx_r;
|
|
19237
19213
|
}
|
|
19238
19214
|
|
|
19239
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19215
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":995
|
|
19240
19216
|
* raise ImportError("numpy.core.umath failed to import")
|
|
19241
19217
|
*
|
|
19242
19218
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19258,9 +19234,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19258
19234
|
int __pyx_lineno = 0;
|
|
19259
19235
|
const char *__pyx_filename = NULL;
|
|
19260
19236
|
int __pyx_clineno = 0;
|
|
19261
|
-
__Pyx_RefNannySetupContext("import_ufunc",
|
|
19237
|
+
__Pyx_RefNannySetupContext("import_ufunc", 1);
|
|
19262
19238
|
|
|
19263
|
-
/* "../../../../../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":996
|
|
19264
19240
|
*
|
|
19265
19241
|
* cdef inline int import_ufunc() except -1:
|
|
19266
19242
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19276,7 +19252,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19276
19252
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
19277
19253
|
/*try:*/ {
|
|
19278
19254
|
|
|
19279
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19255
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":997
|
|
19280
19256
|
* cdef inline int import_ufunc() except -1:
|
|
19281
19257
|
* try:
|
|
19282
19258
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -19285,7 +19261,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19285
19261
|
*/
|
|
19286
19262
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 997, __pyx_L3_error)
|
|
19287
19263
|
|
|
19288
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19264
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
|
|
19289
19265
|
*
|
|
19290
19266
|
* cdef inline int import_ufunc() except -1:
|
|
19291
19267
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19299,7 +19275,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19299
19275
|
goto __pyx_L8_try_end;
|
|
19300
19276
|
__pyx_L3_error:;
|
|
19301
19277
|
|
|
19302
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19278
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":998
|
|
19303
19279
|
* try:
|
|
19304
19280
|
* _import_umath()
|
|
19305
19281
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -19314,7 +19290,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19314
19290
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
19315
19291
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
19316
19292
|
|
|
19317
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19293
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":999
|
|
19318
19294
|
* _import_umath()
|
|
19319
19295
|
* except Exception:
|
|
19320
19296
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -19329,7 +19305,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19329
19305
|
}
|
|
19330
19306
|
goto __pyx_L5_except_error;
|
|
19331
19307
|
|
|
19332
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19308
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
|
|
19333
19309
|
*
|
|
19334
19310
|
* cdef inline int import_ufunc() except -1:
|
|
19335
19311
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -19345,7 +19321,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19345
19321
|
__pyx_L8_try_end:;
|
|
19346
19322
|
}
|
|
19347
19323
|
|
|
19348
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19324
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":995
|
|
19349
19325
|
* raise ImportError("numpy.core.umath failed to import")
|
|
19350
19326
|
*
|
|
19351
19327
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -19368,7 +19344,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19368
19344
|
return __pyx_r;
|
|
19369
19345
|
}
|
|
19370
19346
|
|
|
19371
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19347
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1002
|
|
19372
19348
|
*
|
|
19373
19349
|
*
|
|
19374
19350
|
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19378,10 +19354,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
19378
19354
|
|
|
19379
19355
|
static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
|
|
19380
19356
|
int __pyx_r;
|
|
19381
|
-
__Pyx_RefNannyDeclarations
|
|
19382
|
-
__Pyx_RefNannySetupContext("is_timedelta64_object", 0);
|
|
19383
19357
|
|
|
19384
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19358
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1014
|
|
19385
19359
|
* bool
|
|
19386
19360
|
* """
|
|
19387
19361
|
* return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -19391,7 +19365,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
19391
19365
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
|
|
19392
19366
|
goto __pyx_L0;
|
|
19393
19367
|
|
|
19394
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19368
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1002
|
|
19395
19369
|
*
|
|
19396
19370
|
*
|
|
19397
19371
|
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19401,11 +19375,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
19401
19375
|
|
|
19402
19376
|
/* function exit code */
|
|
19403
19377
|
__pyx_L0:;
|
|
19404
|
-
__Pyx_RefNannyFinishContext();
|
|
19405
19378
|
return __pyx_r;
|
|
19406
19379
|
}
|
|
19407
19380
|
|
|
19408
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19381
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1017
|
|
19409
19382
|
*
|
|
19410
19383
|
*
|
|
19411
19384
|
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19415,10 +19388,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
19415
19388
|
|
|
19416
19389
|
static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
|
|
19417
19390
|
int __pyx_r;
|
|
19418
|
-
__Pyx_RefNannyDeclarations
|
|
19419
|
-
__Pyx_RefNannySetupContext("is_datetime64_object", 0);
|
|
19420
19391
|
|
|
19421
|
-
/* "../../../../../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":1029
|
|
19422
19393
|
* bool
|
|
19423
19394
|
* """
|
|
19424
19395
|
* return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -19428,7 +19399,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19428
19399
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
|
|
19429
19400
|
goto __pyx_L0;
|
|
19430
19401
|
|
|
19431
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19402
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1017
|
|
19432
19403
|
*
|
|
19433
19404
|
*
|
|
19434
19405
|
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19438,11 +19409,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19438
19409
|
|
|
19439
19410
|
/* function exit code */
|
|
19440
19411
|
__pyx_L0:;
|
|
19441
|
-
__Pyx_RefNannyFinishContext();
|
|
19442
19412
|
return __pyx_r;
|
|
19443
19413
|
}
|
|
19444
19414
|
|
|
19445
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19415
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1032
|
|
19446
19416
|
*
|
|
19447
19417
|
*
|
|
19448
19418
|
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19453,7 +19423,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19453
19423
|
static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
|
|
19454
19424
|
npy_datetime __pyx_r;
|
|
19455
19425
|
|
|
19456
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19426
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1039
|
|
19457
19427
|
* also needed. That can be found using `get_datetime64_unit`.
|
|
19458
19428
|
* """
|
|
19459
19429
|
* return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -19463,7 +19433,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19463
19433
|
__pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
|
|
19464
19434
|
goto __pyx_L0;
|
|
19465
19435
|
|
|
19466
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19436
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1032
|
|
19467
19437
|
*
|
|
19468
19438
|
*
|
|
19469
19439
|
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19476,7 +19446,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19476
19446
|
return __pyx_r;
|
|
19477
19447
|
}
|
|
19478
19448
|
|
|
19479
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19449
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1042
|
|
19480
19450
|
*
|
|
19481
19451
|
*
|
|
19482
19452
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19487,7 +19457,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19487
19457
|
static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
|
|
19488
19458
|
npy_timedelta __pyx_r;
|
|
19489
19459
|
|
|
19490
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19460
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1046
|
|
19491
19461
|
* returns the int64 value underlying scalar numpy timedelta64 object
|
|
19492
19462
|
* """
|
|
19493
19463
|
* return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -19497,7 +19467,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19497
19467
|
__pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
|
|
19498
19468
|
goto __pyx_L0;
|
|
19499
19469
|
|
|
19500
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19470
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1042
|
|
19501
19471
|
*
|
|
19502
19472
|
*
|
|
19503
19473
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19510,7 +19480,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19510
19480
|
return __pyx_r;
|
|
19511
19481
|
}
|
|
19512
19482
|
|
|
19513
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19483
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049
|
|
19514
19484
|
*
|
|
19515
19485
|
*
|
|
19516
19486
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19521,7 +19491,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19521
19491
|
static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
|
|
19522
19492
|
NPY_DATETIMEUNIT __pyx_r;
|
|
19523
19493
|
|
|
19524
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19494
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1053
|
|
19525
19495
|
* returns the unit part of the dtype for a numpy datetime64 object.
|
|
19526
19496
|
* """
|
|
19527
19497
|
* return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
|
|
@@ -19529,7 +19499,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
19529
19499
|
__pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
|
|
19530
19500
|
goto __pyx_L0;
|
|
19531
19501
|
|
|
19532
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
19502
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049
|
|
19533
19503
|
*
|
|
19534
19504
|
*
|
|
19535
19505
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19584,8 +19554,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
19584
19554
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
19585
19555
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
19586
19556
|
#else
|
|
19587
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
19588
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 24, __pyx_L3_error)
|
|
19557
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
19589
19558
|
#endif
|
|
19590
19559
|
#endif
|
|
19591
19560
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -19648,10 +19617,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
19648
19617
|
__pyx_v_codec = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_codec == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 24, __pyx_L3_error)
|
|
19649
19618
|
__pyx_v_param = __Pyx_PyInt_As_int(values[2]); if (unlikely((__pyx_v_param == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 24, __pyx_L3_error)
|
|
19650
19619
|
}
|
|
19651
|
-
goto
|
|
19620
|
+
goto __pyx_L6_skip;
|
|
19652
19621
|
__pyx_L5_argtuple_error:;
|
|
19653
19622
|
__Pyx_RaiseArgtupleInvalid("encode_array", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 24, __pyx_L3_error)
|
|
19654
|
-
|
|
19623
|
+
__pyx_L6_skip:;
|
|
19624
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
19655
19625
|
__pyx_L3_error:;
|
|
19656
19626
|
{
|
|
19657
19627
|
Py_ssize_t __pyx_temp;
|
|
@@ -19794,7 +19764,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
19794
19764
|
}
|
|
19795
19765
|
#endif
|
|
19796
19766
|
{
|
|
19797
|
-
PyObject *__pyx_callargs[
|
|
19767
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
|
|
19798
19768
|
__pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
19799
19769
|
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
19800
19770
|
if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 28, __pyx_L1_error)
|
|
@@ -19896,7 +19866,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
19896
19866
|
}
|
|
19897
19867
|
#endif
|
|
19898
19868
|
{
|
|
19899
|
-
PyObject *__pyx_callargs[
|
|
19869
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
|
|
19900
19870
|
__pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
19901
19871
|
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
19902
19872
|
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 32, __pyx_L1_error)
|
|
@@ -19998,7 +19968,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
19998
19968
|
}
|
|
19999
19969
|
#endif
|
|
20000
19970
|
{
|
|
20001
|
-
PyObject *__pyx_callargs[
|
|
19971
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
|
|
20002
19972
|
__pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
20003
19973
|
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
20004
19974
|
if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 36, __pyx_L1_error)
|
|
@@ -20100,7 +20070,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
20100
20070
|
}
|
|
20101
20071
|
#endif
|
|
20102
20072
|
{
|
|
20103
|
-
PyObject *__pyx_callargs[
|
|
20073
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
|
|
20104
20074
|
__pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
20105
20075
|
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
20106
20076
|
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 40, __pyx_L1_error)
|
|
@@ -20230,7 +20200,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
20230
20200
|
}
|
|
20231
20201
|
#endif
|
|
20232
20202
|
{
|
|
20233
|
-
PyObject *__pyx_callargs[
|
|
20203
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
|
|
20234
20204
|
__pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
20235
20205
|
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
20236
20206
|
if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 45, __pyx_L1_error)
|
|
@@ -20381,7 +20351,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
20381
20351
|
}
|
|
20382
20352
|
#endif
|
|
20383
20353
|
{
|
|
20384
|
-
PyObject *__pyx_callargs[
|
|
20354
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL};
|
|
20385
20355
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
20386
20356
|
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
20387
20357
|
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 50, __pyx_L1_error)
|
|
@@ -20508,7 +20478,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
20508
20478
|
}
|
|
20509
20479
|
#endif
|
|
20510
20480
|
{
|
|
20511
|
-
PyObject *__pyx_callargs[
|
|
20481
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL};
|
|
20512
20482
|
__pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
20513
20483
|
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
20514
20484
|
if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 54, __pyx_L1_error)
|
|
@@ -20660,7 +20630,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
20660
20630
|
}
|
|
20661
20631
|
#endif
|
|
20662
20632
|
{
|
|
20663
|
-
PyObject *__pyx_callargs[
|
|
20633
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL};
|
|
20664
20634
|
__pyx_t_8 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
20665
20635
|
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
20666
20636
|
if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 58, __pyx_L1_error)
|
|
@@ -20870,7 +20840,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
20870
20840
|
}
|
|
20871
20841
|
#endif
|
|
20872
20842
|
{
|
|
20873
|
-
PyObject *__pyx_callargs[
|
|
20843
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL};
|
|
20874
20844
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
20875
20845
|
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
20876
20846
|
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 64, __pyx_L1_error)
|
|
@@ -21113,7 +21083,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
21113
21083
|
}
|
|
21114
21084
|
#endif
|
|
21115
21085
|
{
|
|
21116
|
-
PyObject *__pyx_callargs[
|
|
21086
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL};
|
|
21117
21087
|
__pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
21118
21088
|
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
21119
21089
|
if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 73, __pyx_L1_error)
|
|
@@ -21243,7 +21213,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
21243
21213
|
}
|
|
21244
21214
|
#endif
|
|
21245
21215
|
{
|
|
21246
|
-
PyObject *__pyx_callargs[
|
|
21216
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL};
|
|
21247
21217
|
__pyx_t_8 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
21248
21218
|
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
21249
21219
|
if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 77, __pyx_L1_error)
|
|
@@ -21453,7 +21423,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
21453
21423
|
}
|
|
21454
21424
|
#endif
|
|
21455
21425
|
{
|
|
21456
|
-
PyObject *__pyx_callargs[
|
|
21426
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL};
|
|
21457
21427
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
21458
21428
|
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
21459
21429
|
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 83, __pyx_L1_error)
|
|
@@ -21663,7 +21633,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
21663
21633
|
}
|
|
21664
21634
|
#endif
|
|
21665
21635
|
{
|
|
21666
|
-
PyObject *__pyx_callargs[
|
|
21636
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL};
|
|
21667
21637
|
__pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
21668
21638
|
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
21669
21639
|
if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 89, __pyx_L1_error)
|
|
@@ -21790,7 +21760,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
21790
21760
|
}
|
|
21791
21761
|
#endif
|
|
21792
21762
|
{
|
|
21793
|
-
PyObject *__pyx_callargs[
|
|
21763
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL};
|
|
21794
21764
|
__pyx_t_8 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
21795
21765
|
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
21796
21766
|
if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 93, __pyx_L1_error)
|
|
@@ -21917,7 +21887,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_encode_array(CYT
|
|
|
21917
21887
|
}
|
|
21918
21888
|
#endif
|
|
21919
21889
|
{
|
|
21920
|
-
PyObject *__pyx_callargs[
|
|
21890
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL};
|
|
21921
21891
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
|
|
21922
21892
|
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
21923
21893
|
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 97, __pyx_L1_error)
|
|
@@ -22030,8 +22000,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
22030
22000
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
22031
22001
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
22032
22002
|
#else
|
|
22033
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
22034
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 102, __pyx_L3_error)
|
|
22003
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
22035
22004
|
#endif
|
|
22036
22005
|
#endif
|
|
22037
22006
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -22066,10 +22035,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
22066
22035
|
}
|
|
22067
22036
|
__pyx_v_array = __Pyx_PyObject_to_MemoryviewSlice_ds_nn___pyx_t_7biotite_9structure_2io_4mmtf_6encode_int32(values[0], PyBUF_WRITABLE); if (unlikely(!__pyx_v_array.memview)) __PYX_ERR(0, 102, __pyx_L3_error)
|
|
22068
22037
|
}
|
|
22069
|
-
goto
|
|
22038
|
+
goto __pyx_L6_skip;
|
|
22070
22039
|
__pyx_L5_argtuple_error:;
|
|
22071
22040
|
__Pyx_RaiseArgtupleInvalid("_encode_delta", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 102, __pyx_L3_error)
|
|
22072
|
-
|
|
22041
|
+
__pyx_L6_skip:;
|
|
22042
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
22073
22043
|
__pyx_L3_error:;
|
|
22074
22044
|
{
|
|
22075
22045
|
Py_ssize_t __pyx_temp;
|
|
@@ -22117,7 +22087,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_2_encode_delta(C
|
|
|
22117
22087
|
int __pyx_lineno = 0;
|
|
22118
22088
|
const char *__pyx_filename = NULL;
|
|
22119
22089
|
int __pyx_clineno = 0;
|
|
22120
|
-
__Pyx_RefNannySetupContext("_encode_delta",
|
|
22090
|
+
__Pyx_RefNannySetupContext("_encode_delta", 1);
|
|
22121
22091
|
|
|
22122
22092
|
/* "biotite/structure/io/mmtf/encode.pyx":103
|
|
22123
22093
|
*
|
|
@@ -22365,8 +22335,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
22365
22335
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
22366
22336
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
22367
22337
|
#else
|
|
22368
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
22369
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 111, __pyx_L3_error)
|
|
22338
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
22370
22339
|
#endif
|
|
22371
22340
|
#endif
|
|
22372
22341
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -22401,10 +22370,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
22401
22370
|
}
|
|
22402
22371
|
__pyx_v_array = __Pyx_PyObject_to_MemoryviewSlice_ds_nn___pyx_t_7biotite_9structure_2io_4mmtf_6encode_int32(values[0], PyBUF_WRITABLE); if (unlikely(!__pyx_v_array.memview)) __PYX_ERR(0, 111, __pyx_L3_error)
|
|
22403
22372
|
}
|
|
22404
|
-
goto
|
|
22373
|
+
goto __pyx_L6_skip;
|
|
22405
22374
|
__pyx_L5_argtuple_error:;
|
|
22406
22375
|
__Pyx_RaiseArgtupleInvalid("_encode_run_length", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 111, __pyx_L3_error)
|
|
22407
|
-
|
|
22376
|
+
__pyx_L6_skip:;
|
|
22377
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
22408
22378
|
__pyx_L3_error:;
|
|
22409
22379
|
{
|
|
22410
22380
|
Py_ssize_t __pyx_temp;
|
|
@@ -22455,7 +22425,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_4_encode_run_len
|
|
|
22455
22425
|
int __pyx_lineno = 0;
|
|
22456
22426
|
const char *__pyx_filename = NULL;
|
|
22457
22427
|
int __pyx_clineno = 0;
|
|
22458
|
-
__Pyx_RefNannySetupContext("_encode_run_length",
|
|
22428
|
+
__Pyx_RefNannySetupContext("_encode_run_length", 1);
|
|
22459
22429
|
|
|
22460
22430
|
/* "biotite/structure/io/mmtf/encode.pyx":114
|
|
22461
22431
|
* # Pessimistic allocation of output array
|
|
@@ -22821,8 +22791,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
22821
22791
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
22822
22792
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
22823
22793
|
#else
|
|
22824
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
22825
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 138, __pyx_L3_error)
|
|
22794
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
22826
22795
|
#endif
|
|
22827
22796
|
#endif
|
|
22828
22797
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -22871,10 +22840,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
22871
22840
|
__pyx_v_two_byte = __Pyx_PyObject_IsTrue(values[0]); if (unlikely((__pyx_v_two_byte == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 139, __pyx_L3_error)
|
|
22872
22841
|
__pyx_v_array = __Pyx_PyObject_to_MemoryviewSlice_ds_nn___pyx_t_7biotite_9structure_2io_4mmtf_6encode_int32(values[1], PyBUF_WRITABLE); if (unlikely(!__pyx_v_array.memview)) __PYX_ERR(0, 139, __pyx_L3_error)
|
|
22873
22842
|
}
|
|
22874
|
-
goto
|
|
22843
|
+
goto __pyx_L6_skip;
|
|
22875
22844
|
__pyx_L5_argtuple_error:;
|
|
22876
22845
|
__Pyx_RaiseArgtupleInvalid("_encode_packed", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 138, __pyx_L3_error)
|
|
22877
|
-
|
|
22846
|
+
__pyx_L6_skip:;
|
|
22847
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
22878
22848
|
__pyx_L3_error:;
|
|
22879
22849
|
{
|
|
22880
22850
|
Py_ssize_t __pyx_temp;
|
|
@@ -22927,7 +22897,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_6_encode_packed(
|
|
|
22927
22897
|
int __pyx_lineno = 0;
|
|
22928
22898
|
const char *__pyx_filename = NULL;
|
|
22929
22899
|
int __pyx_clineno = 0;
|
|
22930
|
-
__Pyx_RefNannySetupContext("_encode_packed",
|
|
22900
|
+
__Pyx_RefNannySetupContext("_encode_packed", 1);
|
|
22931
22901
|
|
|
22932
22902
|
/* "biotite/structure/io/mmtf/encode.pyx":141
|
|
22933
22903
|
* def _encode_packed(bint two_byte, int32[:] array):
|
|
@@ -23613,8 +23583,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
23613
23583
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
23614
23584
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
23615
23585
|
#else
|
|
23616
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
23617
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 182, __pyx_L3_error)
|
|
23586
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
23618
23587
|
#endif
|
|
23619
23588
|
#endif
|
|
23620
23589
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -23663,10 +23632,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
23663
23632
|
__pyx_v_divisor = __Pyx_PyInt_As_int(values[0]); if (unlikely((__pyx_v_divisor == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 182, __pyx_L3_error)
|
|
23664
23633
|
__pyx_v_array = ((PyArrayObject *)values[1]);
|
|
23665
23634
|
}
|
|
23666
|
-
goto
|
|
23635
|
+
goto __pyx_L6_skip;
|
|
23667
23636
|
__pyx_L5_argtuple_error:;
|
|
23668
23637
|
__Pyx_RaiseArgtupleInvalid("_encode_integer", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 182, __pyx_L3_error)
|
|
23669
|
-
|
|
23638
|
+
__pyx_L6_skip:;
|
|
23639
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
23670
23640
|
__pyx_L3_error:;
|
|
23671
23641
|
{
|
|
23672
23642
|
Py_ssize_t __pyx_temp;
|
|
@@ -23707,7 +23677,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6encode_8_encode_integer
|
|
|
23707
23677
|
int __pyx_lineno = 0;
|
|
23708
23678
|
const char *__pyx_filename = NULL;
|
|
23709
23679
|
int __pyx_clineno = 0;
|
|
23710
|
-
__Pyx_RefNannySetupContext("_encode_integer",
|
|
23680
|
+
__Pyx_RefNannySetupContext("_encode_integer", 1);
|
|
23711
23681
|
|
|
23712
23682
|
/* "biotite/structure/io/mmtf/encode.pyx":183
|
|
23713
23683
|
*
|
|
@@ -24968,7 +24938,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
|
|
|
24968
24938
|
__Pyx_GOTREF(__pyx_tuple__8);
|
|
24969
24939
|
__Pyx_GIVEREF(__pyx_tuple__8);
|
|
24970
24940
|
|
|
24971
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
24941
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987
|
|
24972
24942
|
* __pyx_import_array()
|
|
24973
24943
|
* except Exception:
|
|
24974
24944
|
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -24979,7 +24949,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
|
|
|
24979
24949
|
__Pyx_GOTREF(__pyx_tuple__9);
|
|
24980
24950
|
__Pyx_GIVEREF(__pyx_tuple__9);
|
|
24981
24951
|
|
|
24982
|
-
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-
|
|
24952
|
+
/* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993
|
|
24983
24953
|
* _import_umath()
|
|
24984
24954
|
* except Exception:
|
|
24985
24955
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -25418,33 +25388,33 @@ static int __Pyx_modinit_type_import_code(void) {
|
|
|
25418
25388
|
/*--- Type import code ---*/
|
|
25419
25389
|
__pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 9, __pyx_L1_error)
|
|
25420
25390
|
__Pyx_GOTREF(__pyx_t_1);
|
|
25421
|
-
__pyx_ptype_7cpython_4type_type =
|
|
25391
|
+
__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_10(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
|
|
25422
25392
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
25423
|
-
sizeof(PyTypeObject),
|
|
25393
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
|
|
25424
25394
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
25425
|
-
sizeof(PyTypeObject),
|
|
25395
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
|
|
25426
25396
|
#else
|
|
25427
|
-
sizeof(PyHeapTypeObject),
|
|
25397
|
+
sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyHeapTypeObject),
|
|
25428
25398
|
#endif
|
|
25429
|
-
|
|
25399
|
+
__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
|
|
25430
25400
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
25431
25401
|
__pyx_t_1 = PyImport_ImportModule("numpy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 203, __pyx_L1_error)
|
|
25432
25402
|
__Pyx_GOTREF(__pyx_t_1);
|
|
25433
|
-
__pyx_ptype_5numpy_dtype =
|
|
25434
|
-
__pyx_ptype_5numpy_flatiter =
|
|
25435
|
-
__pyx_ptype_5numpy_broadcast =
|
|
25436
|
-
__pyx_ptype_5numpy_ndarray =
|
|
25437
|
-
__pyx_ptype_5numpy_generic =
|
|
25438
|
-
__pyx_ptype_5numpy_number =
|
|
25439
|
-
__pyx_ptype_5numpy_integer =
|
|
25440
|
-
__pyx_ptype_5numpy_signedinteger =
|
|
25441
|
-
__pyx_ptype_5numpy_unsignedinteger =
|
|
25442
|
-
__pyx_ptype_5numpy_inexact =
|
|
25443
|
-
__pyx_ptype_5numpy_floating =
|
|
25444
|
-
__pyx_ptype_5numpy_complexfloating =
|
|
25445
|
-
__pyx_ptype_5numpy_flexible =
|
|
25446
|
-
__pyx_ptype_5numpy_character =
|
|
25447
|
-
__pyx_ptype_5numpy_ufunc =
|
|
25403
|
+
__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)
|
|
25404
|
+
__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)
|
|
25405
|
+
__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)
|
|
25406
|
+
__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)
|
|
25407
|
+
__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)
|
|
25408
|
+
__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)
|
|
25409
|
+
__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)
|
|
25410
|
+
__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)
|
|
25411
|
+
__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)
|
|
25412
|
+
__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)
|
|
25413
|
+
__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)
|
|
25414
|
+
__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)
|
|
25415
|
+
__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)
|
|
25416
|
+
__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)
|
|
25417
|
+
__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)
|
|
25448
25418
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
25449
25419
|
__Pyx_RefNannyFinishContext();
|
|
25450
25420
|
return 0;
|
|
@@ -25664,7 +25634,7 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_encode(PyObject *__pyx_pyinit_modu
|
|
|
25664
25634
|
__pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25665
25635
|
{
|
|
25666
25636
|
int add_module_result = PyState_AddModule(__pyx_t_1, &__pyx_moduledef);
|
|
25667
|
-
__pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to encode pseudovariable */
|
|
25637
|
+
__pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "encode" pseudovariable */
|
|
25668
25638
|
if (unlikely((add_module_result < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25669
25639
|
pystate_addmodule_run = 1;
|
|
25670
25640
|
}
|
|
@@ -25676,10 +25646,8 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_encode(PyObject *__pyx_pyinit_modu
|
|
|
25676
25646
|
CYTHON_UNUSED_VAR(__pyx_t_1);
|
|
25677
25647
|
__pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25678
25648
|
Py_INCREF(__pyx_d);
|
|
25679
|
-
__pyx_b =
|
|
25680
|
-
|
|
25681
|
-
__pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25682
|
-
Py_INCREF(__pyx_cython_runtime);
|
|
25649
|
+
__pyx_b = __Pyx_PyImport_AddModuleRef(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25650
|
+
__pyx_cython_runtime = __Pyx_PyImport_AddModuleRef((const char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25683
25651
|
if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25684
25652
|
#if CYTHON_REFNANNY
|
|
25685
25653
|
__Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
|
|
@@ -25691,7 +25659,7 @@ if (!__Pyx_RefNanny) {
|
|
|
25691
25659
|
}
|
|
25692
25660
|
#endif
|
|
25693
25661
|
__Pyx_RefNannySetupContext("__Pyx_PyMODINIT_FUNC PyInit_encode(void)", 0);
|
|
25694
|
-
if (__Pyx_check_binary_version() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25662
|
+
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)
|
|
25695
25663
|
#ifdef __Pxy_PyFrame_Initialize_Offsets
|
|
25696
25664
|
__Pxy_PyFrame_Initialize_Offsets();
|
|
25697
25665
|
#endif
|
|
@@ -26511,6 +26479,8 @@ static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObjec
|
|
|
26511
26479
|
tmp_value = tstate->current_exception;
|
|
26512
26480
|
tstate->current_exception = value;
|
|
26513
26481
|
Py_XDECREF(tmp_value);
|
|
26482
|
+
Py_XDECREF(type);
|
|
26483
|
+
Py_XDECREF(tb);
|
|
26514
26484
|
#else
|
|
26515
26485
|
PyObject *tmp_type, *tmp_value, *tmp_tb;
|
|
26516
26486
|
tmp_type = tstate->curexc_type;
|
|
@@ -26568,14 +26538,20 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject
|
|
|
26568
26538
|
#endif
|
|
26569
26539
|
|
|
26570
26540
|
/* PyObjectGetAttrStrNoError */
|
|
26541
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
26571
26542
|
static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) {
|
|
26572
26543
|
__Pyx_PyThreadState_declare
|
|
26573
26544
|
__Pyx_PyThreadState_assign
|
|
26574
26545
|
if (likely(__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
|
|
26575
26546
|
__Pyx_PyErr_Clear();
|
|
26576
26547
|
}
|
|
26548
|
+
#endif
|
|
26577
26549
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name) {
|
|
26578
26550
|
PyObject *result;
|
|
26551
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
26552
|
+
(void) PyObject_GetOptionalAttr(obj, attr_name, &result);
|
|
26553
|
+
return result;
|
|
26554
|
+
#else
|
|
26579
26555
|
#if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_TYPE_SLOTS && PY_VERSION_HEX >= 0x030700B1
|
|
26580
26556
|
PyTypeObject* tp = Py_TYPE(obj);
|
|
26581
26557
|
if (likely(tp->tp_getattro == PyObject_GenericGetAttr)) {
|
|
@@ -26587,6 +26563,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, P
|
|
|
26587
26563
|
__Pyx_PyObject_GetAttrStr_ClearAttributeError();
|
|
26588
26564
|
}
|
|
26589
26565
|
return result;
|
|
26566
|
+
#endif
|
|
26590
26567
|
}
|
|
26591
26568
|
|
|
26592
26569
|
/* GetBuiltinName */
|
|
@@ -26802,13 +26779,31 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO
|
|
|
26802
26779
|
{
|
|
26803
26780
|
int eq = __Pyx_PyUnicode_Equals(s, PyTuple_GET_ITEM(kwnames, i), Py_EQ);
|
|
26804
26781
|
if (unlikely(eq != 0)) {
|
|
26805
|
-
if (unlikely(eq < 0)) return NULL;
|
|
26782
|
+
if (unlikely(eq < 0)) return NULL;
|
|
26806
26783
|
return kwvalues[i];
|
|
26807
26784
|
}
|
|
26808
26785
|
}
|
|
26809
|
-
return NULL;
|
|
26786
|
+
return NULL;
|
|
26787
|
+
}
|
|
26788
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
26789
|
+
CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) {
|
|
26790
|
+
Py_ssize_t i, nkwargs = PyTuple_GET_SIZE(kwnames);
|
|
26791
|
+
PyObject *dict;
|
|
26792
|
+
dict = PyDict_New();
|
|
26793
|
+
if (unlikely(!dict))
|
|
26794
|
+
return NULL;
|
|
26795
|
+
for (i=0; i<nkwargs; i++) {
|
|
26796
|
+
PyObject *key = PyTuple_GET_ITEM(kwnames, i);
|
|
26797
|
+
if (unlikely(PyDict_SetItem(dict, key, kwvalues[i]) < 0))
|
|
26798
|
+
goto bad;
|
|
26799
|
+
}
|
|
26800
|
+
return dict;
|
|
26801
|
+
bad:
|
|
26802
|
+
Py_DECREF(dict);
|
|
26803
|
+
return NULL;
|
|
26810
26804
|
}
|
|
26811
26805
|
#endif
|
|
26806
|
+
#endif
|
|
26812
26807
|
|
|
26813
26808
|
/* RaiseArgTupleInvalid */
|
|
26814
26809
|
static void __Pyx_RaiseArgtupleInvalid(
|
|
@@ -26901,7 +26896,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
26901
26896
|
if (*name) {
|
|
26902
26897
|
values[name-argnames] = value;
|
|
26903
26898
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
26904
|
-
Py_INCREF(value);
|
|
26899
|
+
Py_INCREF(value);
|
|
26905
26900
|
Py_DECREF(key);
|
|
26906
26901
|
#endif
|
|
26907
26902
|
key = NULL;
|
|
@@ -26920,7 +26915,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
26920
26915
|
&& _PyString_Eq(**name, key)) {
|
|
26921
26916
|
values[name-argnames] = value;
|
|
26922
26917
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
26923
|
-
value = NULL;
|
|
26918
|
+
value = NULL;
|
|
26924
26919
|
#endif
|
|
26925
26920
|
break;
|
|
26926
26921
|
}
|
|
@@ -26952,7 +26947,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
26952
26947
|
if (cmp == 0) {
|
|
26953
26948
|
values[name-argnames] = value;
|
|
26954
26949
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
26955
|
-
value = NULL;
|
|
26950
|
+
value = NULL;
|
|
26956
26951
|
#endif
|
|
26957
26952
|
break;
|
|
26958
26953
|
}
|
|
@@ -27239,9 +27234,15 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
|
|
27239
27234
|
PyObject *result;
|
|
27240
27235
|
assert(kwargs == NULL || PyDict_Check(kwargs));
|
|
27241
27236
|
nk = kwargs ? PyDict_Size(kwargs) : 0;
|
|
27237
|
+
#if PY_MAJOR_VERSION < 3
|
|
27242
27238
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) {
|
|
27243
27239
|
return NULL;
|
|
27244
27240
|
}
|
|
27241
|
+
#else
|
|
27242
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) {
|
|
27243
|
+
return NULL;
|
|
27244
|
+
}
|
|
27245
|
+
#endif
|
|
27245
27246
|
if (
|
|
27246
27247
|
#if PY_MAJOR_VERSION >= 3
|
|
27247
27248
|
co->co_kwonlyargcount == 0 &&
|
|
@@ -27318,8 +27319,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
|
|
|
27318
27319
|
ternaryfunc call = Py_TYPE(func)->tp_call;
|
|
27319
27320
|
if (unlikely(!call))
|
|
27320
27321
|
return PyObject_Call(func, arg, kw);
|
|
27322
|
+
#if PY_MAJOR_VERSION < 3
|
|
27321
27323
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
|
|
27322
27324
|
return NULL;
|
|
27325
|
+
#else
|
|
27326
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
|
|
27327
|
+
return NULL;
|
|
27328
|
+
#endif
|
|
27323
27329
|
result = (*call)(func, arg, kw);
|
|
27324
27330
|
Py_LeaveRecursiveCall();
|
|
27325
27331
|
if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
|
|
@@ -27336,10 +27342,15 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
|
|
|
27336
27342
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
|
|
27337
27343
|
PyObject *self, *result;
|
|
27338
27344
|
PyCFunction cfunc;
|
|
27339
|
-
cfunc =
|
|
27340
|
-
self =
|
|
27345
|
+
cfunc = __Pyx_CyOrPyCFunction_GET_FUNCTION(func);
|
|
27346
|
+
self = __Pyx_CyOrPyCFunction_GET_SELF(func);
|
|
27347
|
+
#if PY_MAJOR_VERSION < 3
|
|
27341
27348
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
|
|
27342
27349
|
return NULL;
|
|
27350
|
+
#else
|
|
27351
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
|
|
27352
|
+
return NULL;
|
|
27353
|
+
#endif
|
|
27343
27354
|
result = cfunc(self, arg);
|
|
27344
27355
|
Py_LeaveRecursiveCall();
|
|
27345
27356
|
if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
|
|
@@ -27352,6 +27363,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject
|
|
|
27352
27363
|
#endif
|
|
27353
27364
|
|
|
27354
27365
|
/* PyObjectFastCall */
|
|
27366
|
+
#if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API
|
|
27355
27367
|
static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **args, size_t nargs, PyObject *kwargs) {
|
|
27356
27368
|
PyObject *argstuple;
|
|
27357
27369
|
PyObject *result = 0;
|
|
@@ -27367,28 +27379,17 @@ static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **arg
|
|
|
27367
27379
|
Py_DECREF(argstuple);
|
|
27368
27380
|
return result;
|
|
27369
27381
|
}
|
|
27382
|
+
#endif
|
|
27370
27383
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject **args, size_t _nargs, PyObject *kwargs) {
|
|
27371
27384
|
Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs);
|
|
27372
27385
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
27373
27386
|
if (nargs == 0 && kwargs == NULL) {
|
|
27374
|
-
|
|
27375
|
-
|
|
27376
|
-
#else
|
|
27377
|
-
if (PyCFunction_Check(func))
|
|
27378
|
-
#endif
|
|
27379
|
-
{
|
|
27380
|
-
if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
|
|
27381
|
-
return __Pyx_PyObject_CallMethO(func, NULL);
|
|
27382
|
-
}
|
|
27383
|
-
}
|
|
27387
|
+
if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS))
|
|
27388
|
+
return __Pyx_PyObject_CallMethO(func, NULL);
|
|
27384
27389
|
}
|
|
27385
27390
|
else if (nargs == 1 && kwargs == NULL) {
|
|
27386
|
-
if (
|
|
27387
|
-
|
|
27388
|
-
if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
|
|
27389
|
-
return __Pyx_PyObject_CallMethO(func, args[0]);
|
|
27390
|
-
}
|
|
27391
|
-
}
|
|
27391
|
+
if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_O))
|
|
27392
|
+
return __Pyx_PyObject_CallMethO(func, args[0]);
|
|
27392
27393
|
}
|
|
27393
27394
|
#endif
|
|
27394
27395
|
#if PY_VERSION_HEX < 0x030800B1
|
|
@@ -27412,25 +27413,31 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj
|
|
|
27412
27413
|
}
|
|
27413
27414
|
#endif
|
|
27414
27415
|
#endif
|
|
27415
|
-
|
|
27416
|
-
|
|
27417
|
-
|
|
27418
|
-
|
|
27419
|
-
|
|
27420
|
-
|
|
27421
|
-
|
|
27422
|
-
|
|
27423
|
-
|
|
27424
|
-
|
|
27425
|
-
|
|
27426
|
-
|
|
27427
|
-
|
|
27416
|
+
if (kwargs == NULL) {
|
|
27417
|
+
#if CYTHON_VECTORCALL
|
|
27418
|
+
#if PY_VERSION_HEX < 0x03090000
|
|
27419
|
+
vectorcallfunc f = _PyVectorcall_Function(func);
|
|
27420
|
+
#else
|
|
27421
|
+
vectorcallfunc f = PyVectorcall_Function(func);
|
|
27422
|
+
#endif
|
|
27423
|
+
if (f) {
|
|
27424
|
+
return f(func, args, (size_t)nargs, NULL);
|
|
27425
|
+
}
|
|
27426
|
+
#elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
|
|
27427
|
+
if (__Pyx_CyFunction_CheckExact(func)) {
|
|
27428
|
+
__pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
|
|
27429
|
+
if (f) return f(func, args, (size_t)nargs, NULL);
|
|
27430
|
+
}
|
|
27431
|
+
#endif
|
|
27428
27432
|
}
|
|
27429
|
-
#endif
|
|
27430
27433
|
if (nargs == 0) {
|
|
27431
27434
|
return __Pyx_PyObject_Call(func, __pyx_empty_tuple, kwargs);
|
|
27432
27435
|
}
|
|
27436
|
+
#if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
27437
|
+
return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs);
|
|
27438
|
+
#else
|
|
27433
27439
|
return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs);
|
|
27440
|
+
#endif
|
|
27434
27441
|
}
|
|
27435
27442
|
|
|
27436
27443
|
/* RaiseUnexpectedTypeError */
|
|
@@ -27733,7 +27740,7 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject* value_tuple, Py_ssize_t value_co
|
|
|
27733
27740
|
if (!CYTHON_PEP393_ENABLED || ukind == result_ukind) {
|
|
27734
27741
|
memcpy((char *)result_udata + (char_pos << kind_shift), udata, (size_t) (ulength << kind_shift));
|
|
27735
27742
|
} else {
|
|
27736
|
-
#if PY_VERSION_HEX >=
|
|
27743
|
+
#if PY_VERSION_HEX >= 0x030d0000
|
|
27737
27744
|
if (unlikely(PyUnicode_CopyCharacters(result_uval, char_pos, uval, 0, ulength) < 0)) goto bad;
|
|
27738
27745
|
#elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030300F0 || defined(_PyUnicode_FastCopyCharacters)
|
|
27739
27746
|
_PyUnicode_FastCopyCharacters(result_uval, char_pos, uval, 0, ulength);
|
|
@@ -27862,7 +27869,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
|
|
|
27862
27869
|
}
|
|
27863
27870
|
}
|
|
27864
27871
|
#else
|
|
27865
|
-
if (is_list ||
|
|
27872
|
+
if (is_list || !PyMapping_Check(o)) {
|
|
27866
27873
|
return PySequence_GetItem(o, i);
|
|
27867
27874
|
}
|
|
27868
27875
|
#endif
|
|
@@ -27897,7 +27904,9 @@ static PyObject *__Pyx_PyObject_GetItem_Slow(PyObject *obj, PyObject *key) {
|
|
|
27897
27904
|
__Pyx_TypeName obj_type_name;
|
|
27898
27905
|
if (likely(PyType_Check(obj))) {
|
|
27899
27906
|
PyObject *meth = __Pyx_PyObject_GetAttrStrNoError(obj, __pyx_n_s_class_getitem);
|
|
27900
|
-
if (meth) {
|
|
27907
|
+
if (!meth) {
|
|
27908
|
+
PyErr_Clear();
|
|
27909
|
+
} else {
|
|
27901
27910
|
PyObject *result = __Pyx_PyObject_CallOneArg(meth, key);
|
|
27902
27911
|
Py_DECREF(meth);
|
|
27903
27912
|
return result;
|
|
@@ -28006,6 +28015,7 @@ static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ssize_t b)
|
|
|
28006
28015
|
}
|
|
28007
28016
|
|
|
28008
28017
|
/* GetAttr3 */
|
|
28018
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
28009
28019
|
static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
|
|
28010
28020
|
__Pyx_PyThreadState_declare
|
|
28011
28021
|
__Pyx_PyThreadState_assign
|
|
@@ -28015,9 +28025,14 @@ static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
|
|
|
28015
28025
|
Py_INCREF(d);
|
|
28016
28026
|
return d;
|
|
28017
28027
|
}
|
|
28028
|
+
#endif
|
|
28018
28029
|
static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) {
|
|
28019
28030
|
PyObject *r;
|
|
28020
|
-
#if
|
|
28031
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
28032
|
+
int res = PyObject_GetOptionalAttr(o, n, &r);
|
|
28033
|
+
return (res != 0) ? r : __Pyx_NewRef(d);
|
|
28034
|
+
#else
|
|
28035
|
+
#if CYTHON_USE_TYPE_SLOTS
|
|
28021
28036
|
if (likely(PyString_Check(n))) {
|
|
28022
28037
|
r = __Pyx_PyObject_GetAttrStrNoError(o, n);
|
|
28023
28038
|
if (unlikely(!r) && likely(!PyErr_Occurred())) {
|
|
@@ -28025,9 +28040,10 @@ static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject
|
|
|
28025
28040
|
}
|
|
28026
28041
|
return r;
|
|
28027
28042
|
}
|
|
28028
|
-
#endif
|
|
28043
|
+
#endif
|
|
28029
28044
|
r = PyObject_GetAttr(o, n);
|
|
28030
28045
|
return (likely(r)) ? r : __Pyx_GetAttr3Default(d);
|
|
28046
|
+
#endif
|
|
28031
28047
|
}
|
|
28032
28048
|
|
|
28033
28049
|
/* PyDictVersioning */
|
|
@@ -28065,7 +28081,7 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name)
|
|
|
28065
28081
|
{
|
|
28066
28082
|
PyObject *result;
|
|
28067
28083
|
#if !CYTHON_AVOID_BORROWED_REFS
|
|
28068
|
-
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
|
|
28084
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && PY_VERSION_HEX < 0x030d0000
|
|
28069
28085
|
result = _PyDict_GetItem_KnownHash(__pyx_d, name, ((PyASCIIObject *) name)->hash);
|
|
28070
28086
|
__PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
|
|
28071
28087
|
if (likely(result)) {
|
|
@@ -28391,7 +28407,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
|
|
|
28391
28407
|
{
|
|
28392
28408
|
#if PY_MAJOR_VERSION >= 3
|
|
28393
28409
|
if (level == -1) {
|
|
28394
|
-
if (
|
|
28410
|
+
if (strchr(__Pyx_MODULE_NAME, '.') != NULL) {
|
|
28395
28411
|
module = PyImport_ImportModuleLevelObject(
|
|
28396
28412
|
name, __pyx_d, empty_dict, from_list, 1);
|
|
28397
28413
|
if (unlikely(!module)) {
|
|
@@ -28554,16 +28570,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
|
|
|
28554
28570
|
return __Pyx__ImportDottedModule(name, parts_tuple);
|
|
28555
28571
|
}
|
|
28556
28572
|
|
|
28557
|
-
/* ssize_strlen */
|
|
28558
|
-
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
|
|
28559
|
-
size_t len = strlen(s);
|
|
28560
|
-
if (unlikely(len > PY_SSIZE_T_MAX)) {
|
|
28561
|
-
PyErr_SetString(PyExc_OverflowError, "byte string is too long");
|
|
28562
|
-
return -1;
|
|
28563
|
-
}
|
|
28564
|
-
return (Py_ssize_t) len;
|
|
28565
|
-
}
|
|
28566
|
-
|
|
28567
28573
|
/* FastTypeChecks */
|
|
28568
28574
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
28569
28575
|
static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
|
|
@@ -28747,11 +28753,7 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
|
|
|
28747
28753
|
}
|
|
28748
28754
|
}
|
|
28749
28755
|
#else
|
|
28750
|
-
|
|
28751
|
-
if (is_list || (PySequence_Check(o) && !PyDict_Check(o)))
|
|
28752
|
-
#else
|
|
28753
|
-
if (is_list || PySequence_Check(o))
|
|
28754
|
-
#endif
|
|
28756
|
+
if (is_list || !PyMapping_Check(o))
|
|
28755
28757
|
{
|
|
28756
28758
|
return PySequence_SetItem(o, i, v);
|
|
28757
28759
|
}
|
|
@@ -28816,6 +28818,7 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
|
|
|
28816
28818
|
}
|
|
28817
28819
|
|
|
28818
28820
|
/* HasAttr */
|
|
28821
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
28819
28822
|
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
|
28820
28823
|
PyObject *r;
|
|
28821
28824
|
if (unlikely(!__Pyx_PyBaseString_Check(n))) {
|
|
@@ -28832,6 +28835,7 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
|
|
28832
28835
|
return 1;
|
|
28833
28836
|
}
|
|
28834
28837
|
}
|
|
28838
|
+
#endif
|
|
28835
28839
|
|
|
28836
28840
|
/* BufferIndexError */
|
|
28837
28841
|
static void __Pyx_RaiseBufferIndexError(int axis) {
|
|
@@ -29070,8 +29074,8 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
29070
29074
|
|
|
29071
29075
|
/* PyObjectCallNoArg */
|
|
29072
29076
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
|
|
29073
|
-
PyObject *arg = NULL;
|
|
29074
|
-
return __Pyx_PyObject_FastCall(func,
|
|
29077
|
+
PyObject *arg[2] = {NULL, NULL};
|
|
29078
|
+
return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
|
|
29075
29079
|
}
|
|
29076
29080
|
|
|
29077
29081
|
/* PyObjectGetMethod */
|
|
@@ -29236,38 +29240,38 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
|
|
|
29236
29240
|
#endif
|
|
29237
29241
|
return -1;
|
|
29238
29242
|
}
|
|
29239
|
-
|
|
29240
|
-
if (dictoffset == 0) {
|
|
29241
|
-
PyErr_Format(PyExc_TypeError,
|
|
29242
|
-
"extension type '%s.200s': "
|
|
29243
|
-
"unable to validate whether bases have a __dict__ "
|
|
29244
|
-
"when CYTHON_USE_TYPE_SLOTS is off "
|
|
29245
|
-
"(likely because you are building in the limited API). "
|
|
29246
|
-
"Therefore, all extension types with multiple bases "
|
|
29247
|
-
"must add 'cdef dict __dict__' in this compilation mode",
|
|
29248
|
-
type_name);
|
|
29249
|
-
#if CYTHON_AVOID_BORROWED_REFS
|
|
29250
|
-
Py_DECREF(b0);
|
|
29251
|
-
#endif
|
|
29252
|
-
return -1;
|
|
29253
|
-
}
|
|
29254
|
-
#else
|
|
29255
|
-
if (dictoffset == 0 && b->tp_dictoffset)
|
|
29243
|
+
if (dictoffset == 0)
|
|
29256
29244
|
{
|
|
29257
|
-
|
|
29258
|
-
|
|
29259
|
-
|
|
29260
|
-
|
|
29261
|
-
|
|
29262
|
-
|
|
29263
|
-
|
|
29264
|
-
|
|
29245
|
+
Py_ssize_t b_dictoffset = 0;
|
|
29246
|
+
#if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY
|
|
29247
|
+
b_dictoffset = b->tp_dictoffset;
|
|
29248
|
+
#else
|
|
29249
|
+
PyObject *py_b_dictoffset = PyObject_GetAttrString((PyObject*)b, "__dictoffset__");
|
|
29250
|
+
if (!py_b_dictoffset) goto dictoffset_return;
|
|
29251
|
+
b_dictoffset = PyLong_AsSsize_t(py_b_dictoffset);
|
|
29252
|
+
Py_DECREF(py_b_dictoffset);
|
|
29253
|
+
if (b_dictoffset == -1 && PyErr_Occurred()) goto dictoffset_return;
|
|
29254
|
+
#endif
|
|
29255
|
+
if (b_dictoffset) {
|
|
29256
|
+
{
|
|
29257
|
+
__Pyx_TypeName b_name = __Pyx_PyType_GetName(b);
|
|
29258
|
+
PyErr_Format(PyExc_TypeError,
|
|
29259
|
+
"extension type '%.200s' has no __dict__ slot, "
|
|
29260
|
+
"but base type '" __Pyx_FMT_TYPENAME "' has: "
|
|
29261
|
+
"either add 'cdef dict __dict__' to the extension type "
|
|
29262
|
+
"or add '__slots__ = [...]' to the base type",
|
|
29263
|
+
type_name, b_name);
|
|
29264
|
+
__Pyx_DECREF_TypeName(b_name);
|
|
29265
|
+
}
|
|
29266
|
+
#if !(CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY)
|
|
29267
|
+
dictoffset_return:
|
|
29268
|
+
#endif
|
|
29265
29269
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
29266
|
-
|
|
29270
|
+
Py_DECREF(b0);
|
|
29267
29271
|
#endif
|
|
29268
|
-
|
|
29272
|
+
return -1;
|
|
29273
|
+
}
|
|
29269
29274
|
}
|
|
29270
|
-
#endif
|
|
29271
29275
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
29272
29276
|
Py_DECREF(b0);
|
|
29273
29277
|
#endif
|
|
@@ -29561,10 +29565,10 @@ __PYX_GOOD:
|
|
|
29561
29565
|
#endif
|
|
29562
29566
|
|
|
29563
29567
|
/* TypeImport */
|
|
29564
|
-
#ifndef
|
|
29565
|
-
#define
|
|
29566
|
-
static PyTypeObject *
|
|
29567
|
-
size_t size, size_t alignment, enum
|
|
29568
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_0_10
|
|
29569
|
+
#define __PYX_HAVE_RT_ImportType_3_0_10
|
|
29570
|
+
static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject *module, const char *module_name, const char *class_name,
|
|
29571
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_10 check_size)
|
|
29568
29572
|
{
|
|
29569
29573
|
PyObject *result = 0;
|
|
29570
29574
|
char warning[200];
|
|
@@ -29618,7 +29622,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
|
|
|
29618
29622
|
module_name, class_name, size, basicsize+itemsize);
|
|
29619
29623
|
goto bad;
|
|
29620
29624
|
}
|
|
29621
|
-
if (check_size ==
|
|
29625
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_10 &&
|
|
29622
29626
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
29623
29627
|
PyErr_Format(PyExc_ValueError,
|
|
29624
29628
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -29626,7 +29630,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
|
|
|
29626
29630
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
29627
29631
|
goto bad;
|
|
29628
29632
|
}
|
|
29629
|
-
else if (check_size ==
|
|
29633
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_10 && (size_t)basicsize > size) {
|
|
29630
29634
|
PyOS_snprintf(warning, sizeof(warning),
|
|
29631
29635
|
"%s.%s size changed, may indicate binary incompatibility. "
|
|
29632
29636
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -29642,10 +29646,7 @@ bad:
|
|
|
29642
29646
|
|
|
29643
29647
|
/* FetchSharedCythonModule */
|
|
29644
29648
|
static PyObject *__Pyx_FetchSharedCythonABIModule(void) {
|
|
29645
|
-
|
|
29646
|
-
if (unlikely(!abi_module)) return NULL;
|
|
29647
|
-
Py_INCREF(abi_module);
|
|
29648
|
-
return abi_module;
|
|
29649
|
+
return __Pyx_PyImport_AddModuleRef((char*) __PYX_ABI_MODULE_NAME);
|
|
29649
29650
|
}
|
|
29650
29651
|
|
|
29651
29652
|
/* FetchCommonType */
|
|
@@ -29806,6 +29807,20 @@ static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, _
|
|
|
29806
29807
|
#endif
|
|
29807
29808
|
|
|
29808
29809
|
/* CythonFunctionShared */
|
|
29810
|
+
#if CYTHON_COMPILING_IN_LIMITED_API
|
|
29811
|
+
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
|
|
29812
|
+
if (__Pyx_CyFunction_Check(func)) {
|
|
29813
|
+
return PyCFunction_GetFunction(((__pyx_CyFunctionObject*)func)->func) == (PyCFunction) cfunc;
|
|
29814
|
+
} else if (PyCFunction_Check(func)) {
|
|
29815
|
+
return PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
|
|
29816
|
+
}
|
|
29817
|
+
return 0;
|
|
29818
|
+
}
|
|
29819
|
+
#else
|
|
29820
|
+
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
|
|
29821
|
+
return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
|
|
29822
|
+
}
|
|
29823
|
+
#endif
|
|
29809
29824
|
static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) {
|
|
29810
29825
|
#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API
|
|
29811
29826
|
__Pyx_Py_XDECREF_SET(
|
|
@@ -30615,7 +30630,7 @@ static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func,
|
|
|
30615
30630
|
default:
|
|
30616
30631
|
return NULL;
|
|
30617
30632
|
}
|
|
30618
|
-
return ((
|
|
30633
|
+
return ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames);
|
|
30619
30634
|
}
|
|
30620
30635
|
static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
|
|
30621
30636
|
{
|
|
@@ -30954,8 +30969,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
|
|
|
30954
30969
|
Py_DECREF(replace);
|
|
30955
30970
|
return result;
|
|
30956
30971
|
}
|
|
30957
|
-
#if __PYX_LIMITED_VERSION_HEX < 0x030780000
|
|
30958
30972
|
PyErr_Clear();
|
|
30973
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030780000
|
|
30959
30974
|
{
|
|
30960
30975
|
PyObject *compiled = NULL, *result = NULL;
|
|
30961
30976
|
if (unlikely(PyDict_SetItemString(scratch_dict, "code", code))) return NULL;
|
|
@@ -30975,6 +30990,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
|
|
|
30975
30990
|
if (result) Py_INCREF(result);
|
|
30976
30991
|
return result;
|
|
30977
30992
|
}
|
|
30993
|
+
#else
|
|
30994
|
+
return NULL;
|
|
30978
30995
|
#endif
|
|
30979
30996
|
}
|
|
30980
30997
|
static void __Pyx_AddTraceback(const char *funcname, int c_line,
|
|
@@ -31072,7 +31089,7 @@ static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
|
|
|
31072
31089
|
#else
|
|
31073
31090
|
py_code = PyCode_NewEmpty(filename, funcname, py_line);
|
|
31074
31091
|
#endif
|
|
31075
|
-
Py_XDECREF(py_funcname);
|
|
31092
|
+
Py_XDECREF(py_funcname);
|
|
31076
31093
|
return py_code;
|
|
31077
31094
|
bad:
|
|
31078
31095
|
Py_XDECREF(py_funcname);
|
|
@@ -32722,7 +32739,7 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
|
|
|
32722
32739
|
#endif
|
|
32723
32740
|
if (likely(v)) {
|
|
32724
32741
|
int ret = -1;
|
|
32725
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
32742
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
32726
32743
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
32727
32744
|
unsigned char *bytes = (unsigned char *)&val;
|
|
32728
32745
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -32858,13 +32875,13 @@ raise_neg_overflow:
|
|
|
32858
32875
|
{
|
|
32859
32876
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
32860
32877
|
unsigned char *bytes = (unsigned char *)&value;
|
|
32861
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
32878
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
32862
32879
|
return _PyLong_FromByteArray(bytes, sizeof(int),
|
|
32863
32880
|
little, !is_unsigned);
|
|
32864
32881
|
#else
|
|
32865
32882
|
PyObject *from_bytes, *result = NULL;
|
|
32866
32883
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
32867
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
32884
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
32868
32885
|
if (!from_bytes) return NULL;
|
|
32869
32886
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(int));
|
|
32870
32887
|
if (!py_bytes) goto limited_bad;
|
|
@@ -32872,16 +32889,18 @@ raise_neg_overflow:
|
|
|
32872
32889
|
if (!order_str) goto limited_bad;
|
|
32873
32890
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
32874
32891
|
if (!arg_tuple) goto limited_bad;
|
|
32875
|
-
|
|
32876
|
-
|
|
32877
|
-
|
|
32892
|
+
if (!is_unsigned) {
|
|
32893
|
+
kwds = PyDict_New();
|
|
32894
|
+
if (!kwds) goto limited_bad;
|
|
32895
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
32896
|
+
}
|
|
32878
32897
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
32879
32898
|
limited_bad:
|
|
32880
|
-
Py_XDECREF(from_bytes);
|
|
32881
|
-
Py_XDECREF(py_bytes);
|
|
32882
|
-
Py_XDECREF(order_str);
|
|
32883
|
-
Py_XDECREF(arg_tuple);
|
|
32884
32899
|
Py_XDECREF(kwds);
|
|
32900
|
+
Py_XDECREF(arg_tuple);
|
|
32901
|
+
Py_XDECREF(order_str);
|
|
32902
|
+
Py_XDECREF(py_bytes);
|
|
32903
|
+
Py_XDECREF(from_bytes);
|
|
32885
32904
|
return result;
|
|
32886
32905
|
#endif
|
|
32887
32906
|
}
|
|
@@ -33057,7 +33076,7 @@ raise_neg_overflow:
|
|
|
33057
33076
|
#endif
|
|
33058
33077
|
if (likely(v)) {
|
|
33059
33078
|
int ret = -1;
|
|
33060
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
33079
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
33061
33080
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
33062
33081
|
unsigned char *bytes = (unsigned char *)&val;
|
|
33063
33082
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -33193,13 +33212,13 @@ raise_neg_overflow:
|
|
|
33193
33212
|
{
|
|
33194
33213
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
33195
33214
|
unsigned char *bytes = (unsigned char *)&value;
|
|
33196
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
33215
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
33197
33216
|
return _PyLong_FromByteArray(bytes, sizeof(npy_int32),
|
|
33198
33217
|
little, !is_unsigned);
|
|
33199
33218
|
#else
|
|
33200
33219
|
PyObject *from_bytes, *result = NULL;
|
|
33201
33220
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
33202
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
33221
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
33203
33222
|
if (!from_bytes) return NULL;
|
|
33204
33223
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(npy_int32));
|
|
33205
33224
|
if (!py_bytes) goto limited_bad;
|
|
@@ -33207,16 +33226,18 @@ raise_neg_overflow:
|
|
|
33207
33226
|
if (!order_str) goto limited_bad;
|
|
33208
33227
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
33209
33228
|
if (!arg_tuple) goto limited_bad;
|
|
33210
|
-
|
|
33211
|
-
|
|
33212
|
-
|
|
33229
|
+
if (!is_unsigned) {
|
|
33230
|
+
kwds = PyDict_New();
|
|
33231
|
+
if (!kwds) goto limited_bad;
|
|
33232
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
33233
|
+
}
|
|
33213
33234
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
33214
33235
|
limited_bad:
|
|
33215
|
-
Py_XDECREF(from_bytes);
|
|
33216
|
-
Py_XDECREF(py_bytes);
|
|
33217
|
-
Py_XDECREF(order_str);
|
|
33218
|
-
Py_XDECREF(arg_tuple);
|
|
33219
33236
|
Py_XDECREF(kwds);
|
|
33237
|
+
Py_XDECREF(arg_tuple);
|
|
33238
|
+
Py_XDECREF(order_str);
|
|
33239
|
+
Py_XDECREF(py_bytes);
|
|
33240
|
+
Py_XDECREF(from_bytes);
|
|
33220
33241
|
return result;
|
|
33221
33242
|
#endif
|
|
33222
33243
|
}
|
|
@@ -33392,7 +33413,7 @@ raise_neg_overflow:
|
|
|
33392
33413
|
#endif
|
|
33393
33414
|
if (likely(v)) {
|
|
33394
33415
|
int ret = -1;
|
|
33395
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
33416
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
33396
33417
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
33397
33418
|
unsigned char *bytes = (unsigned char *)&val;
|
|
33398
33419
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -33528,13 +33549,13 @@ raise_neg_overflow:
|
|
|
33528
33549
|
{
|
|
33529
33550
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
33530
33551
|
unsigned char *bytes = (unsigned char *)&value;
|
|
33531
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
33552
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
33532
33553
|
return _PyLong_FromByteArray(bytes, sizeof(npy_int16),
|
|
33533
33554
|
little, !is_unsigned);
|
|
33534
33555
|
#else
|
|
33535
33556
|
PyObject *from_bytes, *result = NULL;
|
|
33536
33557
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
33537
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
33558
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
33538
33559
|
if (!from_bytes) return NULL;
|
|
33539
33560
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(npy_int16));
|
|
33540
33561
|
if (!py_bytes) goto limited_bad;
|
|
@@ -33542,16 +33563,18 @@ raise_neg_overflow:
|
|
|
33542
33563
|
if (!order_str) goto limited_bad;
|
|
33543
33564
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
33544
33565
|
if (!arg_tuple) goto limited_bad;
|
|
33545
|
-
|
|
33546
|
-
|
|
33547
|
-
|
|
33566
|
+
if (!is_unsigned) {
|
|
33567
|
+
kwds = PyDict_New();
|
|
33568
|
+
if (!kwds) goto limited_bad;
|
|
33569
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
33570
|
+
}
|
|
33548
33571
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
33549
33572
|
limited_bad:
|
|
33550
|
-
Py_XDECREF(from_bytes);
|
|
33551
|
-
Py_XDECREF(py_bytes);
|
|
33552
|
-
Py_XDECREF(order_str);
|
|
33553
|
-
Py_XDECREF(arg_tuple);
|
|
33554
33573
|
Py_XDECREF(kwds);
|
|
33574
|
+
Py_XDECREF(arg_tuple);
|
|
33575
|
+
Py_XDECREF(order_str);
|
|
33576
|
+
Py_XDECREF(py_bytes);
|
|
33577
|
+
Py_XDECREF(from_bytes);
|
|
33555
33578
|
return result;
|
|
33556
33579
|
#endif
|
|
33557
33580
|
}
|
|
@@ -33727,7 +33750,7 @@ raise_neg_overflow:
|
|
|
33727
33750
|
#endif
|
|
33728
33751
|
if (likely(v)) {
|
|
33729
33752
|
int ret = -1;
|
|
33730
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
33753
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
33731
33754
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
33732
33755
|
unsigned char *bytes = (unsigned char *)&val;
|
|
33733
33756
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -33863,13 +33886,13 @@ raise_neg_overflow:
|
|
|
33863
33886
|
{
|
|
33864
33887
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
33865
33888
|
unsigned char *bytes = (unsigned char *)&value;
|
|
33866
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
33889
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
33867
33890
|
return _PyLong_FromByteArray(bytes, sizeof(long),
|
|
33868
33891
|
little, !is_unsigned);
|
|
33869
33892
|
#else
|
|
33870
33893
|
PyObject *from_bytes, *result = NULL;
|
|
33871
33894
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
33872
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
33895
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
33873
33896
|
if (!from_bytes) return NULL;
|
|
33874
33897
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long));
|
|
33875
33898
|
if (!py_bytes) goto limited_bad;
|
|
@@ -33877,16 +33900,18 @@ raise_neg_overflow:
|
|
|
33877
33900
|
if (!order_str) goto limited_bad;
|
|
33878
33901
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
33879
33902
|
if (!arg_tuple) goto limited_bad;
|
|
33880
|
-
|
|
33881
|
-
|
|
33882
|
-
|
|
33903
|
+
if (!is_unsigned) {
|
|
33904
|
+
kwds = PyDict_New();
|
|
33905
|
+
if (!kwds) goto limited_bad;
|
|
33906
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
33907
|
+
}
|
|
33883
33908
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
33884
33909
|
limited_bad:
|
|
33885
|
-
Py_XDECREF(from_bytes);
|
|
33886
|
-
Py_XDECREF(py_bytes);
|
|
33887
|
-
Py_XDECREF(order_str);
|
|
33888
|
-
Py_XDECREF(arg_tuple);
|
|
33889
33910
|
Py_XDECREF(kwds);
|
|
33911
|
+
Py_XDECREF(arg_tuple);
|
|
33912
|
+
Py_XDECREF(order_str);
|
|
33913
|
+
Py_XDECREF(py_bytes);
|
|
33914
|
+
Py_XDECREF(from_bytes);
|
|
33890
33915
|
return result;
|
|
33891
33916
|
#endif
|
|
33892
33917
|
}
|
|
@@ -34062,7 +34087,7 @@ raise_neg_overflow:
|
|
|
34062
34087
|
#endif
|
|
34063
34088
|
if (likely(v)) {
|
|
34064
34089
|
int ret = -1;
|
|
34065
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
34090
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
34066
34091
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
34067
34092
|
unsigned char *bytes = (unsigned char *)&val;
|
|
34068
34093
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -34182,41 +34207,50 @@ __Pyx_PyType_GetName(PyTypeObject* tp)
|
|
|
34182
34207
|
#endif
|
|
34183
34208
|
|
|
34184
34209
|
/* CheckBinaryVersion */
|
|
34185
|
-
static
|
|
34186
|
-
|
|
34187
|
-
|
|
34188
|
-
|
|
34189
|
-
|
|
34190
|
-
|
|
34191
|
-
|
|
34192
|
-
|
|
34193
|
-
|
|
34194
|
-
|
|
34210
|
+
static unsigned long __Pyx_get_runtime_version(void) {
|
|
34211
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030B00A4
|
|
34212
|
+
return Py_Version & ~0xFFUL;
|
|
34213
|
+
#else
|
|
34214
|
+
const char* rt_version = Py_GetVersion();
|
|
34215
|
+
unsigned long version = 0;
|
|
34216
|
+
unsigned long factor = 0x01000000UL;
|
|
34217
|
+
unsigned int digit = 0;
|
|
34218
|
+
int i = 0;
|
|
34219
|
+
while (factor) {
|
|
34220
|
+
while ('0' <= rt_version[i] && rt_version[i] <= '9') {
|
|
34221
|
+
digit = digit * 10 + (unsigned int) (rt_version[i] - '0');
|
|
34222
|
+
++i;
|
|
34195
34223
|
}
|
|
34196
|
-
|
|
34197
|
-
|
|
34224
|
+
version += factor * digit;
|
|
34225
|
+
if (rt_version[i] != '.')
|
|
34198
34226
|
break;
|
|
34199
|
-
|
|
34227
|
+
digit = 0;
|
|
34228
|
+
factor >>= 8;
|
|
34229
|
+
++i;
|
|
34200
34230
|
}
|
|
34201
|
-
|
|
34202
|
-
|
|
34231
|
+
return version;
|
|
34232
|
+
#endif
|
|
34233
|
+
}
|
|
34234
|
+
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer) {
|
|
34235
|
+
const unsigned long MAJOR_MINOR = 0xFFFF0000UL;
|
|
34236
|
+
if ((rt_version & MAJOR_MINOR) == (ct_version & MAJOR_MINOR))
|
|
34237
|
+
return 0;
|
|
34238
|
+
if (likely(allow_newer && (rt_version & MAJOR_MINOR) > (ct_version & MAJOR_MINOR)))
|
|
34239
|
+
return 1;
|
|
34240
|
+
{
|
|
34203
34241
|
char message[200];
|
|
34204
|
-
for (i=0; i<4; ++i) {
|
|
34205
|
-
if (rt_from_call[i] == '.') {
|
|
34206
|
-
if (found_dot) break;
|
|
34207
|
-
found_dot = 1;
|
|
34208
|
-
} else if (rt_from_call[i] < '0' || rt_from_call[i] > '9') {
|
|
34209
|
-
break;
|
|
34210
|
-
}
|
|
34211
|
-
rtversion[i] = rt_from_call[i];
|
|
34212
|
-
}
|
|
34213
34242
|
PyOS_snprintf(message, sizeof(message),
|
|
34214
|
-
"compile time version %
|
|
34215
|
-
"
|
|
34216
|
-
|
|
34243
|
+
"compile time Python version %d.%d "
|
|
34244
|
+
"of module '%.100s' "
|
|
34245
|
+
"%s "
|
|
34246
|
+
"runtime version %d.%d",
|
|
34247
|
+
(int) (ct_version >> 24), (int) ((ct_version >> 16) & 0xFF),
|
|
34248
|
+
__Pyx_MODULE_NAME,
|
|
34249
|
+
(allow_newer) ? "was newer than" : "does not match",
|
|
34250
|
+
(int) (rt_version >> 24), (int) ((rt_version >> 16) & 0xFF)
|
|
34251
|
+
);
|
|
34217
34252
|
return PyErr_WarnEx(NULL, message, 1);
|
|
34218
34253
|
}
|
|
34219
|
-
return 0;
|
|
34220
34254
|
}
|
|
34221
34255
|
|
|
34222
34256
|
/* InitStrings */
|
|
@@ -34262,8 +34296,24 @@ static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
|
|
|
34262
34296
|
return 0;
|
|
34263
34297
|
}
|
|
34264
34298
|
|
|
34299
|
+
#include <string.h>
|
|
34300
|
+
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
|
|
34301
|
+
size_t len = strlen(s);
|
|
34302
|
+
if (unlikely(len > (size_t) PY_SSIZE_T_MAX)) {
|
|
34303
|
+
PyErr_SetString(PyExc_OverflowError, "byte string is too long");
|
|
34304
|
+
return -1;
|
|
34305
|
+
}
|
|
34306
|
+
return (Py_ssize_t) len;
|
|
34307
|
+
}
|
|
34265
34308
|
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
|
|
34266
|
-
|
|
34309
|
+
Py_ssize_t len = __Pyx_ssize_strlen(c_str);
|
|
34310
|
+
if (unlikely(len < 0)) return NULL;
|
|
34311
|
+
return __Pyx_PyUnicode_FromStringAndSize(c_str, len);
|
|
34312
|
+
}
|
|
34313
|
+
static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char* c_str) {
|
|
34314
|
+
Py_ssize_t len = __Pyx_ssize_strlen(c_str);
|
|
34315
|
+
if (unlikely(len < 0)) return NULL;
|
|
34316
|
+
return PyByteArray_FromStringAndSize(c_str, len);
|
|
34267
34317
|
}
|
|
34268
34318
|
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
|
|
34269
34319
|
Py_ssize_t ignore;
|