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.

Files changed (124) hide show
  1. biotite/__init__.py +3 -3
  2. biotite/application/application.py +33 -28
  3. biotite/application/dssp/app.py +18 -18
  4. biotite/application/sra/__init__.py +5 -0
  5. biotite/application/sra/app.py +337 -55
  6. biotite/database/entrez/__init__.py +2 -1
  7. biotite/database/entrez/check.py +14 -3
  8. biotite/database/entrez/download.py +20 -13
  9. biotite/database/entrez/key.py +44 -0
  10. biotite/database/entrez/query.py +38 -34
  11. biotite/database/pubchem/query.py +44 -44
  12. biotite/database/rcsb/download.py +19 -14
  13. biotite/database/rcsb/query.py +46 -46
  14. biotite/sequence/align/__init__.py +5 -1
  15. biotite/sequence/align/banded.c +1408 -1025
  16. biotite/sequence/align/banded.cp310-win_amd64.pyd +0 -0
  17. biotite/sequence/align/buckets.py +69 -0
  18. biotite/sequence/align/cigar.py +389 -0
  19. biotite/sequence/align/kmeralphabet.c +3220 -2850
  20. biotite/sequence/align/kmeralphabet.cp310-win_amd64.pyd +0 -0
  21. biotite/sequence/align/kmersimilarity.c +713 -663
  22. biotite/sequence/align/kmersimilarity.cp310-win_amd64.pyd +0 -0
  23. biotite/sequence/align/kmertable.cp310-win_amd64.pyd +0 -0
  24. biotite/sequence/align/kmertable.cpp +68398 -0
  25. biotite/sequence/align/localgapped.c +1507 -1074
  26. biotite/sequence/align/localgapped.cp310-win_amd64.pyd +0 -0
  27. biotite/sequence/align/localungapped.c +1143 -833
  28. biotite/sequence/align/localungapped.cp310-win_amd64.pyd +0 -0
  29. biotite/sequence/align/multiple.c +1569 -1092
  30. biotite/sequence/align/multiple.cp310-win_amd64.pyd +0 -0
  31. biotite/sequence/align/pairwise.c +1612 -1212
  32. biotite/sequence/align/pairwise.cp310-win_amd64.pyd +0 -0
  33. biotite/sequence/align/permutation.c +33259 -0
  34. biotite/sequence/align/permutation.cp310-win_amd64.pyd +0 -0
  35. biotite/sequence/align/primes.txt +821 -0
  36. biotite/sequence/align/{kmertable.c → selector.c} +9129 -16497
  37. biotite/sequence/align/selector.cp310-win_amd64.pyd +0 -0
  38. biotite/sequence/align/tracetable.c +685 -646
  39. biotite/sequence/align/tracetable.cp310-win_amd64.pyd +0 -0
  40. biotite/sequence/codec.c +1159 -841
  41. biotite/sequence/codec.cp310-win_amd64.pyd +0 -0
  42. biotite/sequence/graphics/alignment.py +212 -2
  43. biotite/sequence/io/genbank/annotation.py +11 -11
  44. biotite/sequence/phylo/nj.c +684 -636
  45. biotite/sequence/phylo/nj.cp310-win_amd64.pyd +0 -0
  46. biotite/sequence/phylo/tree.c +970 -673
  47. biotite/sequence/phylo/tree.cp310-win_amd64.pyd +0 -0
  48. biotite/sequence/phylo/upgma.c +672 -626
  49. biotite/sequence/phylo/upgma.cp310-win_amd64.pyd +0 -0
  50. biotite/structure/__init__.py +1 -1
  51. biotite/structure/atoms.py +1 -1
  52. biotite/structure/basepairs.py +7 -12
  53. biotite/structure/bonds.c +3861 -3749
  54. biotite/structure/bonds.cp310-win_amd64.pyd +0 -0
  55. biotite/structure/celllist.c +727 -707
  56. biotite/structure/celllist.cp310-win_amd64.pyd +0 -0
  57. biotite/structure/charges.c +1561 -1560
  58. biotite/structure/charges.cp310-win_amd64.pyd +0 -0
  59. biotite/structure/filter.py +30 -37
  60. biotite/structure/info/__init__.py +5 -8
  61. biotite/structure/info/atoms.py +25 -67
  62. biotite/structure/info/bonds.py +46 -100
  63. biotite/structure/info/ccd/README.rst +8 -0
  64. biotite/structure/info/ccd/amino_acids.txt +1646 -0
  65. biotite/structure/info/ccd/carbohydrates.txt +1133 -0
  66. biotite/structure/info/ccd/components.bcif +0 -0
  67. biotite/structure/info/ccd/nucleotides.txt +797 -0
  68. biotite/structure/info/ccd.py +95 -0
  69. biotite/structure/info/groups.py +90 -0
  70. biotite/structure/info/masses.py +21 -20
  71. biotite/structure/info/misc.py +11 -22
  72. biotite/structure/info/standardize.py +17 -12
  73. biotite/structure/io/__init__.py +2 -4
  74. biotite/structure/io/ctab.py +1 -1
  75. biotite/structure/io/general.py +37 -43
  76. biotite/structure/io/mmtf/__init__.py +3 -0
  77. biotite/structure/io/mmtf/convertarray.c +528 -365
  78. biotite/structure/io/mmtf/convertarray.cp310-win_amd64.pyd +0 -0
  79. biotite/structure/io/mmtf/convertfile.c +725 -676
  80. biotite/structure/io/mmtf/convertfile.cp310-win_amd64.pyd +0 -0
  81. biotite/structure/io/mmtf/decode.c +1070 -754
  82. biotite/structure/io/mmtf/decode.cp310-win_amd64.pyd +0 -0
  83. biotite/structure/io/mmtf/encode.c +727 -677
  84. biotite/structure/io/mmtf/encode.cp310-win_amd64.pyd +0 -0
  85. biotite/structure/io/mmtf/file.py +34 -26
  86. biotite/structure/io/npz/__init__.py +3 -0
  87. biotite/structure/io/npz/file.py +21 -18
  88. biotite/structure/io/pdb/__init__.py +3 -3
  89. biotite/structure/io/pdb/file.py +72 -70
  90. biotite/structure/io/pdb/hybrid36.c +540 -478
  91. biotite/structure/io/pdb/hybrid36.cp310-win_amd64.pyd +0 -0
  92. biotite/structure/io/pdbqt/file.py +82 -68
  93. biotite/structure/io/pdbx/__init__.py +13 -6
  94. biotite/structure/io/pdbx/bcif.py +649 -0
  95. biotite/structure/io/pdbx/cif.py +1028 -0
  96. biotite/structure/io/pdbx/component.py +243 -0
  97. biotite/structure/io/pdbx/convert.py +707 -359
  98. biotite/structure/io/pdbx/encoding.c +112813 -0
  99. biotite/structure/io/pdbx/encoding.cp310-win_amd64.pyd +0 -0
  100. biotite/structure/io/pdbx/error.py +14 -0
  101. biotite/structure/io/pdbx/legacy.py +267 -0
  102. biotite/structure/molecules.py +151 -151
  103. biotite/structure/residues.py +40 -40
  104. biotite/structure/sasa.c +713 -644
  105. biotite/structure/sasa.cp310-win_amd64.pyd +0 -0
  106. biotite/structure/superimpose.py +158 -115
  107. biotite/visualize.py +9 -11
  108. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/METADATA +2 -2
  109. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/RECORD +112 -102
  110. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/WHEEL +1 -1
  111. biotite/structure/info/amino_acids.json +0 -1556
  112. biotite/structure/info/amino_acids.py +0 -42
  113. biotite/structure/info/carbohydrates.json +0 -1122
  114. biotite/structure/info/carbohydrates.py +0 -39
  115. biotite/structure/info/intra_bonds.msgpack +0 -0
  116. biotite/structure/info/link_types.msgpack +0 -1
  117. biotite/structure/info/nucleotides.json +0 -772
  118. biotite/structure/info/nucleotides.py +0 -39
  119. biotite/structure/info/residue_masses.msgpack +0 -0
  120. biotite/structure/info/residue_names.msgpack +0 -3
  121. biotite/structure/info/residues.msgpack +0 -0
  122. biotite/structure/io/pdbx/file.py +0 -652
  123. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/LICENSE.rst +0 -0
  124. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/top_level.txt +0 -0
biotite/structure/sasa.c CHANGED
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.0.2 */
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 "3_0_2" __PYX_EXTRA_ABI_MODULE_NAME
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 0x030002F0
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
- #elif defined(PY_NOGIL)
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
- PyObject *version_info; // borrowed
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; // we don't yet need to distinguish between versions > 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); // we don't have access to __pyx_empty_bytes here
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
- #define __Pyx_PyCFunctionFast _PyCFunctionFast
735
- #define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
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__; (void)__pyx_clineno; }
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
- #define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
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 // Py < 3.12
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":732
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":733
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":734
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":735
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":739
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":740
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":741
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":742
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":746
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":747
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":756
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":757
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":758
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":760
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":761
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":762
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":764
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":765
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":767
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":768
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-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":769
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 # <<<<<<<<<<<<<<
@@ -1851,7 +1911,7 @@ struct __pyx_MemviewEnum_obj;
1851
1911
  struct __pyx_memoryview_obj;
1852
1912
  struct __pyx_memoryviewslice_obj;
1853
1913
 
1854
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":771
1914
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":771
1855
1915
  * ctypedef npy_longdouble longdouble_t
1856
1916
  *
1857
1917
  * ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<<
@@ -1860,7 +1920,7 @@ struct __pyx_memoryviewslice_obj;
1860
1920
  */
1861
1921
  typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
1862
1922
 
1863
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":772
1923
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":772
1864
1924
  *
1865
1925
  * ctypedef npy_cfloat cfloat_t
1866
1926
  * ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<<
@@ -1869,7 +1929,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
1869
1929
  */
1870
1930
  typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
1871
1931
 
1872
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":773
1932
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":773
1873
1933
  * ctypedef npy_cfloat cfloat_t
1874
1934
  * ctypedef npy_cdouble cdouble_t
1875
1935
  * ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<<
@@ -1878,7 +1938,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
1878
1938
  */
1879
1939
  typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
1880
1940
 
1881
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":775
1941
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":775
1882
1942
  * ctypedef npy_clongdouble clongdouble_t
1883
1943
  *
1884
1944
  * ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<<
@@ -2184,8 +2244,8 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
2184
2244
  #define __Pyx_Arg_NewRef_VARARGS(arg) __Pyx_NewRef(arg)
2185
2245
  #define __Pyx_Arg_XDECREF_VARARGS(arg) Py_XDECREF(arg)
2186
2246
  #else
2187
- #define __Pyx_Arg_NewRef_VARARGS(arg) arg // no-op
2188
- #define __Pyx_Arg_XDECREF_VARARGS(arg) // no-op - arg is borrowed
2247
+ #define __Pyx_Arg_NewRef_VARARGS(arg) arg
2248
+ #define __Pyx_Arg_XDECREF_VARARGS(arg)
2189
2249
  #endif
2190
2250
  #define __Pyx_NumKwargs_VARARGS(kwds) PyDict_Size(kwds)
2191
2251
  #define __Pyx_KwValues_VARARGS(args, nargs) NULL
@@ -2196,9 +2256,14 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
2196
2256
  #define __Pyx_NumKwargs_FASTCALL(kwds) PyTuple_GET_SIZE(kwds)
2197
2257
  #define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs))
2198
2258
  static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s);
2259
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
2260
+ CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);
2261
+ #else
2199
2262
  #define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw)
2200
- #define __Pyx_Arg_NewRef_FASTCALL(arg) arg // no-op, __Pyx_Arg_FASTCALL is direct and this needs
2201
- #define __Pyx_Arg_XDECREF_FASTCALL(arg) // no-op - arg was returned from array
2263
+ #endif
2264
+ #define __Pyx_Arg_NewRef_FASTCALL(arg) arg /* no-op, __Pyx_Arg_FASTCALL is direct and this needs
2265
+ to have the same reference counting */
2266
+ #define __Pyx_Arg_XDECREF_FASTCALL(arg)
2202
2267
  #else
2203
2268
  #define __Pyx_Arg_FASTCALL __Pyx_Arg_VARARGS
2204
2269
  #define __Pyx_NumKwargs_FASTCALL __Pyx_NumKwargs_VARARGS
@@ -2521,9 +2586,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
2521
2586
  static PyObject *__Pyx_ImportDottedModule_WalkParts(PyObject *module, PyObject *name, PyObject *parts_tuple);
2522
2587
  #endif
2523
2588
 
2524
- /* ssize_strlen.proto */
2525
- static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s);
2526
-
2527
2589
  /* FastTypeChecks.proto */
2528
2590
  #if CYTHON_COMPILING_IN_CPYTHON
2529
2591
  #define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
@@ -2549,7 +2611,11 @@ static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
2549
2611
  Py_ssize_t len = Py_SIZE(list);
2550
2612
  if (likely(L->allocated > len)) {
2551
2613
  Py_INCREF(x);
2614
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
2615
+ L->ob_item[len] = x;
2616
+ #else
2552
2617
  PyList_SET_ITEM(list, len, x);
2618
+ #endif
2553
2619
  __Pyx_SET_SIZE(list, len + 1);
2554
2620
  return 0;
2555
2621
  }
@@ -2589,7 +2655,11 @@ static CYTHON_INLINE int __Pyx_PySequence_ContainsTF(PyObject* item, PyObject* s
2589
2655
  static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name);
2590
2656
 
2591
2657
  /* HasAttr.proto */
2658
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
2659
+ #define __Pyx_HasAttr(o, n) PyObject_HasAttrWithError(o, n)
2660
+ #else
2592
2661
  static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *);
2662
+ #endif
2593
2663
 
2594
2664
  /* CallableCheck.proto */
2595
2665
  #if CYTHON_USE_TYPE_SLOTS && PY_MAJOR_VERSION >= 3
@@ -2686,22 +2756,22 @@ static int __Pyx_setup_reduce(PyObject* type_obj);
2686
2756
  #endif
2687
2757
 
2688
2758
  /* TypeImport.proto */
2689
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_0_2
2690
- #define __PYX_HAVE_RT_ImportType_proto_3_0_2
2759
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_0_10
2760
+ #define __PYX_HAVE_RT_ImportType_proto_3_0_10
2691
2761
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2692
2762
  #include <stdalign.h>
2693
2763
  #endif
2694
2764
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2695
- #define __PYX_GET_STRUCT_ALIGNMENT_3_0_2(s) alignof(s)
2765
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) alignof(s)
2696
2766
  #else
2697
- #define __PYX_GET_STRUCT_ALIGNMENT_3_0_2(s) sizeof(void*)
2767
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) sizeof(void*)
2698
2768
  #endif
2699
- enum __Pyx_ImportType_CheckSize_3_0_2 {
2700
- __Pyx_ImportType_CheckSize_Error_3_0_2 = 0,
2701
- __Pyx_ImportType_CheckSize_Warn_3_0_2 = 1,
2702
- __Pyx_ImportType_CheckSize_Ignore_3_0_2 = 2
2769
+ enum __Pyx_ImportType_CheckSize_3_0_10 {
2770
+ __Pyx_ImportType_CheckSize_Error_3_0_10 = 0,
2771
+ __Pyx_ImportType_CheckSize_Warn_3_0_10 = 1,
2772
+ __Pyx_ImportType_CheckSize_Ignore_3_0_10 = 2
2703
2773
  };
2704
- static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_2 check_size);
2774
+ 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);
2705
2775
  #endif
2706
2776
 
2707
2777
  /* FetchSharedCythonModule.proto */
@@ -2794,7 +2864,7 @@ typedef struct {
2794
2864
  #endif
2795
2865
  void *defaults;
2796
2866
  int defaults_pyobjects;
2797
- size_t defaults_size; // used by FusedFunction for copying defaults
2867
+ size_t defaults_size;
2798
2868
  int flags;
2799
2869
  PyObject *defaults_tuple;
2800
2870
  PyObject *defaults_kwdict;
@@ -2802,9 +2872,13 @@ typedef struct {
2802
2872
  PyObject *func_annotations;
2803
2873
  PyObject *func_is_coroutine;
2804
2874
  } __pyx_CyFunctionObject;
2875
+ #undef __Pyx_CyOrPyCFunction_Check
2805
2876
  #define __Pyx_CyFunction_Check(obj) __Pyx_TypeCheck(obj, __pyx_CyFunctionType)
2806
- #define __Pyx_IsCyOrPyCFunction(obj) __Pyx_TypeCheck2(obj, __pyx_CyFunctionType, &PyCFunction_Type)
2877
+ #define __Pyx_CyOrPyCFunction_Check(obj) __Pyx_TypeCheck2(obj, __pyx_CyFunctionType, &PyCFunction_Type)
2807
2878
  #define __Pyx_CyFunction_CheckExact(obj) __Pyx_IS_TYPE(obj, __pyx_CyFunctionType)
2879
+ static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc);
2880
+ #undef __Pyx_IsSameCFunction
2881
+ #define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCyOrCFunction(func, cfunc)
2808
2882
  static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject* op, PyMethodDef *ml,
2809
2883
  int flags, PyObject* qualname,
2810
2884
  PyObject *closure,
@@ -3097,7 +3171,8 @@ typedef const char *__Pyx_TypeName;
3097
3171
  #endif
3098
3172
 
3099
3173
  /* CheckBinaryVersion.proto */
3100
- static int __Pyx_check_binary_version(void);
3174
+ static unsigned long __Pyx_get_runtime_version(void);
3175
+ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
3101
3176
 
3102
3177
  /* InitStrings.proto */
3103
3178
  static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
@@ -4845,8 +4920,7 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
4845
4920
  #if CYTHON_ASSUME_SAFE_MACROS
4846
4921
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
4847
4922
  #else
4848
- __pyx_nargs = PyTuple_Size(__pyx_args);
4849
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 131, __pyx_L3_error)
4923
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
4850
4924
  #endif
4851
4925
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
4852
4926
  {
@@ -4947,10 +5021,11 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
4947
5021
  __pyx_v_allocate_buffer = ((int)1);
4948
5022
  }
4949
5023
  }
4950
- goto __pyx_L4_argument_unpacking_done;
5024
+ goto __pyx_L6_skip;
4951
5025
  __pyx_L5_argtuple_error:;
4952
5026
  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, __pyx_nargs); __PYX_ERR(1, 131, __pyx_L3_error)
4953
- goto __pyx_L3_error;
5027
+ __pyx_L6_skip:;
5028
+ goto __pyx_L4_argument_unpacking_done;
4954
5029
  __pyx_L3_error:;
4955
5030
  {
4956
5031
  Py_ssize_t __pyx_temp;
@@ -5233,13 +5308,20 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
5233
5308
  * raise ValueError, f"Invalid shape in axis {idx}: {dim}."
5234
5309
  */
5235
5310
  __pyx_t_7 = 0;
5236
- __pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4); __pyx_t_1 = 0;
5311
+ __pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4);
5312
+ __pyx_t_1 = 0;
5237
5313
  for (;;) {
5238
- if (__pyx_t_1 >= PyTuple_GET_SIZE(__pyx_t_4)) break;
5314
+ {
5315
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
5316
+ #if !CYTHON_ASSUME_SAFE_MACROS
5317
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 159, __pyx_L1_error)
5318
+ #endif
5319
+ if (__pyx_t_1 >= __pyx_temp) break;
5320
+ }
5239
5321
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
5240
5322
  __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)
5241
5323
  #else
5242
- __pyx_t_5 = PySequence_ITEM(__pyx_t_4, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 159, __pyx_L1_error)
5324
+ __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)
5243
5325
  __Pyx_GOTREF(__pyx_t_5);
5244
5326
  #endif
5245
5327
  __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)
@@ -5882,10 +5964,8 @@ static void __pyx_array___dealloc__(PyObject *__pyx_v_self) {
5882
5964
  }
5883
5965
 
5884
5966
  static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struct __pyx_array_obj *__pyx_v_self) {
5885
- __Pyx_RefNannyDeclarations
5886
5967
  int __pyx_t_1;
5887
5968
  int __pyx_t_2;
5888
- __Pyx_RefNannySetupContext("__dealloc__", 0);
5889
5969
 
5890
5970
  /* "View.MemoryView":211
5891
5971
  *
@@ -5997,7 +6077,6 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
5997
6077
  */
5998
6078
 
5999
6079
  /* function exit code */
6000
- __Pyx_RefNannyFinishContext();
6001
6080
  }
