biotite 0.38.0__cp310-cp310-win_amd64.whl → 0.40.0__cp310-cp310-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of biotite might be problematic. Click here for more details.
- biotite/__init__.py +3 -3
- biotite/application/application.py +33 -28
- biotite/application/dssp/app.py +18 -18
- biotite/application/sra/__init__.py +5 -0
- biotite/application/sra/app.py +337 -55
- biotite/database/entrez/__init__.py +2 -1
- biotite/database/entrez/check.py +14 -3
- biotite/database/entrez/download.py +20 -13
- biotite/database/entrez/key.py +44 -0
- biotite/database/entrez/query.py +38 -34
- biotite/database/pubchem/query.py +44 -44
- biotite/database/rcsb/download.py +19 -14
- biotite/database/rcsb/query.py +46 -46
- biotite/sequence/align/__init__.py +5 -1
- biotite/sequence/align/banded.c +1408 -1025
- biotite/sequence/align/banded.cp310-win_amd64.pyd +0 -0
- biotite/sequence/align/buckets.py +69 -0
- biotite/sequence/align/cigar.py +389 -0
- biotite/sequence/align/kmeralphabet.c +3220 -2850
- biotite/sequence/align/kmeralphabet.cp310-win_amd64.pyd +0 -0
- biotite/sequence/align/kmersimilarity.c +713 -663
- biotite/sequence/align/kmersimilarity.cp310-win_amd64.pyd +0 -0
- biotite/sequence/align/kmertable.cp310-win_amd64.pyd +0 -0
- biotite/sequence/align/kmertable.cpp +68398 -0
- biotite/sequence/align/localgapped.c +1507 -1074
- biotite/sequence/align/localgapped.cp310-win_amd64.pyd +0 -0
- biotite/sequence/align/localungapped.c +1143 -833
- biotite/sequence/align/localungapped.cp310-win_amd64.pyd +0 -0
- biotite/sequence/align/multiple.c +1569 -1092
- biotite/sequence/align/multiple.cp310-win_amd64.pyd +0 -0
- biotite/sequence/align/pairwise.c +1612 -1212
- biotite/sequence/align/pairwise.cp310-win_amd64.pyd +0 -0
- biotite/sequence/align/permutation.c +33259 -0
- biotite/sequence/align/permutation.cp310-win_amd64.pyd +0 -0
- biotite/sequence/align/primes.txt +821 -0
- biotite/sequence/align/{kmertable.c → selector.c} +9129 -16497
- biotite/sequence/align/selector.cp310-win_amd64.pyd +0 -0
- biotite/sequence/align/tracetable.c +685 -646
- biotite/sequence/align/tracetable.cp310-win_amd64.pyd +0 -0
- biotite/sequence/codec.c +1159 -841
- biotite/sequence/codec.cp310-win_amd64.pyd +0 -0
- biotite/sequence/graphics/alignment.py +212 -2
- biotite/sequence/io/genbank/annotation.py +11 -11
- biotite/sequence/phylo/nj.c +684 -636
- biotite/sequence/phylo/nj.cp310-win_amd64.pyd +0 -0
- biotite/sequence/phylo/tree.c +970 -673
- biotite/sequence/phylo/tree.cp310-win_amd64.pyd +0 -0
- biotite/sequence/phylo/upgma.c +672 -626
- biotite/sequence/phylo/upgma.cp310-win_amd64.pyd +0 -0
- biotite/structure/__init__.py +1 -1
- biotite/structure/atoms.py +1 -1
- biotite/structure/basepairs.py +7 -12
- biotite/structure/bonds.c +3861 -3749
- biotite/structure/bonds.cp310-win_amd64.pyd +0 -0
- biotite/structure/celllist.c +727 -707
- biotite/structure/celllist.cp310-win_amd64.pyd +0 -0
- biotite/structure/charges.c +1561 -1560
- biotite/structure/charges.cp310-win_amd64.pyd +0 -0
- biotite/structure/filter.py +30 -37
- biotite/structure/info/__init__.py +5 -8
- biotite/structure/info/atoms.py +25 -67
- biotite/structure/info/bonds.py +46 -100
- biotite/structure/info/ccd/README.rst +8 -0
- biotite/structure/info/ccd/amino_acids.txt +1646 -0
- biotite/structure/info/ccd/carbohydrates.txt +1133 -0
- biotite/structure/info/ccd/components.bcif +0 -0
- biotite/structure/info/ccd/nucleotides.txt +797 -0
- biotite/structure/info/ccd.py +95 -0
- biotite/structure/info/groups.py +90 -0
- biotite/structure/info/masses.py +21 -20
- biotite/structure/info/misc.py +11 -22
- biotite/structure/info/standardize.py +17 -12
- biotite/structure/io/__init__.py +2 -4
- biotite/structure/io/ctab.py +1 -1
- biotite/structure/io/general.py +37 -43
- biotite/structure/io/mmtf/__init__.py +3 -0
- biotite/structure/io/mmtf/convertarray.c +528 -365
- biotite/structure/io/mmtf/convertarray.cp310-win_amd64.pyd +0 -0
- biotite/structure/io/mmtf/convertfile.c +725 -676
- biotite/structure/io/mmtf/convertfile.cp310-win_amd64.pyd +0 -0
- biotite/structure/io/mmtf/decode.c +1070 -754
- biotite/structure/io/mmtf/decode.cp310-win_amd64.pyd +0 -0
- biotite/structure/io/mmtf/encode.c +727 -677
- biotite/structure/io/mmtf/encode.cp310-win_amd64.pyd +0 -0
- biotite/structure/io/mmtf/file.py +34 -26
- biotite/structure/io/npz/__init__.py +3 -0
- biotite/structure/io/npz/file.py +21 -18
- biotite/structure/io/pdb/__init__.py +3 -3
- biotite/structure/io/pdb/file.py +72 -70
- biotite/structure/io/pdb/hybrid36.c +540 -478
- biotite/structure/io/pdb/hybrid36.cp310-win_amd64.pyd +0 -0
- biotite/structure/io/pdbqt/file.py +82 -68
- biotite/structure/io/pdbx/__init__.py +13 -6
- biotite/structure/io/pdbx/bcif.py +649 -0
- biotite/structure/io/pdbx/cif.py +1028 -0
- biotite/structure/io/pdbx/component.py +243 -0
- biotite/structure/io/pdbx/convert.py +707 -359
- biotite/structure/io/pdbx/encoding.c +112813 -0
- biotite/structure/io/pdbx/encoding.cp310-win_amd64.pyd +0 -0
- biotite/structure/io/pdbx/error.py +14 -0
- biotite/structure/io/pdbx/legacy.py +267 -0
- biotite/structure/molecules.py +151 -151
- biotite/structure/residues.py +40 -40
- biotite/structure/sasa.c +713 -644
- biotite/structure/sasa.cp310-win_amd64.pyd +0 -0
- biotite/structure/superimpose.py +158 -115
- biotite/visualize.py +9 -11
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/METADATA +2 -2
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/RECORD +112 -102
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/WHEEL +1 -1
- biotite/structure/info/amino_acids.json +0 -1556
- biotite/structure/info/amino_acids.py +0 -42
- biotite/structure/info/carbohydrates.json +0 -1122
- biotite/structure/info/carbohydrates.py +0 -39
- biotite/structure/info/intra_bonds.msgpack +0 -0
- biotite/structure/info/link_types.msgpack +0 -1
- biotite/structure/info/nucleotides.json +0 -772
- biotite/structure/info/nucleotides.py +0 -39
- biotite/structure/info/residue_masses.msgpack +0 -0
- biotite/structure/info/residue_names.msgpack +0 -3
- biotite/structure/info/residues.msgpack +0 -0
- biotite/structure/io/pdbx/file.py +0 -652
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/LICENSE.rst +0 -0
- {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.0.
|
|
1
|
+
/* Generated by Cython 3.0.10 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -32,15 +32,15 @@ END: Cython Metadata */
|
|
|
32
32
|
#elif PY_VERSION_HEX < 0x02070000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
|
|
33
33
|
#error Cython requires Python 2.7+ or Python 3.3+.
|
|
34
34
|
#else
|
|
35
|
-
#if CYTHON_LIMITED_API
|
|
35
|
+
#if defined(CYTHON_LIMITED_API) && CYTHON_LIMITED_API
|
|
36
36
|
#define __PYX_EXTRA_ABI_MODULE_NAME "limited"
|
|
37
37
|
#else
|
|
38
38
|
#define __PYX_EXTRA_ABI_MODULE_NAME ""
|
|
39
39
|
#endif
|
|
40
|
-
#define CYTHON_ABI "
|
|
40
|
+
#define CYTHON_ABI "3_0_10" __PYX_EXTRA_ABI_MODULE_NAME
|
|
41
41
|
#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
|
|
42
42
|
#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
|
|
43
|
-
#define CYTHON_HEX_VERSION
|
|
43
|
+
#define CYTHON_HEX_VERSION 0x03000AF0
|
|
44
44
|
#define CYTHON_FUTURE_DIVISION 1
|
|
45
45
|
#include <stddef.h>
|
|
46
46
|
#ifndef offsetof
|
|
@@ -132,6 +132,8 @@ END: Cython Metadata */
|
|
|
132
132
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
133
133
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 0
|
|
134
134
|
#endif
|
|
135
|
+
#undef CYTHON_USE_FREELISTS
|
|
136
|
+
#define CYTHON_USE_FREELISTS 0
|
|
135
137
|
#elif defined(PYPY_VERSION)
|
|
136
138
|
#define CYTHON_COMPILING_IN_PYPY 1
|
|
137
139
|
#define CYTHON_COMPILING_IN_CPYTHON 0
|
|
@@ -193,6 +195,8 @@ END: Cython Metadata */
|
|
|
193
195
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
194
196
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 0
|
|
195
197
|
#endif
|
|
198
|
+
#undef CYTHON_USE_FREELISTS
|
|
199
|
+
#define CYTHON_USE_FREELISTS 0
|
|
196
200
|
#elif defined(CYTHON_LIMITED_API)
|
|
197
201
|
#ifdef Py_LIMITED_API
|
|
198
202
|
#undef __PYX_LIMITED_VERSION_HEX
|
|
@@ -254,7 +258,9 @@ END: Cython Metadata */
|
|
|
254
258
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
255
259
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 0
|
|
256
260
|
#endif
|
|
257
|
-
#
|
|
261
|
+
#undef CYTHON_USE_FREELISTS
|
|
262
|
+
#define CYTHON_USE_FREELISTS 0
|
|
263
|
+
#elif defined(Py_GIL_DISABLED) || defined(Py_NOGIL)
|
|
258
264
|
#define CYTHON_COMPILING_IN_PYPY 0
|
|
259
265
|
#define CYTHON_COMPILING_IN_CPYTHON 0
|
|
260
266
|
#define CYTHON_COMPILING_IN_LIMITED_API 0
|
|
@@ -263,11 +269,17 @@ END: Cython Metadata */
|
|
|
263
269
|
#ifndef CYTHON_USE_TYPE_SLOTS
|
|
264
270
|
#define CYTHON_USE_TYPE_SLOTS 1
|
|
265
271
|
#endif
|
|
272
|
+
#ifndef CYTHON_USE_TYPE_SPECS
|
|
273
|
+
#define CYTHON_USE_TYPE_SPECS 0
|
|
274
|
+
#endif
|
|
266
275
|
#undef CYTHON_USE_PYTYPE_LOOKUP
|
|
267
276
|
#define CYTHON_USE_PYTYPE_LOOKUP 0
|
|
268
277
|
#ifndef CYTHON_USE_ASYNC_SLOTS
|
|
269
278
|
#define CYTHON_USE_ASYNC_SLOTS 1
|
|
270
279
|
#endif
|
|
280
|
+
#ifndef CYTHON_USE_PYLONG_INTERNALS
|
|
281
|
+
#define CYTHON_USE_PYLONG_INTERNALS 0
|
|
282
|
+
#endif
|
|
271
283
|
#undef CYTHON_USE_PYLIST_INTERNALS
|
|
272
284
|
#define CYTHON_USE_PYLIST_INTERNALS 0
|
|
273
285
|
#ifndef CYTHON_USE_UNICODE_INTERNALS
|
|
@@ -275,8 +287,6 @@ END: Cython Metadata */
|
|
|
275
287
|
#endif
|
|
276
288
|
#undef CYTHON_USE_UNICODE_WRITER
|
|
277
289
|
#define CYTHON_USE_UNICODE_WRITER 0
|
|
278
|
-
#undef CYTHON_USE_PYLONG_INTERNALS
|
|
279
|
-
#define CYTHON_USE_PYLONG_INTERNALS 0
|
|
280
290
|
#ifndef CYTHON_AVOID_BORROWED_REFS
|
|
281
291
|
#define CYTHON_AVOID_BORROWED_REFS 0
|
|
282
292
|
#endif
|
|
@@ -288,11 +298,22 @@ END: Cython Metadata */
|
|
|
288
298
|
#endif
|
|
289
299
|
#undef CYTHON_FAST_THREAD_STATE
|
|
290
300
|
#define CYTHON_FAST_THREAD_STATE 0
|
|
301
|
+
#undef CYTHON_FAST_GIL
|
|
302
|
+
#define CYTHON_FAST_GIL 0
|
|
303
|
+
#ifndef CYTHON_METH_FASTCALL
|
|
304
|
+
#define CYTHON_METH_FASTCALL 1
|
|
305
|
+
#endif
|
|
291
306
|
#undef CYTHON_FAST_PYCALL
|
|
292
307
|
#define CYTHON_FAST_PYCALL 0
|
|
308
|
+
#ifndef CYTHON_PEP487_INIT_SUBCLASS
|
|
309
|
+
#define CYTHON_PEP487_INIT_SUBCLASS 1
|
|
310
|
+
#endif
|
|
293
311
|
#ifndef CYTHON_PEP489_MULTI_PHASE_INIT
|
|
294
312
|
#define CYTHON_PEP489_MULTI_PHASE_INIT 1
|
|
295
313
|
#endif
|
|
314
|
+
#ifndef CYTHON_USE_MODULE_STATE
|
|
315
|
+
#define CYTHON_USE_MODULE_STATE 0
|
|
316
|
+
#endif
|
|
296
317
|
#ifndef CYTHON_USE_TP_FINALIZE
|
|
297
318
|
#define CYTHON_USE_TP_FINALIZE 1
|
|
298
319
|
#endif
|
|
@@ -300,6 +321,12 @@ END: Cython Metadata */
|
|
|
300
321
|
#define CYTHON_USE_DICT_VERSIONS 0
|
|
301
322
|
#undef CYTHON_USE_EXC_INFO_STACK
|
|
302
323
|
#define CYTHON_USE_EXC_INFO_STACK 0
|
|
324
|
+
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
325
|
+
#define CYTHON_UPDATE_DESCRIPTOR_DOC 1
|
|
326
|
+
#endif
|
|
327
|
+
#ifndef CYTHON_USE_FREELISTS
|
|
328
|
+
#define CYTHON_USE_FREELISTS 0
|
|
329
|
+
#endif
|
|
303
330
|
#else
|
|
304
331
|
#define CYTHON_COMPILING_IN_PYPY 0
|
|
305
332
|
#define CYTHON_COMPILING_IN_CPYTHON 1
|
|
@@ -390,6 +417,9 @@ END: Cython Metadata */
|
|
|
390
417
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
|
391
418
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 1
|
|
392
419
|
#endif
|
|
420
|
+
#ifndef CYTHON_USE_FREELISTS
|
|
421
|
+
#define CYTHON_USE_FREELISTS 1
|
|
422
|
+
#endif
|
|
393
423
|
#endif
|
|
394
424
|
#if !defined(CYTHON_FAST_PYCCALL)
|
|
395
425
|
#define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
|
|
@@ -581,17 +611,20 @@ END: Cython Metadata */
|
|
|
581
611
|
PyObject *name, int fline, PyObject *lnos) {
|
|
582
612
|
PyObject *exception_table = NULL;
|
|
583
613
|
PyObject *types_module=NULL, *code_type=NULL, *result=NULL;
|
|
584
|
-
|
|
614
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030B0000
|
|
615
|
+
PyObject *version_info;
|
|
585
616
|
PyObject *py_minor_version = NULL;
|
|
617
|
+
#endif
|
|
586
618
|
long minor_version = 0;
|
|
587
619
|
PyObject *type, *value, *traceback;
|
|
588
620
|
PyErr_Fetch(&type, &value, &traceback);
|
|
589
621
|
#if __PYX_LIMITED_VERSION_HEX >= 0x030B0000
|
|
590
|
-
minor_version = 11;
|
|
622
|
+
minor_version = 11;
|
|
591
623
|
#else
|
|
592
624
|
if (!(version_info = PySys_GetObject("version_info"))) goto end;
|
|
593
625
|
if (!(py_minor_version = PySequence_GetItem(version_info, 1))) goto end;
|
|
594
626
|
minor_version = PyLong_AsLong(py_minor_version);
|
|
627
|
+
Py_DECREF(py_minor_version);
|
|
595
628
|
if (minor_version == -1 && PyErr_Occurred()) goto end;
|
|
596
629
|
#endif
|
|
597
630
|
if (!(types_module = PyImport_ImportModule("types"))) goto end;
|
|
@@ -612,7 +645,6 @@ END: Cython Metadata */
|
|
|
612
645
|
Py_XDECREF(code_type);
|
|
613
646
|
Py_XDECREF(exception_table);
|
|
614
647
|
Py_XDECREF(types_module);
|
|
615
|
-
Py_XDECREF(py_minor_version);
|
|
616
648
|
if (type) {
|
|
617
649
|
PyErr_Restore(type, value, traceback);
|
|
618
650
|
}
|
|
@@ -645,7 +677,7 @@ END: Cython Metadata */
|
|
|
645
677
|
PyObject *fv, PyObject *cell, PyObject* fn,
|
|
646
678
|
PyObject *name, int fline, PyObject *lnos) {
|
|
647
679
|
PyCodeObject *result;
|
|
648
|
-
PyObject *empty_bytes = PyBytes_FromStringAndSize("", 0);
|
|
680
|
+
PyObject *empty_bytes = PyBytes_FromStringAndSize("", 0);
|
|
649
681
|
if (!empty_bytes) return NULL;
|
|
650
682
|
result =
|
|
651
683
|
#if PY_VERSION_HEX >= 0x030C0000
|
|
@@ -731,8 +763,13 @@ END: Cython Metadata */
|
|
|
731
763
|
typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args,
|
|
732
764
|
Py_ssize_t nargs, PyObject *kwnames);
|
|
733
765
|
#else
|
|
734
|
-
#
|
|
735
|
-
#define
|
|
766
|
+
#if PY_VERSION_HEX >= 0x030d00A4
|
|
767
|
+
# define __Pyx_PyCFunctionFast PyCFunctionFast
|
|
768
|
+
# define __Pyx_PyCFunctionFastWithKeywords PyCFunctionFastWithKeywords
|
|
769
|
+
#else
|
|
770
|
+
# define __Pyx_PyCFunctionFast _PyCFunctionFast
|
|
771
|
+
# define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
|
|
772
|
+
#endif
|
|
736
773
|
#endif
|
|
737
774
|
#if CYTHON_METH_FASTCALL
|
|
738
775
|
#define __Pyx_METH_FASTCALL METH_FASTCALL
|
|
@@ -756,6 +793,31 @@ END: Cython Metadata */
|
|
|
756
793
|
#define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET 0
|
|
757
794
|
#define __Pyx_PyVectorcall_NARGS(n) ((Py_ssize_t)(n))
|
|
758
795
|
#endif
|
|
796
|
+
#if PY_MAJOR_VERSION >= 0x030900B1
|
|
797
|
+
#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_CheckExact(func)
|
|
798
|
+
#else
|
|
799
|
+
#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_Check(func)
|
|
800
|
+
#endif
|
|
801
|
+
#define __Pyx_CyOrPyCFunction_Check(func) PyCFunction_Check(func)
|
|
802
|
+
#if CYTHON_COMPILING_IN_CPYTHON
|
|
803
|
+
#define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) (((PyCFunctionObject*)(func))->m_ml->ml_meth)
|
|
804
|
+
#elif !CYTHON_COMPILING_IN_LIMITED_API
|
|
805
|
+
#define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(func)
|
|
806
|
+
#endif
|
|
807
|
+
#if CYTHON_COMPILING_IN_CPYTHON
|
|
808
|
+
#define __Pyx_CyOrPyCFunction_GET_FLAGS(func) (((PyCFunctionObject*)(func))->m_ml->ml_flags)
|
|
809
|
+
static CYTHON_INLINE PyObject* __Pyx_CyOrPyCFunction_GET_SELF(PyObject *func) {
|
|
810
|
+
return (__Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_STATIC) ? NULL : ((PyCFunctionObject*)func)->m_self;
|
|
811
|
+
}
|
|
812
|
+
#endif
|
|
813
|
+
static CYTHON_INLINE int __Pyx__IsSameCFunction(PyObject *func, void *cfunc) {
|
|
814
|
+
#if CYTHON_COMPILING_IN_LIMITED_API
|
|
815
|
+
return PyCFunction_Check(func) && PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
|
|
816
|
+
#else
|
|
817
|
+
return PyCFunction_Check(func) && PyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
|
|
818
|
+
#endif
|
|
819
|
+
}
|
|
820
|
+
#define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCFunction(func, cfunc)
|
|
759
821
|
#if __PYX_LIMITED_VERSION_HEX < 0x030900B1
|
|
760
822
|
#define __Pyx_PyType_FromModuleAndSpec(m, s, b) ((void)m, PyType_FromSpecWithBases(s, b))
|
|
761
823
|
typedef PyObject *(*__Pyx_PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, size_t, PyObject *);
|
|
@@ -782,6 +844,8 @@ END: Cython Metadata */
|
|
|
782
844
|
#define __Pyx_PyThreadState_Current PyThreadState_Get()
|
|
783
845
|
#elif !CYTHON_FAST_THREAD_STATE
|
|
784
846
|
#define __Pyx_PyThreadState_Current PyThreadState_GET()
|
|
847
|
+
#elif PY_VERSION_HEX >= 0x030d00A1
|
|
848
|
+
#define __Pyx_PyThreadState_Current PyThreadState_GetUnchecked()
|
|
785
849
|
#elif PY_VERSION_HEX >= 0x03060000
|
|
786
850
|
#define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
|
|
787
851
|
#elif PY_VERSION_HEX >= 0x03000000
|
|
@@ -857,7 +921,7 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
|
|
|
857
921
|
}
|
|
858
922
|
#endif
|
|
859
923
|
#endif
|
|
860
|
-
#if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized)
|
|
924
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030d0000 || defined(_PyDict_NewPresized)
|
|
861
925
|
#define __Pyx_PyDict_NewPresized(n) ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n))
|
|
862
926
|
#else
|
|
863
927
|
#define __Pyx_PyDict_NewPresized(n) PyDict_New()
|
|
@@ -869,7 +933,7 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
|
|
|
869
933
|
#define __Pyx_PyNumber_Divide(x,y) PyNumber_Divide(x,y)
|
|
870
934
|
#define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceDivide(x,y)
|
|
871
935
|
#endif
|
|
872
|
-
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX > 0x030600B4 && CYTHON_USE_UNICODE_INTERNALS
|
|
936
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX > 0x030600B4 && PY_VERSION_HEX < 0x030d0000 && CYTHON_USE_UNICODE_INTERNALS
|
|
873
937
|
#define __Pyx_PyDict_GetItemStrWithError(dict, name) _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash)
|
|
874
938
|
static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStr(PyObject *dict, PyObject *name) {
|
|
875
939
|
PyObject *res = __Pyx_PyDict_GetItemStrWithError(dict, name);
|
|
@@ -913,7 +977,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict,
|
|
|
913
977
|
#endif
|
|
914
978
|
#if CYTHON_USE_TYPE_SPECS && PY_VERSION_HEX >= 0x03080000
|
|
915
979
|
#define __Pyx_PyHeapTypeObject_GC_Del(obj) {\
|
|
916
|
-
PyTypeObject *type = Py_TYPE(obj);\
|
|
980
|
+
PyTypeObject *type = Py_TYPE((PyObject*)obj);\
|
|
917
981
|
assert(__Pyx_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE));\
|
|
918
982
|
PyObject_GC_Del(obj);\
|
|
919
983
|
Py_DECREF(type);\
|
|
@@ -1057,6 +1121,15 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict,
|
|
|
1057
1121
|
#define __Pyx_PyBytes_GET_SIZE(o) PyBytes_Size(o)
|
|
1058
1122
|
#define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_Size(o)
|
|
1059
1123
|
#endif
|
|
1124
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
1125
|
+
#define __Pyx_PyImport_AddModuleRef(name) PyImport_AddModuleRef(name)
|
|
1126
|
+
#else
|
|
1127
|
+
static CYTHON_INLINE PyObject *__Pyx_PyImport_AddModuleRef(const char *name) {
|
|
1128
|
+
PyObject *module = PyImport_AddModule(name);
|
|
1129
|
+
Py_XINCREF(module);
|
|
1130
|
+
return module;
|
|
1131
|
+
}
|
|
1132
|
+
#endif
|
|
1060
1133
|
#if PY_MAJOR_VERSION >= 3
|
|
1061
1134
|
#define PyIntObject PyLongObject
|
|
1062
1135
|
#define PyInt_Type PyLong_Type
|
|
@@ -1135,7 +1208,7 @@ static CYTHON_INLINE float __PYX_NAN() {
|
|
|
1135
1208
|
#endif
|
|
1136
1209
|
|
|
1137
1210
|
#define __PYX_MARK_ERR_POS(f_index, lineno) \
|
|
1138
|
-
{ __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__;
|
|
1211
|
+
{ __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__; (void)__pyx_clineno; }
|
|
1139
1212
|
#define __PYX_ERR(f_index, lineno, Ln_error) \
|
|
1140
1213
|
{ __PYX_MARK_ERR_POS(f_index, lineno) goto Ln_error; }
|
|
1141
1214
|
|
|
@@ -1219,9 +1292,10 @@ static CYTHON_INLINE int __Pyx_is_valid_index(Py_ssize_t i, Py_ssize_t limit) {
|
|
|
1219
1292
|
#else
|
|
1220
1293
|
#define __Pyx_sst_abs(value) ((value<0) ? -value : value)
|
|
1221
1294
|
#endif
|
|
1295
|
+
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s);
|
|
1222
1296
|
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*);
|
|
1223
1297
|
static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
|
|
1224
|
-
|
|
1298
|
+
static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char*);
|
|
1225
1299
|
#define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
|
|
1226
1300
|
#define __Pyx_PyBytes_FromString PyBytes_FromString
|
|
1227
1301
|
#define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize
|
|
@@ -1249,24 +1323,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*);
|
|
|
1249
1323
|
#define __Pyx_PyByteArray_FromCString(s) __Pyx_PyByteArray_FromString((const char*)s)
|
|
1250
1324
|
#define __Pyx_PyStr_FromCString(s) __Pyx_PyStr_FromString((const char*)s)
|
|
1251
1325
|
#define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
|
|
1252
|
-
#if CYTHON_COMPILING_IN_LIMITED_API
|
|
1253
|
-
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const wchar_t *u)
|
|
1254
|
-
{
|
|
1255
|
-
const wchar_t *u_end = u;
|
|
1256
|
-
while (*u_end++) ;
|
|
1257
|
-
return (size_t)(u_end - u - 1);
|
|
1258
|
-
}
|
|
1259
|
-
#else
|
|
1260
|
-
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
|
|
1261
|
-
{
|
|
1262
|
-
const Py_UNICODE *u_end = u;
|
|
1263
|
-
while (*u_end++) ;
|
|
1264
|
-
return (size_t)(u_end - u - 1);
|
|
1265
|
-
}
|
|
1266
|
-
#endif
|
|
1267
1326
|
#define __Pyx_PyUnicode_FromOrdinal(o) PyUnicode_FromOrdinal((int)o)
|
|
1268
|
-
#define __Pyx_PyUnicode_FromUnicode(u) PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
|
|
1269
|
-
#define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
|
|
1270
1327
|
#define __Pyx_PyUnicode_AsUnicode PyUnicode_AsUnicode
|
|
1271
1328
|
#define __Pyx_NewRef(obj) (Py_INCREF(obj), obj)
|
|
1272
1329
|
#define __Pyx_Owned_Py_None(b) __Pyx_NewRef(Py_None)
|
|
@@ -1316,7 +1373,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
|
|
|
1316
1373
|
#endif
|
|
1317
1374
|
typedef Py_ssize_t __Pyx_compact_pylong;
|
|
1318
1375
|
typedef size_t __Pyx_compact_upylong;
|
|
1319
|
-
#else
|
|
1376
|
+
#else
|
|
1320
1377
|
#define __Pyx_PyLong_IsNeg(x) (Py_SIZE(x) < 0)
|
|
1321
1378
|
#define __Pyx_PyLong_IsNonNeg(x) (Py_SIZE(x) >= 0)
|
|
1322
1379
|
#define __Pyx_PyLong_IsZero(x) (Py_SIZE(x) == 0)
|
|
@@ -1337,6 +1394,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
|
|
|
1337
1394
|
#endif
|
|
1338
1395
|
#endif
|
|
1339
1396
|
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
|
|
1397
|
+
#include <string.h>
|
|
1340
1398
|
static int __Pyx_sys_getdefaultencoding_not_ascii;
|
|
1341
1399
|
static int __Pyx_init_sys_getdefaultencoding_params(void) {
|
|
1342
1400
|
PyObject* sys;
|
|
@@ -1387,6 +1445,7 @@ bad:
|
|
|
1387
1445
|
#else
|
|
1388
1446
|
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
|
|
1389
1447
|
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
|
|
1448
|
+
#include <string.h>
|
|
1390
1449
|
static char* __PYX_DEFAULT_STRING_ENCODING;
|
|
1391
1450
|
static int __Pyx_init_sys_getdefaultencoding_params(void) {
|
|
1392
1451
|
PyObject* sys;
|
|
@@ -1434,7 +1493,7 @@ static const char *__pyx_filename;
|
|
|
1434
1493
|
#if !defined(CYTHON_CCOMPLEX)
|
|
1435
1494
|
#if defined(__cplusplus)
|
|
1436
1495
|
#define CYTHON_CCOMPLEX 1
|
|
1437
|
-
#elif (defined(_Complex_I) && !defined(_MSC_VER)) || ((defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_COMPLEX__))
|
|
1496
|
+
#elif (defined(_Complex_I) && !defined(_MSC_VER)) || ((defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_COMPLEX__) && !defined(_MSC_VER))
|
|
1438
1497
|
#define CYTHON_CCOMPLEX 1
|
|
1439
1498
|
#else
|
|
1440
1499
|
#define CYTHON_CCOMPLEX 0
|
|
@@ -1564,6 +1623,7 @@ typedef struct {
|
|
|
1564
1623
|
#include <intrin.h>
|
|
1565
1624
|
#undef __pyx_atomic_int_type
|
|
1566
1625
|
#define __pyx_atomic_int_type long
|
|
1626
|
+
#undef __pyx_nonatomic_int_type
|
|
1567
1627
|
#define __pyx_nonatomic_int_type long
|
|
1568
1628
|
#pragma intrinsic (_InterlockedExchangeAdd)
|
|
1569
1629
|
#define __pyx_atomic_incr_aligned(value) _InterlockedExchangeAdd(value, 1)
|
|
@@ -1603,7 +1663,7 @@ typedef struct {
|
|
|
1603
1663
|
|
|
1604
1664
|
/* #### Code section: numeric_typedefs ### */
|
|
1605
1665
|
|
|
1606
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1666
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1675
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1684
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1693
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1702
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1711
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1720
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1729
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1738
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1747
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1756
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1765
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1774
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1783
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1792
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1801
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1810
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1819
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1828
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1837
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1846
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/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 # <<<<<<<<<<<<<<
|
|
@@ -1824,7 +1884,7 @@ struct __pyx_MemviewEnum_obj;
|
|
|
1824
1884
|
struct __pyx_memoryview_obj;
|
|
1825
1885
|
struct __pyx_memoryviewslice_obj;
|
|
1826
1886
|
|
|
1827
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1887
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":771
|
|
1828
1888
|
* ctypedef npy_longdouble longdouble_t
|
|
1829
1889
|
*
|
|
1830
1890
|
* ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<<
|
|
@@ -1833,7 +1893,7 @@ struct __pyx_memoryviewslice_obj;
|
|
|
1833
1893
|
*/
|
|
1834
1894
|
typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
|
|
1835
1895
|
|
|
1836
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1896
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":772
|
|
1837
1897
|
*
|
|
1838
1898
|
* ctypedef npy_cfloat cfloat_t
|
|
1839
1899
|
* ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<<
|
|
@@ -1842,7 +1902,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
|
|
|
1842
1902
|
*/
|
|
1843
1903
|
typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
|
|
1844
1904
|
|
|
1845
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1905
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":773
|
|
1846
1906
|
* ctypedef npy_cfloat cfloat_t
|
|
1847
1907
|
* ctypedef npy_cdouble cdouble_t
|
|
1848
1908
|
* ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<<
|
|
@@ -1851,7 +1911,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
|
|
|
1851
1911
|
*/
|
|
1852
1912
|
typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
|
|
1853
1913
|
|
|
1854
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1914
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":775
|
|
1855
1915
|
* ctypedef npy_clongdouble clongdouble_t
|
|
1856
1916
|
*
|
|
1857
1917
|
* ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<<
|
|
@@ -2201,8 +2261,8 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
|
|
|
2201
2261
|
#define __Pyx_Arg_NewRef_VARARGS(arg) __Pyx_NewRef(arg)
|
|
2202
2262
|
#define __Pyx_Arg_XDECREF_VARARGS(arg) Py_XDECREF(arg)
|
|
2203
2263
|
#else
|
|
2204
|
-
#define __Pyx_Arg_NewRef_VARARGS(arg) arg
|
|
2205
|
-
#define __Pyx_Arg_XDECREF_VARARGS(arg)
|
|
2264
|
+
#define __Pyx_Arg_NewRef_VARARGS(arg) arg
|
|
2265
|
+
#define __Pyx_Arg_XDECREF_VARARGS(arg)
|
|
2206
2266
|
#endif
|
|
2207
2267
|
#define __Pyx_NumKwargs_VARARGS(kwds) PyDict_Size(kwds)
|
|
2208
2268
|
#define __Pyx_KwValues_VARARGS(args, nargs) NULL
|
|
@@ -2213,9 +2273,14 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
|
|
|
2213
2273
|
#define __Pyx_NumKwargs_FASTCALL(kwds) PyTuple_GET_SIZE(kwds)
|
|
2214
2274
|
#define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs))
|
|
2215
2275
|
static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s);
|
|
2276
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
2277
|
+
CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);
|
|
2278
|
+
#else
|
|
2216
2279
|
#define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw)
|
|
2217
|
-
|
|
2218
|
-
#define
|
|
2280
|
+
#endif
|
|
2281
|
+
#define __Pyx_Arg_NewRef_FASTCALL(arg) arg /* no-op, __Pyx_Arg_FASTCALL is direct and this needs
|
|
2282
|
+
to have the same reference counting */
|
|
2283
|
+
#define __Pyx_Arg_XDECREF_FASTCALL(arg)
|
|
2219
2284
|
#else
|
|
2220
2285
|
#define __Pyx_Arg_FASTCALL __Pyx_Arg_VARARGS
|
|
2221
2286
|
#define __Pyx_NumKwargs_FASTCALL __Pyx_NumKwargs_VARARGS
|
|
@@ -2538,9 +2603,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
|
|
|
2538
2603
|
static PyObject *__Pyx_ImportDottedModule_WalkParts(PyObject *module, PyObject *name, PyObject *parts_tuple);
|
|
2539
2604
|
#endif
|
|
2540
2605
|
|
|
2541
|
-
/* ssize_strlen.proto */
|
|
2542
|
-
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s);
|
|
2543
|
-
|
|
2544
2606
|
/* FastTypeChecks.proto */
|
|
2545
2607
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
2546
2608
|
#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
|
|
@@ -2566,7 +2628,11 @@ static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
|
|
|
2566
2628
|
Py_ssize_t len = Py_SIZE(list);
|
|
2567
2629
|
if (likely(L->allocated > len)) {
|
|
2568
2630
|
Py_INCREF(x);
|
|
2631
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
2632
|
+
L->ob_item[len] = x;
|
|
2633
|
+
#else
|
|
2569
2634
|
PyList_SET_ITEM(list, len, x);
|
|
2635
|
+
#endif
|
|
2570
2636
|
__Pyx_SET_SIZE(list, len + 1);
|
|
2571
2637
|
return 0;
|
|
2572
2638
|
}
|
|
@@ -2606,7 +2672,11 @@ static CYTHON_INLINE int __Pyx_PySequence_ContainsTF(PyObject* item, PyObject* s
|
|
|
2606
2672
|
static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name);
|
|
2607
2673
|
|
|
2608
2674
|
/* HasAttr.proto */
|
|
2675
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
2676
|
+
#define __Pyx_HasAttr(o, n) PyObject_HasAttrWithError(o, n)
|
|
2677
|
+
#else
|
|
2609
2678
|
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *);
|
|
2679
|
+
#endif
|
|
2610
2680
|
|
|
2611
2681
|
/* BufferIndexError.proto */
|
|
2612
2682
|
static void __Pyx_RaiseBufferIndexError(int axis);
|
|
@@ -2618,7 +2688,11 @@ static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) {
|
|
|
2618
2688
|
Py_ssize_t len = Py_SIZE(list);
|
|
2619
2689
|
if (likely(L->allocated > len) & likely(len > (L->allocated >> 1))) {
|
|
2620
2690
|
Py_INCREF(x);
|
|
2691
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
2692
|
+
L->ob_item[len] = x;
|
|
2693
|
+
#else
|
|
2621
2694
|
PyList_SET_ITEM(list, len, x);
|
|
2695
|
+
#endif
|
|
2622
2696
|
__Pyx_SET_SIZE(list, len + 1);
|
|
2623
2697
|
return 0;
|
|
2624
2698
|
}
|
|
@@ -2693,22 +2767,22 @@ static int __Pyx_setup_reduce(PyObject* type_obj);
|
|
|
2693
2767
|
#endif
|
|
2694
2768
|
|
|
2695
2769
|
/* TypeImport.proto */
|
|
2696
|
-
#ifndef
|
|
2697
|
-
#define
|
|
2770
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_0_10
|
|
2771
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_0_10
|
|
2698
2772
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2699
2773
|
#include <stdalign.h>
|
|
2700
2774
|
#endif
|
|
2701
2775
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2702
|
-
#define
|
|
2776
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) alignof(s)
|
|
2703
2777
|
#else
|
|
2704
|
-
#define
|
|
2778
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) sizeof(void*)
|
|
2705
2779
|
#endif
|
|
2706
|
-
enum
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2780
|
+
enum __Pyx_ImportType_CheckSize_3_0_10 {
|
|
2781
|
+
__Pyx_ImportType_CheckSize_Error_3_0_10 = 0,
|
|
2782
|
+
__Pyx_ImportType_CheckSize_Warn_3_0_10 = 1,
|
|
2783
|
+
__Pyx_ImportType_CheckSize_Ignore_3_0_10 = 2
|
|
2710
2784
|
};
|
|
2711
|
-
static PyTypeObject *
|
|
2785
|
+
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);
|
|
2712
2786
|
#endif
|
|
2713
2787
|
|
|
2714
2788
|
/* CLineInTraceback.proto */
|
|
@@ -2974,7 +3048,8 @@ typedef const char *__Pyx_TypeName;
|
|
|
2974
3048
|
#endif
|
|
2975
3049
|
|
|
2976
3050
|
/* CheckBinaryVersion.proto */
|
|
2977
|
-
static
|
|
3051
|
+
static unsigned long __Pyx_get_runtime_version(void);
|
|
3052
|
+
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
|
|
2978
3053
|
|
|
2979
3054
|
/* FunctionExport.proto */
|
|
2980
3055
|
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);
|
|
@@ -4162,8 +4237,7 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
|
|
|
4162
4237
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
4163
4238
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
4164
4239
|
#else
|
|
4165
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
4166
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 131, __pyx_L3_error)
|
|
4240
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
4167
4241
|
#endif
|
|
4168
4242
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
4169
4243
|
{
|
|
@@ -4264,10 +4338,11 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
|
|
|
4264
4338
|
__pyx_v_allocate_buffer = ((int)1);
|
|
4265
4339
|
}
|
|
4266
4340
|
}
|
|
4267
|
-
goto
|
|
4341
|
+
goto __pyx_L6_skip;
|
|
4268
4342
|
__pyx_L5_argtuple_error:;
|
|
4269
4343
|
__Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, __pyx_nargs); __PYX_ERR(1, 131, __pyx_L3_error)
|
|
4270
|
-
|
|
4344
|
+
__pyx_L6_skip:;
|
|
4345
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
4271
4346
|
__pyx_L3_error:;
|
|
4272
4347
|
{
|
|
4273
4348
|
Py_ssize_t __pyx_temp;
|
|
@@ -4550,13 +4625,20 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
|
|
|
4550
4625
|
* raise ValueError, f"Invalid shape in axis {idx}: {dim}."
|
|
4551
4626
|
*/
|
|
4552
4627
|
__pyx_t_7 = 0;
|
|
4553
|
-
__pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4);
|
|
4628
|
+
__pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4);
|
|
4629
|
+
__pyx_t_1 = 0;
|
|
4554
4630
|
for (;;) {
|
|
4555
|
-
|
|
4631
|
+
{
|
|
4632
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
|
|
4633
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
4634
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 159, __pyx_L1_error)
|
|
4635
|
+
#endif
|
|
4636
|
+
if (__pyx_t_1 >= __pyx_temp) break;
|
|
4637
|
+
}
|
|
4556
4638
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
4557
4639
|
__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)
|
|
4558
4640
|
#else
|
|
4559
|
-
__pyx_t_5 =
|
|
4641
|
+
__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)
|
|
4560
4642
|
__Pyx_GOTREF(__pyx_t_5);
|
|
4561
4643
|
#endif
|
|
4562
4644
|
__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)
|
|
@@ -5199,10 +5281,8 @@ static void __pyx_array___dealloc__(PyObject *__pyx_v_self) {
|
|
|
5199
5281
|
}
|
|
5200
5282
|
|
|
5201
5283
|
static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struct __pyx_array_obj *__pyx_v_self) {
|
|
5202
|
-
__Pyx_RefNannyDeclarations
|
|
5203
5284
|
int __pyx_t_1;
|
|
5204
5285
|
int __pyx_t_2;
|
|
5205
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
5206
5286
|
|
|
5207
5287
|
/* "View.MemoryView":211
|
|
5208
5288
|
*
|
|
@@ -5314,7 +5394,6 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
|
|
|
5314
5394
|
*/
|
|
5315
5395
|
|
|
5316
5396
|
/* function exit code */
|
|
5317
|
-
__Pyx_RefNannyFinishContext();
|
|
5318
5397
|
}
|
|
5319
5398
|
|
|
5320
5399
|
/* "View.MemoryView":219
|
|
@@ -5347,7 +5426,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
|
|
|
5347
5426
|
int __pyx_lineno = 0;
|
|
5348
5427
|
const char *__pyx_filename = NULL;
|
|
5349
5428
|
int __pyx_clineno = 0;
|
|
5350
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
5429
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
5351
5430
|
|
|
5352
5431
|
/* "View.MemoryView":221
|
|
5353
5432
|
* @property
|
|
@@ -5400,7 +5479,7 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
5400
5479
|
int __pyx_lineno = 0;
|
|
5401
5480
|
const char *__pyx_filename = NULL;
|
|
5402
5481
|
int __pyx_clineno = 0;
|
|
5403
|
-
__Pyx_RefNannySetupContext("get_memview",
|
|
5482
|
+
__Pyx_RefNannySetupContext("get_memview", 1);
|
|
5404
5483
|
|
|
5405
5484
|
/* "View.MemoryView":225
|
|
5406
5485
|
* @cname('get_memview')
|
|
@@ -5487,8 +5566,6 @@ static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self) {
|
|
|
5487
5566
|
|
|
5488
5567
|
static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(struct __pyx_array_obj *__pyx_v_self) {
|
|
5489
5568
|
Py_ssize_t __pyx_r;
|
|
5490
|
-
__Pyx_RefNannyDeclarations
|
|
5491
|
-
__Pyx_RefNannySetupContext("__len__", 0);
|
|
5492
5569
|
|
|
5493
5570
|
/* "View.MemoryView":229
|
|
5494
5571
|
*
|
|
@@ -5510,7 +5587,6 @@ static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(str
|
|
|
5510
5587
|
|
|
5511
5588
|
/* function exit code */
|
|
5512
5589
|
__pyx_L0:;
|
|
5513
|
-
__Pyx_RefNannyFinishContext();
|
|
5514
5590
|
return __pyx_r;
|
|
5515
5591
|
}
|
|
5516
5592
|
|
|
@@ -5545,7 +5621,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(
|
|
|
5545
5621
|
int __pyx_lineno = 0;
|
|
5546
5622
|
const char *__pyx_filename = NULL;
|
|
5547
5623
|
int __pyx_clineno = 0;
|
|
5548
|
-
__Pyx_RefNannySetupContext("__getattr__",
|
|
5624
|
+
__Pyx_RefNannySetupContext("__getattr__", 1);
|
|
5549
5625
|
|
|
5550
5626
|
/* "View.MemoryView":232
|
|
5551
5627
|
*
|
|
@@ -5615,7 +5691,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__
|
|
|
5615
5691
|
int __pyx_lineno = 0;
|
|
5616
5692
|
const char *__pyx_filename = NULL;
|
|
5617
5693
|
int __pyx_clineno = 0;
|
|
5618
|
-
__Pyx_RefNannySetupContext("__getitem__",
|
|
5694
|
+
__Pyx_RefNannySetupContext("__getitem__", 1);
|
|
5619
5695
|
|
|
5620
5696
|
/* "View.MemoryView":235
|
|
5621
5697
|
*
|
|
@@ -5684,7 +5760,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(struc
|
|
|
5684
5760
|
int __pyx_lineno = 0;
|
|
5685
5761
|
const char *__pyx_filename = NULL;
|
|
5686
5762
|
int __pyx_clineno = 0;
|
|
5687
|
-
__Pyx_RefNannySetupContext("__setitem__",
|
|
5763
|
+
__Pyx_RefNannySetupContext("__setitem__", 1);
|
|
5688
5764
|
|
|
5689
5765
|
/* "View.MemoryView":238
|
|
5690
5766
|
*
|
|
@@ -5743,9 +5819,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
5743
5819
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
5744
5820
|
#endif
|
|
5745
5821
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
5746
|
-
int __pyx_lineno = 0;
|
|
5747
|
-
const char *__pyx_filename = NULL;
|
|
5748
|
-
int __pyx_clineno = 0;
|
|
5749
5822
|
PyObject *__pyx_r = 0;
|
|
5750
5823
|
__Pyx_RefNannyDeclarations
|
|
5751
5824
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -5753,21 +5826,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
5753
5826
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
5754
5827
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
5755
5828
|
#else
|
|
5756
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
5757
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
5829
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
5758
5830
|
#endif
|
|
5759
5831
|
#endif
|
|
5760
5832
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
5761
5833
|
if (unlikely(__pyx_nargs > 0)) {
|
|
5762
5834
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
5763
5835
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
5764
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
5765
|
-
goto __pyx_L3_error;
|
|
5766
|
-
__pyx_L3_error:;
|
|
5767
|
-
__Pyx_AddTraceback("View.MemoryView.array.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
5768
|
-
__Pyx_RefNannyFinishContext();
|
|
5769
|
-
return NULL;
|
|
5770
|
-
__pyx_L4_argument_unpacking_done:;
|
|
5771
5836
|
__pyx_r = __pyx_pf___pyx_array___reduce_cython__(((struct __pyx_array_obj *)__pyx_v_self));
|
|
5772
5837
|
|
|
5773
5838
|
/* function exit code */
|
|
@@ -5781,7 +5846,7 @@ static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED struct __p
|
|
|
5781
5846
|
int __pyx_lineno = 0;
|
|
5782
5847
|
const char *__pyx_filename = NULL;
|
|
5783
5848
|
int __pyx_clineno = 0;
|
|
5784
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
5849
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
5785
5850
|
|
|
5786
5851
|
/* "(tree fragment)":2
|
|
5787
5852
|
* def __reduce_cython__(self):
|
|
@@ -5845,8 +5910,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
5845
5910
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
5846
5911
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
5847
5912
|
#else
|
|
5848
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
5849
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
5913
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
5850
5914
|
#endif
|
|
5851
5915
|
#endif
|
|
5852
5916
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -5881,10 +5945,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
5881
5945
|
}
|
|
5882
5946
|
__pyx_v___pyx_state = values[0];
|
|
5883
5947
|
}
|
|
5884
|
-
goto
|
|
5948
|
+
goto __pyx_L6_skip;
|
|
5885
5949
|
__pyx_L5_argtuple_error:;
|
|
5886
5950
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
5887
|
-
|
|
5951
|
+
__pyx_L6_skip:;
|
|
5952
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
5888
5953
|
__pyx_L3_error:;
|
|
5889
5954
|
{
|
|
5890
5955
|
Py_ssize_t __pyx_temp;
|
|
@@ -5915,7 +5980,7 @@ static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED struct
|
|
|
5915
5980
|
int __pyx_lineno = 0;
|
|
5916
5981
|
const char *__pyx_filename = NULL;
|
|
5917
5982
|
int __pyx_clineno = 0;
|
|
5918
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
5983
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
5919
5984
|
|
|
5920
5985
|
/* "(tree fragment)":4
|
|
5921
5986
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -5953,7 +6018,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
5953
6018
|
Py_ssize_t __pyx_v_i;
|
|
5954
6019
|
PyObject **__pyx_v_p;
|
|
5955
6020
|
int __pyx_r;
|
|
5956
|
-
__Pyx_RefNannyDeclarations
|
|
5957
6021
|
int __pyx_t_1;
|
|
5958
6022
|
Py_ssize_t __pyx_t_2;
|
|
5959
6023
|
Py_ssize_t __pyx_t_3;
|
|
@@ -5961,7 +6025,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
5961
6025
|
int __pyx_lineno = 0;
|
|
5962
6026
|
const char *__pyx_filename = NULL;
|
|
5963
6027
|
int __pyx_clineno = 0;
|
|
5964
|
-
__Pyx_RefNannySetupContext("_allocate_buffer", 0);
|
|
5965
6028
|
|
|
5966
6029
|
/* "View.MemoryView":254
|
|
5967
6030
|
* cdef PyObject **p
|
|
@@ -6099,7 +6162,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
|
|
|
6099
6162
|
__Pyx_AddTraceback("View.MemoryView._allocate_buffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
6100
6163
|
__pyx_r = -1;
|
|
6101
6164
|
__pyx_L0:;
|
|
6102
|
-
__Pyx_RefNannyFinishContext();
|
|
6103
6165
|
return __pyx_r;
|
|
6104
6166
|
}
|
|
6105
6167
|
|
|
@@ -6123,7 +6185,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
|
|
|
6123
6185
|
int __pyx_lineno = 0;
|
|
6124
6186
|
const char *__pyx_filename = NULL;
|
|
6125
6187
|
int __pyx_clineno = 0;
|
|
6126
|
-
__Pyx_RefNannySetupContext("array_cwrapper",
|
|
6188
|
+
__Pyx_RefNannySetupContext("array_cwrapper", 1);
|
|
6127
6189
|
|
|
6128
6190
|
/* "View.MemoryView":270
|
|
6129
6191
|
* cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format, char *c_mode, char *buf):
|
|
@@ -6300,8 +6362,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6300
6362
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6301
6363
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6302
6364
|
#else
|
|
6303
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6304
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 304, __pyx_L3_error)
|
|
6365
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
6305
6366
|
#endif
|
|
6306
6367
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
6307
6368
|
{
|
|
@@ -6335,10 +6396,11 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6335
6396
|
}
|
|
6336
6397
|
__pyx_v_name = values[0];
|
|
6337
6398
|
}
|
|
6338
|
-
goto
|
|
6399
|
+
goto __pyx_L6_skip;
|
|
6339
6400
|
__pyx_L5_argtuple_error:;
|
|
6340
6401
|
__Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 304, __pyx_L3_error)
|
|
6341
|
-
|
|
6402
|
+
__pyx_L6_skip:;
|
|
6403
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
6342
6404
|
__pyx_L3_error:;
|
|
6343
6405
|
{
|
|
6344
6406
|
Py_ssize_t __pyx_temp;
|
|
@@ -6366,7 +6428,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6366
6428
|
static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v_name) {
|
|
6367
6429
|
int __pyx_r;
|
|
6368
6430
|
__Pyx_RefNannyDeclarations
|
|
6369
|
-
__Pyx_RefNannySetupContext("__init__",
|
|
6431
|
+
__Pyx_RefNannySetupContext("__init__", 1);
|
|
6370
6432
|
|
|
6371
6433
|
/* "View.MemoryView":305
|
|
6372
6434
|
* cdef object name
|
|
@@ -6421,7 +6483,7 @@ static PyObject *__pyx_MemviewEnum___repr__(PyObject *__pyx_v_self) {
|
|
|
6421
6483
|
static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr__(struct __pyx_MemviewEnum_obj *__pyx_v_self) {
|
|
6422
6484
|
PyObject *__pyx_r = NULL;
|
|
6423
6485
|
__Pyx_RefNannyDeclarations
|
|
6424
|
-
__Pyx_RefNannySetupContext("__repr__",
|
|
6486
|
+
__Pyx_RefNannySetupContext("__repr__", 1);
|
|
6425
6487
|
|
|
6426
6488
|
/* "View.MemoryView":307
|
|
6427
6489
|
* self.name = name
|
|
@@ -6475,9 +6537,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6475
6537
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
6476
6538
|
#endif
|
|
6477
6539
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
6478
|
-
int __pyx_lineno = 0;
|
|
6479
|
-
const char *__pyx_filename = NULL;
|
|
6480
|
-
int __pyx_clineno = 0;
|
|
6481
6540
|
PyObject *__pyx_r = 0;
|
|
6482
6541
|
__Pyx_RefNannyDeclarations
|
|
6483
6542
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -6485,21 +6544,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6485
6544
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6486
6545
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6487
6546
|
#else
|
|
6488
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6489
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
6547
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
6490
6548
|
#endif
|
|
6491
6549
|
#endif
|
|
6492
6550
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
6493
6551
|
if (unlikely(__pyx_nargs > 0)) {
|
|
6494
6552
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
6495
6553
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
6496
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
6497
|
-
goto __pyx_L3_error;
|
|
6498
|
-
__pyx_L3_error:;
|
|
6499
|
-
__Pyx_AddTraceback("View.MemoryView.Enum.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
6500
|
-
__Pyx_RefNannyFinishContext();
|
|
6501
|
-
return NULL;
|
|
6502
|
-
__pyx_L4_argument_unpacking_done:;
|
|
6503
6554
|
__pyx_r = __pyx_pf___pyx_MemviewEnum___reduce_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self));
|
|
6504
6555
|
|
|
6505
6556
|
/* function exit code */
|
|
@@ -6520,7 +6571,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __pyx_Memvi
|
|
|
6520
6571
|
int __pyx_lineno = 0;
|
|
6521
6572
|
const char *__pyx_filename = NULL;
|
|
6522
6573
|
int __pyx_clineno = 0;
|
|
6523
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
6574
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
6524
6575
|
|
|
6525
6576
|
/* "(tree fragment)":5
|
|
6526
6577
|
* cdef object _dict
|
|
@@ -6757,8 +6808,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6757
6808
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6758
6809
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6759
6810
|
#else
|
|
6760
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6761
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 16, __pyx_L3_error)
|
|
6811
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
6762
6812
|
#endif
|
|
6763
6813
|
#endif
|
|
6764
6814
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -6793,10 +6843,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
6793
6843
|
}
|
|
6794
6844
|
__pyx_v___pyx_state = values[0];
|
|
6795
6845
|
}
|
|
6796
|
-
goto
|
|
6846
|
+
goto __pyx_L6_skip;
|
|
6797
6847
|
__pyx_L5_argtuple_error:;
|
|
6798
6848
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error)
|
|
6799
|
-
|
|
6849
|
+
__pyx_L6_skip:;
|
|
6850
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
6800
6851
|
__pyx_L3_error:;
|
|
6801
6852
|
{
|
|
6802
6853
|
Py_ssize_t __pyx_temp;
|
|
@@ -6828,7 +6879,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct __pyx_Me
|
|
|
6828
6879
|
int __pyx_lineno = 0;
|
|
6829
6880
|
const char *__pyx_filename = NULL;
|
|
6830
6881
|
int __pyx_clineno = 0;
|
|
6831
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
6882
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
6832
6883
|
|
|
6833
6884
|
/* "(tree fragment)":17
|
|
6834
6885
|
* return __pyx_unpickle_Enum, (type(self), 0x82a3537, state)
|
|
@@ -6886,8 +6937,7 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6886
6937
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
6887
6938
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
6888
6939
|
#else
|
|
6889
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
6890
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 349, __pyx_L3_error)
|
|
6940
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
|
|
6891
6941
|
#endif
|
|
6892
6942
|
__pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
|
|
6893
6943
|
{
|
|
@@ -6953,10 +7003,11 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6953
7003
|
__pyx_v_dtype_is_object = ((int)0);
|
|
6954
7004
|
}
|
|
6955
7005
|
}
|
|
6956
|
-
goto
|
|
7006
|
+
goto __pyx_L6_skip;
|
|
6957
7007
|
__pyx_L5_argtuple_error:;
|
|
6958
7008
|
__Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, __pyx_nargs); __PYX_ERR(1, 349, __pyx_L3_error)
|
|
6959
|
-
|
|
7009
|
+
__pyx_L6_skip:;
|
|
7010
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
6960
7011
|
__pyx_L3_error:;
|
|
6961
7012
|
{
|
|
6962
7013
|
Py_ssize_t __pyx_temp;
|
|
@@ -6992,7 +7043,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
|
|
|
6992
7043
|
int __pyx_lineno = 0;
|
|
6993
7044
|
const char *__pyx_filename = NULL;
|
|
6994
7045
|
int __pyx_clineno = 0;
|
|
6995
|
-
__Pyx_RefNannySetupContext("__cinit__",
|
|
7046
|
+
__Pyx_RefNannySetupContext("__cinit__", 1);
|
|
6996
7047
|
|
|
6997
7048
|
/* "View.MemoryView":350
|
|
6998
7049
|
*
|
|
@@ -7327,14 +7378,12 @@ static void __pyx_memoryview___dealloc__(PyObject *__pyx_v_self) {
|
|
|
7327
7378
|
|
|
7328
7379
|
static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
7329
7380
|
int __pyx_v_i;
|
|
7330
|
-
__Pyx_RefNannyDeclarations
|
|
7331
7381
|
int __pyx_t_1;
|
|
7332
7382
|
int __pyx_t_2;
|
|
7333
7383
|
int __pyx_t_3;
|
|
7334
7384
|
int __pyx_t_4;
|
|
7335
7385
|
PyThread_type_lock __pyx_t_5;
|
|
7336
7386
|
PyThread_type_lock __pyx_t_6;
|
|
7337
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
7338
7387
|
|
|
7339
7388
|
/* "View.MemoryView":377
|
|
7340
7389
|
*
|
|
@@ -7532,7 +7581,6 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
|
|
|
7532
7581
|
*/
|
|
7533
7582
|
|
|
7534
7583
|
/* function exit code */
|
|
7535
|
-
__Pyx_RefNannyFinishContext();
|
|
7536
7584
|
}
|
|
7537
7585
|
|
|
7538
7586
|
/* "View.MemoryView":397
|
|
@@ -7559,7 +7607,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
7559
7607
|
int __pyx_lineno = 0;
|
|
7560
7608
|
const char *__pyx_filename = NULL;
|
|
7561
7609
|
int __pyx_clineno = 0;
|
|
7562
|
-
__Pyx_RefNannySetupContext("get_item_pointer",
|
|
7610
|
+
__Pyx_RefNannySetupContext("get_item_pointer", 1);
|
|
7563
7611
|
|
|
7564
7612
|
/* "View.MemoryView":399
|
|
7565
7613
|
* cdef char *get_item_pointer(memoryview self, object index) except NULL:
|
|
@@ -7579,7 +7627,8 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
7579
7627
|
*/
|
|
7580
7628
|
__pyx_t_1 = 0;
|
|
7581
7629
|
if (likely(PyList_CheckExact(__pyx_v_index)) || PyTuple_CheckExact(__pyx_v_index)) {
|
|
7582
|
-
__pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2);
|
|
7630
|
+
__pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2);
|
|
7631
|
+
__pyx_t_3 = 0;
|
|
7583
7632
|
__pyx_t_4 = NULL;
|
|
7584
7633
|
} else {
|
|
7585
7634
|
__pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
@@ -7589,19 +7638,31 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
|
|
|
7589
7638
|
for (;;) {
|
|
7590
7639
|
if (likely(!__pyx_t_4)) {
|
|
7591
7640
|
if (likely(PyList_CheckExact(__pyx_t_2))) {
|
|
7592
|
-
|
|
7641
|
+
{
|
|
7642
|
+
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
|
|
7643
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
7644
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
7645
|
+
#endif
|
|
7646
|
+
if (__pyx_t_3 >= __pyx_temp) break;
|
|
7647
|
+
}
|
|
7593
7648
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
7594
7649
|
__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)
|
|
7595
7650
|
#else
|
|
7596
|
-
__pyx_t_5 =
|
|
7651
|
+
__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)
|
|
7597
7652
|
__Pyx_GOTREF(__pyx_t_5);
|
|
7598
7653
|
#endif
|
|
7599
7654
|
} else {
|
|
7600
|
-
|
|
7655
|
+
{
|
|
7656
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
|
|
7657
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
7658
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
|
|
7659
|
+
#endif
|
|
7660
|
+
if (__pyx_t_3 >= __pyx_temp) break;
|
|
7661
|
+
}
|
|
7601
7662
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
7602
7663
|
__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)
|
|
7603
7664
|
#else
|
|
7604
|
-
__pyx_t_5 =
|
|
7665
|
+
__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)
|
|
7605
7666
|
__Pyx_GOTREF(__pyx_t_5);
|
|
7606
7667
|
#endif
|
|
7607
7668
|
}
|
|
@@ -7710,7 +7771,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
|
|
|
7710
7771
|
int __pyx_lineno = 0;
|
|
7711
7772
|
const char *__pyx_filename = NULL;
|
|
7712
7773
|
int __pyx_clineno = 0;
|
|
7713
|
-
__Pyx_RefNannySetupContext("__getitem__",
|
|
7774
|
+
__Pyx_RefNannySetupContext("__getitem__", 1);
|
|
7714
7775
|
|
|
7715
7776
|
/* "View.MemoryView":408
|
|
7716
7777
|
*
|
|
@@ -8321,7 +8382,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryvi
|
|
|
8321
8382
|
int __pyx_lineno = 0;
|
|
8322
8383
|
const char *__pyx_filename = NULL;
|
|
8323
8384
|
int __pyx_clineno = 0;
|
|
8324
|
-
__Pyx_RefNannySetupContext("setitem_slice_assignment",
|
|
8385
|
+
__Pyx_RefNannySetupContext("setitem_slice_assignment", 1);
|
|
8325
8386
|
|
|
8326
8387
|
/* "View.MemoryView":448
|
|
8327
8388
|
* cdef __Pyx_memviewslice dst_slice
|
|
@@ -8414,7 +8475,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
|
|
|
8414
8475
|
int __pyx_lineno = 0;
|
|
8415
8476
|
const char *__pyx_filename = NULL;
|
|
8416
8477
|
int __pyx_clineno = 0;
|
|
8417
|
-
__Pyx_RefNannySetupContext("setitem_slice_assign_scalar",
|
|
8478
|
+
__Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 1);
|
|
8418
8479
|
|
|
8419
8480
|
/* "View.MemoryView":455
|
|
8420
8481
|
* cdef setitem_slice_assign_scalar(self, memoryview dst, value):
|
|
@@ -8687,7 +8748,7 @@ static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *_
|
|
|
8687
8748
|
int __pyx_lineno = 0;
|
|
8688
8749
|
const char *__pyx_filename = NULL;
|
|
8689
8750
|
int __pyx_clineno = 0;
|
|
8690
|
-
__Pyx_RefNannySetupContext("setitem_indexed",
|
|
8751
|
+
__Pyx_RefNannySetupContext("setitem_indexed", 1);
|
|
8691
8752
|
|
|
8692
8753
|
/* "View.MemoryView":486
|
|
8693
8754
|
*
|
|
@@ -8758,7 +8819,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
|
|
|
8758
8819
|
int __pyx_lineno = 0;
|
|
8759
8820
|
const char *__pyx_filename = NULL;
|
|
8760
8821
|
int __pyx_clineno = 0;
|
|
8761
|
-
__Pyx_RefNannySetupContext("convert_item_to_object",
|
|
8822
|
+
__Pyx_RefNannySetupContext("convert_item_to_object", 1);
|
|
8762
8823
|
|
|
8763
8824
|
/* "View.MemoryView":492
|
|
8764
8825
|
* """Only used if instantiated manually by the user, or if Cython doesn't
|
|
@@ -9008,7 +9069,7 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
|
|
|
9008
9069
|
int __pyx_lineno = 0;
|
|
9009
9070
|
const char *__pyx_filename = NULL;
|
|
9010
9071
|
int __pyx_clineno = 0;
|
|
9011
|
-
__Pyx_RefNannySetupContext("assign_item_from_object",
|
|
9072
|
+
__Pyx_RefNannySetupContext("assign_item_from_object", 1);
|
|
9012
9073
|
|
|
9013
9074
|
/* "View.MemoryView":508
|
|
9014
9075
|
* """Only used if instantiated manually by the user, or if Cython doesn't
|
|
@@ -9561,7 +9622,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
|
|
|
9561
9622
|
int __pyx_lineno = 0;
|
|
9562
9623
|
const char *__pyx_filename = NULL;
|
|
9563
9624
|
int __pyx_clineno = 0;
|
|
9564
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
9625
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
9565
9626
|
|
|
9566
9627
|
/* "View.MemoryView":556
|
|
9567
9628
|
* @property
|
|
@@ -9647,7 +9708,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
|
|
|
9647
9708
|
int __pyx_lineno = 0;
|
|
9648
9709
|
const char *__pyx_filename = NULL;
|
|
9649
9710
|
int __pyx_clineno = 0;
|
|
9650
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
9711
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
9651
9712
|
|
|
9652
9713
|
/* "View.MemoryView":562
|
|
9653
9714
|
* @property
|
|
@@ -9693,7 +9754,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
|
|
|
9693
9754
|
static PyObject *__pyx_memoryview__get_base(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
9694
9755
|
PyObject *__pyx_r = NULL;
|
|
9695
9756
|
__Pyx_RefNannyDeclarations
|
|
9696
|
-
__Pyx_RefNannySetupContext("_get_base",
|
|
9757
|
+
__Pyx_RefNannySetupContext("_get_base", 1);
|
|
9697
9758
|
|
|
9698
9759
|
/* "View.MemoryView":565
|
|
9699
9760
|
*
|
|
@@ -9757,7 +9818,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
|
|
|
9757
9818
|
int __pyx_lineno = 0;
|
|
9758
9819
|
const char *__pyx_filename = NULL;
|
|
9759
9820
|
int __pyx_clineno = 0;
|
|
9760
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
9821
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
9761
9822
|
|
|
9762
9823
|
/* "View.MemoryView":569
|
|
9763
9824
|
* @property
|
|
@@ -9843,7 +9904,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
|
|
|
9843
9904
|
int __pyx_lineno = 0;
|
|
9844
9905
|
const char *__pyx_filename = NULL;
|
|
9845
9906
|
int __pyx_clineno = 0;
|
|
9846
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
9907
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
9847
9908
|
|
|
9848
9909
|
/* "View.MemoryView":573
|
|
9849
9910
|
* @property
|
|
@@ -9958,7 +10019,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
|
|
|
9958
10019
|
int __pyx_lineno = 0;
|
|
9959
10020
|
const char *__pyx_filename = NULL;
|
|
9960
10021
|
int __pyx_clineno = 0;
|
|
9961
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10022
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
9962
10023
|
|
|
9963
10024
|
/* "View.MemoryView":581
|
|
9964
10025
|
* @property
|
|
@@ -10071,7 +10132,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
|
|
|
10071
10132
|
int __pyx_lineno = 0;
|
|
10072
10133
|
const char *__pyx_filename = NULL;
|
|
10073
10134
|
int __pyx_clineno = 0;
|
|
10074
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10135
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10075
10136
|
|
|
10076
10137
|
/* "View.MemoryView":588
|
|
10077
10138
|
* @property
|
|
@@ -10136,7 +10197,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
|
|
|
10136
10197
|
int __pyx_lineno = 0;
|
|
10137
10198
|
const char *__pyx_filename = NULL;
|
|
10138
10199
|
int __pyx_clineno = 0;
|
|
10139
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10200
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10140
10201
|
|
|
10141
10202
|
/* "View.MemoryView":592
|
|
10142
10203
|
* @property
|
|
@@ -10203,7 +10264,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
|
|
|
10203
10264
|
int __pyx_lineno = 0;
|
|
10204
10265
|
const char *__pyx_filename = NULL;
|
|
10205
10266
|
int __pyx_clineno = 0;
|
|
10206
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10267
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10207
10268
|
|
|
10208
10269
|
/* "View.MemoryView":596
|
|
10209
10270
|
* @property
|
|
@@ -10282,7 +10343,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
|
|
|
10282
10343
|
int __pyx_lineno = 0;
|
|
10283
10344
|
const char *__pyx_filename = NULL;
|
|
10284
10345
|
int __pyx_clineno = 0;
|
|
10285
|
-
__Pyx_RefNannySetupContext("__get__",
|
|
10346
|
+
__Pyx_RefNannySetupContext("__get__", 1);
|
|
10286
10347
|
|
|
10287
10348
|
/* "View.MemoryView":600
|
|
10288
10349
|
* @property
|
|
@@ -10412,9 +10473,7 @@ static Py_ssize_t __pyx_memoryview___len__(PyObject *__pyx_v_self) {
|
|
|
10412
10473
|
|
|
10413
10474
|
static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_10__len__(struct __pyx_memoryview_obj *__pyx_v_self) {
|
|
10414
10475
|
Py_ssize_t __pyx_r;
|
|
10415
|
-
__Pyx_RefNannyDeclarations
|
|
10416
10476
|
int __pyx_t_1;
|
|
10417
|
-
__Pyx_RefNannySetupContext("__len__", 0);
|
|
10418
10477
|
|
|
10419
10478
|
/* "View.MemoryView":611
|
|
10420
10479
|
*
|
|
@@ -10465,7 +10524,6 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
|
|
|
10465
10524
|
|
|
10466
10525
|
/* function exit code */
|
|
10467
10526
|
__pyx_L0:;
|
|
10468
|
-
__Pyx_RefNannyFinishContext();
|
|
10469
10527
|
return __pyx_r;
|
|
10470
10528
|
}
|
|
10471
10529
|
|
|
@@ -10501,7 +10559,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
|
|
|
10501
10559
|
int __pyx_lineno = 0;
|
|
10502
10560
|
const char *__pyx_filename = NULL;
|
|
10503
10561
|
int __pyx_clineno = 0;
|
|
10504
|
-
__Pyx_RefNannySetupContext("__repr__",
|
|
10562
|
+
__Pyx_RefNannySetupContext("__repr__", 1);
|
|
10505
10563
|
|
|
10506
10564
|
/* "View.MemoryView":617
|
|
10507
10565
|
*
|
|
@@ -10604,7 +10662,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
|
|
|
10604
10662
|
int __pyx_lineno = 0;
|
|
10605
10663
|
const char *__pyx_filename = NULL;
|
|
10606
10664
|
int __pyx_clineno = 0;
|
|
10607
|
-
__Pyx_RefNannySetupContext("__str__",
|
|
10665
|
+
__Pyx_RefNannySetupContext("__str__", 1);
|
|
10608
10666
|
|
|
10609
10667
|
/* "View.MemoryView":621
|
|
10610
10668
|
*
|
|
@@ -10681,9 +10739,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
10681
10739
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
10682
10740
|
#endif
|
|
10683
10741
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
10684
|
-
int __pyx_lineno = 0;
|
|
10685
|
-
const char *__pyx_filename = NULL;
|
|
10686
|
-
int __pyx_clineno = 0;
|
|
10687
10742
|
PyObject *__pyx_r = 0;
|
|
10688
10743
|
__Pyx_RefNannyDeclarations
|
|
10689
10744
|
__Pyx_RefNannySetupContext("is_c_contig (wrapper)", 0);
|
|
@@ -10691,21 +10746,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
10691
10746
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
10692
10747
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
10693
10748
|
#else
|
|
10694
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
10695
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 624, __pyx_L3_error)
|
|
10749
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
10696
10750
|
#endif
|
|
10697
10751
|
#endif
|
|
10698
10752
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
10699
10753
|
if (unlikely(__pyx_nargs > 0)) {
|
|
10700
10754
|
__Pyx_RaiseArgtupleInvalid("is_c_contig", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
10701
10755
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_c_contig", 0))) return NULL;
|
|
10702
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
10703
|
-
goto __pyx_L3_error;
|
|
10704
|
-
__pyx_L3_error:;
|
|
10705
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.is_c_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
10706
|
-
__Pyx_RefNannyFinishContext();
|
|
10707
|
-
return NULL;
|
|
10708
|
-
__pyx_L4_argument_unpacking_done:;
|
|
10709
10756
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
10710
10757
|
|
|
10711
10758
|
/* function exit code */
|
|
@@ -10723,7 +10770,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
|
|
|
10723
10770
|
int __pyx_lineno = 0;
|
|
10724
10771
|
const char *__pyx_filename = NULL;
|
|
10725
10772
|
int __pyx_clineno = 0;
|
|
10726
|
-
__Pyx_RefNannySetupContext("is_c_contig",
|
|
10773
|
+
__Pyx_RefNannySetupContext("is_c_contig", 1);
|
|
10727
10774
|
|
|
10728
10775
|
/* "View.MemoryView":627
|
|
10729
10776
|
* cdef __Pyx_memviewslice *mslice
|
|
@@ -10795,9 +10842,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
10795
10842
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
10796
10843
|
#endif
|
|
10797
10844
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
10798
|
-
int __pyx_lineno = 0;
|
|
10799
|
-
const char *__pyx_filename = NULL;
|
|
10800
|
-
int __pyx_clineno = 0;
|
|
10801
10845
|
PyObject *__pyx_r = 0;
|
|
10802
10846
|
__Pyx_RefNannyDeclarations
|
|
10803
10847
|
__Pyx_RefNannySetupContext("is_f_contig (wrapper)", 0);
|
|
@@ -10805,21 +10849,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
10805
10849
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
10806
10850
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
10807
10851
|
#else
|
|
10808
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
10809
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 630, __pyx_L3_error)
|
|
10852
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
10810
10853
|
#endif
|
|
10811
10854
|
#endif
|
|
10812
10855
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
10813
10856
|
if (unlikely(__pyx_nargs > 0)) {
|
|
10814
10857
|
__Pyx_RaiseArgtupleInvalid("is_f_contig", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
10815
10858
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_f_contig", 0))) return NULL;
|
|
10816
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
10817
|
-
goto __pyx_L3_error;
|
|
10818
|
-
__pyx_L3_error:;
|
|
10819
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.is_f_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
10820
|
-
__Pyx_RefNannyFinishContext();
|
|
10821
|
-
return NULL;
|
|
10822
|
-
__pyx_L4_argument_unpacking_done:;
|
|
10823
10859
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
10824
10860
|
|
|
10825
10861
|
/* function exit code */
|
|
@@ -10837,7 +10873,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
|
|
|
10837
10873
|
int __pyx_lineno = 0;
|
|
10838
10874
|
const char *__pyx_filename = NULL;
|
|
10839
10875
|
int __pyx_clineno = 0;
|
|
10840
|
-
__Pyx_RefNannySetupContext("is_f_contig",
|
|
10876
|
+
__Pyx_RefNannySetupContext("is_f_contig", 1);
|
|
10841
10877
|
|
|
10842
10878
|
/* "View.MemoryView":633
|
|
10843
10879
|
* cdef __Pyx_memviewslice *mslice
|
|
@@ -10909,9 +10945,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
10909
10945
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
10910
10946
|
#endif
|
|
10911
10947
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
10912
|
-
int __pyx_lineno = 0;
|
|
10913
|
-
const char *__pyx_filename = NULL;
|
|
10914
|
-
int __pyx_clineno = 0;
|
|
10915
10948
|
PyObject *__pyx_r = 0;
|
|
10916
10949
|
__Pyx_RefNannyDeclarations
|
|
10917
10950
|
__Pyx_RefNannySetupContext("copy (wrapper)", 0);
|
|
@@ -10919,21 +10952,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
10919
10952
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
10920
10953
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
10921
10954
|
#else
|
|
10922
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
10923
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 636, __pyx_L3_error)
|
|
10955
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
10924
10956
|
#endif
|
|
10925
10957
|
#endif
|
|
10926
10958
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
10927
10959
|
if (unlikely(__pyx_nargs > 0)) {
|
|
10928
10960
|
__Pyx_RaiseArgtupleInvalid("copy", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
10929
10961
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy", 0))) return NULL;
|
|
10930
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
10931
|
-
goto __pyx_L3_error;
|
|
10932
|
-
__pyx_L3_error:;
|
|
10933
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.copy", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
10934
|
-
__Pyx_RefNannyFinishContext();
|
|
10935
|
-
return NULL;
|
|
10936
|
-
__pyx_L4_argument_unpacking_done:;
|
|
10937
10962
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
10938
10963
|
|
|
10939
10964
|
/* function exit code */
|
|
@@ -10951,7 +10976,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
|
|
|
10951
10976
|
int __pyx_lineno = 0;
|
|
10952
10977
|
const char *__pyx_filename = NULL;
|
|
10953
10978
|
int __pyx_clineno = 0;
|
|
10954
|
-
__Pyx_RefNannySetupContext("copy",
|
|
10979
|
+
__Pyx_RefNannySetupContext("copy", 1);
|
|
10955
10980
|
|
|
10956
10981
|
/* "View.MemoryView":638
|
|
10957
10982
|
* def copy(self):
|
|
@@ -11041,9 +11066,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11041
11066
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11042
11067
|
#endif
|
|
11043
11068
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11044
|
-
int __pyx_lineno = 0;
|
|
11045
|
-
const char *__pyx_filename = NULL;
|
|
11046
|
-
int __pyx_clineno = 0;
|
|
11047
11069
|
PyObject *__pyx_r = 0;
|
|
11048
11070
|
__Pyx_RefNannyDeclarations
|
|
11049
11071
|
__Pyx_RefNannySetupContext("copy_fortran (wrapper)", 0);
|
|
@@ -11051,21 +11073,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11051
11073
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11052
11074
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11053
11075
|
#else
|
|
11054
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11055
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 648, __pyx_L3_error)
|
|
11076
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11056
11077
|
#endif
|
|
11057
11078
|
#endif
|
|
11058
11079
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11059
11080
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11060
11081
|
__Pyx_RaiseArgtupleInvalid("copy_fortran", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11061
11082
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy_fortran", 0))) return NULL;
|
|
11062
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11063
|
-
goto __pyx_L3_error;
|
|
11064
|
-
__pyx_L3_error:;
|
|
11065
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.copy_fortran", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11066
|
-
__Pyx_RefNannyFinishContext();
|
|
11067
|
-
return NULL;
|
|
11068
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11069
11083
|
__pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11070
11084
|
|
|
11071
11085
|
/* function exit code */
|
|
@@ -11084,7 +11098,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
|
|
|
11084
11098
|
int __pyx_lineno = 0;
|
|
11085
11099
|
const char *__pyx_filename = NULL;
|
|
11086
11100
|
int __pyx_clineno = 0;
|
|
11087
|
-
__Pyx_RefNannySetupContext("copy_fortran",
|
|
11101
|
+
__Pyx_RefNannySetupContext("copy_fortran", 1);
|
|
11088
11102
|
|
|
11089
11103
|
/* "View.MemoryView":650
|
|
11090
11104
|
* def copy_fortran(self):
|
|
@@ -11172,9 +11186,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11172
11186
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
11173
11187
|
#endif
|
|
11174
11188
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
11175
|
-
int __pyx_lineno = 0;
|
|
11176
|
-
const char *__pyx_filename = NULL;
|
|
11177
|
-
int __pyx_clineno = 0;
|
|
11178
11189
|
PyObject *__pyx_r = 0;
|
|
11179
11190
|
__Pyx_RefNannyDeclarations
|
|
11180
11191
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -11182,21 +11193,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11182
11193
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11183
11194
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11184
11195
|
#else
|
|
11185
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11186
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
11196
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11187
11197
|
#endif
|
|
11188
11198
|
#endif
|
|
11189
11199
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
11190
11200
|
if (unlikely(__pyx_nargs > 0)) {
|
|
11191
11201
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
11192
11202
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
11193
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
11194
|
-
goto __pyx_L3_error;
|
|
11195
|
-
__pyx_L3_error:;
|
|
11196
|
-
__Pyx_AddTraceback("View.MemoryView.memoryview.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11197
|
-
__Pyx_RefNannyFinishContext();
|
|
11198
|
-
return NULL;
|
|
11199
|
-
__pyx_L4_argument_unpacking_done:;
|
|
11200
11203
|
__pyx_r = __pyx_pf___pyx_memoryview___reduce_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self));
|
|
11201
11204
|
|
|
11202
11205
|
/* function exit code */
|
|
@@ -11210,7 +11213,7 @@ static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUSED struc
|
|
|
11210
11213
|
int __pyx_lineno = 0;
|
|
11211
11214
|
const char *__pyx_filename = NULL;
|
|
11212
11215
|
int __pyx_clineno = 0;
|
|
11213
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
11216
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
11214
11217
|
|
|
11215
11218
|
/* "(tree fragment)":2
|
|
11216
11219
|
* def __reduce_cython__(self):
|
|
@@ -11274,8 +11277,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11274
11277
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
11275
11278
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
11276
11279
|
#else
|
|
11277
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
11278
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
11280
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
11279
11281
|
#endif
|
|
11280
11282
|
#endif
|
|
11281
11283
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -11310,10 +11312,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
11310
11312
|
}
|
|
11311
11313
|
__pyx_v___pyx_state = values[0];
|
|
11312
11314
|
}
|
|
11313
|
-
goto
|
|
11315
|
+
goto __pyx_L6_skip;
|
|
11314
11316
|
__pyx_L5_argtuple_error:;
|
|
11315
11317
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
11316
|
-
|
|
11318
|
+
__pyx_L6_skip:;
|
|
11319
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
11317
11320
|
__pyx_L3_error:;
|
|
11318
11321
|
{
|
|
11319
11322
|
Py_ssize_t __pyx_temp;
|
|
@@ -11344,7 +11347,7 @@ static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_UNUSED st
|
|
|
11344
11347
|
int __pyx_lineno = 0;
|
|
11345
11348
|
const char *__pyx_filename = NULL;
|
|
11346
11349
|
int __pyx_clineno = 0;
|
|
11347
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
11350
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
11348
11351
|
|
|
11349
11352
|
/* "(tree fragment)":4
|
|
11350
11353
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -11388,7 +11391,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
|
|
|
11388
11391
|
int __pyx_lineno = 0;
|
|
11389
11392
|
const char *__pyx_filename = NULL;
|
|
11390
11393
|
int __pyx_clineno = 0;
|
|
11391
|
-
__Pyx_RefNannySetupContext("memoryview_cwrapper",
|
|
11394
|
+
__Pyx_RefNannySetupContext("memoryview_cwrapper", 1);
|
|
11392
11395
|
|
|
11393
11396
|
/* "View.MemoryView":663
|
|
11394
11397
|
* @cname('__pyx_memoryview_new')
|
|
@@ -11471,9 +11474,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
|
|
|
11471
11474
|
|
|
11472
11475
|
static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
|
|
11473
11476
|
int __pyx_r;
|
|
11474
|
-
__Pyx_RefNannyDeclarations
|
|
11475
11477
|
int __pyx_t_1;
|
|
11476
|
-
__Pyx_RefNannySetupContext("memoryview_check", 0);
|
|
11477
11478
|
|
|
11478
11479
|
/* "View.MemoryView":669
|
|
11479
11480
|
* @cname('__pyx_memoryview_check')
|
|
@@ -11496,7 +11497,6 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
|
|
|
11496
11497
|
|
|
11497
11498
|
/* function exit code */
|
|
11498
11499
|
__pyx_L0:;
|
|
11499
|
-
__Pyx_RefNannyFinishContext();
|
|
11500
11500
|
return __pyx_r;
|
|
11501
11501
|
}
|
|
11502
11502
|
|
|
@@ -11528,7 +11528,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
11528
11528
|
int __pyx_lineno = 0;
|
|
11529
11529
|
const char *__pyx_filename = NULL;
|
|
11530
11530
|
int __pyx_clineno = 0;
|
|
11531
|
-
__Pyx_RefNannySetupContext("_unellipsify",
|
|
11531
|
+
__Pyx_RefNannySetupContext("_unellipsify", 1);
|
|
11532
11532
|
|
|
11533
11533
|
/* "View.MemoryView":677
|
|
11534
11534
|
* """
|
|
@@ -11610,13 +11610,20 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
11610
11610
|
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
|
|
11611
11611
|
__PYX_ERR(1, 683, __pyx_L1_error)
|
|
11612
11612
|
}
|
|
11613
|
-
__pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1);
|
|
11613
|
+
__pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1);
|
|
11614
|
+
__pyx_t_4 = 0;
|
|
11614
11615
|
for (;;) {
|
|
11615
|
-
|
|
11616
|
+
{
|
|
11617
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
|
|
11618
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
11619
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 683, __pyx_L1_error)
|
|
11620
|
+
#endif
|
|
11621
|
+
if (__pyx_t_4 >= __pyx_temp) break;
|
|
11622
|
+
}
|
|
11616
11623
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
11617
11624
|
__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)
|
|
11618
11625
|
#else
|
|
11619
|
-
__pyx_t_3 =
|
|
11626
|
+
__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)
|
|
11620
11627
|
__Pyx_GOTREF(__pyx_t_3);
|
|
11621
11628
|
#endif
|
|
11622
11629
|
__Pyx_XDECREF_SET(__pyx_v_item, __pyx_t_3);
|
|
@@ -11885,7 +11892,6 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
|
|
|
11885
11892
|
static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_ndim) {
|
|
11886
11893
|
Py_ssize_t __pyx_v_suboffset;
|
|
11887
11894
|
int __pyx_r;
|
|
11888
|
-
__Pyx_RefNannyDeclarations
|
|
11889
11895
|
Py_ssize_t *__pyx_t_1;
|
|
11890
11896
|
Py_ssize_t *__pyx_t_2;
|
|
11891
11897
|
Py_ssize_t *__pyx_t_3;
|
|
@@ -11893,7 +11899,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
|
|
|
11893
11899
|
int __pyx_lineno = 0;
|
|
11894
11900
|
const char *__pyx_filename = NULL;
|
|
11895
11901
|
int __pyx_clineno = 0;
|
|
11896
|
-
__Pyx_RefNannySetupContext("assert_direct_dimensions", 0);
|
|
11897
11902
|
|
|
11898
11903
|
/* "View.MemoryView":701
|
|
11899
11904
|
*
|
|
@@ -11960,7 +11965,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
|
|
|
11960
11965
|
__Pyx_AddTraceback("View.MemoryView.assert_direct_dimensions", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
11961
11966
|
__pyx_r = -1;
|
|
11962
11967
|
__pyx_L0:;
|
|
11963
|
-
__Pyx_RefNannyFinishContext();
|
|
11964
11968
|
return __pyx_r;
|
|
11965
11969
|
}
|
|
11966
11970
|
|
|
@@ -12006,7 +12010,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
12006
12010
|
int __pyx_lineno = 0;
|
|
12007
12011
|
const char *__pyx_filename = NULL;
|
|
12008
12012
|
int __pyx_clineno = 0;
|
|
12009
|
-
__Pyx_RefNannySetupContext("memview_slice",
|
|
12013
|
+
__Pyx_RefNannySetupContext("memview_slice", 1);
|
|
12010
12014
|
|
|
12011
12015
|
/* "View.MemoryView":712
|
|
12012
12016
|
* @cname('__pyx_memview_slice')
|
|
@@ -12156,7 +12160,8 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
12156
12160
|
*/
|
|
12157
12161
|
__pyx_t_5 = 0;
|
|
12158
12162
|
if (likely(PyList_CheckExact(__pyx_v_indices)) || PyTuple_CheckExact(__pyx_v_indices)) {
|
|
12159
|
-
__pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2);
|
|
12163
|
+
__pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2);
|
|
12164
|
+
__pyx_t_6 = 0;
|
|
12160
12165
|
__pyx_t_7 = NULL;
|
|
12161
12166
|
} else {
|
|
12162
12167
|
__pyx_t_6 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_indices); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
@@ -12166,19 +12171,31 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
|
|
|
12166
12171
|
for (;;) {
|
|
12167
12172
|
if (likely(!__pyx_t_7)) {
|
|
12168
12173
|
if (likely(PyList_CheckExact(__pyx_t_2))) {
|
|
12169
|
-
|
|
12174
|
+
{
|
|
12175
|
+
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
|
|
12176
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
12177
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
12178
|
+
#endif
|
|
12179
|
+
if (__pyx_t_6 >= __pyx_temp) break;
|
|
12180
|
+
}
|
|
12170
12181
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
12171
12182
|
__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)
|
|
12172
12183
|
#else
|
|
12173
|
-
__pyx_t_8 =
|
|
12184
|
+
__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)
|
|
12174
12185
|
__Pyx_GOTREF(__pyx_t_8);
|
|
12175
12186
|
#endif
|
|
12176
12187
|
} else {
|
|
12177
|
-
|
|
12188
|
+
{
|
|
12189
|
+
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
|
|
12190
|
+
#if !CYTHON_ASSUME_SAFE_MACROS
|
|
12191
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
|
|
12192
|
+
#endif
|
|
12193
|
+
if (__pyx_t_6 >= __pyx_temp) break;
|
|
12194
|
+
}
|
|
12178
12195
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
12179
12196
|
__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)
|
|
12180
12197
|
#else
|
|
12181
|
-
__pyx_t_8 =
|
|
12198
|
+
__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)
|
|
12182
12199
|
__Pyx_GOTREF(__pyx_t_8);
|
|
12183
12200
|
#endif
|
|
12184
12201
|
}
|
|
@@ -12557,7 +12574,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
12557
12574
|
Py_ssize_t __pyx_v_new_shape;
|
|
12558
12575
|
int __pyx_v_negative_step;
|
|
12559
12576
|
int __pyx_r;
|
|
12560
|
-
__Pyx_RefNannyDeclarations
|
|
12561
12577
|
int __pyx_t_1;
|
|
12562
12578
|
int __pyx_t_2;
|
|
12563
12579
|
int __pyx_t_3;
|
|
@@ -12567,7 +12583,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
12567
12583
|
#ifdef WITH_THREAD
|
|
12568
12584
|
PyGILState_STATE __pyx_gilstate_save;
|
|
12569
12585
|
#endif
|
|
12570
|
-
__Pyx_RefNannySetupContext("slice_memviewslice", 1);
|
|
12571
12586
|
|
|
12572
12587
|
/* "View.MemoryView":813
|
|
12573
12588
|
* cdef bint negative_step
|
|
@@ -13322,7 +13337,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
|
|
|
13322
13337
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
13323
13338
|
#endif
|
|
13324
13339
|
__pyx_L0:;
|
|
13325
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
13326
13340
|
return __pyx_r;
|
|
13327
13341
|
}
|
|
13328
13342
|
|
|
@@ -13350,7 +13364,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
|
|
|
13350
13364
|
int __pyx_lineno = 0;
|
|
13351
13365
|
const char *__pyx_filename = NULL;
|
|
13352
13366
|
int __pyx_clineno = 0;
|
|
13353
|
-
__Pyx_RefNannySetupContext("pybuffer_index",
|
|
13367
|
+
__Pyx_RefNannySetupContext("pybuffer_index", 1);
|
|
13354
13368
|
|
|
13355
13369
|
/* "View.MemoryView":898
|
|
13356
13370
|
* cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,
|
|
@@ -13677,7 +13691,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
13677
13691
|
int __pyx_v_i;
|
|
13678
13692
|
int __pyx_v_j;
|
|
13679
13693
|
int __pyx_r;
|
|
13680
|
-
__Pyx_RefNannyDeclarations
|
|
13681
13694
|
int __pyx_t_1;
|
|
13682
13695
|
Py_ssize_t *__pyx_t_2;
|
|
13683
13696
|
long __pyx_t_3;
|
|
@@ -13693,7 +13706,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
13693
13706
|
#ifdef WITH_THREAD
|
|
13694
13707
|
PyGILState_STATE __pyx_gilstate_save;
|
|
13695
13708
|
#endif
|
|
13696
|
-
__Pyx_RefNannySetupContext("transpose_memslice", 1);
|
|
13697
13709
|
|
|
13698
13710
|
/* "View.MemoryView":930
|
|
13699
13711
|
* @cname('__pyx_memslice_transpose')
|
|
@@ -13836,7 +13848,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
|
|
|
13836
13848
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
13837
13849
|
#endif
|
|
13838
13850
|
__pyx_L0:;
|
|
13839
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
13840
13851
|
return __pyx_r;
|
|
13841
13852
|
}
|
|
13842
13853
|
|
|
@@ -13862,8 +13873,6 @@ static void __pyx_memoryviewslice___dealloc__(PyObject *__pyx_v_self) {
|
|
|
13862
13873
|
}
|
|
13863
13874
|
|
|
13864
13875
|
static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewslice___dealloc__(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
|
|
13865
|
-
__Pyx_RefNannyDeclarations
|
|
13866
|
-
__Pyx_RefNannySetupContext("__dealloc__", 0);
|
|
13867
13876
|
|
|
13868
13877
|
/* "View.MemoryView":964
|
|
13869
13878
|
*
|
|
@@ -13883,7 +13892,6 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
|
|
|
13883
13892
|
*/
|
|
13884
13893
|
|
|
13885
13894
|
/* function exit code */
|
|
13886
|
-
__Pyx_RefNannyFinishContext();
|
|
13887
13895
|
}
|
|
13888
13896
|
|
|
13889
13897
|
/* "View.MemoryView":966
|
|
@@ -13902,7 +13910,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
|
|
|
13902
13910
|
int __pyx_lineno = 0;
|
|
13903
13911
|
const char *__pyx_filename = NULL;
|
|
13904
13912
|
int __pyx_clineno = 0;
|
|
13905
|
-
__Pyx_RefNannySetupContext("convert_item_to_object",
|
|
13913
|
+
__Pyx_RefNannySetupContext("convert_item_to_object", 1);
|
|
13906
13914
|
|
|
13907
13915
|
/* "View.MemoryView":967
|
|
13908
13916
|
*
|
|
@@ -13989,7 +13997,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
|
|
|
13989
13997
|
int __pyx_lineno = 0;
|
|
13990
13998
|
const char *__pyx_filename = NULL;
|
|
13991
13999
|
int __pyx_clineno = 0;
|
|
13992
|
-
__Pyx_RefNannySetupContext("assign_item_from_object",
|
|
14000
|
+
__Pyx_RefNannySetupContext("assign_item_from_object", 1);
|
|
13993
14001
|
|
|
13994
14002
|
/* "View.MemoryView":973
|
|
13995
14003
|
*
|
|
@@ -14066,7 +14074,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
|
|
|
14066
14074
|
static PyObject *__pyx_memoryviewslice__get_base(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
|
|
14067
14075
|
PyObject *__pyx_r = NULL;
|
|
14068
14076
|
__Pyx_RefNannyDeclarations
|
|
14069
|
-
__Pyx_RefNannySetupContext("_get_base",
|
|
14077
|
+
__Pyx_RefNannySetupContext("_get_base", 1);
|
|
14070
14078
|
|
|
14071
14079
|
/* "View.MemoryView":979
|
|
14072
14080
|
*
|
|
@@ -14120,9 +14128,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14120
14128
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
14121
14129
|
#endif
|
|
14122
14130
|
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
|
|
14123
|
-
int __pyx_lineno = 0;
|
|
14124
|
-
const char *__pyx_filename = NULL;
|
|
14125
|
-
int __pyx_clineno = 0;
|
|
14126
14131
|
PyObject *__pyx_r = 0;
|
|
14127
14132
|
__Pyx_RefNannyDeclarations
|
|
14128
14133
|
__Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
|
|
@@ -14130,21 +14135,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14130
14135
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
14131
14136
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
14132
14137
|
#else
|
|
14133
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
14134
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
14138
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
14135
14139
|
#endif
|
|
14136
14140
|
#endif
|
|
14137
14141
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
14138
14142
|
if (unlikely(__pyx_nargs > 0)) {
|
|
14139
14143
|
__Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
|
|
14140
14144
|
if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
|
|
14141
|
-
goto __pyx_L4_argument_unpacking_done;
|
|
14142
|
-
goto __pyx_L3_error;
|
|
14143
|
-
__pyx_L3_error:;
|
|
14144
|
-
__Pyx_AddTraceback("View.MemoryView._memoryviewslice.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
14145
|
-
__Pyx_RefNannyFinishContext();
|
|
14146
|
-
return NULL;
|
|
14147
|
-
__pyx_L4_argument_unpacking_done:;
|
|
14148
14145
|
__pyx_r = __pyx_pf___pyx_memoryviewslice___reduce_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self));
|
|
14149
14146
|
|
|
14150
14147
|
/* function exit code */
|
|
@@ -14158,7 +14155,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON_UNUSED
|
|
|
14158
14155
|
int __pyx_lineno = 0;
|
|
14159
14156
|
const char *__pyx_filename = NULL;
|
|
14160
14157
|
int __pyx_clineno = 0;
|
|
14161
|
-
__Pyx_RefNannySetupContext("__reduce_cython__",
|
|
14158
|
+
__Pyx_RefNannySetupContext("__reduce_cython__", 1);
|
|
14162
14159
|
|
|
14163
14160
|
/* "(tree fragment)":2
|
|
14164
14161
|
* def __reduce_cython__(self):
|
|
@@ -14222,8 +14219,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14222
14219
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
14223
14220
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
14224
14221
|
#else
|
|
14225
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
14226
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
|
|
14222
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
14227
14223
|
#endif
|
|
14228
14224
|
#endif
|
|
14229
14225
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -14258,10 +14254,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14258
14254
|
}
|
|
14259
14255
|
__pyx_v___pyx_state = values[0];
|
|
14260
14256
|
}
|
|
14261
|
-
goto
|
|
14257
|
+
goto __pyx_L6_skip;
|
|
14262
14258
|
__pyx_L5_argtuple_error:;
|
|
14263
14259
|
__Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
|
|
14264
|
-
|
|
14260
|
+
__pyx_L6_skip:;
|
|
14261
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
14265
14262
|
__pyx_L3_error:;
|
|
14266
14263
|
{
|
|
14267
14264
|
Py_ssize_t __pyx_temp;
|
|
@@ -14292,7 +14289,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYTHON_UNUS
|
|
|
14292
14289
|
int __pyx_lineno = 0;
|
|
14293
14290
|
const char *__pyx_filename = NULL;
|
|
14294
14291
|
int __pyx_clineno = 0;
|
|
14295
|
-
__Pyx_RefNannySetupContext("__setstate_cython__",
|
|
14292
|
+
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
|
|
14296
14293
|
|
|
14297
14294
|
/* "(tree fragment)":4
|
|
14298
14295
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
@@ -14344,7 +14341,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
|
|
|
14344
14341
|
int __pyx_lineno = 0;
|
|
14345
14342
|
const char *__pyx_filename = NULL;
|
|
14346
14343
|
int __pyx_clineno = 0;
|
|
14347
|
-
__Pyx_RefNannySetupContext("memoryview_fromslice",
|
|
14344
|
+
__Pyx_RefNannySetupContext("memoryview_fromslice", 1);
|
|
14348
14345
|
|
|
14349
14346
|
/* "View.MemoryView":1007
|
|
14350
14347
|
* cdef _memoryviewslice result
|
|
@@ -14721,7 +14718,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
|
|
|
14721
14718
|
int __pyx_lineno = 0;
|
|
14722
14719
|
const char *__pyx_filename = NULL;
|
|
14723
14720
|
int __pyx_clineno = 0;
|
|
14724
|
-
__Pyx_RefNannySetupContext("get_slice_from_memview",
|
|
14721
|
+
__Pyx_RefNannySetupContext("get_slice_from_memview", 1);
|
|
14725
14722
|
|
|
14726
14723
|
/* "View.MemoryView":1055
|
|
14727
14724
|
* __Pyx_memviewslice *mslice) except NULL:
|
|
@@ -14818,14 +14815,12 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
|
|
|
14818
14815
|
Py_ssize_t *__pyx_v_shape;
|
|
14819
14816
|
Py_ssize_t *__pyx_v_strides;
|
|
14820
14817
|
Py_ssize_t *__pyx_v_suboffsets;
|
|
14821
|
-
__Pyx_RefNannyDeclarations
|
|
14822
14818
|
Py_ssize_t *__pyx_t_1;
|
|
14823
14819
|
int __pyx_t_2;
|
|
14824
14820
|
int __pyx_t_3;
|
|
14825
14821
|
int __pyx_t_4;
|
|
14826
14822
|
Py_ssize_t __pyx_t_5;
|
|
14827
14823
|
int __pyx_t_6;
|
|
14828
|
-
__Pyx_RefNannySetupContext("slice_copy", 0);
|
|
14829
14824
|
|
|
14830
14825
|
/* "View.MemoryView":1067
|
|
14831
14826
|
* cdef (Py_ssize_t*) shape, strides, suboffsets
|
|
@@ -14930,7 +14925,6 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
|
|
|
14930
14925
|
*/
|
|
14931
14926
|
|
|
14932
14927
|
/* function exit code */
|
|
14933
|
-
__Pyx_RefNannyFinishContext();
|
|
14934
14928
|
}
|
|
14935
14929
|
|
|
14936
14930
|
/* "View.MemoryView":1080
|
|
@@ -14949,7 +14943,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
|
|
|
14949
14943
|
int __pyx_lineno = 0;
|
|
14950
14944
|
const char *__pyx_filename = NULL;
|
|
14951
14945
|
int __pyx_clineno = 0;
|
|
14952
|
-
__Pyx_RefNannySetupContext("memoryview_copy",
|
|
14946
|
+
__Pyx_RefNannySetupContext("memoryview_copy", 1);
|
|
14953
14947
|
|
|
14954
14948
|
/* "View.MemoryView":1083
|
|
14955
14949
|
* "Create a new memoryview object"
|
|
@@ -15013,7 +15007,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
|
|
|
15013
15007
|
int __pyx_lineno = 0;
|
|
15014
15008
|
const char *__pyx_filename = NULL;
|
|
15015
15009
|
int __pyx_clineno = 0;
|
|
15016
|
-
__Pyx_RefNannySetupContext("memoryview_copy_from_slice",
|
|
15010
|
+
__Pyx_RefNannySetupContext("memoryview_copy_from_slice", 1);
|
|
15017
15011
|
|
|
15018
15012
|
/* "View.MemoryView":1094
|
|
15019
15013
|
* cdef int (*to_dtype_func)(char *, object) except 0
|
|
@@ -15822,7 +15816,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
15822
15816
|
size_t __pyx_v_itemsize;
|
|
15823
15817
|
size_t __pyx_v_size;
|
|
15824
15818
|
void *__pyx_r;
|
|
15825
|
-
__Pyx_RefNannyDeclarations
|
|
15826
15819
|
Py_ssize_t __pyx_t_1;
|
|
15827
15820
|
int __pyx_t_2;
|
|
15828
15821
|
int __pyx_t_3;
|
|
@@ -15835,7 +15828,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
15835
15828
|
#ifdef WITH_THREAD
|
|
15836
15829
|
PyGILState_STATE __pyx_gilstate_save;
|
|
15837
15830
|
#endif
|
|
15838
|
-
__Pyx_RefNannySetupContext("copy_data_to_temp", 1);
|
|
15839
15831
|
|
|
15840
15832
|
/* "View.MemoryView":1216
|
|
15841
15833
|
* cdef void *result
|
|
@@ -16063,7 +16055,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
|
|
|
16063
16055
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
16064
16056
|
#endif
|
|
16065
16057
|
__pyx_L0:;
|
|
16066
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
16067
16058
|
return __pyx_r;
|
|
16068
16059
|
}
|
|
16069
16060
|
|
|
@@ -16283,14 +16274,12 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, PyObject *__pyx_v_msg)
|
|
|
16283
16274
|
|
|
16284
16275
|
static int __pyx_memoryview_err_no_memory(void) {
|
|
16285
16276
|
int __pyx_r;
|
|
16286
|
-
__Pyx_RefNannyDeclarations
|
|
16287
16277
|
int __pyx_lineno = 0;
|
|
16288
16278
|
const char *__pyx_filename = NULL;
|
|
16289
16279
|
int __pyx_clineno = 0;
|
|
16290
16280
|
#ifdef WITH_THREAD
|
|
16291
16281
|
PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
|
|
16292
16282
|
#endif
|
|
16293
|
-
__Pyx_RefNannySetupContext("_err_no_memory", 0);
|
|
16294
16283
|
|
|
16295
16284
|
/* "View.MemoryView":1261
|
|
16296
16285
|
* @cname('__pyx_memoryview_err_no_memory')
|
|
@@ -16313,7 +16302,6 @@ static int __pyx_memoryview_err_no_memory(void) {
|
|
|
16313
16302
|
__pyx_L1_error:;
|
|
16314
16303
|
__Pyx_AddTraceback("View.MemoryView._err_no_memory", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
16315
16304
|
__pyx_r = -1;
|
|
16316
|
-
__Pyx_RefNannyFinishContext();
|
|
16317
16305
|
#ifdef WITH_THREAD
|
|
16318
16306
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
16319
16307
|
#endif
|
|
@@ -16338,7 +16326,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
16338
16326
|
__Pyx_memviewslice __pyx_v_tmp;
|
|
16339
16327
|
int __pyx_v_ndim;
|
|
16340
16328
|
int __pyx_r;
|
|
16341
|
-
__Pyx_RefNannyDeclarations
|
|
16342
16329
|
Py_ssize_t __pyx_t_1;
|
|
16343
16330
|
int __pyx_t_2;
|
|
16344
16331
|
int __pyx_t_3;
|
|
@@ -16352,7 +16339,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
16352
16339
|
#ifdef WITH_THREAD
|
|
16353
16340
|
PyGILState_STATE __pyx_gilstate_save;
|
|
16354
16341
|
#endif
|
|
16355
|
-
__Pyx_RefNannySetupContext("memoryview_copy_contents", 1);
|
|
16356
16342
|
|
|
16357
16343
|
/* "View.MemoryView":1273
|
|
16358
16344
|
* Check for overlapping memory and verify the shapes.
|
|
@@ -16897,7 +16883,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
|
|
|
16897
16883
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
16898
16884
|
#endif
|
|
16899
16885
|
__pyx_L0:;
|
|
16900
|
-
__Pyx_RefNannyFinishContextNogil()
|
|
16901
16886
|
return __pyx_r;
|
|
16902
16887
|
}
|
|
16903
16888
|
|
|
@@ -17071,11 +17056,9 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
|
|
|
17071
17056
|
*/
|
|
17072
17057
|
|
|
17073
17058
|
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) {
|
|
17074
|
-
__Pyx_RefNannyDeclarations
|
|
17075
17059
|
#ifdef WITH_THREAD
|
|
17076
17060
|
PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
|
|
17077
17061
|
#endif
|
|
17078
|
-
__Pyx_RefNannySetupContext("refcount_objects_in_slice_with_gil", 0);
|
|
17079
17062
|
|
|
17080
17063
|
/* "View.MemoryView":1368
|
|
17081
17064
|
* Py_ssize_t *strides, int ndim,
|
|
@@ -17095,7 +17078,6 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
|
|
|
17095
17078
|
*/
|
|
17096
17079
|
|
|
17097
17080
|
/* function exit code */
|
|
17098
|
-
__Pyx_RefNannyFinishContext();
|
|
17099
17081
|
#ifdef WITH_THREAD
|
|
17100
17082
|
__Pyx_PyGILState_Release(__pyx_gilstate_save);
|
|
17101
17083
|
#endif
|
|
@@ -17112,12 +17094,10 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
|
|
|
17112
17094
|
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) {
|
|
17113
17095
|
CYTHON_UNUSED Py_ssize_t __pyx_v_i;
|
|
17114
17096
|
Py_ssize_t __pyx_v_stride;
|
|
17115
|
-
__Pyx_RefNannyDeclarations
|
|
17116
17097
|
Py_ssize_t __pyx_t_1;
|
|
17117
17098
|
Py_ssize_t __pyx_t_2;
|
|
17118
17099
|
Py_ssize_t __pyx_t_3;
|
|
17119
17100
|
int __pyx_t_4;
|
|
17120
|
-
__Pyx_RefNannySetupContext("refcount_objects_in_slice", 0);
|
|
17121
17101
|
|
|
17122
17102
|
/* "View.MemoryView":1374
|
|
17123
17103
|
* Py_ssize_t *strides, int ndim, bint inc) noexcept:
|
|
@@ -17231,7 +17211,6 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
|
|
|
17231
17211
|
*/
|
|
17232
17212
|
|
|
17233
17213
|
/* function exit code */
|
|
17234
|
-
__Pyx_RefNannyFinishContext();
|
|
17235
17214
|
}
|
|
17236
17215
|
|
|
17237
17216
|
/* "View.MemoryView":1391
|
|
@@ -17453,8 +17432,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
17453
17432
|
#if CYTHON_ASSUME_SAFE_MACROS
|
|
17454
17433
|
__pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
|
|
17455
17434
|
#else
|
|
17456
|
-
__pyx_nargs = PyTuple_Size(__pyx_args);
|
|
17457
|
-
if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
|
|
17435
|
+
__pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
|
|
17458
17436
|
#endif
|
|
17459
17437
|
#endif
|
|
17460
17438
|
__pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
|
|
@@ -17517,10 +17495,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
17517
17495
|
__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)
|
|
17518
17496
|
__pyx_v___pyx_state = values[2];
|
|
17519
17497
|
}
|
|
17520
|
-
goto
|
|
17498
|
+
goto __pyx_L6_skip;
|
|
17521
17499
|
__pyx_L5_argtuple_error:;
|
|
17522
17500
|
__Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 1, __pyx_L3_error)
|
|
17523
|
-
|
|
17501
|
+
__pyx_L6_skip:;
|
|
17502
|
+
goto __pyx_L4_argument_unpacking_done;
|
|
17524
17503
|
__pyx_L3_error:;
|
|
17525
17504
|
{
|
|
17526
17505
|
Py_ssize_t __pyx_temp;
|
|
@@ -17558,7 +17537,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSE
|
|
|
17558
17537
|
int __pyx_lineno = 0;
|
|
17559
17538
|
const char *__pyx_filename = NULL;
|
|
17560
17539
|
int __pyx_clineno = 0;
|
|
17561
|
-
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum",
|
|
17540
|
+
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 1);
|
|
17562
17541
|
|
|
17563
17542
|
/* "(tree fragment)":4
|
|
17564
17543
|
* cdef object __pyx_PickleError
|
|
@@ -17740,7 +17719,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
17740
17719
|
int __pyx_lineno = 0;
|
|
17741
17720
|
const char *__pyx_filename = NULL;
|
|
17742
17721
|
int __pyx_clineno = 0;
|
|
17743
|
-
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state",
|
|
17722
|
+
__Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 1);
|
|
17744
17723
|
|
|
17745
17724
|
/* "(tree fragment)":12
|
|
17746
17725
|
* return __pyx_result
|
|
@@ -17856,7 +17835,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
17856
17835
|
return __pyx_r;
|
|
17857
17836
|
}
|
|
17858
17837
|
|
|
17859
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17838
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
|
|
17860
17839
|
*
|
|
17861
17840
|
* @property
|
|
17862
17841
|
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -17867,7 +17846,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
|
|
|
17867
17846
|
static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
|
|
17868
17847
|
PyObject *__pyx_r;
|
|
17869
17848
|
|
|
17870
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17849
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":249
|
|
17871
17850
|
* """Returns a borrowed reference to the object owning the data/memory.
|
|
17872
17851
|
* """
|
|
17873
17852
|
* return PyArray_BASE(self) # <<<<<<<<<<<<<<
|
|
@@ -17877,7 +17856,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
17877
17856
|
__pyx_r = PyArray_BASE(__pyx_v_self);
|
|
17878
17857
|
goto __pyx_L0;
|
|
17879
17858
|
|
|
17880
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17859
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
|
|
17881
17860
|
*
|
|
17882
17861
|
* @property
|
|
17883
17862
|
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -17890,7 +17869,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
17890
17869
|
return __pyx_r;
|
|
17891
17870
|
}
|
|
17892
17871
|
|
|
17893
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17872
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
|
|
17894
17873
|
*
|
|
17895
17874
|
* @property
|
|
17896
17875
|
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
|
|
@@ -17902,9 +17881,9 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
17902
17881
|
PyArray_Descr *__pyx_r = NULL;
|
|
17903
17882
|
__Pyx_RefNannyDeclarations
|
|
17904
17883
|
PyArray_Descr *__pyx_t_1;
|
|
17905
|
-
__Pyx_RefNannySetupContext("descr",
|
|
17884
|
+
__Pyx_RefNannySetupContext("descr", 1);
|
|
17906
17885
|
|
|
17907
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17886
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":255
|
|
17908
17887
|
* """Returns an owned reference to the dtype of the array.
|
|
17909
17888
|
* """
|
|
17910
17889
|
* return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
|
|
@@ -17917,7 +17896,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
17917
17896
|
__pyx_r = ((PyArray_Descr *)__pyx_t_1);
|
|
17918
17897
|
goto __pyx_L0;
|
|
17919
17898
|
|
|
17920
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17899
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
|
|
17921
17900
|
*
|
|
17922
17901
|
* @property
|
|
17923
17902
|
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
|
|
@@ -17932,7 +17911,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
17932
17911
|
return __pyx_r;
|
|
17933
17912
|
}
|
|
17934
17913
|
|
|
17935
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17914
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":258
|
|
17936
17915
|
*
|
|
17937
17916
|
* @property
|
|
17938
17917
|
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -17943,7 +17922,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
17943
17922
|
static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
|
|
17944
17923
|
int __pyx_r;
|
|
17945
17924
|
|
|
17946
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17925
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":261
|
|
17947
17926
|
* """Returns the number of dimensions in the array.
|
|
17948
17927
|
* """
|
|
17949
17928
|
* return PyArray_NDIM(self) # <<<<<<<<<<<<<<
|
|
@@ -17953,7 +17932,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
17953
17932
|
__pyx_r = PyArray_NDIM(__pyx_v_self);
|
|
17954
17933
|
goto __pyx_L0;
|
|
17955
17934
|
|
|
17956
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17935
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":258
|
|
17957
17936
|
*
|
|
17958
17937
|
* @property
|
|
17959
17938
|
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -17966,7 +17945,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
17966
17945
|
return __pyx_r;
|
|
17967
17946
|
}
|
|
17968
17947
|
|
|
17969
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17948
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":264
|
|
17970
17949
|
*
|
|
17971
17950
|
* @property
|
|
17972
17951
|
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -17977,7 +17956,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
17977
17956
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
|
|
17978
17957
|
npy_intp *__pyx_r;
|
|
17979
17958
|
|
|
17980
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17959
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":269
|
|
17981
17960
|
* Can return NULL for 0-dimensional arrays.
|
|
17982
17961
|
* """
|
|
17983
17962
|
* return PyArray_DIMS(self) # <<<<<<<<<<<<<<
|
|
@@ -17987,7 +17966,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
17987
17966
|
__pyx_r = PyArray_DIMS(__pyx_v_self);
|
|
17988
17967
|
goto __pyx_L0;
|
|
17989
17968
|
|
|
17990
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17969
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":264
|
|
17991
17970
|
*
|
|
17992
17971
|
* @property
|
|
17993
17972
|
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18000,7 +17979,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18000
17979
|
return __pyx_r;
|
|
18001
17980
|
}
|
|
18002
17981
|
|
|
18003
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17982
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":272
|
|
18004
17983
|
*
|
|
18005
17984
|
* @property
|
|
18006
17985
|
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18011,7 +17990,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
18011
17990
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
|
|
18012
17991
|
npy_intp *__pyx_r;
|
|
18013
17992
|
|
|
18014
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
17993
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":276
|
|
18015
17994
|
* The number of elements matches the number of dimensions of the array (ndim).
|
|
18016
17995
|
* """
|
|
18017
17996
|
* return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
|
|
@@ -18021,7 +18000,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18021
18000
|
__pyx_r = PyArray_STRIDES(__pyx_v_self);
|
|
18022
18001
|
goto __pyx_L0;
|
|
18023
18002
|
|
|
18024
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18003
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":272
|
|
18025
18004
|
*
|
|
18026
18005
|
* @property
|
|
18027
18006
|
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18034,7 +18013,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18034
18013
|
return __pyx_r;
|
|
18035
18014
|
}
|
|
18036
18015
|
|
|
18037
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18016
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
|
|
18038
18017
|
*
|
|
18039
18018
|
* @property
|
|
18040
18019
|
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18045,7 +18024,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
18045
18024
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
|
|
18046
18025
|
npy_intp __pyx_r;
|
|
18047
18026
|
|
|
18048
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18027
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":282
|
|
18049
18028
|
* """Returns the total size (in number of elements) of the array.
|
|
18050
18029
|
* """
|
|
18051
18030
|
* return PyArray_SIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -18055,7 +18034,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18055
18034
|
__pyx_r = PyArray_SIZE(__pyx_v_self);
|
|
18056
18035
|
goto __pyx_L0;
|
|
18057
18036
|
|
|
18058
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18037
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
|
|
18059
18038
|
*
|
|
18060
18039
|
* @property
|
|
18061
18040
|
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18068,7 +18047,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18068
18047
|
return __pyx_r;
|
|
18069
18048
|
}
|
|
18070
18049
|
|
|
18071
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18050
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
|
|
18072
18051
|
*
|
|
18073
18052
|
* @property
|
|
18074
18053
|
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18079,7 +18058,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
18079
18058
|
static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
|
|
18080
18059
|
char *__pyx_r;
|
|
18081
18060
|
|
|
18082
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18061
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":291
|
|
18083
18062
|
* of `PyArray_DATA()` instead, which returns a 'void*'.
|
|
18084
18063
|
* """
|
|
18085
18064
|
* return PyArray_BYTES(self) # <<<<<<<<<<<<<<
|
|
@@ -18089,7 +18068,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
18089
18068
|
__pyx_r = PyArray_BYTES(__pyx_v_self);
|
|
18090
18069
|
goto __pyx_L0;
|
|
18091
18070
|
|
|
18092
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18071
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
|
|
18093
18072
|
*
|
|
18094
18073
|
* @property
|
|
18095
18074
|
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
|
|
@@ -18102,7 +18081,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
18102
18081
|
return __pyx_r;
|
|
18103
18082
|
}
|
|
18104
18083
|
|
|
18105
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18084
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
|
|
18106
18085
|
* ctypedef npy_cdouble complex_t
|
|
18107
18086
|
*
|
|
18108
18087
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -18117,9 +18096,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
18117
18096
|
int __pyx_lineno = 0;
|
|
18118
18097
|
const char *__pyx_filename = NULL;
|
|
18119
18098
|
int __pyx_clineno = 0;
|
|
18120
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1",
|
|
18099
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1);
|
|
18121
18100
|
|
|
18122
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18101
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":778
|
|
18123
18102
|
*
|
|
18124
18103
|
* cdef inline object PyArray_MultiIterNew1(a):
|
|
18125
18104
|
* return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
|
|
@@ -18133,7 +18112,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
18133
18112
|
__pyx_t_1 = 0;
|
|
18134
18113
|
goto __pyx_L0;
|
|
18135
18114
|
|
|
18136
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18115
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
|
|
18137
18116
|
* ctypedef npy_cdouble complex_t
|
|
18138
18117
|
*
|
|
18139
18118
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -18152,7 +18131,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
18152
18131
|
return __pyx_r;
|
|
18153
18132
|
}
|
|
18154
18133
|
|
|
18155
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18134
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
|
|
18156
18135
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
18157
18136
|
*
|
|
18158
18137
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -18167,9 +18146,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
18167
18146
|
int __pyx_lineno = 0;
|
|
18168
18147
|
const char *__pyx_filename = NULL;
|
|
18169
18148
|
int __pyx_clineno = 0;
|
|
18170
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2",
|
|
18149
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1);
|
|
18171
18150
|
|
|
18172
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18151
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":781
|
|
18173
18152
|
*
|
|
18174
18153
|
* cdef inline object PyArray_MultiIterNew2(a, b):
|
|
18175
18154
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
|
|
@@ -18183,7 +18162,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
18183
18162
|
__pyx_t_1 = 0;
|
|
18184
18163
|
goto __pyx_L0;
|
|
18185
18164
|
|
|
18186
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18165
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
|
|
18187
18166
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
18188
18167
|
*
|
|
18189
18168
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -18202,7 +18181,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
18202
18181
|
return __pyx_r;
|
|
18203
18182
|
}
|
|
18204
18183
|
|
|
18205
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18184
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
|
|
18206
18185
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
18207
18186
|
*
|
|
18208
18187
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -18217,9 +18196,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
18217
18196
|
int __pyx_lineno = 0;
|
|
18218
18197
|
const char *__pyx_filename = NULL;
|
|
18219
18198
|
int __pyx_clineno = 0;
|
|
18220
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3",
|
|
18199
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1);
|
|
18221
18200
|
|
|
18222
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18201
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":784
|
|
18223
18202
|
*
|
|
18224
18203
|
* cdef inline object PyArray_MultiIterNew3(a, b, c):
|
|
18225
18204
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
|
|
@@ -18233,7 +18212,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
18233
18212
|
__pyx_t_1 = 0;
|
|
18234
18213
|
goto __pyx_L0;
|
|
18235
18214
|
|
|
18236
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18215
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
|
|
18237
18216
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
18238
18217
|
*
|
|
18239
18218
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -18252,7 +18231,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
18252
18231
|
return __pyx_r;
|
|
18253
18232
|
}
|
|
18254
18233
|
|
|
18255
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18234
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
|
|
18256
18235
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
18257
18236
|
*
|
|
18258
18237
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -18267,9 +18246,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
18267
18246
|
int __pyx_lineno = 0;
|
|
18268
18247
|
const char *__pyx_filename = NULL;
|
|
18269
18248
|
int __pyx_clineno = 0;
|
|
18270
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4",
|
|
18249
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1);
|
|
18271
18250
|
|
|
18272
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18251
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":787
|
|
18273
18252
|
*
|
|
18274
18253
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
|
|
18275
18254
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
|
|
@@ -18283,7 +18262,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
18283
18262
|
__pyx_t_1 = 0;
|
|
18284
18263
|
goto __pyx_L0;
|
|
18285
18264
|
|
|
18286
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18265
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
|
|
18287
18266
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
18288
18267
|
*
|
|
18289
18268
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -18302,7 +18281,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
18302
18281
|
return __pyx_r;
|
|
18303
18282
|
}
|
|
18304
18283
|
|
|
18305
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18284
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
|
|
18306
18285
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
18307
18286
|
*
|
|
18308
18287
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -18317,9 +18296,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
18317
18296
|
int __pyx_lineno = 0;
|
|
18318
18297
|
const char *__pyx_filename = NULL;
|
|
18319
18298
|
int __pyx_clineno = 0;
|
|
18320
|
-
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5",
|
|
18299
|
+
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1);
|
|
18321
18300
|
|
|
18322
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18301
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":790
|
|
18323
18302
|
*
|
|
18324
18303
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
|
|
18325
18304
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
|
|
@@ -18333,7 +18312,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
18333
18312
|
__pyx_t_1 = 0;
|
|
18334
18313
|
goto __pyx_L0;
|
|
18335
18314
|
|
|
18336
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18315
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
|
|
18337
18316
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
18338
18317
|
*
|
|
18339
18318
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -18352,7 +18331,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
18352
18331
|
return __pyx_r;
|
|
18353
18332
|
}
|
|
18354
18333
|
|
|
18355
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18334
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
|
|
18356
18335
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
18357
18336
|
*
|
|
18358
18337
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -18364,9 +18343,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18364
18343
|
PyObject *__pyx_r = NULL;
|
|
18365
18344
|
__Pyx_RefNannyDeclarations
|
|
18366
18345
|
int __pyx_t_1;
|
|
18367
|
-
__Pyx_RefNannySetupContext("PyDataType_SHAPE",
|
|
18346
|
+
__Pyx_RefNannySetupContext("PyDataType_SHAPE", 1);
|
|
18368
18347
|
|
|
18369
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18348
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
|
|
18370
18349
|
*
|
|
18371
18350
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
18372
18351
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -18376,7 +18355,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18376
18355
|
__pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
|
|
18377
18356
|
if (__pyx_t_1) {
|
|
18378
18357
|
|
|
18379
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18358
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":794
|
|
18380
18359
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
18381
18360
|
* if PyDataType_HASSUBARRAY(d):
|
|
18382
18361
|
* return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
|
|
@@ -18388,7 +18367,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18388
18367
|
__pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
|
|
18389
18368
|
goto __pyx_L0;
|
|
18390
18369
|
|
|
18391
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18370
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
|
|
18392
18371
|
*
|
|
18393
18372
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
18394
18373
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -18397,7 +18376,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18397
18376
|
*/
|
|
18398
18377
|
}
|
|
18399
18378
|
|
|
18400
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18379
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":796
|
|
18401
18380
|
* return <tuple>d.subarray.shape
|
|
18402
18381
|
* else:
|
|
18403
18382
|
* return () # <<<<<<<<<<<<<<
|
|
@@ -18411,7 +18390,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18411
18390
|
goto __pyx_L0;
|
|
18412
18391
|
}
|
|
18413
18392
|
|
|
18414
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18393
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
|
|
18415
18394
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
18416
18395
|
*
|
|
18417
18396
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -18426,7 +18405,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18426
18405
|
return __pyx_r;
|
|
18427
18406
|
}
|
|
18428
18407
|
|
|
18429
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18408
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
|
|
18430
18409
|
* int _import_umath() except -1
|
|
18431
18410
|
*
|
|
18432
18411
|
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
|
|
@@ -18435,10 +18414,8 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
18435
18414
|
*/
|
|
18436
18415
|
|
|
18437
18416
|
static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
|
|
18438
|
-
__Pyx_RefNannyDeclarations
|
|
18439
|
-
__Pyx_RefNannySetupContext("set_array_base", 0);
|
|
18440
18417
|
|
|
18441
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18418
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":972
|
|
18442
18419
|
*
|
|
18443
18420
|
* cdef inline void set_array_base(ndarray arr, object base):
|
|
18444
18421
|
* Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
|
|
@@ -18447,7 +18424,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
18447
18424
|
*/
|
|
18448
18425
|
Py_INCREF(__pyx_v_base);
|
|
18449
18426
|
|
|
18450
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18427
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":973
|
|
18451
18428
|
* cdef inline void set_array_base(ndarray arr, object base):
|
|
18452
18429
|
* Py_INCREF(base) # important to do this before stealing the reference below!
|
|
18453
18430
|
* PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
|
|
@@ -18456,7 +18433,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
18456
18433
|
*/
|
|
18457
18434
|
(void)(PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base));
|
|
18458
18435
|
|
|
18459
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18436
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
|
|
18460
18437
|
* int _import_umath() except -1
|
|
18461
18438
|
*
|
|
18462
18439
|
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
|
|
@@ -18465,10 +18442,9 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
18465
18442
|
*/
|
|
18466
18443
|
|
|
18467
18444
|
/* function exit code */
|
|
18468
|
-
__Pyx_RefNannyFinishContext();
|
|
18469
18445
|
}
|
|
18470
18446
|
|
|
18471
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18447
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":975
|
|
18472
18448
|
* PyArray_SetBaseObject(arr, base)
|
|
18473
18449
|
*
|
|
18474
18450
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -18481,9 +18457,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18481
18457
|
PyObject *__pyx_r = NULL;
|
|
18482
18458
|
__Pyx_RefNannyDeclarations
|
|
18483
18459
|
int __pyx_t_1;
|
|
18484
|
-
__Pyx_RefNannySetupContext("get_array_base",
|
|
18460
|
+
__Pyx_RefNannySetupContext("get_array_base", 1);
|
|
18485
18461
|
|
|
18486
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18462
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":976
|
|
18487
18463
|
*
|
|
18488
18464
|
* cdef inline object get_array_base(ndarray arr):
|
|
18489
18465
|
* base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
|
|
@@ -18492,7 +18468,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18492
18468
|
*/
|
|
18493
18469
|
__pyx_v_base = PyArray_BASE(__pyx_v_arr);
|
|
18494
18470
|
|
|
18495
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18471
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":977
|
|
18496
18472
|
* cdef inline object get_array_base(ndarray arr):
|
|
18497
18473
|
* base = PyArray_BASE(arr)
|
|
18498
18474
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -18502,7 +18478,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18502
18478
|
__pyx_t_1 = (__pyx_v_base == NULL);
|
|
18503
18479
|
if (__pyx_t_1) {
|
|
18504
18480
|
|
|
18505
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18481
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":978
|
|
18506
18482
|
* base = PyArray_BASE(arr)
|
|
18507
18483
|
* if base is NULL:
|
|
18508
18484
|
* return None # <<<<<<<<<<<<<<
|
|
@@ -18513,7 +18489,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18513
18489
|
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
|
|
18514
18490
|
goto __pyx_L0;
|
|
18515
18491
|
|
|
18516
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18492
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":977
|
|
18517
18493
|
* cdef inline object get_array_base(ndarray arr):
|
|
18518
18494
|
* base = PyArray_BASE(arr)
|
|
18519
18495
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -18522,7 +18498,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18522
18498
|
*/
|
|
18523
18499
|
}
|
|
18524
18500
|
|
|
18525
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18501
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":979
|
|
18526
18502
|
* if base is NULL:
|
|
18527
18503
|
* return None
|
|
18528
18504
|
* return <object>base # <<<<<<<<<<<<<<
|
|
@@ -18534,7 +18510,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18534
18510
|
__pyx_r = ((PyObject *)__pyx_v_base);
|
|
18535
18511
|
goto __pyx_L0;
|
|
18536
18512
|
|
|
18537
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18513
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":975
|
|
18538
18514
|
* PyArray_SetBaseObject(arr, base)
|
|
18539
18515
|
*
|
|
18540
18516
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -18549,7 +18525,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
18549
18525
|
return __pyx_r;
|
|
18550
18526
|
}
|
|
18551
18527
|
|
|
18552
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18528
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
|
|
18553
18529
|
* # Versions of the import_* functions which are more suitable for
|
|
18554
18530
|
* # Cython code.
|
|
18555
18531
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -18571,9 +18547,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18571
18547
|
int __pyx_lineno = 0;
|
|
18572
18548
|
const char *__pyx_filename = NULL;
|
|
18573
18549
|
int __pyx_clineno = 0;
|
|
18574
|
-
__Pyx_RefNannySetupContext("import_array",
|
|
18550
|
+
__Pyx_RefNannySetupContext("import_array", 1);
|
|
18575
18551
|
|
|
18576
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18552
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
|
|
18577
18553
|
* # Cython code.
|
|
18578
18554
|
* cdef inline int import_array() except -1:
|
|
18579
18555
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18589,7 +18565,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18589
18565
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
18590
18566
|
/*try:*/ {
|
|
18591
18567
|
|
|
18592
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18568
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":985
|
|
18593
18569
|
* cdef inline int import_array() except -1:
|
|
18594
18570
|
* try:
|
|
18595
18571
|
* __pyx_import_array() # <<<<<<<<<<<<<<
|
|
@@ -18598,7 +18574,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18598
18574
|
*/
|
|
18599
18575
|
__pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 985, __pyx_L3_error)
|
|
18600
18576
|
|
|
18601
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18577
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
|
|
18602
18578
|
* # Cython code.
|
|
18603
18579
|
* cdef inline int import_array() except -1:
|
|
18604
18580
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18612,7 +18588,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18612
18588
|
goto __pyx_L8_try_end;
|
|
18613
18589
|
__pyx_L3_error:;
|
|
18614
18590
|
|
|
18615
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18591
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":986
|
|
18616
18592
|
* try:
|
|
18617
18593
|
* __pyx_import_array()
|
|
18618
18594
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -18627,7 +18603,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18627
18603
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
18628
18604
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
18629
18605
|
|
|
18630
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18606
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":987
|
|
18631
18607
|
* __pyx_import_array()
|
|
18632
18608
|
* except Exception:
|
|
18633
18609
|
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -18642,7 +18618,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18642
18618
|
}
|
|
18643
18619
|
goto __pyx_L5_except_error;
|
|
18644
18620
|
|
|
18645
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18621
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
|
|
18646
18622
|
* # Cython code.
|
|
18647
18623
|
* cdef inline int import_array() except -1:
|
|
18648
18624
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18658,7 +18634,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18658
18634
|
__pyx_L8_try_end:;
|
|
18659
18635
|
}
|
|
18660
18636
|
|
|
18661
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18637
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
|
|
18662
18638
|
* # Versions of the import_* functions which are more suitable for
|
|
18663
18639
|
* # Cython code.
|
|
18664
18640
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -18681,7 +18657,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
18681
18657
|
return __pyx_r;
|
|
18682
18658
|
}
|
|
18683
18659
|
|
|
18684
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18660
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
|
|
18685
18661
|
* raise ImportError("numpy.core.multiarray failed to import")
|
|
18686
18662
|
*
|
|
18687
18663
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -18703,9 +18679,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
18703
18679
|
int __pyx_lineno = 0;
|
|
18704
18680
|
const char *__pyx_filename = NULL;
|
|
18705
18681
|
int __pyx_clineno = 0;
|
|
18706
|
-
__Pyx_RefNannySetupContext("import_umath",
|
|
18682
|
+
__Pyx_RefNannySetupContext("import_umath", 1);
|
|
18707
18683
|
|
|
18708
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18684
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
|
|
18709
18685
|
*
|
|
18710
18686
|
* cdef inline int import_umath() except -1:
|
|
18711
18687
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18721,7 +18697,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
18721
18697
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
18722
18698
|
/*try:*/ {
|
|
18723
18699
|
|
|
18724
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18700
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":991
|
|
18725
18701
|
* cdef inline int import_umath() except -1:
|
|
18726
18702
|
* try:
|
|
18727
18703
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -18730,7 +18706,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
18730
18706
|
*/
|
|
18731
18707
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 991, __pyx_L3_error)
|
|
18732
18708
|
|
|
18733
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18709
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
|
|
18734
18710
|
*
|
|
18735
18711
|
* cdef inline int import_umath() except -1:
|
|
18736
18712
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18744,7 +18720,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
18744
18720
|
goto __pyx_L8_try_end;
|
|
18745
18721
|
__pyx_L3_error:;
|
|
18746
18722
|
|
|
18747
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18723
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":992
|
|
18748
18724
|
* try:
|
|
18749
18725
|
* _import_umath()
|
|
18750
18726
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -18759,7 +18735,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
18759
18735
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
18760
18736
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
18761
18737
|
|
|
18762
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18738
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":993
|
|
18763
18739
|
* _import_umath()
|
|
18764
18740
|
* except Exception:
|
|
18765
18741
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -18774,7 +18750,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
18774
18750
|
}
|
|
18775
18751
|
goto __pyx_L5_except_error;
|
|
18776
18752
|
|
|
18777
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18753
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
|
|
18778
18754
|
*
|
|
18779
18755
|
* cdef inline int import_umath() except -1:
|
|
18780
18756
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18790,7 +18766,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
18790
18766
|
__pyx_L8_try_end:;
|
|
18791
18767
|
}
|
|
18792
18768
|
|
|
18793
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18769
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
|
|
18794
18770
|
* raise ImportError("numpy.core.multiarray failed to import")
|
|
18795
18771
|
*
|
|
18796
18772
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -18813,7 +18789,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
18813
18789
|
return __pyx_r;
|
|
18814
18790
|
}
|
|
18815
18791
|
|
|
18816
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18792
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
|
|
18817
18793
|
* raise ImportError("numpy.core.umath failed to import")
|
|
18818
18794
|
*
|
|
18819
18795
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -18835,9 +18811,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
18835
18811
|
int __pyx_lineno = 0;
|
|
18836
18812
|
const char *__pyx_filename = NULL;
|
|
18837
18813
|
int __pyx_clineno = 0;
|
|
18838
|
-
__Pyx_RefNannySetupContext("import_ufunc",
|
|
18814
|
+
__Pyx_RefNannySetupContext("import_ufunc", 1);
|
|
18839
18815
|
|
|
18840
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18816
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
|
|
18841
18817
|
*
|
|
18842
18818
|
* cdef inline int import_ufunc() except -1:
|
|
18843
18819
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18853,7 +18829,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
18853
18829
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
18854
18830
|
/*try:*/ {
|
|
18855
18831
|
|
|
18856
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18832
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":997
|
|
18857
18833
|
* cdef inline int import_ufunc() except -1:
|
|
18858
18834
|
* try:
|
|
18859
18835
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -18862,7 +18838,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
18862
18838
|
*/
|
|
18863
18839
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 997, __pyx_L3_error)
|
|
18864
18840
|
|
|
18865
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18841
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
|
|
18866
18842
|
*
|
|
18867
18843
|
* cdef inline int import_ufunc() except -1:
|
|
18868
18844
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18876,7 +18852,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
18876
18852
|
goto __pyx_L8_try_end;
|
|
18877
18853
|
__pyx_L3_error:;
|
|
18878
18854
|
|
|
18879
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18855
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
|
|
18880
18856
|
* try:
|
|
18881
18857
|
* _import_umath()
|
|
18882
18858
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -18891,7 +18867,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
18891
18867
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
18892
18868
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
18893
18869
|
|
|
18894
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18870
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":999
|
|
18895
18871
|
* _import_umath()
|
|
18896
18872
|
* except Exception:
|
|
18897
18873
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -18906,7 +18882,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
18906
18882
|
}
|
|
18907
18883
|
goto __pyx_L5_except_error;
|
|
18908
18884
|
|
|
18909
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18885
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
|
|
18910
18886
|
*
|
|
18911
18887
|
* cdef inline int import_ufunc() except -1:
|
|
18912
18888
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -18922,7 +18898,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
18922
18898
|
__pyx_L8_try_end:;
|
|
18923
18899
|
}
|
|
18924
18900
|
|
|
18925
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18901
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
|
|
18926
18902
|
* raise ImportError("numpy.core.umath failed to import")
|
|
18927
18903
|
*
|
|
18928
18904
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -18945,7 +18921,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
18945
18921
|
return __pyx_r;
|
|
18946
18922
|
}
|
|
18947
18923
|
|
|
18948
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18924
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1002
|
|
18949
18925
|
*
|
|
18950
18926
|
*
|
|
18951
18927
|
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -18955,10 +18931,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
18955
18931
|
|
|
18956
18932
|
static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
|
|
18957
18933
|
int __pyx_r;
|
|
18958
|
-
__Pyx_RefNannyDeclarations
|
|
18959
|
-
__Pyx_RefNannySetupContext("is_timedelta64_object", 0);
|
|
18960
18934
|
|
|
18961
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18935
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1014
|
|
18962
18936
|
* bool
|
|
18963
18937
|
* """
|
|
18964
18938
|
* return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -18968,7 +18942,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
18968
18942
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
|
|
18969
18943
|
goto __pyx_L0;
|
|
18970
18944
|
|
|
18971
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18945
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1002
|
|
18972
18946
|
*
|
|
18973
18947
|
*
|
|
18974
18948
|
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -18978,11 +18952,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
18978
18952
|
|
|
18979
18953
|
/* function exit code */
|
|
18980
18954
|
__pyx_L0:;
|
|
18981
|
-
__Pyx_RefNannyFinishContext();
|
|
18982
18955
|
return __pyx_r;
|
|
18983
18956
|
}
|
|
18984
18957
|
|
|
18985
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18958
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1017
|
|
18986
18959
|
*
|
|
18987
18960
|
*
|
|
18988
18961
|
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -18992,10 +18965,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
18992
18965
|
|
|
18993
18966
|
static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
|
|
18994
18967
|
int __pyx_r;
|
|
18995
|
-
__Pyx_RefNannyDeclarations
|
|
18996
|
-
__Pyx_RefNannySetupContext("is_datetime64_object", 0);
|
|
18997
18968
|
|
|
18998
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18969
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1029
|
|
18999
18970
|
* bool
|
|
19000
18971
|
* """
|
|
19001
18972
|
* return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -19005,7 +18976,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19005
18976
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
|
|
19006
18977
|
goto __pyx_L0;
|
|
19007
18978
|
|
|
19008
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18979
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1017
|
|
19009
18980
|
*
|
|
19010
18981
|
*
|
|
19011
18982
|
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
|
|
@@ -19015,11 +18986,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19015
18986
|
|
|
19016
18987
|
/* function exit code */
|
|
19017
18988
|
__pyx_L0:;
|
|
19018
|
-
__Pyx_RefNannyFinishContext();
|
|
19019
18989
|
return __pyx_r;
|
|
19020
18990
|
}
|
|
19021
18991
|
|
|
19022
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
18992
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1032
|
|
19023
18993
|
*
|
|
19024
18994
|
*
|
|
19025
18995
|
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19030,7 +19000,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
19030
19000
|
static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
|
|
19031
19001
|
npy_datetime __pyx_r;
|
|
19032
19002
|
|
|
19033
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19003
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1039
|
|
19034
19004
|
* also needed. That can be found using `get_datetime64_unit`.
|
|
19035
19005
|
* """
|
|
19036
19006
|
* return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -19040,7 +19010,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19040
19010
|
__pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
|
|
19041
19011
|
goto __pyx_L0;
|
|
19042
19012
|
|
|
19043
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19013
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1032
|
|
19044
19014
|
*
|
|
19045
19015
|
*
|
|
19046
19016
|
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19053,7 +19023,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19053
19023
|
return __pyx_r;
|
|
19054
19024
|
}
|
|
19055
19025
|
|
|
19056
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19026
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1042
|
|
19057
19027
|
*
|
|
19058
19028
|
*
|
|
19059
19029
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19064,7 +19034,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
19064
19034
|
static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
|
|
19065
19035
|
npy_timedelta __pyx_r;
|
|
19066
19036
|
|
|
19067
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19037
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1046
|
|
19068
19038
|
* returns the int64 value underlying scalar numpy timedelta64 object
|
|
19069
19039
|
* """
|
|
19070
19040
|
* return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -19074,7 +19044,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19074
19044
|
__pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
|
|
19075
19045
|
goto __pyx_L0;
|
|
19076
19046
|
|
|
19077
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19047
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1042
|
|
19078
19048
|
*
|
|
19079
19049
|
*
|
|
19080
19050
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19087,7 +19057,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19087
19057
|
return __pyx_r;
|
|
19088
19058
|
}
|
|
19089
19059
|
|
|
19090
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19060
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1049
|
|
19091
19061
|
*
|
|
19092
19062
|
*
|
|
19093
19063
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19098,7 +19068,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
19098
19068
|
static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
|
|
19099
19069
|
NPY_DATETIMEUNIT __pyx_r;
|
|
19100
19070
|
|
|
19101
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19071
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1053
|
|
19102
19072
|
* returns the unit part of the dtype for a numpy datetime64 object.
|
|
19103
19073
|
* """
|
|
19104
19074
|
* return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
|
|
@@ -19106,7 +19076,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
19106
19076
|
__pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
|
|
19107
19077
|
goto __pyx_L0;
|
|
19108
19078
|
|
|
19109
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
19079
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1049
|
|
19110
19080
|
*
|
|
19111
19081
|
*
|
|
19112
19082
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
|
|
@@ -19130,9 +19100,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
19130
19100
|
static CYTHON_INLINE __pyx_t_5numpy_uint8_t __pyx_f_7biotite_8sequence_5align_10tracetable_get_trace_linear(__pyx_t_5numpy_int32_t __pyx_v_match_score, __pyx_t_5numpy_int32_t __pyx_v_gap_left_score, __pyx_t_5numpy_int32_t __pyx_v_gap_top_score, __pyx_t_5numpy_int32_t *__pyx_v_max_score) {
|
|
19131
19101
|
int __pyx_v_trace;
|
|
19132
19102
|
__pyx_t_5numpy_uint8_t __pyx_r;
|
|
19133
|
-
__Pyx_RefNannyDeclarations
|
|
19134
19103
|
int __pyx_t_1;
|
|
19135
|
-
__Pyx_RefNannySetupContext("get_trace_linear", 0);
|
|
19136
19104
|
|
|
19137
19105
|
/* "biotite/sequence/align/tracetable.pyx":29
|
|
19138
19106
|
* trace direction for linear gap penalty.
|
|
@@ -19488,7 +19456,6 @@ static CYTHON_INLINE __pyx_t_5numpy_uint8_t __pyx_f_7biotite_8sequence_5align_10
|
|
|
19488
19456
|
|
|
19489
19457
|
/* function exit code */
|
|
19490
19458
|
__pyx_L0:;
|
|
19491
|
-
__Pyx_RefNannyFinishContext();
|
|
19492
19459
|
return __pyx_r;
|
|
19493
19460
|
}
|
|
19494
19461
|
|
|
@@ -19511,7 +19478,7 @@ static CYTHON_INLINE __pyx_t_5numpy_uint8_t __pyx_f_7biotite_8sequence_5align_10
|
|
|
19511
19478
|
int __pyx_lineno = 0;
|
|
19512
19479
|
const char *__pyx_filename = NULL;
|
|
19513
19480
|
int __pyx_clineno = 0;
|
|
19514
|
-
__Pyx_RefNannySetupContext("get_trace_affine",
|
|
19481
|
+
__Pyx_RefNannySetupContext("get_trace_affine", 1);
|
|
19515
19482
|
|
|
19516
19483
|
/* "biotite/sequence/align/tracetable.pyx":91
|
|
19517
19484
|
* """
|
|
@@ -20217,7 +20184,7 @@ static int __pyx_f_7biotite_8sequence_5align_10tracetable_follow_trace(__Pyx_mem
|
|
|
20217
20184
|
int __pyx_lineno = 0;
|
|
20218
20185
|
const char *__pyx_filename = NULL;
|
|
20219
20186
|
int __pyx_clineno = 0;
|
|
20220
|
-
__Pyx_RefNannySetupContext("follow_trace",
|
|
20187
|
+
__Pyx_RefNannySetupContext("follow_trace", 1);
|
|
20221
20188
|
|
|
20222
20189
|
/* "biotite/sequence/align/tracetable.pyx":226
|
|
20223
20190
|
* cdef int j_match, j_gap_left, j_gap_top
|
|
@@ -23187,7 +23154,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
|
|
|
23187
23154
|
__Pyx_GOTREF(__pyx_tuple__8);
|
|
23188
23155
|
__Pyx_GIVEREF(__pyx_tuple__8);
|
|
23189
23156
|
|
|
23190
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
23157
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":987
|
|
23191
23158
|
* __pyx_import_array()
|
|
23192
23159
|
* except Exception:
|
|
23193
23160
|
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -23198,7 +23165,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
|
|
|
23198
23165
|
__Pyx_GOTREF(__pyx_tuple__9);
|
|
23199
23166
|
__Pyx_GIVEREF(__pyx_tuple__9);
|
|
23200
23167
|
|
|
23201
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
23168
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":993
|
|
23202
23169
|
* _import_umath()
|
|
23203
23170
|
* except Exception:
|
|
23204
23171
|
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -23589,33 +23556,33 @@ static int __Pyx_modinit_type_import_code(void) {
|
|
|
23589
23556
|
/*--- Type import code ---*/
|
|
23590
23557
|
__pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 9, __pyx_L1_error)
|
|
23591
23558
|
__Pyx_GOTREF(__pyx_t_1);
|
|
23592
|
-
__pyx_ptype_7cpython_4type_type =
|
|
23559
|
+
__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_10(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
|
|
23593
23560
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
23594
|
-
sizeof(PyTypeObject),
|
|
23561
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
|
|
23595
23562
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
23596
|
-
sizeof(PyTypeObject),
|
|
23563
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
|
|
23597
23564
|
#else
|
|
23598
|
-
sizeof(PyHeapTypeObject),
|
|
23565
|
+
sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyHeapTypeObject),
|
|
23599
23566
|
#endif
|
|
23600
|
-
|
|
23567
|
+
__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
|
|
23601
23568
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
23602
23569
|
__pyx_t_1 = PyImport_ImportModule("numpy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 203, __pyx_L1_error)
|
|
23603
23570
|
__Pyx_GOTREF(__pyx_t_1);
|
|
23604
|
-
__pyx_ptype_5numpy_dtype =
|
|
23605
|
-
__pyx_ptype_5numpy_flatiter =
|
|
23606
|
-
__pyx_ptype_5numpy_broadcast =
|
|
23607
|
-
__pyx_ptype_5numpy_ndarray =
|
|
23608
|
-
__pyx_ptype_5numpy_generic =
|
|
23609
|
-
__pyx_ptype_5numpy_number =
|
|
23610
|
-
__pyx_ptype_5numpy_integer =
|
|
23611
|
-
__pyx_ptype_5numpy_signedinteger =
|
|
23612
|
-
__pyx_ptype_5numpy_unsignedinteger =
|
|
23613
|
-
__pyx_ptype_5numpy_inexact =
|
|
23614
|
-
__pyx_ptype_5numpy_floating =
|
|
23615
|
-
__pyx_ptype_5numpy_complexfloating =
|
|
23616
|
-
__pyx_ptype_5numpy_flexible =
|
|
23617
|
-
__pyx_ptype_5numpy_character =
|
|
23618
|
-
__pyx_ptype_5numpy_ufunc =
|
|
23571
|
+
__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)
|
|
23572
|
+
__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)
|
|
23573
|
+
__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)
|
|
23574
|
+
__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)
|
|
23575
|
+
__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)
|
|
23576
|
+
__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)
|
|
23577
|
+
__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)
|
|
23578
|
+
__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)
|
|
23579
|
+
__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)
|
|
23580
|
+
__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)
|
|
23581
|
+
__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)
|
|
23582
|
+
__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)
|
|
23583
|
+
__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)
|
|
23584
|
+
__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)
|
|
23585
|
+
__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)
|
|
23619
23586
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
23620
23587
|
__Pyx_RefNannyFinishContext();
|
|
23621
23588
|
return 0;
|
|
@@ -23835,7 +23802,7 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_tracetable(PyObject *__pyx_pyinit_
|
|
|
23835
23802
|
__pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23836
23803
|
{
|
|
23837
23804
|
int add_module_result = PyState_AddModule(__pyx_t_1, &__pyx_moduledef);
|
|
23838
|
-
__pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to tracetable pseudovariable */
|
|
23805
|
+
__pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "tracetable" pseudovariable */
|
|
23839
23806
|
if (unlikely((add_module_result < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23840
23807
|
pystate_addmodule_run = 1;
|
|
23841
23808
|
}
|
|
@@ -23847,10 +23814,8 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_tracetable(PyObject *__pyx_pyinit_
|
|
|
23847
23814
|
CYTHON_UNUSED_VAR(__pyx_t_1);
|
|
23848
23815
|
__pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23849
23816
|
Py_INCREF(__pyx_d);
|
|
23850
|
-
__pyx_b =
|
|
23851
|
-
|
|
23852
|
-
__pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23853
|
-
Py_INCREF(__pyx_cython_runtime);
|
|
23817
|
+
__pyx_b = __Pyx_PyImport_AddModuleRef(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23818
|
+
__pyx_cython_runtime = __Pyx_PyImport_AddModuleRef((const char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23854
23819
|
if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23855
23820
|
#if CYTHON_REFNANNY
|
|
23856
23821
|
__Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
|
|
@@ -23862,7 +23827,7 @@ if (!__Pyx_RefNanny) {
|
|
|
23862
23827
|
}
|
|
23863
23828
|
#endif
|
|
23864
23829
|
__Pyx_RefNannySetupContext("__Pyx_PyMODINIT_FUNC PyInit_tracetable(void)", 0);
|
|
23865
|
-
if (__Pyx_check_binary_version() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
23830
|
+
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)
|
|
23866
23831
|
#ifdef __Pxy_PyFrame_Initialize_Offsets
|
|
23867
23832
|
__Pxy_PyFrame_Initialize_Offsets();
|
|
23868
23833
|
#endif
|
|
@@ -24620,6 +24585,8 @@ static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObjec
|
|
|
24620
24585
|
tmp_value = tstate->current_exception;
|
|
24621
24586
|
tstate->current_exception = value;
|
|
24622
24587
|
Py_XDECREF(tmp_value);
|
|
24588
|
+
Py_XDECREF(type);
|
|
24589
|
+
Py_XDECREF(tb);
|
|
24623
24590
|
#else
|
|
24624
24591
|
PyObject *tmp_type, *tmp_value, *tmp_tb;
|
|
24625
24592
|
tmp_type = tstate->curexc_type;
|
|
@@ -24677,14 +24644,20 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject
|
|
|
24677
24644
|
#endif
|
|
24678
24645
|
|
|
24679
24646
|
/* PyObjectGetAttrStrNoError */
|
|
24647
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
24680
24648
|
static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) {
|
|
24681
24649
|
__Pyx_PyThreadState_declare
|
|
24682
24650
|
__Pyx_PyThreadState_assign
|
|
24683
24651
|
if (likely(__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
|
|
24684
24652
|
__Pyx_PyErr_Clear();
|
|
24685
24653
|
}
|
|
24654
|
+
#endif
|
|
24686
24655
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name) {
|
|
24687
24656
|
PyObject *result;
|
|
24657
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
24658
|
+
(void) PyObject_GetOptionalAttr(obj, attr_name, &result);
|
|
24659
|
+
return result;
|
|
24660
|
+
#else
|
|
24688
24661
|
#if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_TYPE_SLOTS && PY_VERSION_HEX >= 0x030700B1
|
|
24689
24662
|
PyTypeObject* tp = Py_TYPE(obj);
|
|
24690
24663
|
if (likely(tp->tp_getattro == PyObject_GenericGetAttr)) {
|
|
@@ -24696,6 +24669,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, P
|
|
|
24696
24669
|
__Pyx_PyObject_GetAttrStr_ClearAttributeError();
|
|
24697
24670
|
}
|
|
24698
24671
|
return result;
|
|
24672
|
+
#endif
|
|
24699
24673
|
}
|
|
24700
24674
|
|
|
24701
24675
|
/* GetBuiltinName */
|
|
@@ -24911,12 +24885,30 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO
|
|
|
24911
24885
|
{
|
|
24912
24886
|
int eq = __Pyx_PyUnicode_Equals(s, PyTuple_GET_ITEM(kwnames, i), Py_EQ);
|
|
24913
24887
|
if (unlikely(eq != 0)) {
|
|
24914
|
-
if (unlikely(eq < 0)) return NULL;
|
|
24888
|
+
if (unlikely(eq < 0)) return NULL;
|
|
24915
24889
|
return kwvalues[i];
|
|
24916
24890
|
}
|
|
24917
24891
|
}
|
|
24918
|
-
return NULL;
|
|
24892
|
+
return NULL;
|
|
24919
24893
|
}
|
|
24894
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
|
24895
|
+
CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) {
|
|
24896
|
+
Py_ssize_t i, nkwargs = PyTuple_GET_SIZE(kwnames);
|
|
24897
|
+
PyObject *dict;
|
|
24898
|
+
dict = PyDict_New();
|
|
24899
|
+
if (unlikely(!dict))
|
|
24900
|
+
return NULL;
|
|
24901
|
+
for (i=0; i<nkwargs; i++) {
|
|
24902
|
+
PyObject *key = PyTuple_GET_ITEM(kwnames, i);
|
|
24903
|
+
if (unlikely(PyDict_SetItem(dict, key, kwvalues[i]) < 0))
|
|
24904
|
+
goto bad;
|
|
24905
|
+
}
|
|
24906
|
+
return dict;
|
|
24907
|
+
bad:
|
|
24908
|
+
Py_DECREF(dict);
|
|
24909
|
+
return NULL;
|
|
24910
|
+
}
|
|
24911
|
+
#endif
|
|
24920
24912
|
#endif
|
|
24921
24913
|
|
|
24922
24914
|
/* RaiseArgTupleInvalid */
|
|
@@ -25010,7 +25002,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
25010
25002
|
if (*name) {
|
|
25011
25003
|
values[name-argnames] = value;
|
|
25012
25004
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
25013
|
-
Py_INCREF(value);
|
|
25005
|
+
Py_INCREF(value);
|
|
25014
25006
|
Py_DECREF(key);
|
|
25015
25007
|
#endif
|
|
25016
25008
|
key = NULL;
|
|
@@ -25029,7 +25021,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
25029
25021
|
&& _PyString_Eq(**name, key)) {
|
|
25030
25022
|
values[name-argnames] = value;
|
|
25031
25023
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
25032
|
-
value = NULL;
|
|
25024
|
+
value = NULL;
|
|
25033
25025
|
#endif
|
|
25034
25026
|
break;
|
|
25035
25027
|
}
|
|
@@ -25061,7 +25053,7 @@ static int __Pyx_ParseOptionalKeywords(
|
|
|
25061
25053
|
if (cmp == 0) {
|
|
25062
25054
|
values[name-argnames] = value;
|
|
25063
25055
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
25064
|
-
value = NULL;
|
|
25056
|
+
value = NULL;
|
|
25065
25057
|
#endif
|
|
25066
25058
|
break;
|
|
25067
25059
|
}
|
|
@@ -25348,9 +25340,15 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
|
|
25348
25340
|
PyObject *result;
|
|
25349
25341
|
assert(kwargs == NULL || PyDict_Check(kwargs));
|
|
25350
25342
|
nk = kwargs ? PyDict_Size(kwargs) : 0;
|
|
25343
|
+
#if PY_MAJOR_VERSION < 3
|
|
25351
25344
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) {
|
|
25352
25345
|
return NULL;
|
|
25353
25346
|
}
|
|
25347
|
+
#else
|
|
25348
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) {
|
|
25349
|
+
return NULL;
|
|
25350
|
+
}
|
|
25351
|
+
#endif
|
|
25354
25352
|
if (
|
|
25355
25353
|
#if PY_MAJOR_VERSION >= 3
|
|
25356
25354
|
co->co_kwonlyargcount == 0 &&
|
|
@@ -25427,8 +25425,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
|
|
|
25427
25425
|
ternaryfunc call = Py_TYPE(func)->tp_call;
|
|
25428
25426
|
if (unlikely(!call))
|
|
25429
25427
|
return PyObject_Call(func, arg, kw);
|
|
25428
|
+
#if PY_MAJOR_VERSION < 3
|
|
25430
25429
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
|
|
25431
25430
|
return NULL;
|
|
25431
|
+
#else
|
|
25432
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
|
|
25433
|
+
return NULL;
|
|
25434
|
+
#endif
|
|
25432
25435
|
result = (*call)(func, arg, kw);
|
|
25433
25436
|
Py_LeaveRecursiveCall();
|
|
25434
25437
|
if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
|
|
@@ -25445,10 +25448,15 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
|
|
|
25445
25448
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
|
|
25446
25449
|
PyObject *self, *result;
|
|
25447
25450
|
PyCFunction cfunc;
|
|
25448
|
-
cfunc =
|
|
25449
|
-
self =
|
|
25451
|
+
cfunc = __Pyx_CyOrPyCFunction_GET_FUNCTION(func);
|
|
25452
|
+
self = __Pyx_CyOrPyCFunction_GET_SELF(func);
|
|
25453
|
+
#if PY_MAJOR_VERSION < 3
|
|
25450
25454
|
if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
|
|
25451
25455
|
return NULL;
|
|
25456
|
+
#else
|
|
25457
|
+
if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
|
|
25458
|
+
return NULL;
|
|
25459
|
+
#endif
|
|
25452
25460
|
result = cfunc(self, arg);
|
|
25453
25461
|
Py_LeaveRecursiveCall();
|
|
25454
25462
|
if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
|
|
@@ -25461,6 +25469,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject
|
|
|
25461
25469
|
#endif
|
|
25462
25470
|
|
|
25463
25471
|
/* PyObjectFastCall */
|
|
25472
|
+
#if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API
|
|
25464
25473
|
static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **args, size_t nargs, PyObject *kwargs) {
|
|
25465
25474
|
PyObject *argstuple;
|
|
25466
25475
|
PyObject *result = 0;
|
|
@@ -25476,28 +25485,17 @@ static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **arg
|
|
|
25476
25485
|
Py_DECREF(argstuple);
|
|
25477
25486
|
return result;
|
|
25478
25487
|
}
|
|
25488
|
+
#endif
|
|
25479
25489
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject **args, size_t _nargs, PyObject *kwargs) {
|
|
25480
25490
|
Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs);
|
|
25481
25491
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
25482
25492
|
if (nargs == 0 && kwargs == NULL) {
|
|
25483
|
-
|
|
25484
|
-
|
|
25485
|
-
#else
|
|
25486
|
-
if (PyCFunction_Check(func))
|
|
25487
|
-
#endif
|
|
25488
|
-
{
|
|
25489
|
-
if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
|
|
25490
|
-
return __Pyx_PyObject_CallMethO(func, NULL);
|
|
25491
|
-
}
|
|
25492
|
-
}
|
|
25493
|
+
if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS))
|
|
25494
|
+
return __Pyx_PyObject_CallMethO(func, NULL);
|
|
25493
25495
|
}
|
|
25494
25496
|
else if (nargs == 1 && kwargs == NULL) {
|
|
25495
|
-
if (
|
|
25496
|
-
|
|
25497
|
-
if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
|
|
25498
|
-
return __Pyx_PyObject_CallMethO(func, args[0]);
|
|
25499
|
-
}
|
|
25500
|
-
}
|
|
25497
|
+
if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_O))
|
|
25498
|
+
return __Pyx_PyObject_CallMethO(func, args[0]);
|
|
25501
25499
|
}
|
|
25502
25500
|
#endif
|
|
25503
25501
|
#if PY_VERSION_HEX < 0x030800B1
|
|
@@ -25521,25 +25519,31 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj
|
|
|
25521
25519
|
}
|
|
25522
25520
|
#endif
|
|
25523
25521
|
#endif
|
|
25524
|
-
|
|
25525
|
-
|
|
25526
|
-
|
|
25527
|
-
|
|
25528
|
-
|
|
25529
|
-
|
|
25530
|
-
|
|
25531
|
-
|
|
25532
|
-
|
|
25533
|
-
|
|
25534
|
-
|
|
25535
|
-
|
|
25536
|
-
|
|
25522
|
+
if (kwargs == NULL) {
|
|
25523
|
+
#if CYTHON_VECTORCALL
|
|
25524
|
+
#if PY_VERSION_HEX < 0x03090000
|
|
25525
|
+
vectorcallfunc f = _PyVectorcall_Function(func);
|
|
25526
|
+
#else
|
|
25527
|
+
vectorcallfunc f = PyVectorcall_Function(func);
|
|
25528
|
+
#endif
|
|
25529
|
+
if (f) {
|
|
25530
|
+
return f(func, args, (size_t)nargs, NULL);
|
|
25531
|
+
}
|
|
25532
|
+
#elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
|
|
25533
|
+
if (__Pyx_CyFunction_CheckExact(func)) {
|
|
25534
|
+
__pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
|
|
25535
|
+
if (f) return f(func, args, (size_t)nargs, NULL);
|
|
25536
|
+
}
|
|
25537
|
+
#endif
|
|
25537
25538
|
}
|
|
25538
|
-
#endif
|
|
25539
25539
|
if (nargs == 0) {
|
|
25540
25540
|
return __Pyx_PyObject_Call(func, __pyx_empty_tuple, kwargs);
|
|
25541
25541
|
}
|
|
25542
|
+
#if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
25543
|
+
return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs);
|
|
25544
|
+
#else
|
|
25542
25545
|
return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs);
|
|
25546
|
+
#endif
|
|
25543
25547
|
}
|
|
25544
25548
|
|
|
25545
25549
|
/* RaiseUnexpectedTypeError */
|
|
@@ -25842,7 +25846,7 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject* value_tuple, Py_ssize_t value_co
|
|
|
25842
25846
|
if (!CYTHON_PEP393_ENABLED || ukind == result_ukind) {
|
|
25843
25847
|
memcpy((char *)result_udata + (char_pos << kind_shift), udata, (size_t) (ulength << kind_shift));
|
|
25844
25848
|
} else {
|
|
25845
|
-
#if PY_VERSION_HEX >=
|
|
25849
|
+
#if PY_VERSION_HEX >= 0x030d0000
|
|
25846
25850
|
if (unlikely(PyUnicode_CopyCharacters(result_uval, char_pos, uval, 0, ulength) < 0)) goto bad;
|
|
25847
25851
|
#elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030300F0 || defined(_PyUnicode_FastCopyCharacters)
|
|
25848
25852
|
_PyUnicode_FastCopyCharacters(result_uval, char_pos, uval, 0, ulength);
|
|
@@ -25971,7 +25975,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
|
|
|
25971
25975
|
}
|
|
25972
25976
|
}
|
|
25973
25977
|
#else
|
|
25974
|
-
if (is_list ||
|
|
25978
|
+
if (is_list || !PyMapping_Check(o)) {
|
|
25975
25979
|
return PySequence_GetItem(o, i);
|
|
25976
25980
|
}
|
|
25977
25981
|
#endif
|
|
@@ -26006,7 +26010,9 @@ static PyObject *__Pyx_PyObject_GetItem_Slow(PyObject *obj, PyObject *key) {
|
|
|
26006
26010
|
__Pyx_TypeName obj_type_name;
|
|
26007
26011
|
if (likely(PyType_Check(obj))) {
|
|
26008
26012
|
PyObject *meth = __Pyx_PyObject_GetAttrStrNoError(obj, __pyx_n_s_class_getitem);
|
|
26009
|
-
if (meth) {
|
|
26013
|
+
if (!meth) {
|
|
26014
|
+
PyErr_Clear();
|
|
26015
|
+
} else {
|
|
26010
26016
|
PyObject *result = __Pyx_PyObject_CallOneArg(meth, key);
|
|
26011
26017
|
Py_DECREF(meth);
|
|
26012
26018
|
return result;
|
|
@@ -26115,6 +26121,7 @@ static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ssize_t b)
|
|
|
26115
26121
|
}
|
|
26116
26122
|
|
|
26117
26123
|
/* GetAttr3 */
|
|
26124
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
26118
26125
|
static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
|
|
26119
26126
|
__Pyx_PyThreadState_declare
|
|
26120
26127
|
__Pyx_PyThreadState_assign
|
|
@@ -26124,9 +26131,14 @@ static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
|
|
|
26124
26131
|
Py_INCREF(d);
|
|
26125
26132
|
return d;
|
|
26126
26133
|
}
|
|
26134
|
+
#endif
|
|
26127
26135
|
static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) {
|
|
26128
26136
|
PyObject *r;
|
|
26129
|
-
#if
|
|
26137
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
|
|
26138
|
+
int res = PyObject_GetOptionalAttr(o, n, &r);
|
|
26139
|
+
return (res != 0) ? r : __Pyx_NewRef(d);
|
|
26140
|
+
#else
|
|
26141
|
+
#if CYTHON_USE_TYPE_SLOTS
|
|
26130
26142
|
if (likely(PyString_Check(n))) {
|
|
26131
26143
|
r = __Pyx_PyObject_GetAttrStrNoError(o, n);
|
|
26132
26144
|
if (unlikely(!r) && likely(!PyErr_Occurred())) {
|
|
@@ -26134,9 +26146,10 @@ static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject
|
|
|
26134
26146
|
}
|
|
26135
26147
|
return r;
|
|
26136
26148
|
}
|
|
26137
|
-
#endif
|
|
26149
|
+
#endif
|
|
26138
26150
|
r = PyObject_GetAttr(o, n);
|
|
26139
26151
|
return (likely(r)) ? r : __Pyx_GetAttr3Default(d);
|
|
26152
|
+
#endif
|
|
26140
26153
|
}
|
|
26141
26154
|
|
|
26142
26155
|
/* PyDictVersioning */
|
|
@@ -26174,7 +26187,7 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name)
|
|
|
26174
26187
|
{
|
|
26175
26188
|
PyObject *result;
|
|
26176
26189
|
#if !CYTHON_AVOID_BORROWED_REFS
|
|
26177
|
-
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
|
|
26190
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && PY_VERSION_HEX < 0x030d0000
|
|
26178
26191
|
result = _PyDict_GetItem_KnownHash(__pyx_d, name, ((PyASCIIObject *) name)->hash);
|
|
26179
26192
|
__PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
|
|
26180
26193
|
if (likely(result)) {
|
|
@@ -26500,7 +26513,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
|
|
|
26500
26513
|
{
|
|
26501
26514
|
#if PY_MAJOR_VERSION >= 3
|
|
26502
26515
|
if (level == -1) {
|
|
26503
|
-
if (
|
|
26516
|
+
if (strchr(__Pyx_MODULE_NAME, '.') != NULL) {
|
|
26504
26517
|
module = PyImport_ImportModuleLevelObject(
|
|
26505
26518
|
name, __pyx_d, empty_dict, from_list, 1);
|
|
26506
26519
|
if (unlikely(!module)) {
|
|
@@ -26663,16 +26676,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
|
|
|
26663
26676
|
return __Pyx__ImportDottedModule(name, parts_tuple);
|
|
26664
26677
|
}
|
|
26665
26678
|
|
|
26666
|
-
/* ssize_strlen */
|
|
26667
|
-
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
|
|
26668
|
-
size_t len = strlen(s);
|
|
26669
|
-
if (unlikely(len > PY_SSIZE_T_MAX)) {
|
|
26670
|
-
PyErr_SetString(PyExc_OverflowError, "byte string is too long");
|
|
26671
|
-
return -1;
|
|
26672
|
-
}
|
|
26673
|
-
return (Py_ssize_t) len;
|
|
26674
|
-
}
|
|
26675
|
-
|
|
26676
26679
|
/* FastTypeChecks */
|
|
26677
26680
|
#if CYTHON_COMPILING_IN_CPYTHON
|
|
26678
26681
|
static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
|
|
@@ -26856,11 +26859,7 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
|
|
|
26856
26859
|
}
|
|
26857
26860
|
}
|
|
26858
26861
|
#else
|
|
26859
|
-
|
|
26860
|
-
if (is_list || (PySequence_Check(o) && !PyDict_Check(o)))
|
|
26861
|
-
#else
|
|
26862
|
-
if (is_list || PySequence_Check(o))
|
|
26863
|
-
#endif
|
|
26862
|
+
if (is_list || !PyMapping_Check(o))
|
|
26864
26863
|
{
|
|
26865
26864
|
return PySequence_SetItem(o, i, v);
|
|
26866
26865
|
}
|
|
@@ -26925,6 +26924,7 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
|
|
|
26925
26924
|
}
|
|
26926
26925
|
|
|
26927
26926
|
/* HasAttr */
|
|
26927
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
|
|
26928
26928
|
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
|
26929
26929
|
PyObject *r;
|
|
26930
26930
|
if (unlikely(!__Pyx_PyBaseString_Check(n))) {
|
|
@@ -26941,6 +26941,7 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
|
|
26941
26941
|
return 1;
|
|
26942
26942
|
}
|
|
26943
26943
|
}
|
|
26944
|
+
#endif
|
|
26944
26945
|
|
|
26945
26946
|
/* BufferIndexError */
|
|
26946
26947
|
static void __Pyx_RaiseBufferIndexError(int axis) {
|
|
@@ -26950,9 +26951,10 @@ static void __Pyx_RaiseBufferIndexError(int axis) {
|
|
|
26950
26951
|
|
|
26951
26952
|
/* IterFinish */
|
|
26952
26953
|
static CYTHON_INLINE int __Pyx_IterFinish(void) {
|
|
26954
|
+
PyObject* exc_type;
|
|
26953
26955
|
__Pyx_PyThreadState_declare
|
|
26954
26956
|
__Pyx_PyThreadState_assign
|
|
26955
|
-
|
|
26957
|
+
exc_type = __Pyx_PyErr_CurrentExceptionType();
|
|
26956
26958
|
if (unlikely(exc_type)) {
|
|
26957
26959
|
if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration)))
|
|
26958
26960
|
return -1;
|
|
@@ -27171,8 +27173,8 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
27171
27173
|
|
|
27172
27174
|
/* PyObjectCallNoArg */
|
|
27173
27175
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
|
|
27174
|
-
PyObject *arg = NULL;
|
|
27175
|
-
return __Pyx_PyObject_FastCall(func,
|
|
27176
|
+
PyObject *arg[2] = {NULL, NULL};
|
|
27177
|
+
return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
|
|
27176
27178
|
}
|
|
27177
27179
|
|
|
27178
27180
|
/* PyObjectGetMethod */
|
|
@@ -27337,38 +27339,38 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
|
|
|
27337
27339
|
#endif
|
|
27338
27340
|
return -1;
|
|
27339
27341
|
}
|
|
27340
|
-
|
|
27341
|
-
if (dictoffset == 0) {
|
|
27342
|
-
PyErr_Format(PyExc_TypeError,
|
|
27343
|
-
"extension type '%s.200s': "
|
|
27344
|
-
"unable to validate whether bases have a __dict__ "
|
|
27345
|
-
"when CYTHON_USE_TYPE_SLOTS is off "
|
|
27346
|
-
"(likely because you are building in the limited API). "
|
|
27347
|
-
"Therefore, all extension types with multiple bases "
|
|
27348
|
-
"must add 'cdef dict __dict__' in this compilation mode",
|
|
27349
|
-
type_name);
|
|
27350
|
-
#if CYTHON_AVOID_BORROWED_REFS
|
|
27351
|
-
Py_DECREF(b0);
|
|
27352
|
-
#endif
|
|
27353
|
-
return -1;
|
|
27354
|
-
}
|
|
27355
|
-
#else
|
|
27356
|
-
if (dictoffset == 0 && b->tp_dictoffset)
|
|
27342
|
+
if (dictoffset == 0)
|
|
27357
27343
|
{
|
|
27358
|
-
|
|
27359
|
-
|
|
27360
|
-
|
|
27361
|
-
|
|
27362
|
-
|
|
27363
|
-
|
|
27364
|
-
|
|
27365
|
-
|
|
27344
|
+
Py_ssize_t b_dictoffset = 0;
|
|
27345
|
+
#if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY
|
|
27346
|
+
b_dictoffset = b->tp_dictoffset;
|
|
27347
|
+
#else
|
|
27348
|
+
PyObject *py_b_dictoffset = PyObject_GetAttrString((PyObject*)b, "__dictoffset__");
|
|
27349
|
+
if (!py_b_dictoffset) goto dictoffset_return;
|
|
27350
|
+
b_dictoffset = PyLong_AsSsize_t(py_b_dictoffset);
|
|
27351
|
+
Py_DECREF(py_b_dictoffset);
|
|
27352
|
+
if (b_dictoffset == -1 && PyErr_Occurred()) goto dictoffset_return;
|
|
27353
|
+
#endif
|
|
27354
|
+
if (b_dictoffset) {
|
|
27355
|
+
{
|
|
27356
|
+
__Pyx_TypeName b_name = __Pyx_PyType_GetName(b);
|
|
27357
|
+
PyErr_Format(PyExc_TypeError,
|
|
27358
|
+
"extension type '%.200s' has no __dict__ slot, "
|
|
27359
|
+
"but base type '" __Pyx_FMT_TYPENAME "' has: "
|
|
27360
|
+
"either add 'cdef dict __dict__' to the extension type "
|
|
27361
|
+
"or add '__slots__ = [...]' to the base type",
|
|
27362
|
+
type_name, b_name);
|
|
27363
|
+
__Pyx_DECREF_TypeName(b_name);
|
|
27364
|
+
}
|
|
27365
|
+
#if !(CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY)
|
|
27366
|
+
dictoffset_return:
|
|
27367
|
+
#endif
|
|
27366
27368
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
27367
|
-
|
|
27369
|
+
Py_DECREF(b0);
|
|
27368
27370
|
#endif
|
|
27369
|
-
|
|
27371
|
+
return -1;
|
|
27372
|
+
}
|
|
27370
27373
|
}
|
|
27371
|
-
#endif
|
|
27372
27374
|
#if CYTHON_AVOID_BORROWED_REFS
|
|
27373
27375
|
Py_DECREF(b0);
|
|
27374
27376
|
#endif
|
|
@@ -27662,10 +27664,10 @@ __PYX_GOOD:
|
|
|
27662
27664
|
#endif
|
|
27663
27665
|
|
|
27664
27666
|
/* TypeImport */
|
|
27665
|
-
#ifndef
|
|
27666
|
-
#define
|
|
27667
|
-
static PyTypeObject *
|
|
27668
|
-
size_t size, size_t alignment, enum
|
|
27667
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_0_10
|
|
27668
|
+
#define __PYX_HAVE_RT_ImportType_3_0_10
|
|
27669
|
+
static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject *module, const char *module_name, const char *class_name,
|
|
27670
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_10 check_size)
|
|
27669
27671
|
{
|
|
27670
27672
|
PyObject *result = 0;
|
|
27671
27673
|
char warning[200];
|
|
@@ -27719,7 +27721,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
|
|
|
27719
27721
|
module_name, class_name, size, basicsize+itemsize);
|
|
27720
27722
|
goto bad;
|
|
27721
27723
|
}
|
|
27722
|
-
if (check_size ==
|
|
27724
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_10 &&
|
|
27723
27725
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
27724
27726
|
PyErr_Format(PyExc_ValueError,
|
|
27725
27727
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -27727,7 +27729,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
|
|
|
27727
27729
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
27728
27730
|
goto bad;
|
|
27729
27731
|
}
|
|
27730
|
-
else if (check_size ==
|
|
27732
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_10 && (size_t)basicsize > size) {
|
|
27731
27733
|
PyOS_snprintf(warning, sizeof(warning),
|
|
27732
27734
|
"%s.%s size changed, may indicate binary incompatibility. "
|
|
27733
27735
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -27889,8 +27891,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
|
|
|
27889
27891
|
Py_DECREF(replace);
|
|
27890
27892
|
return result;
|
|
27891
27893
|
}
|
|
27892
|
-
#if __PYX_LIMITED_VERSION_HEX < 0x030780000
|
|
27893
27894
|
PyErr_Clear();
|
|
27895
|
+
#if __PYX_LIMITED_VERSION_HEX < 0x030780000
|
|
27894
27896
|
{
|
|
27895
27897
|
PyObject *compiled = NULL, *result = NULL;
|
|
27896
27898
|
if (unlikely(PyDict_SetItemString(scratch_dict, "code", code))) return NULL;
|
|
@@ -27910,6 +27912,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
|
|
|
27910
27912
|
if (result) Py_INCREF(result);
|
|
27911
27913
|
return result;
|
|
27912
27914
|
}
|
|
27915
|
+
#else
|
|
27916
|
+
return NULL;
|
|
27913
27917
|
#endif
|
|
27914
27918
|
}
|
|
27915
27919
|
static void __Pyx_AddTraceback(const char *funcname, int c_line,
|
|
@@ -28007,7 +28011,7 @@ static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
|
|
|
28007
28011
|
#else
|
|
28008
28012
|
py_code = PyCode_NewEmpty(filename, funcname, py_line);
|
|
28009
28013
|
#endif
|
|
28010
|
-
Py_XDECREF(py_funcname);
|
|
28014
|
+
Py_XDECREF(py_funcname);
|
|
28011
28015
|
return py_code;
|
|
28012
28016
|
bad:
|
|
28013
28017
|
Py_XDECREF(py_funcname);
|
|
@@ -29485,13 +29489,13 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
|
|
|
29485
29489
|
{
|
|
29486
29490
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
29487
29491
|
unsigned char *bytes = (unsigned char *)&value;
|
|
29488
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
29492
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
29489
29493
|
return _PyLong_FromByteArray(bytes, sizeof(enum __pyx_t_7biotite_8sequence_5align_10tracetable_TraceDirectionAffine),
|
|
29490
29494
|
little, !is_unsigned);
|
|
29491
29495
|
#else
|
|
29492
29496
|
PyObject *from_bytes, *result = NULL;
|
|
29493
29497
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
29494
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
29498
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
29495
29499
|
if (!from_bytes) return NULL;
|
|
29496
29500
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(enum __pyx_t_7biotite_8sequence_5align_10tracetable_TraceDirectionAffine));
|
|
29497
29501
|
if (!py_bytes) goto limited_bad;
|
|
@@ -29499,16 +29503,18 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
|
|
|
29499
29503
|
if (!order_str) goto limited_bad;
|
|
29500
29504
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
29501
29505
|
if (!arg_tuple) goto limited_bad;
|
|
29502
|
-
|
|
29503
|
-
|
|
29504
|
-
|
|
29506
|
+
if (!is_unsigned) {
|
|
29507
|
+
kwds = PyDict_New();
|
|
29508
|
+
if (!kwds) goto limited_bad;
|
|
29509
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
29510
|
+
}
|
|
29505
29511
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
29506
29512
|
limited_bad:
|
|
29507
|
-
Py_XDECREF(from_bytes);
|
|
29508
|
-
Py_XDECREF(py_bytes);
|
|
29509
|
-
Py_XDECREF(order_str);
|
|
29510
|
-
Py_XDECREF(arg_tuple);
|
|
29511
29513
|
Py_XDECREF(kwds);
|
|
29514
|
+
Py_XDECREF(arg_tuple);
|
|
29515
|
+
Py_XDECREF(order_str);
|
|
29516
|
+
Py_XDECREF(py_bytes);
|
|
29517
|
+
Py_XDECREF(from_bytes);
|
|
29512
29518
|
return result;
|
|
29513
29519
|
#endif
|
|
29514
29520
|
}
|
|
@@ -29547,13 +29553,13 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
|
|
|
29547
29553
|
{
|
|
29548
29554
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
29549
29555
|
unsigned char *bytes = (unsigned char *)&value;
|
|
29550
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
29556
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
29551
29557
|
return _PyLong_FromByteArray(bytes, sizeof(int),
|
|
29552
29558
|
little, !is_unsigned);
|
|
29553
29559
|
#else
|
|
29554
29560
|
PyObject *from_bytes, *result = NULL;
|
|
29555
29561
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
29556
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
29562
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
29557
29563
|
if (!from_bytes) return NULL;
|
|
29558
29564
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(int));
|
|
29559
29565
|
if (!py_bytes) goto limited_bad;
|
|
@@ -29561,16 +29567,18 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
|
|
|
29561
29567
|
if (!order_str) goto limited_bad;
|
|
29562
29568
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
29563
29569
|
if (!arg_tuple) goto limited_bad;
|
|
29564
|
-
|
|
29565
|
-
|
|
29566
|
-
|
|
29570
|
+
if (!is_unsigned) {
|
|
29571
|
+
kwds = PyDict_New();
|
|
29572
|
+
if (!kwds) goto limited_bad;
|
|
29573
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
29574
|
+
}
|
|
29567
29575
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
29568
29576
|
limited_bad:
|
|
29569
|
-
Py_XDECREF(from_bytes);
|
|
29570
|
-
Py_XDECREF(py_bytes);
|
|
29571
|
-
Py_XDECREF(order_str);
|
|
29572
|
-
Py_XDECREF(arg_tuple);
|
|
29573
29577
|
Py_XDECREF(kwds);
|
|
29578
|
+
Py_XDECREF(arg_tuple);
|
|
29579
|
+
Py_XDECREF(order_str);
|
|
29580
|
+
Py_XDECREF(py_bytes);
|
|
29581
|
+
Py_XDECREF(from_bytes);
|
|
29574
29582
|
return result;
|
|
29575
29583
|
#endif
|
|
29576
29584
|
}
|
|
@@ -29746,7 +29754,7 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
|
|
|
29746
29754
|
#endif
|
|
29747
29755
|
if (likely(v)) {
|
|
29748
29756
|
int ret = -1;
|
|
29749
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
29757
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
29750
29758
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
29751
29759
|
unsigned char *bytes = (unsigned char *)&val;
|
|
29752
29760
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -30019,7 +30027,7 @@ raise_neg_overflow:
|
|
|
30019
30027
|
#endif
|
|
30020
30028
|
if (likely(v)) {
|
|
30021
30029
|
int ret = -1;
|
|
30022
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
30030
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
30023
30031
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
30024
30032
|
unsigned char *bytes = (unsigned char *)&val;
|
|
30025
30033
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -30155,13 +30163,13 @@ raise_neg_overflow:
|
|
|
30155
30163
|
{
|
|
30156
30164
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
30157
30165
|
unsigned char *bytes = (unsigned char *)&value;
|
|
30158
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
30166
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
30159
30167
|
return _PyLong_FromByteArray(bytes, sizeof(npy_int64),
|
|
30160
30168
|
little, !is_unsigned);
|
|
30161
30169
|
#else
|
|
30162
30170
|
PyObject *from_bytes, *result = NULL;
|
|
30163
30171
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
30164
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
30172
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
30165
30173
|
if (!from_bytes) return NULL;
|
|
30166
30174
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(npy_int64));
|
|
30167
30175
|
if (!py_bytes) goto limited_bad;
|
|
@@ -30169,16 +30177,18 @@ raise_neg_overflow:
|
|
|
30169
30177
|
if (!order_str) goto limited_bad;
|
|
30170
30178
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
30171
30179
|
if (!arg_tuple) goto limited_bad;
|
|
30172
|
-
|
|
30173
|
-
|
|
30174
|
-
|
|
30180
|
+
if (!is_unsigned) {
|
|
30181
|
+
kwds = PyDict_New();
|
|
30182
|
+
if (!kwds) goto limited_bad;
|
|
30183
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
30184
|
+
}
|
|
30175
30185
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
30176
30186
|
limited_bad:
|
|
30177
|
-
Py_XDECREF(from_bytes);
|
|
30178
|
-
Py_XDECREF(py_bytes);
|
|
30179
|
-
Py_XDECREF(order_str);
|
|
30180
|
-
Py_XDECREF(arg_tuple);
|
|
30181
30187
|
Py_XDECREF(kwds);
|
|
30188
|
+
Py_XDECREF(arg_tuple);
|
|
30189
|
+
Py_XDECREF(order_str);
|
|
30190
|
+
Py_XDECREF(py_bytes);
|
|
30191
|
+
Py_XDECREF(from_bytes);
|
|
30182
30192
|
return result;
|
|
30183
30193
|
#endif
|
|
30184
30194
|
}
|
|
@@ -30354,7 +30364,7 @@ raise_neg_overflow:
|
|
|
30354
30364
|
#endif
|
|
30355
30365
|
if (likely(v)) {
|
|
30356
30366
|
int ret = -1;
|
|
30357
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
30367
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
30358
30368
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
30359
30369
|
unsigned char *bytes = (unsigned char *)&val;
|
|
30360
30370
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -30490,13 +30500,13 @@ raise_neg_overflow:
|
|
|
30490
30500
|
{
|
|
30491
30501
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
30492
30502
|
unsigned char *bytes = (unsigned char *)&value;
|
|
30493
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
30503
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
30494
30504
|
return _PyLong_FromByteArray(bytes, sizeof(long),
|
|
30495
30505
|
little, !is_unsigned);
|
|
30496
30506
|
#else
|
|
30497
30507
|
PyObject *from_bytes, *result = NULL;
|
|
30498
30508
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
30499
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
30509
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
30500
30510
|
if (!from_bytes) return NULL;
|
|
30501
30511
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long));
|
|
30502
30512
|
if (!py_bytes) goto limited_bad;
|
|
@@ -30504,16 +30514,18 @@ raise_neg_overflow:
|
|
|
30504
30514
|
if (!order_str) goto limited_bad;
|
|
30505
30515
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
30506
30516
|
if (!arg_tuple) goto limited_bad;
|
|
30507
|
-
|
|
30508
|
-
|
|
30509
|
-
|
|
30517
|
+
if (!is_unsigned) {
|
|
30518
|
+
kwds = PyDict_New();
|
|
30519
|
+
if (!kwds) goto limited_bad;
|
|
30520
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
30521
|
+
}
|
|
30510
30522
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
30511
30523
|
limited_bad:
|
|
30512
|
-
Py_XDECREF(from_bytes);
|
|
30513
|
-
Py_XDECREF(py_bytes);
|
|
30514
|
-
Py_XDECREF(order_str);
|
|
30515
|
-
Py_XDECREF(arg_tuple);
|
|
30516
30524
|
Py_XDECREF(kwds);
|
|
30525
|
+
Py_XDECREF(arg_tuple);
|
|
30526
|
+
Py_XDECREF(order_str);
|
|
30527
|
+
Py_XDECREF(py_bytes);
|
|
30528
|
+
Py_XDECREF(from_bytes);
|
|
30517
30529
|
return result;
|
|
30518
30530
|
#endif
|
|
30519
30531
|
}
|
|
@@ -30552,13 +30564,13 @@ raise_neg_overflow:
|
|
|
30552
30564
|
{
|
|
30553
30565
|
int one = 1; int little = (int)*(unsigned char *)&one;
|
|
30554
30566
|
unsigned char *bytes = (unsigned char *)&value;
|
|
30555
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
30567
|
+
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
|
|
30556
30568
|
return _PyLong_FromByteArray(bytes, sizeof(enum __pyx_t_7biotite_8sequence_5align_10tracetable_TraceState),
|
|
30557
30569
|
little, !is_unsigned);
|
|
30558
30570
|
#else
|
|
30559
30571
|
PyObject *from_bytes, *result = NULL;
|
|
30560
30572
|
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
|
|
30561
|
-
from_bytes = PyObject_GetAttrString((PyObject*)&
|
|
30573
|
+
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
|
|
30562
30574
|
if (!from_bytes) return NULL;
|
|
30563
30575
|
py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(enum __pyx_t_7biotite_8sequence_5align_10tracetable_TraceState));
|
|
30564
30576
|
if (!py_bytes) goto limited_bad;
|
|
@@ -30566,16 +30578,18 @@ raise_neg_overflow:
|
|
|
30566
30578
|
if (!order_str) goto limited_bad;
|
|
30567
30579
|
arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
|
|
30568
30580
|
if (!arg_tuple) goto limited_bad;
|
|
30569
|
-
|
|
30570
|
-
|
|
30571
|
-
|
|
30581
|
+
if (!is_unsigned) {
|
|
30582
|
+
kwds = PyDict_New();
|
|
30583
|
+
if (!kwds) goto limited_bad;
|
|
30584
|
+
if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
|
|
30585
|
+
}
|
|
30572
30586
|
result = PyObject_Call(from_bytes, arg_tuple, kwds);
|
|
30573
30587
|
limited_bad:
|
|
30574
|
-
Py_XDECREF(from_bytes);
|
|
30575
|
-
Py_XDECREF(py_bytes);
|
|
30576
|
-
Py_XDECREF(order_str);
|
|
30577
|
-
Py_XDECREF(arg_tuple);
|
|
30578
30588
|
Py_XDECREF(kwds);
|
|
30589
|
+
Py_XDECREF(arg_tuple);
|
|
30590
|
+
Py_XDECREF(order_str);
|
|
30591
|
+
Py_XDECREF(py_bytes);
|
|
30592
|
+
Py_XDECREF(from_bytes);
|
|
30579
30593
|
return result;
|
|
30580
30594
|
#endif
|
|
30581
30595
|
}
|
|
@@ -30751,7 +30765,7 @@ raise_neg_overflow:
|
|
|
30751
30765
|
#endif
|
|
30752
30766
|
if (likely(v)) {
|
|
30753
30767
|
int ret = -1;
|
|
30754
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
30768
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
30755
30769
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
30756
30770
|
unsigned char *bytes = (unsigned char *)&val;
|
|
30757
30771
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -31024,7 +31038,7 @@ raise_neg_overflow:
|
|
|
31024
31038
|
#endif
|
|
31025
31039
|
if (likely(v)) {
|
|
31026
31040
|
int ret = -1;
|
|
31027
|
-
#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
31041
|
+
#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
|
|
31028
31042
|
int one = 1; int is_little = (int)*(unsigned char *)&one;
|
|
31029
31043
|
unsigned char *bytes = (unsigned char *)&val;
|
|
31030
31044
|
ret = _PyLong_AsByteArray((PyLongObject *)v,
|
|
@@ -31144,41 +31158,50 @@ __Pyx_PyType_GetName(PyTypeObject* tp)
|
|
|
31144
31158
|
#endif
|
|
31145
31159
|
|
|
31146
31160
|
/* CheckBinaryVersion */
|
|
31147
|
-
static
|
|
31148
|
-
|
|
31149
|
-
|
|
31150
|
-
|
|
31151
|
-
|
|
31152
|
-
|
|
31153
|
-
|
|
31154
|
-
|
|
31155
|
-
|
|
31156
|
-
|
|
31161
|
+
static unsigned long __Pyx_get_runtime_version(void) {
|
|
31162
|
+
#if __PYX_LIMITED_VERSION_HEX >= 0x030B00A4
|
|
31163
|
+
return Py_Version & ~0xFFUL;
|
|
31164
|
+
#else
|
|
31165
|
+
const char* rt_version = Py_GetVersion();
|
|
31166
|
+
unsigned long version = 0;
|
|
31167
|
+
unsigned long factor = 0x01000000UL;
|
|
31168
|
+
unsigned int digit = 0;
|
|
31169
|
+
int i = 0;
|
|
31170
|
+
while (factor) {
|
|
31171
|
+
while ('0' <= rt_version[i] && rt_version[i] <= '9') {
|
|
31172
|
+
digit = digit * 10 + (unsigned int) (rt_version[i] - '0');
|
|
31173
|
+
++i;
|
|
31157
31174
|
}
|
|
31158
|
-
|
|
31159
|
-
|
|
31175
|
+
version += factor * digit;
|
|
31176
|
+
if (rt_version[i] != '.')
|
|
31160
31177
|
break;
|
|
31161
|
-
|
|
31178
|
+
digit = 0;
|
|
31179
|
+
factor >>= 8;
|
|
31180
|
+
++i;
|
|
31162
31181
|
}
|
|
31163
|
-
|
|
31164
|
-
|
|
31182
|
+
return version;
|
|
31183
|
+
#endif
|
|
31184
|
+
}
|
|
31185
|
+
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer) {
|
|
31186
|
+
const unsigned long MAJOR_MINOR = 0xFFFF0000UL;
|
|
31187
|
+
if ((rt_version & MAJOR_MINOR) == (ct_version & MAJOR_MINOR))
|
|
31188
|
+
return 0;
|
|
31189
|
+
if (likely(allow_newer && (rt_version & MAJOR_MINOR) > (ct_version & MAJOR_MINOR)))
|
|
31190
|
+
return 1;
|
|
31191
|
+
{
|
|
31165
31192
|
char message[200];
|
|
31166
|
-
for (i=0; i<4; ++i) {
|
|
31167
|
-
if (rt_from_call[i] == '.') {
|
|
31168
|
-
if (found_dot) break;
|
|
31169
|
-
found_dot = 1;
|
|
31170
|
-
} else if (rt_from_call[i] < '0' || rt_from_call[i] > '9') {
|
|
31171
|
-
break;
|
|
31172
|
-
}
|
|
31173
|
-
rtversion[i] = rt_from_call[i];
|
|
31174
|
-
}
|
|
31175
31193
|
PyOS_snprintf(message, sizeof(message),
|
|
31176
|
-
"compile time version %
|
|
31177
|
-
"
|
|
31178
|
-
|
|
31194
|
+
"compile time Python version %d.%d "
|
|
31195
|
+
"of module '%.100s' "
|
|
31196
|
+
"%s "
|
|
31197
|
+
"runtime version %d.%d",
|
|
31198
|
+
(int) (ct_version >> 24), (int) ((ct_version >> 16) & 0xFF),
|
|
31199
|
+
__Pyx_MODULE_NAME,
|
|
31200
|
+
(allow_newer) ? "was newer than" : "does not match",
|
|
31201
|
+
(int) (rt_version >> 24), (int) ((rt_version >> 16) & 0xFF)
|
|
31202
|
+
);
|
|
31179
31203
|
return PyErr_WarnEx(NULL, message, 1);
|
|
31180
31204
|
}
|
|
31181
|
-
return 0;
|
|
31182
31205
|
}
|
|
31183
31206
|
|
|
31184
31207
|
/* FunctionExport */
|
|
@@ -31257,8 +31280,24 @@ static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
|
|
|
31257
31280
|
return 0;
|
|
31258
31281
|
}
|
|
31259
31282
|
|
|
31283
|
+
#include <string.h>
|
|
31284
|
+
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
|
|
31285
|
+
size_t len = strlen(s);
|
|
31286
|
+
if (unlikely(len > (size_t) PY_SSIZE_T_MAX)) {
|
|
31287
|
+
PyErr_SetString(PyExc_OverflowError, "byte string is too long");
|
|
31288
|
+
return -1;
|
|
31289
|
+
}
|
|
31290
|
+
return (Py_ssize_t) len;
|
|
31291
|
+
}
|
|
31260
31292
|
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
|
|
31261
|
-
|
|
31293
|
+
Py_ssize_t len = __Pyx_ssize_strlen(c_str);
|
|
31294
|
+
if (unlikely(len < 0)) return NULL;
|
|
31295
|
+
return __Pyx_PyUnicode_FromStringAndSize(c_str, len);
|
|
31296
|
+
}
|
|
31297
|
+
static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char* c_str) {
|
|
31298
|
+
Py_ssize_t len = __Pyx_ssize_strlen(c_str);
|
|
31299
|
+
if (unlikely(len < 0)) return NULL;
|
|
31300
|
+
return PyByteArray_FromStringAndSize(c_str, len);
|
|
31262
31301
|
}
|
|
31263
31302
|
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
|
|
31264
31303
|
Py_ssize_t ignore;
|