6002
6081
 
6003
6082
  /* "View.MemoryView":219
@@ -6030,7 +6109,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
6030
6109
  int __pyx_lineno = 0;
6031
6110
  const char *__pyx_filename = NULL;
6032
6111
  int __pyx_clineno = 0;
6033
- __Pyx_RefNannySetupContext("__get__", 0);
6112
+ __Pyx_RefNannySetupContext("__get__", 1);
6034
6113
 
6035
6114
  /* "View.MemoryView":221
6036
6115
  * @property
@@ -6083,7 +6162,7 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
6083
6162
  int __pyx_lineno = 0;
6084
6163
  const char *__pyx_filename = NULL;
6085
6164
  int __pyx_clineno = 0;
6086
- __Pyx_RefNannySetupContext("get_memview", 0);
6165
+ __Pyx_RefNannySetupContext("get_memview", 1);
6087
6166
 
6088
6167
  /* "View.MemoryView":225
6089
6168
  * @cname('get_memview')
@@ -6170,8 +6249,6 @@ static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self) {
6170
6249
 
6171
6250
  static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(struct __pyx_array_obj *__pyx_v_self) {
6172
6251
  Py_ssize_t __pyx_r;
6173
- __Pyx_RefNannyDeclarations
6174
- __Pyx_RefNannySetupContext("__len__", 0);
6175
6252
 
6176
6253
  /* "View.MemoryView":229
6177
6254
  *
@@ -6193,7 +6270,6 @@ static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(str
6193
6270
 
6194
6271
  /* function exit code */
6195
6272
  __pyx_L0:;
6196
- __Pyx_RefNannyFinishContext();
6197
6273
  return __pyx_r;
6198
6274
  }
6199
6275
 
@@ -6228,7 +6304,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(
6228
6304
  int __pyx_lineno = 0;
6229
6305
  const char *__pyx_filename = NULL;
6230
6306
  int __pyx_clineno = 0;
6231
- __Pyx_RefNannySetupContext("__getattr__", 0);
6307
+ __Pyx_RefNannySetupContext("__getattr__", 1);
6232
6308
 
6233
6309
  /* "View.MemoryView":232
6234
6310
  *
@@ -6298,7 +6374,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__
6298
6374
  int __pyx_lineno = 0;
6299
6375
  const char *__pyx_filename = NULL;
6300
6376
  int __pyx_clineno = 0;
6301
- __Pyx_RefNannySetupContext("__getitem__", 0);
6377
+ __Pyx_RefNannySetupContext("__getitem__", 1);
6302
6378
 
6303
6379
  /* "View.MemoryView":235
6304
6380
  *
@@ -6367,7 +6443,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(struc
6367
6443
  int __pyx_lineno = 0;
6368
6444
  const char *__pyx_filename = NULL;
6369
6445
  int __pyx_clineno = 0;
6370
- __Pyx_RefNannySetupContext("__setitem__", 0);
6446
+ __Pyx_RefNannySetupContext("__setitem__", 1);
6371
6447
 
6372
6448
  /* "View.MemoryView":238
6373
6449
  *
@@ -6426,9 +6502,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6426
6502
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
6427
6503
  #endif
6428
6504
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
6429
- int __pyx_lineno = 0;
6430
- const char *__pyx_filename = NULL;
6431
- int __pyx_clineno = 0;
6432
6505
  PyObject *__pyx_r = 0;
6433
6506
  __Pyx_RefNannyDeclarations
6434
6507
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
@@ -6436,21 +6509,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6436
6509
  #if CYTHON_ASSUME_SAFE_MACROS
6437
6510
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6438
6511
  #else
6439
- __pyx_nargs = PyTuple_Size(__pyx_args);
6440
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
6512
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
6441
6513
  #endif
6442
6514
  #endif
6443
6515
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
6444
6516
  if (unlikely(__pyx_nargs > 0)) {
6445
6517
  __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
6446
6518
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
6447
- goto __pyx_L4_argument_unpacking_done;
6448
- goto __pyx_L3_error;
6449
- __pyx_L3_error:;
6450
- __Pyx_AddTraceback("View.MemoryView.array.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
6451
- __Pyx_RefNannyFinishContext();
6452
- return NULL;
6453
- __pyx_L4_argument_unpacking_done:;
6454
6519
  __pyx_r = __pyx_pf___pyx_array___reduce_cython__(((struct __pyx_array_obj *)__pyx_v_self));
6455
6520
 
6456
6521
  /* function exit code */
@@ -6464,7 +6529,7 @@ static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED struct __p
6464
6529
  int __pyx_lineno = 0;
6465
6530
  const char *__pyx_filename = NULL;
6466
6531
  int __pyx_clineno = 0;
6467
- __Pyx_RefNannySetupContext("__reduce_cython__", 0);
6532
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
6468
6533
 
6469
6534
  /* "(tree fragment)":2
6470
6535
  * def __reduce_cython__(self):
@@ -6528,8 +6593,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6528
6593
  #if CYTHON_ASSUME_SAFE_MACROS
6529
6594
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6530
6595
  #else
6531
- __pyx_nargs = PyTuple_Size(__pyx_args);
6532
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
6596
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
6533
6597
  #endif
6534
6598
  #endif
6535
6599
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -6564,10 +6628,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6564
6628
  }
6565
6629
  __pyx_v___pyx_state = values[0];
6566
6630
  }
6567
- goto __pyx_L4_argument_unpacking_done;
6631
+ goto __pyx_L6_skip;
6568
6632
  __pyx_L5_argtuple_error:;
6569
6633
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
6570
- goto __pyx_L3_error;
6634
+ __pyx_L6_skip:;
6635
+ goto __pyx_L4_argument_unpacking_done;
6571
6636
  __pyx_L3_error:;
6572
6637
  {
6573
6638
  Py_ssize_t __pyx_temp;
@@ -6598,7 +6663,7 @@ static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED struct
6598
6663
  int __pyx_lineno = 0;
6599
6664
  const char *__pyx_filename = NULL;
6600
6665
  int __pyx_clineno = 0;
6601
- __Pyx_RefNannySetupContext("__setstate_cython__", 0);
6666
+ __Pyx_RefNannySetupContext("__setstate_cython__", 1);
6602
6667
 
6603
6668
  /* "(tree fragment)":4
6604
6669
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
@@ -6636,7 +6701,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
6636
6701
  Py_ssize_t __pyx_v_i;
6637
6702
  PyObject **__pyx_v_p;
6638
6703
  int __pyx_r;
6639
- __Pyx_RefNannyDeclarations
6640
6704
  int __pyx_t_1;
6641
6705
  Py_ssize_t __pyx_t_2;
6642
6706
  Py_ssize_t __pyx_t_3;
@@ -6644,7 +6708,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
6644
6708
  int __pyx_lineno = 0;
6645
6709
  const char *__pyx_filename = NULL;
6646
6710
  int __pyx_clineno = 0;
6647
- __Pyx_RefNannySetupContext("_allocate_buffer", 0);
6648
6711
 
6649
6712
  /* "View.MemoryView":254
6650
6713
  * cdef PyObject **p
@@ -6782,7 +6845,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
6782
6845
  __Pyx_AddTraceback("View.MemoryView._allocate_buffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
6783
6846
  __pyx_r = -1;
6784
6847
  __pyx_L0:;
6785
- __Pyx_RefNannyFinishContext();
6786
6848
  return __pyx_r;
6787
6849
  }
6788
6850
 
@@ -6806,7 +6868,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
6806
6868
  int __pyx_lineno = 0;
6807
6869
  const char *__pyx_filename = NULL;
6808
6870
  int __pyx_clineno = 0;
6809
- __Pyx_RefNannySetupContext("array_cwrapper", 0);
6871
+ __Pyx_RefNannySetupContext("array_cwrapper", 1);
6810
6872
 
6811
6873
  /* "View.MemoryView":270
6812
6874
  * cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format, char *c_mode, char *buf):
@@ -6983,8 +7045,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
6983
7045
  #if CYTHON_ASSUME_SAFE_MACROS
6984
7046
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6985
7047
  #else
6986
- __pyx_nargs = PyTuple_Size(__pyx_args);
6987
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 304, __pyx_L3_error)
7048
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
6988
7049
  #endif
6989
7050
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
6990
7051
  {
@@ -7018,10 +7079,11 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
7018
7079
  }
7019
7080
  __pyx_v_name = values[0];
7020
7081
  }
7021
- goto __pyx_L4_argument_unpacking_done;
7082
+ goto __pyx_L6_skip;
7022
7083
  __pyx_L5_argtuple_error:;
7023
7084
  __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 304, __pyx_L3_error)
7024
- goto __pyx_L3_error;
7085
+ __pyx_L6_skip:;
7086
+ goto __pyx_L4_argument_unpacking_done;
7025
7087
  __pyx_L3_error:;
7026
7088
  {
7027
7089
  Py_ssize_t __pyx_temp;
@@ -7049,7 +7111,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
7049
7111
  static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v_name) {
7050
7112
  int __pyx_r;
7051
7113
  __Pyx_RefNannyDeclarations
7052
- __Pyx_RefNannySetupContext("__init__", 0);
7114
+ __Pyx_RefNannySetupContext("__init__", 1);
7053
7115
 
7054
7116
  /* "View.MemoryView":305
7055
7117
  * cdef object name
@@ -7104,7 +7166,7 @@ static PyObject *__pyx_MemviewEnum___repr__(PyObject *__pyx_v_self) {
7104
7166
  static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr__(struct __pyx_MemviewEnum_obj *__pyx_v_self) {
7105
7167
  PyObject *__pyx_r = NULL;
7106
7168
  __Pyx_RefNannyDeclarations
7107
- __Pyx_RefNannySetupContext("__repr__", 0);
7169
+ __Pyx_RefNannySetupContext("__repr__", 1);
7108
7170
 
7109
7171
  /* "View.MemoryView":307
7110
7172
  * self.name = name
@@ -7158,9 +7220,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
7158
7220
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
7159
7221
  #endif
7160
7222
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
7161
- int __pyx_lineno = 0;
7162
- const char *__pyx_filename = NULL;
7163
- int __pyx_clineno = 0;
7164
7223
  PyObject *__pyx_r = 0;
7165
7224
  __Pyx_RefNannyDeclarations
7166
7225
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
@@ -7168,21 +7227,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
7168
7227
  #if CYTHON_ASSUME_SAFE_MACROS
7169
7228
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
7170
7229
  #else
7171
- __pyx_nargs = PyTuple_Size(__pyx_args);
7172
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
7230
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
7173
7231
  #endif
7174
7232
  #endif
7175
7233
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
7176
7234
  if (unlikely(__pyx_nargs > 0)) {
7177
7235
  __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
7178
7236
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
7179
- goto __pyx_L4_argument_unpacking_done;
7180
- goto __pyx_L3_error;
7181
- __pyx_L3_error:;
7182
- __Pyx_AddTraceback("View.MemoryView.Enum.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
7183
- __Pyx_RefNannyFinishContext();
7184
- return NULL;
7185
- __pyx_L4_argument_unpacking_done:;
7186
7237
  __pyx_r = __pyx_pf___pyx_MemviewEnum___reduce_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self));
7187
7238
 
7188
7239
  /* function exit code */
@@ -7203,7 +7254,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __pyx_Memvi
7203
7254
  int __pyx_lineno = 0;
7204
7255
  const char *__pyx_filename = NULL;
7205
7256
  int __pyx_clineno = 0;
7206
- __Pyx_RefNannySetupContext("__reduce_cython__", 0);
7257
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
7207
7258
 
7208
7259
  /* "(tree fragment)":5
7209
7260
  * cdef object _dict
@@ -7440,8 +7491,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
7440
7491
  #if CYTHON_ASSUME_SAFE_MACROS
7441
7492
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
7442
7493
  #else
7443
- __pyx_nargs = PyTuple_Size(__pyx_args);
7444
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 16, __pyx_L3_error)
7494
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
7445
7495
  #endif
7446
7496
  #endif
7447
7497
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -7476,10 +7526,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
7476
7526
  }
7477
7527
  __pyx_v___pyx_state = values[0];
7478
7528
  }
7479
- goto __pyx_L4_argument_unpacking_done;
7529
+ goto __pyx_L6_skip;
7480
7530
  __pyx_L5_argtuple_error:;
7481
7531
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error)
7482
- goto __pyx_L3_error;
7532
+ __pyx_L6_skip:;
7533
+ goto __pyx_L4_argument_unpacking_done;
7483
7534
  __pyx_L3_error:;
7484
7535
  {
7485
7536
  Py_ssize_t __pyx_temp;
@@ -7511,7 +7562,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct __pyx_Me
7511
7562
  int __pyx_lineno = 0;
7512
7563
  const char *__pyx_filename = NULL;
7513
7564
  int __pyx_clineno = 0;
7514
- __Pyx_RefNannySetupContext("__setstate_cython__", 0);
7565
+ __Pyx_RefNannySetupContext("__setstate_cython__", 1);
7515
7566
 
7516
7567
  /* "(tree fragment)":17
7517
7568
  * return __pyx_unpickle_Enum, (type(self), 0x82a3537, state)
@@ -7569,8 +7620,7 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
7569
7620
  #if CYTHON_ASSUME_SAFE_MACROS
7570
7621
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
7571
7622
  #else
7572
- __pyx_nargs = PyTuple_Size(__pyx_args);
7573
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 349, __pyx_L3_error)
7623
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
7574
7624
  #endif
7575
7625
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
7576
7626
  {
@@ -7636,10 +7686,11 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
7636
7686
  __pyx_v_dtype_is_object = ((int)0);
7637
7687
  }
7638
7688
  }
7639
- goto __pyx_L4_argument_unpacking_done;
7689
+ goto __pyx_L6_skip;
7640
7690
  __pyx_L5_argtuple_error:;
7641
7691
  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, __pyx_nargs); __PYX_ERR(1, 349, __pyx_L3_error)
7642
- goto __pyx_L3_error;
7692
+ __pyx_L6_skip:;
7693
+ goto __pyx_L4_argument_unpacking_done;
7643
7694
  __pyx_L3_error:;
7644
7695
  {
7645
7696
  Py_ssize_t __pyx_temp;
@@ -7675,7 +7726,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
7675
7726
  int __pyx_lineno = 0;
7676
7727
  const char *__pyx_filename = NULL;
7677
7728
  int __pyx_clineno = 0;
7678
- __Pyx_RefNannySetupContext("__cinit__", 0);
7729
+ __Pyx_RefNannySetupContext("__cinit__", 1);
7679
7730
 
7680
7731
  /* "View.MemoryView":350
7681
7732
  *
@@ -8010,14 +8061,12 @@ static void __pyx_memoryview___dealloc__(PyObject *__pyx_v_self) {
8010
8061
 
8011
8062
  static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__(struct __pyx_memoryview_obj *__pyx_v_self) {
8012
8063
  int __pyx_v_i;
8013
- __Pyx_RefNannyDeclarations
8014
8064
  int __pyx_t_1;
8015
8065
  int __pyx_t_2;
8016
8066
  int __pyx_t_3;
8017
8067
  int __pyx_t_4;
8018
8068
  PyThread_type_lock __pyx_t_5;
8019
8069
  PyThread_type_lock __pyx_t_6;
8020
- __Pyx_RefNannySetupContext("__dealloc__", 0);
8021
8070
 
8022
8071
  /* "View.MemoryView":377
8023
8072
  *
@@ -8215,7 +8264,6 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
8215
8264
  */
8216
8265
 
8217
8266
  /* function exit code */
8218
- __Pyx_RefNannyFinishContext();
8219
8267
  }
8220
8268
 
8221
8269
  /* "View.MemoryView":397
@@ -8242,7 +8290,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
8242
8290
  int __pyx_lineno = 0;
8243
8291
  const char *__pyx_filename = NULL;
8244
8292
  int __pyx_clineno = 0;
8245
- __Pyx_RefNannySetupContext("get_item_pointer", 0);
8293
+ __Pyx_RefNannySetupContext("get_item_pointer", 1);
8246
8294
 
8247
8295
  /* "View.MemoryView":399
8248
8296
  * cdef char *get_item_pointer(memoryview self, object index) except NULL:
@@ -8262,7 +8310,8 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
8262
8310
  */
8263
8311
  __pyx_t_1 = 0;
8264
8312
  if (likely(PyList_CheckExact(__pyx_v_index)) || PyTuple_CheckExact(__pyx_v_index)) {
8265
- __pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2); __pyx_t_3 = 0;
8313
+ __pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2);
8314
+ __pyx_t_3 = 0;
8266
8315
  __pyx_t_4 = NULL;
8267
8316
  } else {
8268
8317
  __pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 401, __pyx_L1_error)
@@ -8272,19 +8321,31 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
8272
8321
  for (;;) {
8273
8322
  if (likely(!__pyx_t_4)) {
8274
8323
  if (likely(PyList_CheckExact(__pyx_t_2))) {
8275
- if (__pyx_t_3 >= PyList_GET_SIZE(__pyx_t_2)) break;
8324
+ {
8325
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
8326
+ #if !CYTHON_ASSUME_SAFE_MACROS
8327
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
8328
+ #endif
8329
+ if (__pyx_t_3 >= __pyx_temp) break;
8330
+ }
8276
8331
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
8277
8332
  __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)
8278
8333
  #else
8279
- __pyx_t_5 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 401, __pyx_L1_error)
8334
+ __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)
8280
8335
  __Pyx_GOTREF(__pyx_t_5);
8281
8336
  #endif
8282
8337
  } else {
8283
- if (__pyx_t_3 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
8338
+ {
8339
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
8340
+ #if !CYTHON_ASSUME_SAFE_MACROS
8341
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
8342
+ #endif
8343
+ if (__pyx_t_3 >= __pyx_temp) break;
8344
+ }
8284
8345
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
8285
8346
  __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)
8286
8347
  #else
8287
- __pyx_t_5 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 401, __pyx_L1_error)
8348
+ __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)
8288
8349
  __Pyx_GOTREF(__pyx_t_5);
8289
8350
  #endif
8290
8351
  }
@@ -8393,7 +8454,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
8393
8454
  int __pyx_lineno = 0;
8394
8455
  const char *__pyx_filename = NULL;
8395
8456
  int __pyx_clineno = 0;
8396
- __Pyx_RefNannySetupContext("__getitem__", 0);
8457
+ __Pyx_RefNannySetupContext("__getitem__", 1);
8397
8458
 
8398
8459
  /* "View.MemoryView":408
8399
8460
  *
@@ -9004,7 +9065,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryvi
9004
9065
  int __pyx_lineno = 0;
9005
9066
  const char *__pyx_filename = NULL;
9006
9067
  int __pyx_clineno = 0;
9007
- __Pyx_RefNannySetupContext("setitem_slice_assignment", 0);
9068
+ __Pyx_RefNannySetupContext("setitem_slice_assignment", 1);
9008
9069
 
9009
9070
  /* "View.MemoryView":448
9010
9071
  * cdef __Pyx_memviewslice dst_slice
@@ -9097,7 +9158,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
9097
9158
  int __pyx_lineno = 0;
9098
9159
  const char *__pyx_filename = NULL;
9099
9160
  int __pyx_clineno = 0;
9100
- __Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 0);
9161
+ __Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 1);
9101
9162
 
9102
9163
  /* "View.MemoryView":455
9103
9164
  * cdef setitem_slice_assign_scalar(self, memoryview dst, value):
@@ -9370,7 +9431,7 @@ static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *_
9370
9431
  int __pyx_lineno = 0;
9371
9432
  const char *__pyx_filename = NULL;
9372
9433
  int __pyx_clineno = 0;
9373
- __Pyx_RefNannySetupContext("setitem_indexed", 0);
9434
+ __Pyx_RefNannySetupContext("setitem_indexed", 1);
9374
9435
 
9375
9436
  /* "View.MemoryView":486
9376
9437
  *
@@ -9441,7 +9502,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
9441
9502
  int __pyx_lineno = 0;
9442
9503
  const char *__pyx_filename = NULL;
9443
9504
  int __pyx_clineno = 0;
9444
- __Pyx_RefNannySetupContext("convert_item_to_object", 0);
9505
+ __Pyx_RefNannySetupContext("convert_item_to_object", 1);
9445
9506
 
9446
9507
  /* "View.MemoryView":492
9447
9508
  * """Only used if instantiated manually by the user, or if Cython doesn't
@@ -9691,7 +9752,7 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
9691
9752
  int __pyx_lineno = 0;
9692
9753
  const char *__pyx_filename = NULL;
9693
9754
  int __pyx_clineno = 0;
9694
- __Pyx_RefNannySetupContext("assign_item_from_object", 0);
9755
+ __Pyx_RefNannySetupContext("assign_item_from_object", 1);
9695
9756
 
9696
9757
  /* "View.MemoryView":508
9697
9758
  * """Only used if instantiated manually by the user, or if Cython doesn't
@@ -10244,7 +10305,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
10244
10305
  int __pyx_lineno = 0;
10245
10306
  const char *__pyx_filename = NULL;
10246
10307
  int __pyx_clineno = 0;
10247
- __Pyx_RefNannySetupContext("__get__", 0);
10308
+ __Pyx_RefNannySetupContext("__get__", 1);
10248
10309
 
10249
10310
  /* "View.MemoryView":556
10250
10311
  * @property
@@ -10330,7 +10391,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
10330
10391
  int __pyx_lineno = 0;
10331
10392
  const char *__pyx_filename = NULL;
10332
10393
  int __pyx_clineno = 0;
10333
- __Pyx_RefNannySetupContext("__get__", 0);
10394
+ __Pyx_RefNannySetupContext("__get__", 1);
10334
10395
 
10335
10396
  /* "View.MemoryView":562
10336
10397
  * @property
@@ -10376,7 +10437,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
10376
10437
  static PyObject *__pyx_memoryview__get_base(struct __pyx_memoryview_obj *__pyx_v_self) {
10377
10438
  PyObject *__pyx_r = NULL;
10378
10439
  __Pyx_RefNannyDeclarations
10379
- __Pyx_RefNannySetupContext("_get_base", 0);
10440
+ __Pyx_RefNannySetupContext("_get_base", 1);
10380
10441
 
10381
10442
  /* "View.MemoryView":565
10382
10443
  *
@@ -10440,7 +10501,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
10440
10501
  int __pyx_lineno = 0;
10441
10502
  const char *__pyx_filename = NULL;
10442
10503
  int __pyx_clineno = 0;
10443
- __Pyx_RefNannySetupContext("__get__", 0);
10504
+ __Pyx_RefNannySetupContext("__get__", 1);
10444
10505
 
10445
10506
  /* "View.MemoryView":569
10446
10507
  * @property
@@ -10526,7 +10587,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
10526
10587
  int __pyx_lineno = 0;
10527
10588
  const char *__pyx_filename = NULL;
10528
10589
  int __pyx_clineno = 0;
10529
- __Pyx_RefNannySetupContext("__get__", 0);
10590
+ __Pyx_RefNannySetupContext("__get__", 1);
10530
10591
 
10531
10592
  /* "View.MemoryView":573
10532
10593
  * @property
@@ -10641,7 +10702,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
10641
10702
  int __pyx_lineno = 0;
10642
10703
  const char *__pyx_filename = NULL;
10643
10704
  int __pyx_clineno = 0;
10644
- __Pyx_RefNannySetupContext("__get__", 0);
10705
+ __Pyx_RefNannySetupContext("__get__", 1);
10645
10706
 
10646
10707
  /* "View.MemoryView":581
10647
10708
  * @property
@@ -10754,7 +10815,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
10754
10815
  int __pyx_lineno = 0;
10755
10816
  const char *__pyx_filename = NULL;
10756
10817
  int __pyx_clineno = 0;
10757
- __Pyx_RefNannySetupContext("__get__", 0);
10818
+ __Pyx_RefNannySetupContext("__get__", 1);
10758
10819
 
10759
10820
  /* "View.MemoryView":588
10760
10821
  * @property
@@ -10819,7 +10880,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
10819
10880
  int __pyx_lineno = 0;
10820
10881
  const char *__pyx_filename = NULL;
10821
10882
  int __pyx_clineno = 0;
10822
- __Pyx_RefNannySetupContext("__get__", 0);
10883
+ __Pyx_RefNannySetupContext("__get__", 1);
10823
10884
 
10824
10885
  /* "View.MemoryView":592
10825
10886
  * @property
@@ -10886,7 +10947,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
10886
10947
  int __pyx_lineno = 0;
10887
10948
  const char *__pyx_filename = NULL;
10888
10949
  int __pyx_clineno = 0;
10889
- __Pyx_RefNannySetupContext("__get__", 0);
10950
+ __Pyx_RefNannySetupContext("__get__", 1);
10890
10951
 
10891
10952
  /* "View.MemoryView":596
10892
10953
  * @property
@@ -10965,7 +11026,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
10965
11026
  int __pyx_lineno = 0;
10966
11027
  const char *__pyx_filename = NULL;
10967
11028
  int __pyx_clineno = 0;
10968
- __Pyx_RefNannySetupContext("__get__", 0);
11029
+ __Pyx_RefNannySetupContext("__get__", 1);
10969
11030
 
10970
11031
  /* "View.MemoryView":600
10971
11032
  * @property
@@ -11095,9 +11156,7 @@ static Py_ssize_t __pyx_memoryview___len__(PyObject *__pyx_v_self) {
11095
11156
 
11096
11157
  static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_10__len__(struct __pyx_memoryview_obj *__pyx_v_self) {
11097
11158
  Py_ssize_t __pyx_r;
11098
- __Pyx_RefNannyDeclarations
11099
11159
  int __pyx_t_1;
11100
- __Pyx_RefNannySetupContext("__len__", 0);
11101
11160
 
11102
11161
  /* "View.MemoryView":611
11103
11162
  *
@@ -11148,7 +11207,6 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
11148
11207
 
11149
11208
  /* function exit code */
11150
11209
  __pyx_L0:;
11151
- __Pyx_RefNannyFinishContext();
11152
11210
  return __pyx_r;
11153
11211
  }
11154
11212
 
@@ -11184,7 +11242,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
11184
11242
  int __pyx_lineno = 0;
11185
11243
  const char *__pyx_filename = NULL;
11186
11244
  int __pyx_clineno = 0;
11187
- __Pyx_RefNannySetupContext("__repr__", 0);
11245
+ __Pyx_RefNannySetupContext("__repr__", 1);
11188
11246
 
11189
11247
  /* "View.MemoryView":617
11190
11248
  *
@@ -11287,7 +11345,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
11287
11345
  int __pyx_lineno = 0;
11288
11346
  const char *__pyx_filename = NULL;
11289
11347
  int __pyx_clineno = 0;
11290
- __Pyx_RefNannySetupContext("__str__", 0);
11348
+ __Pyx_RefNannySetupContext("__str__", 1);
11291
11349
 
11292
11350
  /* "View.MemoryView":621
11293
11351
  *
@@ -11364,9 +11422,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11364
11422
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11365
11423
  #endif
11366
11424
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11367
- int __pyx_lineno = 0;
11368
- const char *__pyx_filename = NULL;
11369
- int __pyx_clineno = 0;
11370
11425
  PyObject *__pyx_r = 0;
11371
11426
  __Pyx_RefNannyDeclarations
11372
11427
  __Pyx_RefNannySetupContext("is_c_contig (wrapper)", 0);
@@ -11374,21 +11429,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11374
11429
  #if CYTHON_ASSUME_SAFE_MACROS
11375
11430
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11376
11431
  #else
11377
- __pyx_nargs = PyTuple_Size(__pyx_args);
11378
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 624, __pyx_L3_error)
11432
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11379
11433
  #endif
11380
11434
  #endif
11381
11435
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11382
11436
  if (unlikely(__pyx_nargs > 0)) {
11383
11437
  __Pyx_RaiseArgtupleInvalid("is_c_contig", 1, 0, 0, __pyx_nargs); return NULL;}
11384
11438
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_c_contig", 0))) return NULL;
11385
- goto __pyx_L4_argument_unpacking_done;
11386
- goto __pyx_L3_error;
11387
- __pyx_L3_error:;
11388
- __Pyx_AddTraceback("View.MemoryView.memoryview.is_c_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
11389
- __Pyx_RefNannyFinishContext();
11390
- return NULL;
11391
- __pyx_L4_argument_unpacking_done:;
11392
11439
  __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
11393
11440
 
11394
11441
  /* function exit code */
@@ -11406,7 +11453,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
11406
11453
  int __pyx_lineno = 0;
11407
11454
  const char *__pyx_filename = NULL;
11408
11455
  int __pyx_clineno = 0;
11409
- __Pyx_RefNannySetupContext("is_c_contig", 0);
11456
+ __Pyx_RefNannySetupContext("is_c_contig", 1);
11410
11457
 
11411
11458
  /* "View.MemoryView":627
11412
11459
  * cdef __Pyx_memviewslice *mslice
@@ -11478,9 +11525,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11478
11525
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11479
11526
  #endif
11480
11527
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11481
- int __pyx_lineno = 0;
11482
- const char *__pyx_filename = NULL;
11483
- int __pyx_clineno = 0;
11484
11528
  PyObject *__pyx_r = 0;
11485
11529
  __Pyx_RefNannyDeclarations
11486
11530
  __Pyx_RefNannySetupContext("is_f_contig (wrapper)", 0);
@@ -11488,21 +11532,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11488
11532
  #if CYTHON_ASSUME_SAFE_MACROS
11489
11533
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11490
11534
  #else
11491
- __pyx_nargs = PyTuple_Size(__pyx_args);
11492
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 630, __pyx_L3_error)
11535
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11493
11536
  #endif
11494
11537
  #endif
11495
11538
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11496
11539
  if (unlikely(__pyx_nargs > 0)) {
11497
11540
  __Pyx_RaiseArgtupleInvalid("is_f_contig", 1, 0, 0, __pyx_nargs); return NULL;}
11498
11541
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_f_contig", 0))) return NULL;
11499
- goto __pyx_L4_argument_unpacking_done;
11500
- goto __pyx_L3_error;
11501
- __pyx_L3_error:;
11502
- __Pyx_AddTraceback("View.MemoryView.memoryview.is_f_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
11503
- __Pyx_RefNannyFinishContext();
11504
- return NULL;
11505
- __pyx_L4_argument_unpacking_done:;
11506
11542
  __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
11507
11543
 
11508
11544
  /* function exit code */
@@ -11520,7 +11556,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
11520
11556
  int __pyx_lineno = 0;
11521
11557
  const char *__pyx_filename = NULL;
11522
11558
  int __pyx_clineno = 0;
11523
- __Pyx_RefNannySetupContext("is_f_contig", 0);
11559
+ __Pyx_RefNannySetupContext("is_f_contig", 1);
11524
11560
 
11525
11561
  /* "View.MemoryView":633
11526
11562
  * cdef __Pyx_memviewslice *mslice
@@ -11592,9 +11628,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11592
11628
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11593
11629
  #endif
11594
11630
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11595
- int __pyx_lineno = 0;
11596
- const char *__pyx_filename = NULL;
11597
- int __pyx_clineno = 0;
11598
11631
  PyObject *__pyx_r = 0;
11599
11632
  __Pyx_RefNannyDeclarations
11600
11633
  __Pyx_RefNannySetupContext("copy (wrapper)", 0);
@@ -11602,21 +11635,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11602
11635
  #if CYTHON_ASSUME_SAFE_MACROS
11603
11636
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11604
11637
  #else
11605
- __pyx_nargs = PyTuple_Size(__pyx_args);
11606
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 636, __pyx_L3_error)
11638
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11607
11639
  #endif
11608
11640
  #endif
11609
11641
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11610
11642
  if (unlikely(__pyx_nargs > 0)) {
11611
11643
  __Pyx_RaiseArgtupleInvalid("copy", 1, 0, 0, __pyx_nargs); return NULL;}
11612
11644
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy", 0))) return NULL;
11613
- goto __pyx_L4_argument_unpacking_done;
11614
- goto __pyx_L3_error;
11615
- __pyx_L3_error:;
11616
- __Pyx_AddTraceback("View.MemoryView.memoryview.copy", __pyx_clineno, __pyx_lineno, __pyx_filename);
11617
- __Pyx_RefNannyFinishContext();
11618
- return NULL;
11619
- __pyx_L4_argument_unpacking_done:;
11620
11645
  __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy(((struct __pyx_memoryview_obj *)__pyx_v_self));
11621
11646
 
11622
11647
  /* function exit code */
@@ -11634,7 +11659,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
11634
11659
  int __pyx_lineno = 0;
11635
11660
  const char *__pyx_filename = NULL;
11636
11661
  int __pyx_clineno = 0;
11637
- __Pyx_RefNannySetupContext("copy", 0);
11662
+ __Pyx_RefNannySetupContext("copy", 1);
11638
11663
 
11639
11664
  /* "View.MemoryView":638
11640
11665
  * def copy(self):
@@ -11724,9 +11749,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11724
11749
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11725
11750
  #endif
11726
11751
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11727
- int __pyx_lineno = 0;
11728
- const char *__pyx_filename = NULL;
11729
- int __pyx_clineno = 0;
11730
11752
  PyObject *__pyx_r = 0;
11731
11753
  __Pyx_RefNannyDeclarations
11732
11754
  __Pyx_RefNannySetupContext("copy_fortran (wrapper)", 0);
@@ -11734,21 +11756,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11734
11756
  #if CYTHON_ASSUME_SAFE_MACROS
11735
11757
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11736
11758
  #else
11737
- __pyx_nargs = PyTuple_Size(__pyx_args);
11738
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 648, __pyx_L3_error)
11759
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11739
11760
  #endif
11740
11761
  #endif
11741
11762
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11742
11763
  if (unlikely(__pyx_nargs > 0)) {
11743
11764
  __Pyx_RaiseArgtupleInvalid("copy_fortran", 1, 0, 0, __pyx_nargs); return NULL;}
11744
11765
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy_fortran", 0))) return NULL;
11745
- goto __pyx_L4_argument_unpacking_done;
11746
- goto __pyx_L3_error;
11747
- __pyx_L3_error:;
11748
- __Pyx_AddTraceback("View.MemoryView.memoryview.copy_fortran", __pyx_clineno, __pyx_lineno, __pyx_filename);
11749
- __Pyx_RefNannyFinishContext();
11750
- return NULL;
11751
- __pyx_L4_argument_unpacking_done:;
11752
11766
  __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran(((struct __pyx_memoryview_obj *)__pyx_v_self));
11753
11767
 
11754
11768
  /* function exit code */
@@ -11767,7 +11781,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
11767
11781
  int __pyx_lineno = 0;
11768
11782
  const char *__pyx_filename = NULL;
11769
11783
  int __pyx_clineno = 0;
11770
- __Pyx_RefNannySetupContext("copy_fortran", 0);
11784
+ __Pyx_RefNannySetupContext("copy_fortran", 1);
11771
11785
 
11772
11786
  /* "View.MemoryView":650
11773
11787
  * def copy_fortran(self):
@@ -11855,9 +11869,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11855
11869
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11856
11870
  #endif
11857
11871
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11858
- int __pyx_lineno = 0;
11859
- const char *__pyx_filename = NULL;
11860
- int __pyx_clineno = 0;
11861
11872
  PyObject *__pyx_r = 0;
11862
11873
  __Pyx_RefNannyDeclarations
11863
11874
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
@@ -11865,21 +11876,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11865
11876
  #if CYTHON_ASSUME_SAFE_MACROS
11866
11877
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11867
11878
  #else
11868
- __pyx_nargs = PyTuple_Size(__pyx_args);
11869
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
11879
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11870
11880
  #endif
11871
11881
  #endif
11872
11882
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11873
11883
  if (unlikely(__pyx_nargs > 0)) {
11874
11884
  __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
11875
11885
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
11876
- goto __pyx_L4_argument_unpacking_done;
11877
- goto __pyx_L3_error;
11878
- __pyx_L3_error:;
11879
- __Pyx_AddTraceback("View.MemoryView.memoryview.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
11880
- __Pyx_RefNannyFinishContext();
11881
- return NULL;
11882
- __pyx_L4_argument_unpacking_done:;
11883
11886
  __pyx_r = __pyx_pf___pyx_memoryview___reduce_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self));
11884
11887
 
11885
11888
  /* function exit code */
@@ -11893,7 +11896,7 @@ static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUSED struc
11893
11896
  int __pyx_lineno = 0;
11894
11897
  const char *__pyx_filename = NULL;
11895
11898
  int __pyx_clineno = 0;
11896
- __Pyx_RefNannySetupContext("__reduce_cython__", 0);
11899
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
11897
11900
 
11898
11901
  /* "(tree fragment)":2
11899
11902
  * def __reduce_cython__(self):
@@ -11957,8 +11960,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11957
11960
  #if CYTHON_ASSUME_SAFE_MACROS
11958
11961
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11959
11962
  #else
11960
- __pyx_nargs = PyTuple_Size(__pyx_args);
11961
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
11963
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11962
11964
  #endif
11963
11965
  #endif
11964
11966
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -11993,10 +11995,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11993
11995
  }
11994
11996
  __pyx_v___pyx_state = values[0];
11995
11997
  }
11996
- goto __pyx_L4_argument_unpacking_done;
11998
+ goto __pyx_L6_skip;
11997
11999
  __pyx_L5_argtuple_error:;
11998
12000
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
11999
- goto __pyx_L3_error;
12001
+ __pyx_L6_skip:;
12002
+ goto __pyx_L4_argument_unpacking_done;
12000
12003
  __pyx_L3_error:;
12001
12004
  {
12002
12005
  Py_ssize_t __pyx_temp;
@@ -12027,7 +12030,7 @@ static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_UNUSED st
12027
12030
  int __pyx_lineno = 0;
12028
12031
  const char *__pyx_filename = NULL;
12029
12032
  int __pyx_clineno = 0;
12030
- __Pyx_RefNannySetupContext("__setstate_cython__", 0);
12033
+ __Pyx_RefNannySetupContext("__setstate_cython__", 1);
12031
12034
 
12032
12035
  /* "(tree fragment)":4
12033
12036
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
@@ -12071,7 +12074,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
12071
12074
  int __pyx_lineno = 0;
12072
12075
  const char *__pyx_filename = NULL;
12073
12076
  int __pyx_clineno = 0;
12074
- __Pyx_RefNannySetupContext("memoryview_cwrapper", 0);
12077
+ __Pyx_RefNannySetupContext("memoryview_cwrapper", 1);
12075
12078
 
12076
12079
  /* "View.MemoryView":663
12077
12080
  * @cname('__pyx_memoryview_new')
@@ -12154,9 +12157,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
12154
12157
 
12155
12158
  static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
12156
12159
  int __pyx_r;
12157
- __Pyx_RefNannyDeclarations
12158
12160
  int __pyx_t_1;
12159
- __Pyx_RefNannySetupContext("memoryview_check", 0);
12160
12161
 
12161
12162
  /* "View.MemoryView":669
12162
12163
  * @cname('__pyx_memoryview_check')
@@ -12179,7 +12180,6 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
12179
12180
 
12180
12181
  /* function exit code */
12181
12182
  __pyx_L0:;
12182
- __Pyx_RefNannyFinishContext();
12183
12183
  return __pyx_r;
12184
12184
  }
12185
12185
 
@@ -12211,7 +12211,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
12211
12211
  int __pyx_lineno = 0;
12212
12212
  const char *__pyx_filename = NULL;
12213
12213
  int __pyx_clineno = 0;
12214
- __Pyx_RefNannySetupContext("_unellipsify", 0);
12214
+ __Pyx_RefNannySetupContext("_unellipsify", 1);
12215
12215
 
12216
12216
  /* "View.MemoryView":677
12217
12217
  * """
@@ -12293,13 +12293,20 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
12293
12293
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
12294
12294
  __PYX_ERR(1, 683, __pyx_L1_error)
12295
12295
  }
12296
- __pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1); __pyx_t_4 = 0;
12296
+ __pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1);
12297
+ __pyx_t_4 = 0;
12297
12298
  for (;;) {
12298
- if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
12299
+ {
12300
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
12301
+ #if !CYTHON_ASSUME_SAFE_MACROS
12302
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 683, __pyx_L1_error)
12303
+ #endif
12304
+ if (__pyx_t_4 >= __pyx_temp) break;
12305
+ }
12299
12306
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
12300
12307
  __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)
12301
12308
  #else
12302
- __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 683, __pyx_L1_error)
12309
+ __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)
12303
12310
  __Pyx_GOTREF(__pyx_t_3);
12304
12311
  #endif
12305
12312
  __Pyx_XDECREF_SET(__pyx_v_item, __pyx_t_3);
@@ -12568,7 +12575,6 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
12568
12575
  static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_ndim) {
12569
12576
  Py_ssize_t __pyx_v_suboffset;
12570
12577
  int __pyx_r;
12571
- __Pyx_RefNannyDeclarations
12572
12578
  Py_ssize_t *__pyx_t_1;
12573
12579
  Py_ssize_t *__pyx_t_2;
12574
12580
  Py_ssize_t *__pyx_t_3;
@@ -12576,7 +12582,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
12576
12582
  int __pyx_lineno = 0;
12577
12583
  const char *__pyx_filename = NULL;
12578
12584
  int __pyx_clineno = 0;
12579
- __Pyx_RefNannySetupContext("assert_direct_dimensions", 0);
12580
12585
 
12581
12586
  /* "View.MemoryView":701
12582
12587
  *
@@ -12643,7 +12648,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
12643
12648
  __Pyx_AddTraceback("View.MemoryView.assert_direct_dimensions", __pyx_clineno, __pyx_lineno, __pyx_filename);
12644
12649
  __pyx_r = -1;
12645
12650
  __pyx_L0:;
12646
- __Pyx_RefNannyFinishContext();
12647
12651
  return __pyx_r;
12648
12652
  }
12649
12653
 
@@ -12689,7 +12693,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
12689
12693
  int __pyx_lineno = 0;
12690
12694
  const char *__pyx_filename = NULL;
12691
12695
  int __pyx_clineno = 0;
12692
- __Pyx_RefNannySetupContext("memview_slice", 0);
12696
+ __Pyx_RefNannySetupContext("memview_slice", 1);
12693
12697
 
12694
12698
  /* "View.MemoryView":712
12695
12699
  * @cname('__pyx_memview_slice')
@@ -12839,7 +12843,8 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
12839
12843
  */
12840
12844
  __pyx_t_5 = 0;
12841
12845
  if (likely(PyList_CheckExact(__pyx_v_indices)) || PyTuple_CheckExact(__pyx_v_indices)) {
12842
- __pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2); __pyx_t_6 = 0;
12846
+ __pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2);
12847
+ __pyx_t_6 = 0;
12843
12848
  __pyx_t_7 = NULL;
12844
12849
  } else {
12845
12850
  __pyx_t_6 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_indices); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 747, __pyx_L1_error)
@@ -12849,19 +12854,31 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
12849
12854
  for (;;) {
12850
12855
  if (likely(!__pyx_t_7)) {
12851
12856
  if (likely(PyList_CheckExact(__pyx_t_2))) {
12852
- if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_2)) break;
12857
+ {
12858
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
12859
+ #if !CYTHON_ASSUME_SAFE_MACROS
12860
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
12861
+ #endif
12862
+ if (__pyx_t_6 >= __pyx_temp) break;
12863
+ }
12853
12864
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
12854
12865
  __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)
12855
12866
  #else
12856
- __pyx_t_8 = PySequence_ITEM(__pyx_t_2, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 747, __pyx_L1_error)
12867
+ __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)
12857
12868
  __Pyx_GOTREF(__pyx_t_8);
12858
12869
  #endif
12859
12870
  } else {
12860
- if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
12871
+ {
12872
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
12873
+ #if !CYTHON_ASSUME_SAFE_MACROS
12874
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
12875
+ #endif
12876
+ if (__pyx_t_6 >= __pyx_temp) break;
12877
+ }
12861
12878
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
12862
12879
  __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)
12863
12880
  #else
12864
- __pyx_t_8 = PySequence_ITEM(__pyx_t_2, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 747, __pyx_L1_error)
12881
+ __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)
12865
12882
  __Pyx_GOTREF(__pyx_t_8);
12866
12883
  #endif
12867
12884
  }
@@ -13240,7 +13257,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
13240
13257
  Py_ssize_t __pyx_v_new_shape;
13241
13258
  int __pyx_v_negative_step;
13242
13259
  int __pyx_r;
13243
- __Pyx_RefNannyDeclarations
13244
13260
  int __pyx_t_1;
13245
13261
  int __pyx_t_2;
13246
13262
  int __pyx_t_3;
@@ -13250,7 +13266,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
13250
13266
  #ifdef WITH_THREAD
13251
13267
  PyGILState_STATE __pyx_gilstate_save;
13252
13268
  #endif
13253
- __Pyx_RefNannySetupContext("slice_memviewslice", 1);
13254
13269
 
13255
13270
  /* "View.MemoryView":813
13256
13271
  * cdef bint negative_step
@@ -14005,7 +14020,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
14005
14020
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
14006
14021
  #endif
14007
14022
  __pyx_L0:;
14008
- __Pyx_RefNannyFinishContextNogil()
14009
14023
  return __pyx_r;
14010
14024
  }
14011
14025
 
@@ -14033,7 +14047,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
14033
14047
  int __pyx_lineno = 0;
14034
14048
  const char *__pyx_filename = NULL;
14035
14049
  int __pyx_clineno = 0;
14036
- __Pyx_RefNannySetupContext("pybuffer_index", 0);
14050
+ __Pyx_RefNannySetupContext("pybuffer_index", 1);
14037
14051
 
14038
14052
  /* "View.MemoryView":898
14039
14053
  * cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,
@@ -14360,7 +14374,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
14360
14374
  int __pyx_v_i;
14361
14375
  int __pyx_v_j;
14362
14376
  int __pyx_r;
14363
- __Pyx_RefNannyDeclarations
14364
14377
  int __pyx_t_1;
14365
14378
  Py_ssize_t *__pyx_t_2;
14366
14379
  long __pyx_t_3;
@@ -14376,7 +14389,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
14376
14389
  #ifdef WITH_THREAD
14377
14390
  PyGILState_STATE __pyx_gilstate_save;
14378
14391
  #endif
14379
- __Pyx_RefNannySetupContext("transpose_memslice", 1);
14380
14392
 
14381
14393
  /* "View.MemoryView":930
14382
14394
  * @cname('__pyx_memslice_transpose')
@@ -14519,7 +14531,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
14519
14531
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
14520
14532
  #endif
14521
14533
  __pyx_L0:;
14522
- __Pyx_RefNannyFinishContextNogil()
14523
14534
  return __pyx_r;
14524
14535
  }
14525
14536
 
@@ -14545,8 +14556,6 @@ static void __pyx_memoryviewslice___dealloc__(PyObject *__pyx_v_self) {
14545
14556
  }
14546
14557
 
14547
14558
  static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewslice___dealloc__(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
14548
- __Pyx_RefNannyDeclarations
14549
- __Pyx_RefNannySetupContext("__dealloc__", 0);
14550
14559
 
14551
14560
  /* "View.MemoryView":964
14552
14561
  *
@@ -14566,7 +14575,6 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
14566
14575
  */
14567
14576
 
14568
14577
  /* function exit code */
14569
- __Pyx_RefNannyFinishContext();
14570
14578
  }
14571
14579
 
14572
14580
  /* "View.MemoryView":966
@@ -14585,7 +14593,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
14585
14593
  int __pyx_lineno = 0;
14586
14594
  const char *__pyx_filename = NULL;
14587
14595
  int __pyx_clineno = 0;
14588
- __Pyx_RefNannySetupContext("convert_item_to_object", 0);
14596
+ __Pyx_RefNannySetupContext("convert_item_to_object", 1);
14589
14597
 
14590
14598
  /* "View.MemoryView":967
14591
14599
  *
@@ -14672,7 +14680,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
14672
14680
  int __pyx_lineno = 0;
14673
14681
  const char *__pyx_filename = NULL;
14674
14682
  int __pyx_clineno = 0;
14675
- __Pyx_RefNannySetupContext("assign_item_from_object", 0);
14683
+ __Pyx_RefNannySetupContext("assign_item_from_object", 1);
14676
14684
 
14677
14685
  /* "View.MemoryView":973
14678
14686
  *
@@ -14749,7 +14757,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
14749
14757
  static PyObject *__pyx_memoryviewslice__get_base(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
14750
14758
  PyObject *__pyx_r = NULL;
14751
14759
  __Pyx_RefNannyDeclarations
14752
- __Pyx_RefNannySetupContext("_get_base", 0);
14760
+ __Pyx_RefNannySetupContext("_get_base", 1);
14753
14761
 
14754
14762
  /* "View.MemoryView":979
14755
14763
  *
@@ -14803,9 +14811,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
14803
14811
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
14804
14812
  #endif
14805
14813
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
14806
- int __pyx_lineno = 0;
14807
- const char *__pyx_filename = NULL;
14808
- int __pyx_clineno = 0;
14809
14814
  PyObject *__pyx_r = 0;
14810
14815
  __Pyx_RefNannyDeclarations
14811
14816
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
@@ -14813,21 +14818,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
14813
14818
  #if CYTHON_ASSUME_SAFE_MACROS
14814
14819
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
14815
14820
  #else
14816
- __pyx_nargs = PyTuple_Size(__pyx_args);
14817
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
14821
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
14818
14822
  #endif
14819
14823
  #endif
14820
14824
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
14821
14825
  if (unlikely(__pyx_nargs > 0)) {
14822
14826
  __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
14823
14827
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
14824
- goto __pyx_L4_argument_unpacking_done;
14825
- goto __pyx_L3_error;
14826
- __pyx_L3_error:;
14827
- __Pyx_AddTraceback("View.MemoryView._memoryviewslice.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
14828
- __Pyx_RefNannyFinishContext();
14829
- return NULL;
14830
- __pyx_L4_argument_unpacking_done:;
14831
14828
  __pyx_r = __pyx_pf___pyx_memoryviewslice___reduce_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self));
14832
14829
 
14833
14830
  /* function exit code */
@@ -14841,7 +14838,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON_UNUSED
14841
14838
  int __pyx_lineno = 0;
14842
14839
  const char *__pyx_filename = NULL;
14843
14840
  int __pyx_clineno = 0;
14844
- __Pyx_RefNannySetupContext("__reduce_cython__", 0);
14841
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
14845
14842
 
14846
14843
  /* "(tree fragment)":2
14847
14844
  * def __reduce_cython__(self):
@@ -14905,8 +14902,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
14905
14902
  #if CYTHON_ASSUME_SAFE_MACROS
14906
14903
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
14907
14904
  #else
14908
- __pyx_nargs = PyTuple_Size(__pyx_args);
14909
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
14905
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
14910
14906
  #endif
14911
14907
  #endif
14912
14908
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -14941,10 +14937,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
14941
14937
  }
14942
14938
  __pyx_v___pyx_state = values[0];
14943
14939
  }
14944
- goto __pyx_L4_argument_unpacking_done;
14940
+ goto __pyx_L6_skip;
14945
14941
  __pyx_L5_argtuple_error:;
14946
14942
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
14947
- goto __pyx_L3_error;
14943
+ __pyx_L6_skip:;
14944
+ goto __pyx_L4_argument_unpacking_done;
14948
14945
  __pyx_L3_error:;
14949
14946
  {
14950
14947
  Py_ssize_t __pyx_temp;
@@ -14975,7 +14972,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYTHON_UNUS
14975
14972
  int __pyx_lineno = 0;
14976
14973
  const char *__pyx_filename = NULL;
14977
14974
  int __pyx_clineno = 0;
14978
- __Pyx_RefNannySetupContext("__setstate_cython__", 0);
14975
+ __Pyx_RefNannySetupContext("__setstate_cython__", 1);
14979
14976
 
14980
14977
  /* "(tree fragment)":4
14981
14978
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
@@ -15027,7 +15024,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
15027
15024
  int __pyx_lineno = 0;
15028
15025
  const char *__pyx_filename = NULL;
15029
15026
  int __pyx_clineno = 0;
15030
- __Pyx_RefNannySetupContext("memoryview_fromslice", 0);
15027
+ __Pyx_RefNannySetupContext("memoryview_fromslice", 1);
15031
15028
 
15032
15029
  /* "View.MemoryView":1007
15033
15030
  * cdef _memoryviewslice result
@@ -15404,7 +15401,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
15404
15401
  int __pyx_lineno = 0;
15405
15402
  const char *__pyx_filename = NULL;
15406
15403
  int __pyx_clineno = 0;
15407
- __Pyx_RefNannySetupContext("get_slice_from_memview", 0);
15404
+ __Pyx_RefNannySetupContext("get_slice_from_memview", 1);
15408
15405
 
15409
15406
  /* "View.MemoryView":1055
15410
15407
  * __Pyx_memviewslice *mslice) except NULL:
@@ -15501,14 +15498,12 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
15501
15498
  Py_ssize_t *__pyx_v_shape;
15502
15499
  Py_ssize_t *__pyx_v_strides;
15503
15500
  Py_ssize_t *__pyx_v_suboffsets;
15504
- __Pyx_RefNannyDeclarations
15505
15501
  Py_ssize_t *__pyx_t_1;
15506
15502
  int __pyx_t_2;
15507
15503
  int __pyx_t_3;
15508
15504
  int __pyx_t_4;
15509
15505
  Py_ssize_t __pyx_t_5;
15510
15506
  int __pyx_t_6;
15511
- __Pyx_RefNannySetupContext("slice_copy", 0);
15512
15507
 
15513
15508
  /* "View.MemoryView":1067
15514
15509
  * cdef (Py_ssize_t*) shape, strides, suboffsets
@@ -15613,7 +15608,6 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
15613
15608
  */
15614
15609
 
15615
15610
  /* function exit code */
15616
- __Pyx_RefNannyFinishContext();
15617
15611
  }
15618
15612
 
15619
15613
  /* "View.MemoryView":1080
@@ -15632,7 +15626,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
15632
15626
  int __pyx_lineno = 0;
15633
15627
  const char *__pyx_filename = NULL;
15634
15628
  int __pyx_clineno = 0;
15635
- __Pyx_RefNannySetupContext("memoryview_copy", 0);
15629
+ __Pyx_RefNannySetupContext("memoryview_copy", 1);
15636
15630
 
15637
15631
  /* "View.MemoryView":1083
15638
15632
  * "Create a new memoryview object"
@@ -15696,7 +15690,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
15696
15690
  int __pyx_lineno = 0;
15697
15691
  const char *__pyx_filename = NULL;
15698
15692
  int __pyx_clineno = 0;
15699
- __Pyx_RefNannySetupContext("memoryview_copy_from_slice", 0);
15693
+ __Pyx_RefNannySetupContext("memoryview_copy_from_slice", 1);
15700
15694
 
15701
15695
  /* "View.MemoryView":1094
15702
15696
  * cdef int (*to_dtype_func)(char *, object) except 0
@@ -16505,7 +16499,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
16505
16499
  size_t __pyx_v_itemsize;
16506
16500
  size_t __pyx_v_size;
16507
16501
  void *__pyx_r;
16508
- __Pyx_RefNannyDeclarations
16509
16502
  Py_ssize_t __pyx_t_1;
16510
16503
  int __pyx_t_2;
16511
16504
  int __pyx_t_3;
@@ -16518,7 +16511,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
16518
16511
  #ifdef WITH_THREAD
16519
16512
  PyGILState_STATE __pyx_gilstate_save;
16520
16513
  #endif
16521
- __Pyx_RefNannySetupContext("copy_data_to_temp", 1);
16522
16514
 
16523
16515
  /* "View.MemoryView":1216
16524
16516
  * cdef void *result
@@ -16746,7 +16738,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
16746
16738
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
16747
16739
  #endif
16748
16740
  __pyx_L0:;
16749
- __Pyx_RefNannyFinishContextNogil()
16750
16741
  return __pyx_r;
16751
16742
  }
16752
16743
 
@@ -16966,14 +16957,12 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, PyObject *__pyx_v_msg)
16966
16957
 
16967
16958
  static int __pyx_memoryview_err_no_memory(void) {
16968
16959
  int __pyx_r;
16969
- __Pyx_RefNannyDeclarations
16970
16960
  int __pyx_lineno = 0;
16971
16961
  const char *__pyx_filename = NULL;
16972
16962
  int __pyx_clineno = 0;
16973
16963
  #ifdef WITH_THREAD
16974
16964
  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
16975
16965
  #endif
16976
- __Pyx_RefNannySetupContext("_err_no_memory", 0);
16977
16966
 
16978
16967
  /* "View.MemoryView":1261
16979
16968
  * @cname('__pyx_memoryview_err_no_memory')
@@ -16996,7 +16985,6 @@ static int __pyx_memoryview_err_no_memory(void) {
16996
16985
  __pyx_L1_error:;
16997
16986
  __Pyx_AddTraceback("View.MemoryView._err_no_memory", __pyx_clineno, __pyx_lineno, __pyx_filename);
16998
16987
  __pyx_r = -1;
16999
- __Pyx_RefNannyFinishContext();
17000
16988
  #ifdef WITH_THREAD
17001
16989
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
17002
16990
  #endif
@@ -17021,7 +17009,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
17021
17009
  __Pyx_memviewslice __pyx_v_tmp;
17022
17010
  int __pyx_v_ndim;
17023
17011
  int __pyx_r;
17024
- __Pyx_RefNannyDeclarations
17025
17012
  Py_ssize_t __pyx_t_1;
17026
17013
  int __pyx_t_2;
17027
17014
  int __pyx_t_3;
@@ -17035,7 +17022,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
17035
17022
  #ifdef WITH_THREAD
17036
17023
  PyGILState_STATE __pyx_gilstate_save;
17037
17024
  #endif
17038
- __Pyx_RefNannySetupContext("memoryview_copy_contents", 1);
17039
17025
 
17040
17026
  /* "View.MemoryView":1273
17041
17027
  * Check for overlapping memory and verify the shapes.
@@ -17580,7 +17566,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
17580
17566
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
17581
17567
  #endif
17582
17568
  __pyx_L0:;
17583
- __Pyx_RefNannyFinishContextNogil()
17584
17569
  return __pyx_r;
17585
17570
  }
17586
17571
 
@@ -17754,11 +17739,9 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
17754
17739
  */
17755
17740
 
17756
17741
  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) {
17757
- __Pyx_RefNannyDeclarations
17758
17742
  #ifdef WITH_THREAD
17759
17743
  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
17760
17744
  #endif
17761
- __Pyx_RefNannySetupContext("refcount_objects_in_slice_with_gil", 0);
17762
17745
 
17763
17746
  /* "View.MemoryView":1368
17764
17747
  * Py_ssize_t *strides, int ndim,
@@ -17778,7 +17761,6 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
17778
17761
  */
17779
17762
 
17780
17763
  /* function exit code */
17781
- __Pyx_RefNannyFinishContext();
17782
17764
  #ifdef WITH_THREAD
17783
17765
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
17784
17766
  #endif
@@ -17795,12 +17777,10 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
17795
17777
  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) {
17796
17778
  CYTHON_UNUSED Py_ssize_t __pyx_v_i;
17797
17779
  Py_ssize_t __pyx_v_stride;
17798
- __Pyx_RefNannyDeclarations
17799
17780
  Py_ssize_t __pyx_t_1;
17800
17781
  Py_ssize_t __pyx_t_2;
17801
17782
  Py_ssize_t __pyx_t_3;
17802
17783
  int __pyx_t_4;
17803
- __Pyx_RefNannySetupContext("refcount_objects_in_slice", 0);
17804
17784
 
17805
17785
  /* "View.MemoryView":1374
17806
17786
  * Py_ssize_t *strides, int ndim, bint inc) noexcept:
@@ -17914,7 +17894,6 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
17914
17894
  */
17915
17895
 
17916
17896
  /* function exit code */
17917
- __Pyx_RefNannyFinishContext();
17918
17897
  }
17919
17898
 
17920
17899
  /* "View.MemoryView":1391
@@ -18136,8 +18115,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
18136
18115
  #if CYTHON_ASSUME_SAFE_MACROS
18137
18116
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
18138
18117
  #else
18139
- __pyx_nargs = PyTuple_Size(__pyx_args);
18140
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
18118
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
18141
18119
  #endif
18142
18120
  #endif
18143
18121
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -18200,10 +18178,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
18200
18178
  __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)
18201
18179
  __pyx_v___pyx_state = values[2];
18202
18180
  }
18203
- goto __pyx_L4_argument_unpacking_done;
18181
+ goto __pyx_L6_skip;
18204
18182
  __pyx_L5_argtuple_error:;
18205
18183
  __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 1, __pyx_L3_error)
18206
- goto __pyx_L3_error;
18184
+ __pyx_L6_skip:;
18185
+ goto __pyx_L4_argument_unpacking_done;
18207
18186
  __pyx_L3_error:;
18208
18187
  {
18209
18188
  Py_ssize_t __pyx_temp;
@@ -18241,7 +18220,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSE
18241
18220
  int __pyx_lineno = 0;
18242
18221
  const char *__pyx_filename = NULL;
18243
18222
  int __pyx_clineno = 0;
18244
- __Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 0);
18223
+ __Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 1);
18245
18224
 
18246
18225
  /* "(tree fragment)":4
18247
18226
  * cdef object __pyx_PickleError
@@ -18423,7 +18402,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
18423
18402
  int __pyx_lineno = 0;
18424
18403
  const char *__pyx_filename = NULL;
18425
18404
  int __pyx_clineno = 0;
18426
- __Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 0);
18405
+ __Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 1);
18427
18406
 
18428
18407
  /* "(tree fragment)":12
18429
18408
  * return __pyx_result
@@ -18539,7 +18518,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
18539
18518
  return __pyx_r;
18540
18519
  }
18541
18520
 
18542
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
18521
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
18543
18522
  *
18544
18523
  * @property
18545
18524
  * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@@ -18550,7 +18529,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
18550
18529
  static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
18551
18530
  PyObject *__pyx_r;
18552
18531
 
18553
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":249
18532
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":249
18554
18533
  * """Returns a borrowed reference to the object owning the data/memory.
18555
18534
  * """
18556
18535
  * return PyArray_BASE(self) # <<<<<<<<<<<<<<
@@ -18560,7 +18539,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
18560
18539
  __pyx_r = PyArray_BASE(__pyx_v_self);
18561
18540
  goto __pyx_L0;
18562
18541
 
18563
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
18542
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
18564
18543
  *
18565
18544
  * @property
18566
18545
  * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@@ -18573,7 +18552,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
18573
18552
  return __pyx_r;
18574
18553
  }
18575
18554
 
18576
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
18555
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
18577
18556
  *
18578
18557
  * @property
18579
18558
  * cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@@ -18585,9 +18564,9 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
18585
18564
  PyArray_Descr *__pyx_r = NULL;
18586
18565
  __Pyx_RefNannyDeclarations
18587
18566
  PyArray_Descr *__pyx_t_1;
18588
- __Pyx_RefNannySetupContext("descr", 0);
18567
+ __Pyx_RefNannySetupContext("descr", 1);
18589
18568
 
18590
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":255
18569
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":255
18591
18570
  * """Returns an owned reference to the dtype of the array.
18592
18571
  * """
18593
18572
  * return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
@@ -18600,7 +18579,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
18600
18579
  __pyx_r = ((PyArray_Descr *)__pyx_t_1);
18601
18580
  goto __pyx_L0;
18602
18581
 
18603
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
18582
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
18604
18583
  *
18605
18584
  * @property
18606
18585
  * cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@@ -18615,7 +18594,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
18615
18594
  return __pyx_r;
18616
18595
  }
18617
18596
 
18618
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":258
18597
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":258
18619
18598
  *
18620
18599
  * @property
18621
18600
  * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@@ -18626,7 +18605,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
18626
18605
  static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
18627
18606
  int __pyx_r;
18628
18607
 
18629
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":261
18608
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":261
18630
18609
  * """Returns the number of dimensions in the array.
18631
18610
  * """
18632
18611
  * return PyArray_NDIM(self) # <<<<<<<<<<<<<<
@@ -18636,7 +18615,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
18636
18615
  __pyx_r = PyArray_NDIM(__pyx_v_self);
18637
18616
  goto __pyx_L0;
18638
18617
 
18639
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":258
18618
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":258
18640
18619
  *
18641
18620
  * @property
18642
18621
  * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@@ -18649,7 +18628,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
18649
18628
  return __pyx_r;
18650
18629
  }
18651
18630
 
18652
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":264
18631
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":264
18653
18632
  *
18654
18633
  * @property
18655
18634
  * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@@ -18660,7 +18639,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
18660
18639
  static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
18661
18640
  npy_intp *__pyx_r;
18662
18641
 
18663
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":269
18642
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":269
18664
18643
  * Can return NULL for 0-dimensional arrays.
18665
18644
  * """
18666
18645
  * return PyArray_DIMS(self) # <<<<<<<<<<<<<<
@@ -18670,7 +18649,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
18670
18649
  __pyx_r = PyArray_DIMS(__pyx_v_self);
18671
18650
  goto __pyx_L0;
18672
18651
 
18673
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":264
18652
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":264
18674
18653
  *
18675
18654
  * @property
18676
18655
  * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@@ -18683,7 +18662,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
18683
18662
  return __pyx_r;
18684
18663
  }
18685
18664
 
18686
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":272
18665
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":272
18687
18666
  *
18688
18667
  * @property
18689
18668
  * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@@ -18694,7 +18673,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
18694
18673
  static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
18695
18674
  npy_intp *__pyx_r;
18696
18675
 
18697
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":276
18676
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":276
18698
18677
  * The number of elements matches the number of dimensions of the array (ndim).
18699
18678
  * """
18700
18679
  * return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
@@ -18704,7 +18683,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
18704
18683
  __pyx_r = PyArray_STRIDES(__pyx_v_self);
18705
18684
  goto __pyx_L0;
18706
18685
 
18707
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":272
18686
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":272
18708
18687
  *
18709
18688
  * @property
18710
18689
  * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@@ -18717,7 +18696,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
18717
18696
  return __pyx_r;
18718
18697
  }
18719
18698
 
18720
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
18699
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
18721
18700
  *
18722
18701
  * @property
18723
18702
  * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@@ -18728,7 +18707,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
18728
18707
  static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
18729
18708
  npy_intp __pyx_r;
18730
18709
 
18731
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":282
18710
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":282
18732
18711
  * """Returns the total size (in number of elements) of the array.
18733
18712
  * """
18734
18713
  * return PyArray_SIZE(self) # <<<<<<<<<<<<<<
@@ -18738,7 +18717,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
18738
18717
  __pyx_r = PyArray_SIZE(__pyx_v_self);
18739
18718
  goto __pyx_L0;
18740
18719
 
18741
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
18720
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
18742
18721
  *
18743
18722
  * @property
18744
18723
  * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@@ -18751,7 +18730,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
18751
18730
  return __pyx_r;
18752
18731
  }
18753
18732
 
18754
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
18733
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
18755
18734
  *
18756
18735
  * @property
18757
18736
  * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@@ -18762,7 +18741,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
18762
18741
  static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
18763
18742
  char *__pyx_r;
18764
18743
 
18765
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":291
18744
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":291
18766
18745
  * of `PyArray_DATA()` instead, which returns a 'void*'.
18767
18746
  * """
18768
18747
  * return PyArray_BYTES(self) # <<<<<<<<<<<<<<
@@ -18772,7 +18751,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
18772
18751
  __pyx_r = PyArray_BYTES(__pyx_v_self);
18773
18752
  goto __pyx_L0;
18774
18753
 
18775
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
18754
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
18776
18755
  *
18777
18756
  * @property
18778
18757
  * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@@ -18785,7 +18764,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
18785
18764
  return __pyx_r;
18786
18765
  }
18787
18766
 
18788
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
18767
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
18789
18768
  * ctypedef npy_cdouble complex_t
18790
18769
  *
18791
18770
  * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@@ -18800,9 +18779,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
18800
18779
  int __pyx_lineno = 0;
18801
18780
  const char *__pyx_filename = NULL;
18802
18781
  int __pyx_clineno = 0;
18803
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 0);
18782
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1);
18804
18783
 
18805
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":778
18784
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":778
18806
18785
  *
18807
18786
  * cdef inline object PyArray_MultiIterNew1(a):
18808
18787
  * return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
@@ -18816,7 +18795,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
18816
18795
  __pyx_t_1 = 0;
18817
18796
  goto __pyx_L0;
18818
18797
 
18819
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
18798
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
18820
18799
  * ctypedef npy_cdouble complex_t
18821
18800
  *
18822
18801
  * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@@ -18835,7 +18814,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
18835
18814
  return __pyx_r;
18836
18815
  }
18837
18816
 
18838
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
18817
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
18839
18818
  * return PyArray_MultiIterNew(1, <void*>a)
18840
18819
  *
18841
18820
  * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@@ -18850,9 +18829,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
18850
18829
  int __pyx_lineno = 0;
18851
18830
  const char *__pyx_filename = NULL;
18852
18831
  int __pyx_clineno = 0;
18853
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 0);
18832
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1);
18854
18833
 
18855
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":781
18834
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":781
18856
18835
  *
18857
18836
  * cdef inline object PyArray_MultiIterNew2(a, b):
18858
18837
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
@@ -18866,7 +18845,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
18866
18845
  __pyx_t_1 = 0;
18867
18846
  goto __pyx_L0;
18868
18847
 
18869
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
18848
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
18870
18849
  * return PyArray_MultiIterNew(1, <void*>a)
18871
18850
  *
18872
18851
  * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@@ -18885,7 +18864,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
18885
18864
  return __pyx_r;
18886
18865
  }
18887
18866
 
18888
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
18867
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
18889
18868
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b)
18890
18869
  *
18891
18870
  * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@@ -18900,9 +18879,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
18900
18879
  int __pyx_lineno = 0;
18901
18880
  const char *__pyx_filename = NULL;
18902
18881
  int __pyx_clineno = 0;
18903
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 0);
18882
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1);
18904
18883
 
18905
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":784
18884
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":784
18906
18885
  *
18907
18886
  * cdef inline object PyArray_MultiIterNew3(a, b, c):
18908
18887
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
@@ -18916,7 +18895,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
18916
18895
  __pyx_t_1 = 0;
18917
18896
  goto __pyx_L0;
18918
18897
 
18919
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
18898
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
18920
18899
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b)
18921
18900
  *
18922
18901
  * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@@ -18935,7 +18914,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
18935
18914
  return __pyx_r;
18936
18915
  }
18937
18916
 
18938
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
18917
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
18939
18918
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
18940
18919
  *
18941
18920
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@@ -18950,9 +18929,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
18950
18929
  int __pyx_lineno = 0;
18951
18930
  const char *__pyx_filename = NULL;
18952
18931
  int __pyx_clineno = 0;
18953
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 0);
18932
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1);
18954
18933
 
18955
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":787
18934
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":787
18956
18935
  *
18957
18936
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d):
18958
18937
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
@@ -18966,7 +18945,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
18966
18945
  __pyx_t_1 = 0;
18967
18946
  goto __pyx_L0;
18968
18947
 
18969
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
18948
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
18970
18949
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
18971
18950
  *
18972
18951
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@@ -18985,7 +18964,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
18985
18964
  return __pyx_r;
18986
18965
  }
18987
18966
 
18988
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
18967
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
18989
18968
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
18990
18969
  *
18991
18970
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@@ -19000,9 +18979,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
19000
18979
  int __pyx_lineno = 0;
19001
18980
  const char *__pyx_filename = NULL;
19002
18981
  int __pyx_clineno = 0;
19003
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 0);
18982
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1);
19004
18983
 
19005
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":790
18984
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":790
19006
18985
  *
19007
18986
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
19008
18987
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
@@ -19016,7 +18995,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
19016
18995
  __pyx_t_1 = 0;
19017
18996
  goto __pyx_L0;
19018
18997
 
19019
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
18998
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
19020
18999
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
19021
19000
  *
19022
19001
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@@ -19035,7 +19014,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
19035
19014
  return __pyx_r;
19036
19015
  }
19037
19016
 
19038
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
19017
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
19039
19018
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
19040
19019
  *
19041
19020
  * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@@ -19047,9 +19026,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19047
19026
  PyObject *__pyx_r = NULL;
19048
19027
  __Pyx_RefNannyDeclarations
19049
19028
  int __pyx_t_1;
19050
- __Pyx_RefNannySetupContext("PyDataType_SHAPE", 0);
19029
+ __Pyx_RefNannySetupContext("PyDataType_SHAPE", 1);
19051
19030
 
19052
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
19031
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
19053
19032
  *
19054
19033
  * cdef inline tuple PyDataType_SHAPE(dtype d):
19055
19034
  * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@@ -19059,7 +19038,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19059
19038
  __pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
19060
19039
  if (__pyx_t_1) {
19061
19040
 
19062
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":794
19041
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":794
19063
19042
  * cdef inline tuple PyDataType_SHAPE(dtype d):
19064
19043
  * if PyDataType_HASSUBARRAY(d):
19065
19044
  * return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
@@ -19071,7 +19050,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19071
19050
  __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
19072
19051
  goto __pyx_L0;
19073
19052
 
19074
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
19053
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
19075
19054
  *
19076
19055
  * cdef inline tuple PyDataType_SHAPE(dtype d):
19077
19056
  * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@@ -19080,7 +19059,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19080
19059
  */
19081
19060
  }
19082
19061
 
19083
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":796
19062
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":796
19084
19063
  * return <tuple>d.subarray.shape
19085
19064
  * else:
19086
19065
  * return () # <<<<<<<<<<<<<<
@@ -19094,7 +19073,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19094
19073
  goto __pyx_L0;
19095
19074
  }
19096
19075
 
19097
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
19076
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
19098
19077
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
19099
19078
  *
19100
19079
  * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@@ -19109,7 +19088,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19109
19088
  return __pyx_r;
19110
19089
  }
19111
19090
 
19112
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
19091
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
19113
19092
  * int _import_umath() except -1
19114
19093
  *
19115
19094
  * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@@ -19118,10 +19097,8 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19118
19097
  */
19119
19098
 
19120
19099
  static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
19121
- __Pyx_RefNannyDeclarations
19122
- __Pyx_RefNannySetupContext("set_array_base", 0);
19123
19100
 
19124
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":972
19101
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":972
19125
19102
  *
19126
19103
  * cdef inline void set_array_base(ndarray arr, object base):
19127
19104
  * Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
@@ -19130,7 +19107,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
19130
19107
  */
19131
19108
  Py_INCREF(__pyx_v_base);
19132
19109
 
19133
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":973
19110
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":973
19134
19111
  * cdef inline void set_array_base(ndarray arr, object base):
19135
19112
  * Py_INCREF(base) # important to do this before stealing the reference below!
19136
19113
  * PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
@@ -19139,7 +19116,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
19139
19116
  */
19140
19117
  (void)(PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base));
19141
19118
 
19142
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
19119
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
19143
19120
  * int _import_umath() except -1
19144
19121
  *
19145
19122
  * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@@ -19148,10 +19125,9 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
19148
19125
  */
19149
19126
 
19150
19127
  /* function exit code */
19151
- __Pyx_RefNannyFinishContext();
19152
19128
  }
19153
19129
 
19154
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":975
19130
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":975
19155
19131
  * PyArray_SetBaseObject(arr, base)
19156
19132
  *
19157
19133
  * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@@ -19164,9 +19140,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19164
19140
  PyObject *__pyx_r = NULL;
19165
19141
  __Pyx_RefNannyDeclarations
19166
19142
  int __pyx_t_1;
19167
- __Pyx_RefNannySetupContext("get_array_base", 0);
19143
+ __Pyx_RefNannySetupContext("get_array_base", 1);
19168
19144
 
19169
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":976
19145
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":976
19170
19146
  *
19171
19147
  * cdef inline object get_array_base(ndarray arr):
19172
19148
  * base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
@@ -19175,7 +19151,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19175
19151
  */
19176
19152
  __pyx_v_base = PyArray_BASE(__pyx_v_arr);
19177
19153
 
19178
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":977
19154
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":977
19179
19155
  * cdef inline object get_array_base(ndarray arr):
19180
19156
  * base = PyArray_BASE(arr)
19181
19157
  * if base is NULL: # <<<<<<<<<<<<<<
@@ -19185,7 +19161,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19185
19161
  __pyx_t_1 = (__pyx_v_base == NULL);
19186
19162
  if (__pyx_t_1) {
19187
19163
 
19188
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":978
19164
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":978
19189
19165
  * base = PyArray_BASE(arr)
19190
19166
  * if base is NULL:
19191
19167
  * return None # <<<<<<<<<<<<<<
@@ -19196,7 +19172,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19196
19172
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
19197
19173
  goto __pyx_L0;
19198
19174
 
19199
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":977
19175
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":977
19200
19176
  * cdef inline object get_array_base(ndarray arr):
19201
19177
  * base = PyArray_BASE(arr)
19202
19178
  * if base is NULL: # <<<<<<<<<<<<<<
@@ -19205,7 +19181,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19205
19181
  */
19206
19182
  }
19207
19183
 
19208
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":979
19184
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":979
19209
19185
  * if base is NULL:
19210
19186
  * return None
19211
19187
  * return <object>base # <<<<<<<<<<<<<<
@@ -19217,7 +19193,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19217
19193
  __pyx_r = ((PyObject *)__pyx_v_base);
19218
19194
  goto __pyx_L0;
19219
19195
 
19220
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":975
19196
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":975
19221
19197
  * PyArray_SetBaseObject(arr, base)
19222
19198
  *
19223
19199
  * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@@ -19232,7 +19208,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19232
19208
  return __pyx_r;
19233
19209
  }
19234
19210
 
19235
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
19211
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
19236
19212
  * # Versions of the import_* functions which are more suitable for
19237
19213
  * # Cython code.
19238
19214
  * cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@@ -19254,9 +19230,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19254
19230
  int __pyx_lineno = 0;
19255
19231
  const char *__pyx_filename = NULL;
19256
19232
  int __pyx_clineno = 0;
19257
- __Pyx_RefNannySetupContext("import_array", 0);
19233
+ __Pyx_RefNannySetupContext("import_array", 1);
19258
19234
 
19259
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
19235
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
19260
19236
  * # Cython code.
19261
19237
  * cdef inline int import_array() except -1:
19262
19238
  * try: # <<<<<<<<<<<<<<
@@ -19272,7 +19248,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19272
19248
  __Pyx_XGOTREF(__pyx_t_3);
19273
19249
  /*try:*/ {
19274
19250
 
19275
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":985
19251
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":985
19276
19252
  * cdef inline int import_array() except -1:
19277
19253
  * try:
19278
19254
  * __pyx_import_array() # <<<<<<<<<<<<<<
@@ -19281,7 +19257,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19281
19257
  */
19282
19258
  __pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 985, __pyx_L3_error)
19283
19259
 
19284
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
19260
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
19285
19261
  * # Cython code.
19286
19262
  * cdef inline int import_array() except -1:
19287
19263
  * try: # <<<<<<<<<<<<<<
@@ -19295,7 +19271,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19295
19271
  goto __pyx_L8_try_end;
19296
19272
  __pyx_L3_error:;
19297
19273
 
19298
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":986
19274
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":986
19299
19275
  * try:
19300
19276
  * __pyx_import_array()
19301
19277
  * except Exception: # <<<<<<<<<<<<<<
@@ -19310,7 +19286,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19310
19286
  __Pyx_XGOTREF(__pyx_t_6);
19311
19287
  __Pyx_XGOTREF(__pyx_t_7);
19312
19288
 
19313
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":987
19289
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":987
19314
19290
  * __pyx_import_array()
19315
19291
  * except Exception:
19316
19292
  * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@@ -19325,7 +19301,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19325
19301
  }
19326
19302
  goto __pyx_L5_except_error;
19327
19303
 
19328
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
19304
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
19329
19305
  * # Cython code.
19330
19306
  * cdef inline int import_array() except -1:
19331
19307
  * try: # <<<<<<<<<<<<<<
@@ -19341,7 +19317,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19341
19317
  __pyx_L8_try_end:;
19342
19318
  }
19343
19319
 
19344
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
19320
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
19345
19321
  * # Versions of the import_* functions which are more suitable for
19346
19322
  * # Cython code.
19347
19323
  * cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@@ -19364,7 +19340,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19364
19340
  return __pyx_r;
19365
19341
  }
19366
19342
 
19367
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
19343
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
19368
19344
  * raise ImportError("numpy.core.multiarray failed to import")
19369
19345
  *
19370
19346
  * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@@ -19386,9 +19362,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19386
19362
  int __pyx_lineno = 0;
19387
19363
  const char *__pyx_filename = NULL;
19388
19364
  int __pyx_clineno = 0;
19389
- __Pyx_RefNannySetupContext("import_umath", 0);
19365
+ __Pyx_RefNannySetupContext("import_umath", 1);
19390
19366
 
19391
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
19367
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
19392
19368
  *
19393
19369
  * cdef inline int import_umath() except -1:
19394
19370
  * try: # <<<<<<<<<<<<<<
@@ -19404,7 +19380,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19404
19380
  __Pyx_XGOTREF(__pyx_t_3);
19405
19381
  /*try:*/ {
19406
19382
 
19407
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":991
19383
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":991
19408
19384
  * cdef inline int import_umath() except -1:
19409
19385
  * try:
19410
19386
  * _import_umath() # <<<<<<<<<<<<<<
@@ -19413,7 +19389,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19413
19389
  */
19414
19390
  __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 991, __pyx_L3_error)
19415
19391
 
19416
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
19392
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
19417
19393
  *
19418
19394
  * cdef inline int import_umath() except -1:
19419
19395
  * try: # <<<<<<<<<<<<<<
@@ -19427,7 +19403,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19427
19403
  goto __pyx_L8_try_end;
19428
19404
  __pyx_L3_error:;
19429
19405
 
19430
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":992
19406
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":992
19431
19407
  * try:
19432
19408
  * _import_umath()
19433
19409
  * except Exception: # <<<<<<<<<<<<<<
@@ -19442,7 +19418,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19442
19418
  __Pyx_XGOTREF(__pyx_t_6);
19443
19419
  __Pyx_XGOTREF(__pyx_t_7);
19444
19420
 
19445
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":993
19421
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":993
19446
19422
  * _import_umath()
19447
19423
  * except Exception:
19448
19424
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -19457,7 +19433,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19457
19433
  }
19458
19434
  goto __pyx_L5_except_error;
19459
19435
 
19460
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
19436
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
19461
19437
  *
19462
19438
  * cdef inline int import_umath() except -1:
19463
19439
  * try: # <<<<<<<<<<<<<<
@@ -19473,7 +19449,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19473
19449
  __pyx_L8_try_end:;
19474
19450
  }
19475
19451
 
19476
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
19452
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
19477
19453
  * raise ImportError("numpy.core.multiarray failed to import")
19478
19454
  *
19479
19455
  * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@@ -19496,7 +19472,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19496
19472
  return __pyx_r;
19497
19473
  }
19498
19474
 
19499
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
19475
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
19500
19476
  * raise ImportError("numpy.core.umath failed to import")
19501
19477
  *
19502
19478
  * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@@ -19518,9 +19494,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19518
19494
  int __pyx_lineno = 0;
19519
19495
  const char *__pyx_filename = NULL;
19520
19496
  int __pyx_clineno = 0;
19521
- __Pyx_RefNannySetupContext("import_ufunc", 0);
19497
+ __Pyx_RefNannySetupContext("import_ufunc", 1);
19522
19498
 
19523
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
19499
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
19524
19500
  *
19525
19501
  * cdef inline int import_ufunc() except -1:
19526
19502
  * try: # <<<<<<<<<<<<<<
@@ -19536,7 +19512,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19536
19512
  __Pyx_XGOTREF(__pyx_t_3);
19537
19513
  /*try:*/ {
19538
19514
 
19539
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":997
19515
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":997
19540
19516
  * cdef inline int import_ufunc() except -1:
19541
19517
  * try:
19542
19518
  * _import_umath() # <<<<<<<<<<<<<<
@@ -19545,7 +19521,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19545
19521
  */
19546
19522
  __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 997, __pyx_L3_error)
19547
19523
 
19548
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
19524
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
19549
19525
  *
19550
19526
  * cdef inline int import_ufunc() except -1:
19551
19527
  * try: # <<<<<<<<<<<<<<
@@ -19559,7 +19535,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19559
19535
  goto __pyx_L8_try_end;
19560
19536
  __pyx_L3_error:;
19561
19537
 
19562
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
19538
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
19563
19539
  * try:
19564
19540
  * _import_umath()
19565
19541
  * except Exception: # <<<<<<<<<<<<<<
@@ -19574,7 +19550,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19574
19550
  __Pyx_XGOTREF(__pyx_t_6);
19575
19551
  __Pyx_XGOTREF(__pyx_t_7);
19576
19552
 
19577
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":999
19553
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":999
19578
19554
  * _import_umath()
19579
19555
  * except Exception:
19580
19556
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -19589,7 +19565,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19589
19565
  }
19590
19566
  goto __pyx_L5_except_error;
19591
19567
 
19592
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
19568
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
19593
19569
  *
19594
19570
  * cdef inline int import_ufunc() except -1:
19595
19571
  * try: # <<<<<<<<<<<<<<
@@ -19605,7 +19581,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19605
19581
  __pyx_L8_try_end:;
19606
19582
  }
19607
19583
 
19608
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
19584
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
19609
19585
  * raise ImportError("numpy.core.umath failed to import")
19610
19586
  *
19611
19587
  * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@@ -19628,7 +19604,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19628
19604
  return __pyx_r;
19629
19605
  }
19630
19606
 
19631
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1002
19607
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1002
19632
19608
  *
19633
19609
  *
19634
19610
  * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@@ -19638,10 +19614,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19638
19614
 
19639
19615
  static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
19640
19616
  int __pyx_r;
19641
- __Pyx_RefNannyDeclarations
19642
- __Pyx_RefNannySetupContext("is_timedelta64_object", 0);
19643
19617
 
19644
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1014
19618
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1014
19645
19619
  * bool
19646
19620
  * """
19647
19621
  * return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
@@ -19651,7 +19625,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
19651
19625
  __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
19652
19626
  goto __pyx_L0;
19653
19627
 
19654
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1002
19628
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1002
19655
19629
  *
19656
19630
  *
19657
19631
  * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@@ -19661,11 +19635,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
19661
19635
 
19662
19636
  /* function exit code */
19663
19637
  __pyx_L0:;
19664
- __Pyx_RefNannyFinishContext();
19665
19638
  return __pyx_r;
19666
19639
  }
19667
19640
 
19668
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1017
19641
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1017
19669
19642
  *
19670
19643
  *
19671
19644
  * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@@ -19675,10 +19648,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
19675
19648
 
19676
19649
  static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
19677
19650
  int __pyx_r;
19678
- __Pyx_RefNannyDeclarations
19679
- __Pyx_RefNannySetupContext("is_datetime64_object", 0);
19680
19651
 
19681
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1029
19652
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1029
19682
19653
  * bool
19683
19654
  * """
19684
19655
  * return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
@@ -19688,7 +19659,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
19688
19659
  __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
19689
19660
  goto __pyx_L0;
19690
19661
 
19691
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1017
19662
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1017
19692
19663
  *
19693
19664
  *
19694
19665
  * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@@ -19698,11 +19669,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
19698
19669
 
19699
19670
  /* function exit code */
19700
19671
  __pyx_L0:;
19701
- __Pyx_RefNannyFinishContext();
19702
19672
  return __pyx_r;
19703
19673
  }
19704
19674
 
19705
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1032
19675
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1032
19706
19676
  *
19707
19677
  *
19708
19678
  * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19713,7 +19683,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
19713
19683
  static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
19714
19684
  npy_datetime __pyx_r;
19715
19685
 
19716
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1039
19686
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1039
19717
19687
  * also needed. That can be found using `get_datetime64_unit`.
19718
19688
  * """
19719
19689
  * return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
@@ -19723,7 +19693,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
19723
19693
  __pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
19724
19694
  goto __pyx_L0;
19725
19695
 
19726
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1032
19696
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1032
19727
19697
  *
19728
19698
  *
19729
19699
  * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19736,7 +19706,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
19736
19706
  return __pyx_r;
19737
19707
  }
19738
19708
 
19739
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1042
19709
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1042
19740
19710
  *
19741
19711
  *
19742
19712
  * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19747,7 +19717,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
19747
19717
  static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
19748
19718
  npy_timedelta __pyx_r;
19749
19719
 
19750
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1046
19720
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1046
19751
19721
  * returns the int64 value underlying scalar numpy timedelta64 object
19752
19722
  * """
19753
19723
  * return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
@@ -19757,7 +19727,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
19757
19727
  __pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
19758
19728
  goto __pyx_L0;
19759
19729
 
19760
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1042
19730
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1042
19761
19731
  *
19762
19732
  *
19763
19733
  * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19770,7 +19740,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
19770
19740
  return __pyx_r;
19771
19741
  }
19772
19742
 
19773
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1049
19743
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1049
19774
19744
  *
19775
19745
  *
19776
19746
  * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19781,7 +19751,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
19781
19751
  static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
19782
19752
  NPY_DATETIMEUNIT __pyx_r;
19783
19753
 
19784
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1053
19754
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1053
19785
19755
  * returns the unit part of the dtype for a numpy datetime64 object.
19786
19756
  * """
19787
19757
  * return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
@@ -19789,7 +19759,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
19789
19759
  __pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
19790
19760
  goto __pyx_L0;
19791
19761
 
19792
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1049
19762
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1049
19793
19763
  *
19794
19764
  *
19795
19765
  * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19849,8 +19819,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
19849
19819
  #if CYTHON_ASSUME_SAFE_MACROS
19850
19820
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
19851
19821
  #else
19852
- __pyx_nargs = PyTuple_Size(__pyx_args);
19853
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 28, __pyx_L3_error)
19822
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
19854
19823
  #endif
19855
19824
  #endif
19856
19825
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -19990,10 +19959,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
19990
19959
  __pyx_v_point_distr = values[5];
19991
19960
  __pyx_v_vdw_radii = values[6];
19992
19961
  }
19993
- goto __pyx_L4_argument_unpacking_done;
19962
+ goto __pyx_L6_skip;
19994
19963
  __pyx_L5_argtuple_error:;
19995
19964
  __Pyx_RaiseArgtupleInvalid("sasa", 0, 1, 7, __pyx_nargs); __PYX_ERR(0, 28, __pyx_L3_error)
19996
- goto __pyx_L3_error;
19965
+ __pyx_L6_skip:;
19966
+ goto __pyx_L4_argument_unpacking_done;
19997
19967
  __pyx_L3_error:;
19998
19968
  {
19999
19969
  Py_ssize_t __pyx_temp;
@@ -20112,7 +20082,7 @@ static PyObject *__pyx_pf_7biotite_9structure_4sasa_sasa(CYTHON_UNUSED PyObject
20112
20082
  int __pyx_lineno = 0;
20113
20083
  const char *__pyx_filename = NULL;
20114
20084
  int __pyx_clineno = 0;
20115
- __Pyx_RefNannySetupContext("sasa", 0);
20085
+ __Pyx_RefNannySetupContext("sasa", 1);
20116
20086
 
20117
20087
  /* "biotite/structure/sasa.pyx":104
20118
20088
  *
@@ -20660,7 +20630,7 @@ static PyObject *__pyx_pf_7biotite_9structure_4sasa_sasa(CYTHON_UNUSED PyObject
20660
20630
  }
20661
20631
  #endif
20662
20632
  {
20663
- PyObject *__pyx_callargs[1] = {__pyx_t_5, };
20633
+ PyObject *__pyx_callargs[2] = {__pyx_t_5, NULL};
20664
20634
  __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_7, 0+__pyx_t_7);
20665
20635
  __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
20666
20636
  if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 137, __pyx_L1_error)
@@ -20725,7 +20695,7 @@ static PyObject *__pyx_pf_7biotite_9structure_4sasa_sasa(CYTHON_UNUSED PyObject
20725
20695
  }
20726
20696
  #endif
20727
20697
  {
20728
- PyObject *__pyx_callargs[1] = {__pyx_t_5, };
20698
+ PyObject *__pyx_callargs[2] = {__pyx_t_5, NULL};
20729
20699
  __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_7, 0+__pyx_t_7);
20730
20700
  __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
20731
20701
  if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 140, __pyx_L1_error)
@@ -20927,7 +20897,8 @@ static PyObject *__pyx_pf_7biotite_9structure_4sasa_sasa(CYTHON_UNUSED PyObject
20927
20897
  __Pyx_GOTREF(__pyx_t_2);
20928
20898
  __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
20929
20899
  if (likely(PyList_CheckExact(__pyx_t_2)) || PyTuple_CheckExact(__pyx_t_2)) {
20930
- __pyx_t_10 = __pyx_t_2; __Pyx_INCREF(__pyx_t_10); __pyx_t_6 = 0;
20900
+ __pyx_t_10 = __pyx_t_2; __Pyx_INCREF(__pyx_t_10);
20901
+ __pyx_t_6 = 0;
20931
20902
  __pyx_t_11 = NULL;
20932
20903
  } else {
20933
20904
  __pyx_t_6 = -1; __pyx_t_10 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 147, __pyx_L1_error)
@@ -20938,19 +20909,31 @@ static PyObject *__pyx_pf_7biotite_9structure_4sasa_sasa(CYTHON_UNUSED PyObject
20938
20909
  for (;;) {
20939
20910
  if (likely(!__pyx_t_11)) {
20940
20911
  if (likely(PyList_CheckExact(__pyx_t_10))) {
20941
- if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_10)) break;
20912
+ {
20913
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_10);
20914
+ #if !CYTHON_ASSUME_SAFE_MACROS
20915
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 147, __pyx_L1_error)
20916
+ #endif
20917
+ if (__pyx_t_6 >= __pyx_temp) break;
20918
+ }
20942
20919
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
20943
20920
  __pyx_t_2 = PyList_GET_ITEM(__pyx_t_10, __pyx_t_6); __Pyx_INCREF(__pyx_t_2); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(0, 147, __pyx_L1_error)
20944
20921
  #else
20945
- __pyx_t_2 = PySequence_ITEM(__pyx_t_10, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 147, __pyx_L1_error)
20922
+ __pyx_t_2 = __Pyx_PySequence_ITEM(__pyx_t_10, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 147, __pyx_L1_error)
20946
20923
  __Pyx_GOTREF(__pyx_t_2);
20947
20924
  #endif
20948
20925
  } else {
20949
- if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_10)) break;
20926
+ {
20927
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_10);
20928
+ #if !CYTHON_ASSUME_SAFE_MACROS
20929
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 147, __pyx_L1_error)
20930
+ #endif
20931
+ if (__pyx_t_6 >= __pyx_temp) break;
20932
+ }
20950
20933
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
20951
20934
  __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_10, __pyx_t_6); __Pyx_INCREF(__pyx_t_2); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(0, 147, __pyx_L1_error)
20952
20935
  #else
20953
- __pyx_t_2 = PySequence_ITEM(__pyx_t_10, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 147, __pyx_L1_error)
20936
+ __pyx_t_2 = __Pyx_PySequence_ITEM(__pyx_t_10, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 147, __pyx_L1_error)
20954
20937
  __Pyx_GOTREF(__pyx_t_2);
20955
20938
  #endif
20956
20939
  }
@@ -21152,7 +21135,8 @@ static PyObject *__pyx_pf_7biotite_9structure_4sasa_sasa(CYTHON_UNUSED PyObject
21152
21135
  __Pyx_GOTREF(__pyx_t_5);
21153
21136
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
21154
21137
  if (likely(PyList_CheckExact(__pyx_t_5)) || PyTuple_CheckExact(__pyx_t_5)) {
21155
- __pyx_t_4 = __pyx_t_5; __Pyx_INCREF(__pyx_t_4); __pyx_t_6 = 0;
21138
+ __pyx_t_4 = __pyx_t_5; __Pyx_INCREF(__pyx_t_4);
21139
+ __pyx_t_6 = 0;
21156
21140
  __pyx_t_11 = NULL;
21157
21141
  } else {
21158
21142
  __pyx_t_6 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 153, __pyx_L1_error)
@@ -21163,19 +21147,31 @@ static PyObject *__pyx_pf_7biotite_9structure_4sasa_sasa(CYTHON_UNUSED PyObject
21163
21147
  for (;;) {
21164
21148
  if (likely(!__pyx_t_11)) {
21165
21149
  if (likely(PyList_CheckExact(__pyx_t_4))) {
21166
- if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_4)) break;
21150
+ {
21151
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_4);
21152
+ #if !CYTHON_ASSUME_SAFE_MACROS
21153
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 153, __pyx_L1_error)
21154
+ #endif
21155
+ if (__pyx_t_6 >= __pyx_temp) break;
21156
+ }
21167
21157
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
21168
21158
  __pyx_t_5 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_6); __Pyx_INCREF(__pyx_t_5); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(0, 153, __pyx_L1_error)
21169
21159
  #else
21170
- __pyx_t_5 = PySequence_ITEM(__pyx_t_4, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 153, __pyx_L1_error)
21160
+ __pyx_t_5 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 153, __pyx_L1_error)
21171
21161
  __Pyx_GOTREF(__pyx_t_5);
21172
21162
  #endif
21173
21163
  } else {
21174
- if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_4)) break;
21164
+ {
21165
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
21166
+ #if !CYTHON_ASSUME_SAFE_MACROS
21167
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 153, __pyx_L1_error)
21168
+ #endif
21169
+ if (__pyx_t_6 >= __pyx_temp) break;
21170
+ }
21175
21171
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
21176
21172
  __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_6); __Pyx_INCREF(__pyx_t_5); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(0, 153, __pyx_L1_error)
21177
21173
  #else
21178
- __pyx_t_5 = PySequence_ITEM(__pyx_t_4, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 153, __pyx_L1_error)
21174
+ __pyx_t_5 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 153, __pyx_L1_error)
21179
21175
  __Pyx_GOTREF(__pyx_t_5);
21180
21176
  #endif
21181
21177
  }
@@ -21967,7 +21963,7 @@ static PyObject *__pyx_pf_7biotite_9structure_4sasa_sasa(CYTHON_UNUSED PyObject
21967
21963
  }
21968
21964
  #endif
21969
21965
  {
21970
- PyObject *__pyx_callargs[1] = {__pyx_t_12, };
21966
+ PyObject *__pyx_callargs[2] = {__pyx_t_12, NULL};
21971
21967
  __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_7, 0+__pyx_t_7);
21972
21968
  __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
21973
21969
  if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 224, __pyx_L1_error)
@@ -22681,8 +22677,6 @@ static CYTHON_INLINE __pyx_t_7biotite_9structure_4sasa_float32 __pyx_f_7biotite_
22681
22677
  __pyx_t_7biotite_9structure_4sasa_float32 __pyx_v_dy;
22682
22678
  __pyx_t_7biotite_9structure_4sasa_float32 __pyx_v_dz;
22683
22679
  __pyx_t_7biotite_9structure_4sasa_float32 __pyx_r;
22684
- __Pyx_RefNannyDeclarations
22685
- __Pyx_RefNannySetupContext("distance_sq", 0);
22686
22680
 
22687
22681
  /* "biotite/structure/sasa.pyx":304
22688
22682
  * cdef inline float32 distance_sq(float32 x1, float32 y1, float32 z1,
@@ -22731,7 +22725,6 @@ static CYTHON_INLINE __pyx_t_7biotite_9structure_4sasa_float32 __pyx_f_7biotite_
22731
22725
 
22732
22726
  /* function exit code */
22733
22727
  __pyx_L0:;
22734
- __Pyx_RefNannyFinishContext();
22735
22728
  return __pyx_r;
22736
22729
  }
22737
22730
 
@@ -22776,8 +22769,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
22776
22769
  #if CYTHON_ASSUME_SAFE_MACROS
22777
22770
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
22778
22771
  #else
22779
- __pyx_nargs = PyTuple_Size(__pyx_args);
22780
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 310, __pyx_L3_error)
22772
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
22781
22773
  #endif
22782
22774
  #endif
22783
22775
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -22812,10 +22804,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
22812
22804
  }
22813
22805
  __pyx_v_n = values[0];
22814
22806
  }
22815
- goto __pyx_L4_argument_unpacking_done;
22807
+ goto __pyx_L6_skip;
22816
22808
  __pyx_L5_argtuple_error:;
22817
22809
  __Pyx_RaiseArgtupleInvalid("_create_fibonacci_points", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 310, __pyx_L3_error)
22818
- goto __pyx_L3_error;
22810
+ __pyx_L6_skip:;
22811
+ goto __pyx_L4_argument_unpacking_done;
22819
22812
  __pyx_L3_error:;
22820
22813
  {
22821
22814
  Py_ssize_t __pyx_temp;
@@ -22856,7 +22849,7 @@ static PyObject *__pyx_pf_7biotite_9structure_4sasa_2_create_fibonacci_points(CY
22856
22849
  int __pyx_lineno = 0;
22857
22850
  const char *__pyx_filename = NULL;
22858
22851
  int __pyx_clineno = 0;
22859
- __Pyx_RefNannySetupContext("_create_fibonacci_points", 0);
22852
+ __Pyx_RefNannySetupContext("_create_fibonacci_points", 1);
22860
22853
 
22861
22854
  /* "biotite/structure/sasa.pyx":315
22862
22855
  * using a golden section spiral.
@@ -24454,7 +24447,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
24454
24447
  __Pyx_GOTREF(__pyx_tuple__8);
24455
24448
  __Pyx_GIVEREF(__pyx_tuple__8);
24456
24449
 
24457
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":987
24450
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":987
24458
24451
  * __pyx_import_array()
24459
24452
  * except Exception:
24460
24453
  * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@@ -24465,7 +24458,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
24465
24458
  __Pyx_GOTREF(__pyx_tuple__9);
24466
24459
  __Pyx_GIVEREF(__pyx_tuple__9);
24467
24460
 
24468
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":993
24461
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":993
24469
24462
  * _import_umath()
24470
24463
  * except Exception:
24471
24464
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -24907,33 +24900,33 @@ static int __Pyx_modinit_type_import_code(void) {
24907
24900
  /*--- Type import code ---*/
24908
24901
  __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 9, __pyx_L1_error)
24909
24902
  __Pyx_GOTREF(__pyx_t_1);
24910
- __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_2(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
24903
+ __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_10(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
24911
24904
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
24912
- sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyTypeObject),
24905
+ sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
24913
24906
  #elif CYTHON_COMPILING_IN_LIMITED_API
24914
- sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyTypeObject),
24907
+ sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
24915
24908
  #else
24916
- sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyHeapTypeObject),
24909
+ sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyHeapTypeObject),
24917
24910
  #endif
24918
- __Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
24911
+ __Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
24919
24912
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24920
24913
  __pyx_t_1 = PyImport_ImportModule("numpy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 203, __pyx_L1_error)
24921
24914
  __Pyx_GOTREF(__pyx_t_1);
24922
- __pyx_ptype_5numpy_dtype = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "dtype", sizeof(PyArray_Descr), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyArray_Descr),__Pyx_ImportType_CheckSize_Ignore_3_0_2); if (!__pyx_ptype_5numpy_dtype) __PYX_ERR(2, 203, __pyx_L1_error)
24923
- __pyx_ptype_5numpy_flatiter = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "flatiter", sizeof(PyArrayIterObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyArrayIterObject),__Pyx_ImportType_CheckSize_Ignore_3_0_2); if (!__pyx_ptype_5numpy_flatiter) __PYX_ERR(2, 226, __pyx_L1_error)
24924
- __pyx_ptype_5numpy_broadcast = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "broadcast", sizeof(PyArrayMultiIterObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyArrayMultiIterObject),__Pyx_ImportType_CheckSize_Ignore_3_0_2); if (!__pyx_ptype_5numpy_broadcast) __PYX_ERR(2, 230, __pyx_L1_error)
24925
- __pyx_ptype_5numpy_ndarray = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "ndarray", sizeof(PyArrayObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyArrayObject),__Pyx_ImportType_CheckSize_Ignore_3_0_2); if (!__pyx_ptype_5numpy_ndarray) __PYX_ERR(2, 239, __pyx_L1_error)
24926
- __pyx_ptype_5numpy_generic = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "generic", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_5numpy_generic) __PYX_ERR(2, 813, __pyx_L1_error)
24927
- __pyx_ptype_5numpy_number = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "number", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_5numpy_number) __PYX_ERR(2, 815, __pyx_L1_error)
24928
- __pyx_ptype_5numpy_integer = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "integer", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_5numpy_integer) __PYX_ERR(2, 817, __pyx_L1_error)
24929
- __pyx_ptype_5numpy_signedinteger = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "signedinteger", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_5numpy_signedinteger) __PYX_ERR(2, 819, __pyx_L1_error)
24930
- __pyx_ptype_5numpy_unsignedinteger = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "unsignedinteger", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_5numpy_unsignedinteger) __PYX_ERR(2, 821, __pyx_L1_error)
24931
- __pyx_ptype_5numpy_inexact = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "inexact", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_5numpy_inexact) __PYX_ERR(2, 823, __pyx_L1_error)
24932
- __pyx_ptype_5numpy_floating = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "floating", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_5numpy_floating) __PYX_ERR(2, 825, __pyx_L1_error)
24933
- __pyx_ptype_5numpy_complexfloating = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "complexfloating", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_5numpy_complexfloating) __PYX_ERR(2, 827, __pyx_L1_error)
24934
- __pyx_ptype_5numpy_flexible = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "flexible", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_5numpy_flexible) __PYX_ERR(2, 829, __pyx_L1_error)
24935
- __pyx_ptype_5numpy_character = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "character", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_5numpy_character) __PYX_ERR(2, 831, __pyx_L1_error)
24936
- __pyx_ptype_5numpy_ufunc = __Pyx_ImportType_3_0_2(__pyx_t_1, "numpy", "ufunc", sizeof(PyUFuncObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyUFuncObject),__Pyx_ImportType_CheckSize_Ignore_3_0_2); if (!__pyx_ptype_5numpy_ufunc) __PYX_ERR(2, 869, __pyx_L1_error)
24915
+ __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)
24916
+ __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)
24917
+ __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)
24918
+ __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)
24919
+ __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)
24920
+ __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)
24921
+ __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)
24922
+ __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)
24923
+ __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)
24924
+ __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)
24925
+ __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)
24926
+ __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)
24927
+ __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)
24928
+ __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)
24929
+ __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)
24937
24930
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24938
24931
  __Pyx_RefNannyFinishContext();
24939
24932
  return 0;
@@ -25154,7 +25147,7 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_sasa(PyObject *__pyx_pyinit_module
25154
25147
  __pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
25155
25148
  {
25156
25149
  int add_module_result = PyState_AddModule(__pyx_t_1, &__pyx_moduledef);
25157
- __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to sasa pseudovariable */
25150
+ __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "sasa" pseudovariable */
25158
25151
  if (unlikely((add_module_result < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
25159
25152
  pystate_addmodule_run = 1;
25160
25153
  }
@@ -25166,10 +25159,8 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_sasa(PyObject *__pyx_pyinit_module
25166
25159
  CYTHON_UNUSED_VAR(__pyx_t_1);
25167
25160
  __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
25168
25161
  Py_INCREF(__pyx_d);
25169
- __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
25170
- Py_INCREF(__pyx_b);
25171
- __pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
25172
- Py_INCREF(__pyx_cython_runtime);
25162
+ __pyx_b = __Pyx_PyImport_AddModuleRef(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
25163
+ __pyx_cython_runtime = __Pyx_PyImport_AddModuleRef((const char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
25173
25164
  if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
25174
25165
  #if CYTHON_REFNANNY
25175
25166
  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
@@ -25181,7 +25172,7 @@ if (!__Pyx_RefNanny) {
25181
25172
  }
25182
25173
  #endif
25183
25174
  __Pyx_RefNannySetupContext("__Pyx_PyMODINIT_FUNC PyInit_sasa(void)", 0);
25184
- if (__Pyx_check_binary_version() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
25175
+ 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)
25185
25176
  #ifdef __Pxy_PyFrame_Initialize_Offsets
25186
25177
  __Pxy_PyFrame_Initialize_Offsets();
25187
25178
  #endif
@@ -26088,6 +26079,8 @@ static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObjec
26088
26079
  tmp_value = tstate->current_exception;
26089
26080
  tstate->current_exception = value;
26090
26081
  Py_XDECREF(tmp_value);
26082
+ Py_XDECREF(type);
26083
+ Py_XDECREF(tb);
26091
26084
  #else
26092
26085
  PyObject *tmp_type, *tmp_value, *tmp_tb;
26093
26086
  tmp_type = tstate->curexc_type;
@@ -26145,14 +26138,20 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject
26145
26138
  #endif
26146
26139
 
26147
26140
  /* PyObjectGetAttrStrNoError */
26141
+ #if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
26148
26142
  static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) {
26149
26143
  __Pyx_PyThreadState_declare
26150
26144
  __Pyx_PyThreadState_assign
26151
26145
  if (likely(__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
26152
26146
  __Pyx_PyErr_Clear();
26153
26147
  }
26148
+ #endif
26154
26149
  static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name) {
26155
26150
  PyObject *result;
26151
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
26152
+ (void) PyObject_GetOptionalAttr(obj, attr_name, &result);
26153
+ return result;
26154
+ #else
26156
26155
  #if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_TYPE_SLOTS && PY_VERSION_HEX >= 0x030700B1
26157
26156
  PyTypeObject* tp = Py_TYPE(obj);
26158
26157
  if (likely(tp->tp_getattro == PyObject_GenericGetAttr)) {
@@ -26164,6 +26163,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, P
26164
26163
  __Pyx_PyObject_GetAttrStr_ClearAttributeError();
26165
26164
  }
26166
26165
  return result;
26166
+ #endif
26167
26167
  }
26168
26168
 
26169
26169
  /* GetBuiltinName */
@@ -26379,13 +26379,31 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO
26379
26379
  {
26380
26380
  int eq = __Pyx_PyUnicode_Equals(s, PyTuple_GET_ITEM(kwnames, i), Py_EQ);
26381
26381
  if (unlikely(eq != 0)) {
26382
- if (unlikely(eq < 0)) return NULL; // error
26382
+ if (unlikely(eq < 0)) return NULL;
26383
26383
  return kwvalues[i];
26384
26384
  }
26385
26385
  }
26386
- return NULL; // not found (no exception set)
26386
+ return NULL;
26387
+ }
26388
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
26389
+ CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) {
26390
+ Py_ssize_t i, nkwargs = PyTuple_GET_SIZE(kwnames);
26391
+ PyObject *dict;
26392
+ dict = PyDict_New();
26393
+ if (unlikely(!dict))
26394
+ return NULL;
26395
+ for (i=0; i<nkwargs; i++) {
26396
+ PyObject *key = PyTuple_GET_ITEM(kwnames, i);
26397
+ if (unlikely(PyDict_SetItem(dict, key, kwvalues[i]) < 0))
26398
+ goto bad;
26399
+ }
26400
+ return dict;
26401
+ bad:
26402
+ Py_DECREF(dict);
26403
+ return NULL;
26387
26404
  }
26388
26405
  #endif
26406
+ #endif
26389
26407
 
26390
26408
  /* RaiseArgTupleInvalid */
26391
26409
  static void __Pyx_RaiseArgtupleInvalid(
@@ -26478,7 +26496,7 @@ static int __Pyx_ParseOptionalKeywords(
26478
26496
  if (*name) {
26479
26497
  values[name-argnames] = value;
26480
26498
  #if CYTHON_AVOID_BORROWED_REFS
26481
- Py_INCREF(value); // transfer ownership of value to values
26499
+ Py_INCREF(value);
26482
26500
  Py_DECREF(key);
26483
26501
  #endif
26484
26502
  key = NULL;
@@ -26497,7 +26515,7 @@ static int __Pyx_ParseOptionalKeywords(
26497
26515
  && _PyString_Eq(**name, key)) {
26498
26516
  values[name-argnames] = value;
26499
26517
  #if CYTHON_AVOID_BORROWED_REFS
26500
- value = NULL; // ownership transferred to values
26518
+ value = NULL;
26501
26519
  #endif
26502
26520
  break;
26503
26521
  }
@@ -26529,7 +26547,7 @@ static int __Pyx_ParseOptionalKeywords(
26529
26547
  if (cmp == 0) {
26530
26548
  values[name-argnames] = value;
26531
26549
  #if CYTHON_AVOID_BORROWED_REFS
26532
- value = NULL; // ownership transferred to values
26550
+ value = NULL;
26533
26551
  #endif
26534
26552
  break;
26535
26553
  }
@@ -26816,9 +26834,15 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
26816
26834
  PyObject *result;
26817
26835
  assert(kwargs == NULL || PyDict_Check(kwargs));
26818
26836
  nk = kwargs ? PyDict_Size(kwargs) : 0;
26837
+ #if PY_MAJOR_VERSION < 3
26819
26838
  if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) {
26820
26839
  return NULL;
26821
26840
  }
26841
+ #else
26842
+ if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) {
26843
+ return NULL;
26844
+ }
26845
+ #endif
26822
26846
  if (
26823
26847
  #if PY_MAJOR_VERSION >= 3
26824
26848
  co->co_kwonlyargcount == 0 &&
@@ -26895,8 +26919,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
26895
26919
  ternaryfunc call = Py_TYPE(func)->tp_call;
26896
26920
  if (unlikely(!call))
26897
26921
  return PyObject_Call(func, arg, kw);
26922
+ #if PY_MAJOR_VERSION < 3
26898
26923
  if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
26899
26924
  return NULL;
26925
+ #else
26926
+ if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
26927
+ return NULL;
26928
+ #endif
26900
26929
  result = (*call)(func, arg, kw);
26901
26930
  Py_LeaveRecursiveCall();
26902
26931
  if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
@@ -26913,10 +26942,15 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
26913
26942
  static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
26914
26943
  PyObject *self, *result;
26915
26944
  PyCFunction cfunc;
26916
- cfunc = PyCFunction_GET_FUNCTION(func);
26917
- self = PyCFunction_GET_SELF(func);
26945
+ cfunc = __Pyx_CyOrPyCFunction_GET_FUNCTION(func);
26946
+ self = __Pyx_CyOrPyCFunction_GET_SELF(func);
26947
+ #if PY_MAJOR_VERSION < 3
26918
26948
  if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
26919
26949
  return NULL;
26950
+ #else
26951
+ if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
26952
+ return NULL;
26953
+ #endif
26920
26954
  result = cfunc(self, arg);
26921
26955
  Py_LeaveRecursiveCall();
26922
26956
  if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
@@ -26929,6 +26963,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject
26929
26963
  #endif
26930
26964
 
26931
26965
  /* PyObjectFastCall */
26966
+ #if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API
26932
26967
  static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **args, size_t nargs, PyObject *kwargs) {
26933
26968
  PyObject *argstuple;
26934
26969
  PyObject *result = 0;
@@ -26944,28 +26979,17 @@ static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **arg
26944
26979
  Py_DECREF(argstuple);
26945
26980
  return result;
26946
26981
  }
26982
+ #endif
26947
26983
  static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject **args, size_t _nargs, PyObject *kwargs) {
26948
26984
  Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs);
26949
26985
  #if CYTHON_COMPILING_IN_CPYTHON
26950
26986
  if (nargs == 0 && kwargs == NULL) {
26951
- #if defined(__Pyx_CyFunction_USED) && defined(NDEBUG)
26952
- if (__Pyx_IsCyOrPyCFunction(func))
26953
- #else
26954
- if (PyCFunction_Check(func))
26955
- #endif
26956
- {
26957
- if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
26958
- return __Pyx_PyObject_CallMethO(func, NULL);
26959
- }
26960
- }
26987
+ if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS))
26988
+ return __Pyx_PyObject_CallMethO(func, NULL);
26961
26989
  }
26962
26990
  else if (nargs == 1 && kwargs == NULL) {
26963
- if (PyCFunction_Check(func))
26964
- {
26965
- if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
26966
- return __Pyx_PyObject_CallMethO(func, args[0]);
26967
- }
26968
- }
26991
+ if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_O))
26992
+ return __Pyx_PyObject_CallMethO(func, args[0]);
26969
26993
  }
26970
26994
  #endif
26971
26995
  #if PY_VERSION_HEX < 0x030800B1
@@ -26989,25 +27013,31 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj
26989
27013
  }
26990
27014
  #endif
26991
27015
  #endif
26992
- #if CYTHON_VECTORCALL
26993
- #if Py_VERSION_HEX < 0x03090000
26994
- vectorcallfunc f = _PyVectorcall_Function(func);
26995
- #else
26996
- vectorcallfunc f = PyVectorcall_Function(func);
26997
- #endif
26998
- if (f) {
26999
- return f(func, args, (size_t)nargs, kwargs);
27000
- }
27001
- #elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
27002
- if (__Pyx_CyFunction_CheckExact(func)) {
27003
- __pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
27004
- if (f) return f(func, args, (size_t)nargs, kwargs);
27016
+ if (kwargs == NULL) {
27017
+ #if CYTHON_VECTORCALL
27018
+ #if PY_VERSION_HEX < 0x03090000
27019
+ vectorcallfunc f = _PyVectorcall_Function(func);
27020
+ #else
27021
+ vectorcallfunc f = PyVectorcall_Function(func);
27022
+ #endif
27023
+ if (f) {
27024
+ return f(func, args, (size_t)nargs, NULL);
27025
+ }
27026
+ #elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
27027
+ if (__Pyx_CyFunction_CheckExact(func)) {
27028
+ __pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
27029
+ if (f) return f(func, args, (size_t)nargs, NULL);
27030
+ }
27031
+ #endif
27005
27032
  }
27006
- #endif
27007
27033
  if (nargs == 0) {
27008
27034
  return __Pyx_PyObject_Call(func, __pyx_empty_tuple, kwargs);
27009
27035
  }
27036
+ #if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API
27037
+ return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs);
27038
+ #else
27010
27039
  return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs);
27040
+ #endif
27011
27041
  }
27012
27042
 
27013
27043
  /* RaiseUnexpectedTypeError */
@@ -27310,7 +27340,7 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject* value_tuple, Py_ssize_t value_co
27310
27340
  if (!CYTHON_PEP393_ENABLED || ukind == result_ukind) {
27311
27341
  memcpy((char *)result_udata + (char_pos << kind_shift), udata, (size_t) (ulength << kind_shift));
27312
27342
  } else {
27313
- #if PY_VERSION_HEX >= 0x030D0000
27343
+ #if PY_VERSION_HEX >= 0x030d0000
27314
27344
  if (unlikely(PyUnicode_CopyCharacters(result_uval, char_pos, uval, 0, ulength) < 0)) goto bad;
27315
27345
  #elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030300F0 || defined(_PyUnicode_FastCopyCharacters)
27316
27346
  _PyUnicode_FastCopyCharacters(result_uval, char_pos, uval, 0, ulength);
@@ -27439,7 +27469,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
27439
27469
  }
27440
27470
  }
27441
27471
  #else
27442
- if (is_list || PySequence_Check(o)) {
27472
+ if (is_list || !PyMapping_Check(o)) {
27443
27473
  return PySequence_GetItem(o, i);
27444
27474
  }
27445
27475
  #endif
@@ -27474,7 +27504,9 @@ static PyObject *__Pyx_PyObject_GetItem_Slow(PyObject *obj, PyObject *key) {
27474
27504
  __Pyx_TypeName obj_type_name;
27475
27505
  if (likely(PyType_Check(obj))) {
27476
27506
  PyObject *meth = __Pyx_PyObject_GetAttrStrNoError(obj, __pyx_n_s_class_getitem);
27477
- if (meth) {
27507
+ if (!meth) {
27508
+ PyErr_Clear();
27509
+ } else {
27478
27510
  PyObject *result = __Pyx_PyObject_CallOneArg(meth, key);
27479
27511
  Py_DECREF(meth);
27480
27512
  return result;
@@ -27583,6 +27615,7 @@ static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ssize_t b)
27583
27615
  }
27584
27616
 
27585
27617
  /* GetAttr3 */
27618
+ #if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
27586
27619
  static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
27587
27620
  __Pyx_PyThreadState_declare
27588
27621
  __Pyx_PyThreadState_assign
@@ -27592,9 +27625,14 @@ static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
27592
27625
  Py_INCREF(d);
27593
27626
  return d;
27594
27627
  }
27628
+ #endif
27595
27629
  static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) {
27596
27630
  PyObject *r;
27597
- #if CYTHON_USE_TYPE_SLOTS
27631
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
27632
+ int res = PyObject_GetOptionalAttr(o, n, &r);
27633
+ return (res != 0) ? r : __Pyx_NewRef(d);
27634
+ #else
27635
+ #if CYTHON_USE_TYPE_SLOTS
27598
27636
  if (likely(PyString_Check(n))) {
27599
27637
  r = __Pyx_PyObject_GetAttrStrNoError(o, n);
27600
27638
  if (unlikely(!r) && likely(!PyErr_Occurred())) {
@@ -27602,9 +27640,10 @@ static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject
27602
27640
  }
27603
27641
  return r;
27604
27642
  }
27605
- #endif
27643
+ #endif
27606
27644
  r = PyObject_GetAttr(o, n);
27607
27645
  return (likely(r)) ? r : __Pyx_GetAttr3Default(d);
27646
+ #endif
27608
27647
  }
27609
27648
 
27610
27649
  /* PyDictVersioning */
@@ -27642,7 +27681,7 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name)
27642
27681
  {
27643
27682
  PyObject *result;
27644
27683
  #if !CYTHON_AVOID_BORROWED_REFS
27645
- #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
27684
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && PY_VERSION_HEX < 0x030d0000
27646
27685
  result = _PyDict_GetItem_KnownHash(__pyx_d, name, ((PyASCIIObject *) name)->hash);
27647
27686
  __PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
27648
27687
  if (likely(result)) {
@@ -27968,7 +28007,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
27968
28007
  {
27969
28008
  #if PY_MAJOR_VERSION >= 3
27970
28009
  if (level == -1) {
27971
- if ((1) && (strchr(__Pyx_MODULE_NAME, '.'))) {
28010
+ if (strchr(__Pyx_MODULE_NAME, '.') != NULL) {
27972
28011
  module = PyImport_ImportModuleLevelObject(
27973
28012
  name, __pyx_d, empty_dict, from_list, 1);
27974
28013
  if (unlikely(!module)) {
@@ -28131,16 +28170,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
28131
28170
  return __Pyx__ImportDottedModule(name, parts_tuple);
28132
28171
  }
28133
28172
 
28134
- /* ssize_strlen */
28135
- static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
28136
- size_t len = strlen(s);
28137
- if (unlikely(len > PY_SSIZE_T_MAX)) {
28138
- PyErr_SetString(PyExc_OverflowError, "byte string is too long");
28139
- return -1;
28140
- }
28141
- return (Py_ssize_t) len;
28142
- }
28143
-
28144
28173
  /* FastTypeChecks */
28145
28174
  #if CYTHON_COMPILING_IN_CPYTHON
28146
28175
  static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
@@ -28324,11 +28353,7 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
28324
28353
  }
28325
28354
  }
28326
28355
  #else
28327
- #if CYTHON_COMPILING_IN_PYPY
28328
- if (is_list || (PySequence_Check(o) && !PyDict_Check(o)))
28329
- #else
28330
- if (is_list || PySequence_Check(o))
28331
- #endif
28356
+ if (is_list || !PyMapping_Check(o))
28332
28357
  {
28333
28358
  return PySequence_SetItem(o, i, v);
28334
28359
  }
@@ -28393,6 +28418,7 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
28393
28418
  }
28394
28419
 
28395
28420
  /* HasAttr */
28421
+ #if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
28396
28422
  static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
28397
28423
  PyObject *r;
28398
28424
  if (unlikely(!__Pyx_PyBaseString_Check(n))) {
@@ -28409,6 +28435,7 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
28409
28435
  return 1;
28410
28436
  }
28411
28437
  }
28438
+ #endif
28412
28439
 
28413
28440
  /* PyIntBinop */
28414
28441
  #if !CYTHON_COMPILING_IN_PYPY
@@ -29036,8 +29063,8 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
29036
29063
 
29037
29064
  /* PyObjectCallNoArg */
29038
29065
  static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
29039
- PyObject *arg = NULL;
29040
- return __Pyx_PyObject_FastCall(func, (&arg)+1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
29066
+ PyObject *arg[2] = {NULL, NULL};
29067
+ return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
29041
29068
  }
29042
29069
 
29043
29070
  /* PyObjectGetMethod */
@@ -29202,38 +29229,38 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
29202
29229
  #endif
29203
29230
  return -1;
29204
29231
  }
29205
- #if !CYTHON_USE_TYPE_SLOTS
29206
- if (dictoffset == 0) {
29207
- PyErr_Format(PyExc_TypeError,
29208
- "extension type '%s.200s': "
29209
- "unable to validate whether bases have a __dict__ "
29210
- "when CYTHON_USE_TYPE_SLOTS is off "
29211
- "(likely because you are building in the limited API). "
29212
- "Therefore, all extension types with multiple bases "
29213
- "must add 'cdef dict __dict__' in this compilation mode",
29214
- type_name);
29215
- #if CYTHON_AVOID_BORROWED_REFS
29216
- Py_DECREF(b0);
29217
- #endif
29218
- return -1;
29219
- }
29220
- #else
29221
- if (dictoffset == 0 && b->tp_dictoffset)
29232
+ if (dictoffset == 0)
29222
29233
  {
29223
- __Pyx_TypeName b_name = __Pyx_PyType_GetName(b);
29224
- PyErr_Format(PyExc_TypeError,
29225
- "extension type '%.200s' has no __dict__ slot, "
29226
- "but base type '" __Pyx_FMT_TYPENAME "' has: "
29227
- "either add 'cdef dict __dict__' to the extension type "
29228
- "or add '__slots__ = [...]' to the base type",
29229
- type_name, b_name);
29230
- __Pyx_DECREF_TypeName(b_name);
29234
+ Py_ssize_t b_dictoffset = 0;
29235
+ #if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY
29236
+ b_dictoffset = b->tp_dictoffset;
29237
+ #else
29238
+ PyObject *py_b_dictoffset = PyObject_GetAttrString((PyObject*)b, "__dictoffset__");
29239
+ if (!py_b_dictoffset) goto dictoffset_return;
29240
+ b_dictoffset = PyLong_AsSsize_t(py_b_dictoffset);
29241
+ Py_DECREF(py_b_dictoffset);
29242
+ if (b_dictoffset == -1 && PyErr_Occurred()) goto dictoffset_return;
29243
+ #endif
29244
+ if (b_dictoffset) {
29245
+ {
29246
+ __Pyx_TypeName b_name = __Pyx_PyType_GetName(b);
29247
+ PyErr_Format(PyExc_TypeError,
29248
+ "extension type '%.200s' has no __dict__ slot, "
29249
+ "but base type '" __Pyx_FMT_TYPENAME "' has: "
29250
+ "either add 'cdef dict __dict__' to the extension type "
29251
+ "or add '__slots__ = [...]' to the base type",
29252
+ type_name, b_name);
29253
+ __Pyx_DECREF_TypeName(b_name);
29254
+ }
29255
+ #if !(CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY)
29256
+ dictoffset_return:
29257
+ #endif
29231
29258
  #if CYTHON_AVOID_BORROWED_REFS
29232
- Py_DECREF(b0);
29259
+ Py_DECREF(b0);
29233
29260
  #endif
29234
- return -1;
29261
+ return -1;
29262
+ }
29235
29263
  }
29236
- #endif
29237
29264
  #if CYTHON_AVOID_BORROWED_REFS
29238
29265
  Py_DECREF(b0);
29239
29266
  #endif
@@ -29527,10 +29554,10 @@ __PYX_GOOD:
29527
29554
  #endif
29528
29555
 
29529
29556
  /* TypeImport */
29530
- #ifndef __PYX_HAVE_RT_ImportType_3_0_2
29531
- #define __PYX_HAVE_RT_ImportType_3_0_2
29532
- static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module_name, const char *class_name,
29533
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_2 check_size)
29557
+ #ifndef __PYX_HAVE_RT_ImportType_3_0_10
29558
+ #define __PYX_HAVE_RT_ImportType_3_0_10
29559
+ static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject *module, const char *module_name, const char *class_name,
29560
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_10 check_size)
29534
29561
  {
29535
29562
  PyObject *result = 0;
29536
29563
  char warning[200];
@@ -29584,7 +29611,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
29584
29611
  module_name, class_name, size, basicsize+itemsize);
29585
29612
  goto bad;
29586
29613
  }
29587
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_2 &&
29614
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_10 &&
29588
29615
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
29589
29616
  PyErr_Format(PyExc_ValueError,
29590
29617
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -29592,7 +29619,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
29592
29619
  module_name, class_name, size, basicsize, basicsize+itemsize);
29593
29620
  goto bad;
29594
29621
  }
29595
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_2 && (size_t)basicsize > size) {
29622
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_10 && (size_t)basicsize > size) {
29596
29623
  PyOS_snprintf(warning, sizeof(warning),
29597
29624
  "%s.%s size changed, may indicate binary incompatibility. "
29598
29625
  "Expected %zd from C header, got %zd from PyObject",
@@ -29608,10 +29635,7 @@ bad:
29608
29635
 
29609
29636
  /* FetchSharedCythonModule */
29610
29637
  static PyObject *__Pyx_FetchSharedCythonABIModule(void) {
29611
- PyObject *abi_module = PyImport_AddModule((char*) __PYX_ABI_MODULE_NAME);
29612
- if (unlikely(!abi_module)) return NULL;
29613
- Py_INCREF(abi_module);
29614
- return abi_module;
29638
+ return __Pyx_PyImport_AddModuleRef((char*) __PYX_ABI_MODULE_NAME);
29615
29639
  }
29616
29640
 
29617
29641
  /* FetchCommonType */
@@ -29772,6 +29796,20 @@ static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, _
29772
29796
  #endif
29773
29797
 
29774
29798
  /* CythonFunctionShared */
29799
+ #if CYTHON_COMPILING_IN_LIMITED_API
29800
+ static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
29801
+ if (__Pyx_CyFunction_Check(func)) {
29802
+ return PyCFunction_GetFunction(((__pyx_CyFunctionObject*)func)->func) == (PyCFunction) cfunc;
29803
+ } else if (PyCFunction_Check(func)) {
29804
+ return PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
29805
+ }
29806
+ return 0;
29807
+ }
29808
+ #else
29809
+ static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
29810
+ return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
29811
+ }
29812
+ #endif
29775
29813
  static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) {
29776
29814
  #if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API
29777
29815
  __Pyx_Py_XDECREF_SET(
@@ -30581,7 +30619,7 @@ static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func,
30581
30619
  default:
30582
30620
  return NULL;
30583
30621
  }
30584
- return ((_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames);
30622
+ return ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames);
30585
30623
  }
30586
30624
  static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
30587
30625
  {
@@ -30920,8 +30958,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
30920
30958
  Py_DECREF(replace);
30921
30959
  return result;
30922
30960
  }
30923
- #if __PYX_LIMITED_VERSION_HEX < 0x030780000
30924
30961
  PyErr_Clear();
30962
+ #if __PYX_LIMITED_VERSION_HEX < 0x030780000
30925
30963
  {
30926
30964
  PyObject *compiled = NULL, *result = NULL;
30927
30965
  if (unlikely(PyDict_SetItemString(scratch_dict, "code", code))) return NULL;
@@ -30941,6 +30979,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
30941
30979
  if (result) Py_INCREF(result);
30942
30980
  return result;
30943
30981
  }
30982
+ #else
30983
+ return NULL;
30944
30984
  #endif
30945
30985
  }
30946
30986
  static void __Pyx_AddTraceback(const char *funcname, int c_line,
@@ -31038,7 +31078,7 @@ static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
31038
31078
  #else
31039
31079
  py_code = PyCode_NewEmpty(filename, funcname, py_line);
31040
31080
  #endif
31041
- Py_XDECREF(py_funcname); // XDECREF since it's only set on Py3 if cline
31081
+ Py_XDECREF(py_funcname);
31042
31082
  return py_code;
31043
31083
  bad:
31044
31084
  Py_XDECREF(py_funcname);
@@ -32722,7 +32762,7 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
32722
32762
  #endif
32723
32763
  if (likely(v)) {
32724
32764
  int ret = -1;
32725
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
32765
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
32726
32766
  int one = 1; int is_little = (int)*(unsigned char *)&one;
32727
32767
  unsigned char *bytes = (unsigned char *)&val;
32728
32768
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -32858,13 +32898,13 @@ raise_neg_overflow:
32858
32898
  {
32859
32899
  int one = 1; int little = (int)*(unsigned char *)&one;
32860
32900
  unsigned char *bytes = (unsigned char *)&value;
32861
- #if !CYTHON_COMPILING_IN_LIMITED_API
32901
+ #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
32862
32902
  return _PyLong_FromByteArray(bytes, sizeof(int),
32863
32903
  little, !is_unsigned);
32864
32904
  #else
32865
32905
  PyObject *from_bytes, *result = NULL;
32866
32906
  PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
32867
- from_bytes = PyObject_GetAttrString((PyObject*)&PyInt_Type, "from_bytes");
32907
+ from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
32868
32908
  if (!from_bytes) return NULL;
32869
32909
  py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(int));
32870
32910
  if (!py_bytes) goto limited_bad;
@@ -32872,16 +32912,18 @@ raise_neg_overflow:
32872
32912
  if (!order_str) goto limited_bad;
32873
32913
  arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
32874
32914
  if (!arg_tuple) goto limited_bad;
32875
- kwds = PyDict_New();
32876
- if (!kwds) goto limited_bad;
32877
- if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(!is_unsigned ? Py_True : Py_False))) goto limited_bad;
32915
+ if (!is_unsigned) {
32916
+ kwds = PyDict_New();
32917
+ if (!kwds) goto limited_bad;
32918
+ if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
32919
+ }
32878
32920
  result = PyObject_Call(from_bytes, arg_tuple, kwds);
32879
32921
  limited_bad:
32880
- Py_XDECREF(from_bytes);
32881
- Py_XDECREF(py_bytes);
32882
- Py_XDECREF(order_str);
32883
- Py_XDECREF(arg_tuple);
32884
32922
  Py_XDECREF(kwds);
32923
+ Py_XDECREF(arg_tuple);
32924
+ Py_XDECREF(order_str);
32925
+ Py_XDECREF(py_bytes);
32926
+ Py_XDECREF(from_bytes);
32885
32927
  return result;
32886
32928
  #endif
32887
32929
  }
@@ -33057,7 +33099,7 @@ raise_neg_overflow:
33057
33099
  #endif
33058
33100
  if (likely(v)) {
33059
33101
  int ret = -1;
33060
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
33102
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
33061
33103
  int one = 1; int is_little = (int)*(unsigned char *)&one;
33062
33104
  unsigned char *bytes = (unsigned char *)&val;
33063
33105
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -33193,13 +33235,13 @@ raise_neg_overflow:
33193
33235
  {
33194
33236
  int one = 1; int little = (int)*(unsigned char *)&one;
33195
33237
  unsigned char *bytes = (unsigned char *)&value;
33196
- #if !CYTHON_COMPILING_IN_LIMITED_API
33238
+ #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
33197
33239
  return _PyLong_FromByteArray(bytes, sizeof(long),
33198
33240
  little, !is_unsigned);
33199
33241
  #else
33200
33242
  PyObject *from_bytes, *result = NULL;
33201
33243
  PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
33202
- from_bytes = PyObject_GetAttrString((PyObject*)&PyInt_Type, "from_bytes");
33244
+ from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
33203
33245
  if (!from_bytes) return NULL;
33204
33246
  py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long));
33205
33247
  if (!py_bytes) goto limited_bad;
@@ -33207,16 +33249,18 @@ raise_neg_overflow:
33207
33249
  if (!order_str) goto limited_bad;
33208
33250
  arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
33209
33251
  if (!arg_tuple) goto limited_bad;
33210
- kwds = PyDict_New();
33211
- if (!kwds) goto limited_bad;
33212
- if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(!is_unsigned ? Py_True : Py_False))) goto limited_bad;
33252
+ if (!is_unsigned) {
33253
+ kwds = PyDict_New();
33254
+ if (!kwds) goto limited_bad;
33255
+ if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
33256
+ }
33213
33257
  result = PyObject_Call(from_bytes, arg_tuple, kwds);
33214
33258
  limited_bad:
33215
- Py_XDECREF(from_bytes);
33216
- Py_XDECREF(py_bytes);
33217
- Py_XDECREF(order_str);
33218
- Py_XDECREF(arg_tuple);
33219
33259
  Py_XDECREF(kwds);
33260
+ Py_XDECREF(arg_tuple);
33261
+ Py_XDECREF(order_str);
33262
+ Py_XDECREF(py_bytes);
33263
+ Py_XDECREF(from_bytes);
33220
33264
  return result;
33221
33265
  #endif
33222
33266
  }
@@ -33392,7 +33436,7 @@ raise_neg_overflow:
33392
33436
  #endif
33393
33437
  if (likely(v)) {
33394
33438
  int ret = -1;
33395
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
33439
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
33396
33440
  int one = 1; int is_little = (int)*(unsigned char *)&one;
33397
33441
  unsigned char *bytes = (unsigned char *)&val;
33398
33442
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -33512,41 +33556,50 @@ __Pyx_PyType_GetName(PyTypeObject* tp)
33512
33556
  #endif
33513
33557
 
33514
33558
  /* CheckBinaryVersion */
33515
- static int __Pyx_check_binary_version(void) {
33516
- char ctversion[5];
33517
- int same=1, i, found_dot;
33518
- const char* rt_from_call = Py_GetVersion();
33519
- PyOS_snprintf(ctversion, 5, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
33520
- found_dot = 0;
33521
- for (i = 0; i < 4; i++) {
33522
- if (!ctversion[i]) {
33523
- same = (rt_from_call[i] < '0' || rt_from_call[i] > '9');
33524
- break;
33559
+ static unsigned long __Pyx_get_runtime_version(void) {
33560
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030B00A4
33561
+ return Py_Version & ~0xFFUL;
33562
+ #else
33563
+ const char* rt_version = Py_GetVersion();
33564
+ unsigned long version = 0;
33565
+ unsigned long factor = 0x01000000UL;
33566
+ unsigned int digit = 0;
33567
+ int i = 0;
33568
+ while (factor) {
33569
+ while ('0' <= rt_version[i] && rt_version[i] <= '9') {
33570
+ digit = digit * 10 + (unsigned int) (rt_version[i] - '0');
33571
+ ++i;
33525
33572
  }
33526
- if (rt_from_call[i] != ctversion[i]) {
33527
- same = 0;
33573
+ version += factor * digit;
33574
+ if (rt_version[i] != '.')
33528
33575
  break;
33529
- }
33576
+ digit = 0;
33577
+ factor >>= 8;
33578
+ ++i;
33530
33579
  }
33531
- if (!same) {
33532
- char rtversion[5] = {'\0'};
33580
+ return version;
33581
+ #endif
33582
+ }
33583
+ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer) {
33584
+ const unsigned long MAJOR_MINOR = 0xFFFF0000UL;
33585
+ if ((rt_version & MAJOR_MINOR) == (ct_version & MAJOR_MINOR))
33586
+ return 0;
33587
+ if (likely(allow_newer && (rt_version & MAJOR_MINOR) > (ct_version & MAJOR_MINOR)))
33588
+ return 1;
33589
+ {
33533
33590
  char message[200];
33534
- for (i=0; i<4; ++i) {
33535
- if (rt_from_call[i] == '.') {
33536
- if (found_dot) break;
33537
- found_dot = 1;
33538
- } else if (rt_from_call[i] < '0' || rt_from_call[i] > '9') {
33539
- break;
33540
- }
33541
- rtversion[i] = rt_from_call[i];
33542
- }
33543
33591
  PyOS_snprintf(message, sizeof(message),
33544
- "compile time version %s of module '%.100s' "
33545
- "does not match runtime version %s",
33546
- ctversion, __Pyx_MODULE_NAME, rtversion);
33592
+ "compile time Python version %d.%d "
33593
+ "of module '%.100s' "
33594
+ "%s "
33595
+ "runtime version %d.%d",
33596
+ (int) (ct_version >> 24), (int) ((ct_version >> 16) & 0xFF),
33597
+ __Pyx_MODULE_NAME,
33598
+ (allow_newer) ? "was newer than" : "does not match",
33599
+ (int) (rt_version >> 24), (int) ((rt_version >> 16) & 0xFF)
33600
+ );
33547
33601
  return PyErr_WarnEx(NULL, message, 1);
33548
33602
  }
33549
- return 0;
33550
33603
  }
33551
33604
 
33552
33605
  /* InitStrings */
@@ -33592,8 +33645,24 @@ static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
33592
33645
  return 0;
33593
33646
  }
33594
33647
 
33648
+ #include <string.h>
33649
+ static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
33650
+ size_t len = strlen(s);
33651
+ if (unlikely(len > (size_t) PY_SSIZE_T_MAX)) {
33652
+ PyErr_SetString(PyExc_OverflowError, "byte string is too long");
33653
+ return -1;
33654
+ }
33655
+ return (Py_ssize_t) len;
33656
+ }
33595
33657
  static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
33596
- return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
33658
+ Py_ssize_t len = __Pyx_ssize_strlen(c_str);
33659
+ if (unlikely(len < 0)) return NULL;
33660
+ return __Pyx_PyUnicode_FromStringAndSize(c_str, len);
33661
+ }
33662
+ static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char* c_str) {
33663
+ Py_ssize_t len = __Pyx_ssize_strlen(c_str);
33664
+ if (unlikely(len < 0)) return NULL;
33665
+ return PyByteArray_FromStringAndSize(c_str, len);
33597
33666
  }
33598
33667
  static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
33599
33668
  Py_ssize_t ignore;