biotite 0.38.0__cp310-cp310-macosx_11_0_arm64.whl → 0.40.0__cp310-cp310-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of biotite might be problematic. Click here for more details.

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.cpython-310-darwin.so +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.cpython-310-darwin.so +0 -0
  21. biotite/sequence/align/kmersimilarity.c +713 -663
  22. biotite/sequence/align/kmersimilarity.cpython-310-darwin.so +0 -0
  23. biotite/sequence/align/kmertable.cpp +68398 -0
  24. biotite/sequence/align/kmertable.cpython-310-darwin.so +0 -0
  25. biotite/sequence/align/localgapped.c +1507 -1074
  26. biotite/sequence/align/localgapped.cpython-310-darwin.so +0 -0
  27. biotite/sequence/align/localungapped.c +1143 -833
  28. biotite/sequence/align/localungapped.cpython-310-darwin.so +0 -0
  29. biotite/sequence/align/multiple.c +1569 -1092
  30. biotite/sequence/align/multiple.cpython-310-darwin.so +0 -0
  31. biotite/sequence/align/pairwise.c +1612 -1212
  32. biotite/sequence/align/pairwise.cpython-310-darwin.so +0 -0
  33. biotite/sequence/align/permutation.c +33259 -0
  34. biotite/sequence/align/permutation.cpython-310-darwin.so +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.cpython-310-darwin.so +0 -0
  38. biotite/sequence/align/tracetable.c +685 -646
  39. biotite/sequence/align/tracetable.cpython-310-darwin.so +0 -0
  40. biotite/sequence/codec.c +1159 -841
  41. biotite/sequence/codec.cpython-310-darwin.so +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.cpython-310-darwin.so +0 -0
  46. biotite/sequence/phylo/tree.c +970 -673
  47. biotite/sequence/phylo/tree.cpython-310-darwin.so +0 -0
  48. biotite/sequence/phylo/upgma.c +672 -626
  49. biotite/sequence/phylo/upgma.cpython-310-darwin.so +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.cpython-310-darwin.so +0 -0
  55. biotite/structure/celllist.c +727 -707
  56. biotite/structure/celllist.cpython-310-darwin.so +0 -0
  57. biotite/structure/charges.c +1561 -1560
  58. biotite/structure/charges.cpython-310-darwin.so +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.cpython-310-darwin.so +0 -0
  79. biotite/structure/io/mmtf/convertfile.c +725 -676
  80. biotite/structure/io/mmtf/convertfile.cpython-310-darwin.so +0 -0
  81. biotite/structure/io/mmtf/decode.c +1070 -754
  82. biotite/structure/io/mmtf/decode.cpython-310-darwin.so +0 -0
  83. biotite/structure/io/mmtf/encode.c +727 -677
  84. biotite/structure/io/mmtf/encode.cpython-310-darwin.so +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.cpython-310-darwin.so +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.cpython-310-darwin.so +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.cpython-310-darwin.so +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
@@ -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
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":732
1666
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":732
1607
1667
  * # in Cython to enable them only on the right systems.
1608
1668
  *
1609
1669
  * ctypedef npy_int8 int8_t # <<<<<<<<<<<<<<
@@ -1612,7 +1672,7 @@ typedef struct {
1612
1672
  */
1613
1673
  typedef npy_int8 __pyx_t_5numpy_int8_t;
1614
1674
 
1615
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":733
1675
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":733
1616
1676
  *
1617
1677
  * ctypedef npy_int8 int8_t
1618
1678
  * ctypedef npy_int16 int16_t # <<<<<<<<<<<<<<
@@ -1621,7 +1681,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t;
1621
1681
  */
1622
1682
  typedef npy_int16 __pyx_t_5numpy_int16_t;
1623
1683
 
1624
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":734
1684
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":734
1625
1685
  * ctypedef npy_int8 int8_t
1626
1686
  * ctypedef npy_int16 int16_t
1627
1687
  * ctypedef npy_int32 int32_t # <<<<<<<<<<<<<<
@@ -1630,7 +1690,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t;
1630
1690
  */
1631
1691
  typedef npy_int32 __pyx_t_5numpy_int32_t;
1632
1692
 
1633
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":735
1693
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":735
1634
1694
  * ctypedef npy_int16 int16_t
1635
1695
  * ctypedef npy_int32 int32_t
1636
1696
  * ctypedef npy_int64 int64_t # <<<<<<<<<<<<<<
@@ -1639,7 +1699,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t;
1639
1699
  */
1640
1700
  typedef npy_int64 __pyx_t_5numpy_int64_t;
1641
1701
 
1642
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":739
1702
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":739
1643
1703
  * #ctypedef npy_int128 int128_t
1644
1704
  *
1645
1705
  * ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<<
@@ -1648,7 +1708,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t;
1648
1708
  */
1649
1709
  typedef npy_uint8 __pyx_t_5numpy_uint8_t;
1650
1710
 
1651
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":740
1711
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":740
1652
1712
  *
1653
1713
  * ctypedef npy_uint8 uint8_t
1654
1714
  * ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<<
@@ -1657,7 +1717,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
1657
1717
  */
1658
1718
  typedef npy_uint16 __pyx_t_5numpy_uint16_t;
1659
1719
 
1660
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":741
1720
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":741
1661
1721
  * ctypedef npy_uint8 uint8_t
1662
1722
  * ctypedef npy_uint16 uint16_t
1663
1723
  * ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<<
@@ -1666,7 +1726,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
1666
1726
  */
1667
1727
  typedef npy_uint32 __pyx_t_5numpy_uint32_t;
1668
1728
 
1669
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":742
1729
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":742
1670
1730
  * ctypedef npy_uint16 uint16_t
1671
1731
  * ctypedef npy_uint32 uint32_t
1672
1732
  * ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<<
@@ -1675,7 +1735,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
1675
1735
  */
1676
1736
  typedef npy_uint64 __pyx_t_5numpy_uint64_t;
1677
1737
 
1678
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":746
1738
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":746
1679
1739
  * #ctypedef npy_uint128 uint128_t
1680
1740
  *
1681
1741
  * ctypedef npy_float32 float32_t # <<<<<<<<<<<<<<
@@ -1684,7 +1744,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
1684
1744
  */
1685
1745
  typedef npy_float32 __pyx_t_5numpy_float32_t;
1686
1746
 
1687
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":747
1747
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":747
1688
1748
  *
1689
1749
  * ctypedef npy_float32 float32_t
1690
1750
  * ctypedef npy_float64 float64_t # <<<<<<<<<<<<<<
@@ -1693,7 +1753,7 @@ typedef npy_float32 __pyx_t_5numpy_float32_t;
1693
1753
  */
1694
1754
  typedef npy_float64 __pyx_t_5numpy_float64_t;
1695
1755
 
1696
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":756
1756
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":756
1697
1757
  * # The int types are mapped a bit surprising --
1698
1758
  * # numpy.int corresponds to 'l' and numpy.long to 'q'
1699
1759
  * ctypedef npy_long int_t # <<<<<<<<<<<<<<
@@ -1702,7 +1762,7 @@ typedef npy_float64 __pyx_t_5numpy_float64_t;
1702
1762
  */
1703
1763
  typedef npy_long __pyx_t_5numpy_int_t;
1704
1764
 
1705
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":757
1765
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":757
1706
1766
  * # numpy.int corresponds to 'l' and numpy.long to 'q'
1707
1767
  * ctypedef npy_long int_t
1708
1768
  * ctypedef npy_longlong long_t # <<<<<<<<<<<<<<
@@ -1711,7 +1771,7 @@ typedef npy_long __pyx_t_5numpy_int_t;
1711
1771
  */
1712
1772
  typedef npy_longlong __pyx_t_5numpy_long_t;
1713
1773
 
1714
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":758
1774
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":758
1715
1775
  * ctypedef npy_long int_t
1716
1776
  * ctypedef npy_longlong long_t
1717
1777
  * ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<<
@@ -1720,7 +1780,7 @@ typedef npy_longlong __pyx_t_5numpy_long_t;
1720
1780
  */
1721
1781
  typedef npy_longlong __pyx_t_5numpy_longlong_t;
1722
1782
 
1723
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":760
1783
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":760
1724
1784
  * ctypedef npy_longlong longlong_t
1725
1785
  *
1726
1786
  * ctypedef npy_ulong uint_t # <<<<<<<<<<<<<<
@@ -1729,7 +1789,7 @@ typedef npy_longlong __pyx_t_5numpy_longlong_t;
1729
1789
  */
1730
1790
  typedef npy_ulong __pyx_t_5numpy_uint_t;
1731
1791
 
1732
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":761
1792
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":761
1733
1793
  *
1734
1794
  * ctypedef npy_ulong uint_t
1735
1795
  * ctypedef npy_ulonglong ulong_t # <<<<<<<<<<<<<<
@@ -1738,7 +1798,7 @@ typedef npy_ulong __pyx_t_5numpy_uint_t;
1738
1798
  */
1739
1799
  typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
1740
1800
 
1741
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":762
1801
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":762
1742
1802
  * ctypedef npy_ulong uint_t
1743
1803
  * ctypedef npy_ulonglong ulong_t
1744
1804
  * ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<<
@@ -1747,7 +1807,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
1747
1807
  */
1748
1808
  typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
1749
1809
 
1750
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":764
1810
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":764
1751
1811
  * ctypedef npy_ulonglong ulonglong_t
1752
1812
  *
1753
1813
  * ctypedef npy_intp intp_t # <<<<<<<<<<<<<<
@@ -1756,7 +1816,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
1756
1816
  */
1757
1817
  typedef npy_intp __pyx_t_5numpy_intp_t;
1758
1818
 
1759
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":765
1819
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":765
1760
1820
  *
1761
1821
  * ctypedef npy_intp intp_t
1762
1822
  * ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<<
@@ -1765,7 +1825,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t;
1765
1825
  */
1766
1826
  typedef npy_uintp __pyx_t_5numpy_uintp_t;
1767
1827
 
1768
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":767
1828
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":767
1769
1829
  * ctypedef npy_uintp uintp_t
1770
1830
  *
1771
1831
  * ctypedef npy_double float_t # <<<<<<<<<<<<<<
@@ -1774,7 +1834,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t;
1774
1834
  */
1775
1835
  typedef npy_double __pyx_t_5numpy_float_t;
1776
1836
 
1777
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":768
1837
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":768
1778
1838
  *
1779
1839
  * ctypedef npy_double float_t
1780
1840
  * ctypedef npy_double double_t # <<<<<<<<<<<<<<
@@ -1783,7 +1843,7 @@ typedef npy_double __pyx_t_5numpy_float_t;
1783
1843
  */
1784
1844
  typedef npy_double __pyx_t_5numpy_double_t;
1785
1845
 
1786
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":769
1846
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":769
1787
1847
  * ctypedef npy_double float_t
1788
1848
  * ctypedef npy_double double_t
1789
1849
  * ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<<
@@ -1842,7 +1902,7 @@ struct __pyx_MemviewEnum_obj;
1842
1902
  struct __pyx_memoryview_obj;
1843
1903
  struct __pyx_memoryviewslice_obj;
1844
1904
 
1845
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":771
1905
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":771
1846
1906
  * ctypedef npy_longdouble longdouble_t
1847
1907
  *
1848
1908
  * ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<<
@@ -1851,7 +1911,7 @@ struct __pyx_memoryviewslice_obj;
1851
1911
  */
1852
1912
  typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
1853
1913
 
1854
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":772
1914
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":772
1855
1915
  *
1856
1916
  * ctypedef npy_cfloat cfloat_t
1857
1917
  * ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<<
@@ -1860,7 +1920,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
1860
1920
  */
1861
1921
  typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
1862
1922
 
1863
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":773
1923
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":773
1864
1924
  * ctypedef npy_cfloat cfloat_t
1865
1925
  * ctypedef npy_cdouble cdouble_t
1866
1926
  * ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<<
@@ -1869,7 +1929,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
1869
1929
  */
1870
1930
  typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
1871
1931
 
1872
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":775
1932
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":775
1873
1933
  * ctypedef npy_clongdouble clongdouble_t
1874
1934
  *
1875
1935
  * ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<<
@@ -2175,8 +2235,8 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
2175
2235
  #define __Pyx_Arg_NewRef_VARARGS(arg) __Pyx_NewRef(arg)
2176
2236
  #define __Pyx_Arg_XDECREF_VARARGS(arg) Py_XDECREF(arg)
2177
2237
  #else
2178
- #define __Pyx_Arg_NewRef_VARARGS(arg) arg // no-op
2179
- #define __Pyx_Arg_XDECREF_VARARGS(arg) // no-op - arg is borrowed
2238
+ #define __Pyx_Arg_NewRef_VARARGS(arg) arg
2239
+ #define __Pyx_Arg_XDECREF_VARARGS(arg)
2180
2240
  #endif
2181
2241
  #define __Pyx_NumKwargs_VARARGS(kwds) PyDict_Size(kwds)
2182
2242
  #define __Pyx_KwValues_VARARGS(args, nargs) NULL
@@ -2187,9 +2247,14 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
2187
2247
  #define __Pyx_NumKwargs_FASTCALL(kwds) PyTuple_GET_SIZE(kwds)
2188
2248
  #define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs))
2189
2249
  static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s);
2250
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
2251
+ CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);
2252
+ #else
2190
2253
  #define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw)
2191
- #define __Pyx_Arg_NewRef_FASTCALL(arg) arg // no-op, __Pyx_Arg_FASTCALL is direct and this needs
2192
- #define __Pyx_Arg_XDECREF_FASTCALL(arg) // no-op - arg was returned from array
2254
+ #endif
2255
+ #define __Pyx_Arg_NewRef_FASTCALL(arg) arg /* no-op, __Pyx_Arg_FASTCALL is direct and this needs
2256
+ to have the same reference counting */
2257
+ #define __Pyx_Arg_XDECREF_FASTCALL(arg)
2193
2258
  #else
2194
2259
  #define __Pyx_Arg_FASTCALL __Pyx_Arg_VARARGS
2195
2260
  #define __Pyx_NumKwargs_FASTCALL __Pyx_NumKwargs_VARARGS
@@ -2512,9 +2577,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
2512
2577
  static PyObject *__Pyx_ImportDottedModule_WalkParts(PyObject *module, PyObject *name, PyObject *parts_tuple);
2513
2578
  #endif
2514
2579
 
2515
- /* ssize_strlen.proto */
2516
- static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s);
2517
-
2518
2580
  /* FastTypeChecks.proto */
2519
2581
  #if CYTHON_COMPILING_IN_CPYTHON
2520
2582
  #define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
@@ -2540,7 +2602,11 @@ static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
2540
2602
  Py_ssize_t len = Py_SIZE(list);
2541
2603
  if (likely(L->allocated > len)) {
2542
2604
  Py_INCREF(x);
2605
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
2606
+ L->ob_item[len] = x;
2607
+ #else
2543
2608
  PyList_SET_ITEM(list, len, x);
2609
+ #endif
2544
2610
  __Pyx_SET_SIZE(list, len + 1);
2545
2611
  return 0;
2546
2612
  }
@@ -2580,7 +2646,11 @@ static CYTHON_INLINE int __Pyx_PySequence_ContainsTF(PyObject* item, PyObject* s
2580
2646
  static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name);
2581
2647
 
2582
2648
  /* HasAttr.proto */
2649
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
2650
+ #define __Pyx_HasAttr(o, n) PyObject_HasAttrWithError(o, n)
2651
+ #else
2583
2652
  static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *);
2653
+ #endif
2584
2654
 
2585
2655
  /* PyObjectSetAttrStr.proto */
2586
2656
  #if CYTHON_USE_TYPE_SLOTS
@@ -2647,22 +2717,22 @@ static int __Pyx_setup_reduce(PyObject* type_obj);
2647
2717
  #endif
2648
2718
 
2649
2719
  /* TypeImport.proto */
2650
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_0_2
2651
- #define __PYX_HAVE_RT_ImportType_proto_3_0_2
2720
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_0_10
2721
+ #define __PYX_HAVE_RT_ImportType_proto_3_0_10
2652
2722
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2653
2723
  #include <stdalign.h>
2654
2724
  #endif
2655
2725
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2656
- #define __PYX_GET_STRUCT_ALIGNMENT_3_0_2(s) alignof(s)
2726
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) alignof(s)
2657
2727
  #else
2658
- #define __PYX_GET_STRUCT_ALIGNMENT_3_0_2(s) sizeof(void*)
2728
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) sizeof(void*)
2659
2729
  #endif
2660
- enum __Pyx_ImportType_CheckSize_3_0_2 {
2661
- __Pyx_ImportType_CheckSize_Error_3_0_2 = 0,
2662
- __Pyx_ImportType_CheckSize_Warn_3_0_2 = 1,
2663
- __Pyx_ImportType_CheckSize_Ignore_3_0_2 = 2
2730
+ enum __Pyx_ImportType_CheckSize_3_0_10 {
2731
+ __Pyx_ImportType_CheckSize_Error_3_0_10 = 0,
2732
+ __Pyx_ImportType_CheckSize_Warn_3_0_10 = 1,
2733
+ __Pyx_ImportType_CheckSize_Ignore_3_0_10 = 2
2664
2734
  };
2665
- static PyTypeObject *__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);
2735
+ static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_10 check_size);
2666
2736
  #endif
2667
2737
 
2668
2738
  /* FetchSharedCythonModule.proto */
@@ -2755,7 +2825,7 @@ typedef struct {
2755
2825
  #endif
2756
2826
  void *defaults;
2757
2827
  int defaults_pyobjects;
2758
- size_t defaults_size; // used by FusedFunction for copying defaults
2828
+ size_t defaults_size;
2759
2829
  int flags;
2760
2830
  PyObject *defaults_tuple;
2761
2831
  PyObject *defaults_kwdict;
@@ -2763,9 +2833,13 @@ typedef struct {
2763
2833
  PyObject *func_annotations;
2764
2834
  PyObject *func_is_coroutine;
2765
2835
  } __pyx_CyFunctionObject;
2836
+ #undef __Pyx_CyOrPyCFunction_Check
2766
2837
  #define __Pyx_CyFunction_Check(obj) __Pyx_TypeCheck(obj, __pyx_CyFunctionType)
2767
- #define __Pyx_IsCyOrPyCFunction(obj) __Pyx_TypeCheck2(obj, __pyx_CyFunctionType, &PyCFunction_Type)
2838
+ #define __Pyx_CyOrPyCFunction_Check(obj) __Pyx_TypeCheck2(obj, __pyx_CyFunctionType, &PyCFunction_Type)
2768
2839
  #define __Pyx_CyFunction_CheckExact(obj) __Pyx_IS_TYPE(obj, __pyx_CyFunctionType)
2840
+ static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc);
2841
+ #undef __Pyx_IsSameCFunction
2842
+ #define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCyOrCFunction(func, cfunc)
2769
2843
  static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject* op, PyMethodDef *ml,
2770
2844
  int flags, PyObject* qualname,
2771
2845
  PyObject *closure,
@@ -2802,7 +2876,7 @@ static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml,
2802
2876
  PyObject* code);
2803
2877
 
2804
2878
  /* SetNameInClass.proto */
2805
- #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
2879
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && PY_VERSION_HEX < 0x030d0000
2806
2880
  #define __Pyx_SetNameInClass(ns, name, value)\
2807
2881
  (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, value))
2808
2882
  #elif CYTHON_COMPILING_IN_CPYTHON
@@ -3106,7 +3180,8 @@ typedef const char *__Pyx_TypeName;
3106
3180
  #endif
3107
3181
 
3108
3182
  /* CheckBinaryVersion.proto */
3109
- static int __Pyx_check_binary_version(void);
3183
+ static unsigned long __Pyx_get_runtime_version(void);
3184
+ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
3110
3185
 
3111
3186
  /* InitStrings.proto */
3112
3187
  static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
@@ -4633,8 +4708,7 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
4633
4708
  #if CYTHON_ASSUME_SAFE_MACROS
4634
4709
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
4635
4710
  #else
4636
- __pyx_nargs = PyTuple_Size(__pyx_args);
4637
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 131, __pyx_L3_error)
4711
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
4638
4712
  #endif
4639
4713
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
4640
4714
  {
@@ -4735,10 +4809,11 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
4735
4809
  __pyx_v_allocate_buffer = ((int)1);
4736
4810
  }
4737
4811
  }
4738
- goto __pyx_L4_argument_unpacking_done;
4812
+ goto __pyx_L6_skip;
4739
4813
  __pyx_L5_argtuple_error:;
4740
4814
  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, __pyx_nargs); __PYX_ERR(1, 131, __pyx_L3_error)
4741
- goto __pyx_L3_error;
4815
+ __pyx_L6_skip:;
4816
+ goto __pyx_L4_argument_unpacking_done;
4742
4817
  __pyx_L3_error:;
4743
4818
  {
4744
4819
  Py_ssize_t __pyx_temp;
@@ -5021,13 +5096,20 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
5021
5096
  * raise ValueError, f"Invalid shape in axis {idx}: {dim}."
5022
5097
  */
5023
5098
  __pyx_t_7 = 0;
5024
- __pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4); __pyx_t_1 = 0;
5099
+ __pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4);
5100
+ __pyx_t_1 = 0;
5025
5101
  for (;;) {
5026
- if (__pyx_t_1 >= PyTuple_GET_SIZE(__pyx_t_4)) break;
5102
+ {
5103
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
5104
+ #if !CYTHON_ASSUME_SAFE_MACROS
5105
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 159, __pyx_L1_error)
5106
+ #endif
5107
+ if (__pyx_t_1 >= __pyx_temp) break;
5108
+ }
5027
5109
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
5028
5110
  __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)
5029
5111
  #else
5030
- __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)
5112
+ __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)
5031
5113
  __Pyx_GOTREF(__pyx_t_5);
5032
5114
  #endif
5033
5115
  __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)
@@ -5670,10 +5752,8 @@ static void __pyx_array___dealloc__(PyObject *__pyx_v_self) {
5670
5752
  }
5671
5753
 
5672
5754
  static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struct __pyx_array_obj *__pyx_v_self) {
5673
- __Pyx_RefNannyDeclarations
5674
5755
  int __pyx_t_1;
5675
5756
  int __pyx_t_2;
5676
- __Pyx_RefNannySetupContext("__dealloc__", 0);
5677
5757
 
5678
5758
  /* "View.MemoryView":211
5679
5759
  *
@@ -5785,7 +5865,6 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
5785
5865
  */
5786
5866
 
5787
5867
  /* function exit code */
5788
- __Pyx_RefNannyFinishContext();
5789
5868
  }
5790
5869
 
5791
5870
  /* "View.MemoryView":219
@@ -5818,7 +5897,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
5818
5897
  int __pyx_lineno = 0;
5819
5898
  const char *__pyx_filename = NULL;
5820
5899
  int __pyx_clineno = 0;
5821
- __Pyx_RefNannySetupContext("__get__", 0);
5900
+ __Pyx_RefNannySetupContext("__get__", 1);
5822
5901
 
5823
5902
  /* "View.MemoryView":221
5824
5903
  * @property
@@ -5871,7 +5950,7 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
5871
5950
  int __pyx_lineno = 0;
5872
5951
  const char *__pyx_filename = NULL;
5873
5952
  int __pyx_clineno = 0;
5874
- __Pyx_RefNannySetupContext("get_memview", 0);
5953
+ __Pyx_RefNannySetupContext("get_memview", 1);
5875
5954
 
5876
5955
  /* "View.MemoryView":225
5877
5956
  * @cname('get_memview')
@@ -5958,8 +6037,6 @@ static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self) {
5958
6037
 
5959
6038
  static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(struct __pyx_array_obj *__pyx_v_self) {
5960
6039
  Py_ssize_t __pyx_r;
5961
- __Pyx_RefNannyDeclarations
5962
- __Pyx_RefNannySetupContext("__len__", 0);
5963
6040
 
5964
6041
  /* "View.MemoryView":229
5965
6042
  *
@@ -5981,7 +6058,6 @@ static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(str
5981
6058
 
5982
6059
  /* function exit code */
5983
6060
  __pyx_L0:;
5984
- __Pyx_RefNannyFinishContext();
5985
6061
  return __pyx_r;
5986
6062
  }
5987
6063
 
@@ -6016,7 +6092,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(
6016
6092
  int __pyx_lineno = 0;
6017
6093
  const char *__pyx_filename = NULL;
6018
6094
  int __pyx_clineno = 0;
6019
- __Pyx_RefNannySetupContext("__getattr__", 0);
6095
+ __Pyx_RefNannySetupContext("__getattr__", 1);
6020
6096
 
6021
6097
  /* "View.MemoryView":232
6022
6098
  *
@@ -6086,7 +6162,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__
6086
6162
  int __pyx_lineno = 0;
6087
6163
  const char *__pyx_filename = NULL;
6088
6164
  int __pyx_clineno = 0;
6089
- __Pyx_RefNannySetupContext("__getitem__", 0);
6165
+ __Pyx_RefNannySetupContext("__getitem__", 1);
6090
6166
 
6091
6167
  /* "View.MemoryView":235
6092
6168
  *
@@ -6155,7 +6231,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(struc
6155
6231
  int __pyx_lineno = 0;
6156
6232
  const char *__pyx_filename = NULL;
6157
6233
  int __pyx_clineno = 0;
6158
- __Pyx_RefNannySetupContext("__setitem__", 0);
6234
+ __Pyx_RefNannySetupContext("__setitem__", 1);
6159
6235
 
6160
6236
  /* "View.MemoryView":238
6161
6237
  *
@@ -6214,9 +6290,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6214
6290
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
6215
6291
  #endif
6216
6292
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
6217
- int __pyx_lineno = 0;
6218
- const char *__pyx_filename = NULL;
6219
- int __pyx_clineno = 0;
6220
6293
  PyObject *__pyx_r = 0;
6221
6294
  __Pyx_RefNannyDeclarations
6222
6295
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
@@ -6224,21 +6297,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6224
6297
  #if CYTHON_ASSUME_SAFE_MACROS
6225
6298
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6226
6299
  #else
6227
- __pyx_nargs = PyTuple_Size(__pyx_args);
6228
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
6300
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
6229
6301
  #endif
6230
6302
  #endif
6231
6303
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
6232
6304
  if (unlikely(__pyx_nargs > 0)) {
6233
6305
  __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
6234
6306
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
6235
- goto __pyx_L4_argument_unpacking_done;
6236
- goto __pyx_L3_error;
6237
- __pyx_L3_error:;
6238
- __Pyx_AddTraceback("View.MemoryView.array.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
6239
- __Pyx_RefNannyFinishContext();
6240
- return NULL;
6241
- __pyx_L4_argument_unpacking_done:;
6242
6307
  __pyx_r = __pyx_pf___pyx_array___reduce_cython__(((struct __pyx_array_obj *)__pyx_v_self));
6243
6308
 
6244
6309
  /* function exit code */
@@ -6252,7 +6317,7 @@ static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED struct __p
6252
6317
  int __pyx_lineno = 0;
6253
6318
  const char *__pyx_filename = NULL;
6254
6319
  int __pyx_clineno = 0;
6255
- __Pyx_RefNannySetupContext("__reduce_cython__", 0);
6320
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
6256
6321
 
6257
6322
  /* "(tree fragment)":2
6258
6323
  * def __reduce_cython__(self):
@@ -6316,8 +6381,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6316
6381
  #if CYTHON_ASSUME_SAFE_MACROS
6317
6382
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6318
6383
  #else
6319
- __pyx_nargs = PyTuple_Size(__pyx_args);
6320
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
6384
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
6321
6385
  #endif
6322
6386
  #endif
6323
6387
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -6352,10 +6416,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6352
6416
  }
6353
6417
  __pyx_v___pyx_state = values[0];
6354
6418
  }
6355
- goto __pyx_L4_argument_unpacking_done;
6419
+ goto __pyx_L6_skip;
6356
6420
  __pyx_L5_argtuple_error:;
6357
6421
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
6358
- goto __pyx_L3_error;
6422
+ __pyx_L6_skip:;
6423
+ goto __pyx_L4_argument_unpacking_done;
6359
6424
  __pyx_L3_error:;
6360
6425
  {
6361
6426
  Py_ssize_t __pyx_temp;
@@ -6386,7 +6451,7 @@ static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED struct
6386
6451
  int __pyx_lineno = 0;
6387
6452
  const char *__pyx_filename = NULL;
6388
6453
  int __pyx_clineno = 0;
6389
- __Pyx_RefNannySetupContext("__setstate_cython__", 0);
6454
+ __Pyx_RefNannySetupContext("__setstate_cython__", 1);
6390
6455
 
6391
6456
  /* "(tree fragment)":4
6392
6457
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
@@ -6424,7 +6489,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
6424
6489
  Py_ssize_t __pyx_v_i;
6425
6490
  PyObject **__pyx_v_p;
6426
6491
  int __pyx_r;
6427
- __Pyx_RefNannyDeclarations
6428
6492
  int __pyx_t_1;
6429
6493
  Py_ssize_t __pyx_t_2;
6430
6494
  Py_ssize_t __pyx_t_3;
@@ -6432,7 +6496,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
6432
6496
  int __pyx_lineno = 0;
6433
6497
  const char *__pyx_filename = NULL;
6434
6498
  int __pyx_clineno = 0;
6435
- __Pyx_RefNannySetupContext("_allocate_buffer", 0);
6436
6499
 
6437
6500
  /* "View.MemoryView":254
6438
6501
  * cdef PyObject **p
@@ -6570,7 +6633,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
6570
6633
  __Pyx_AddTraceback("View.MemoryView._allocate_buffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
6571
6634
  __pyx_r = -1;
6572
6635
  __pyx_L0:;
6573
- __Pyx_RefNannyFinishContext();
6574
6636
  return __pyx_r;
6575
6637
  }
6576
6638
 
@@ -6594,7 +6656,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
6594
6656
  int __pyx_lineno = 0;
6595
6657
  const char *__pyx_filename = NULL;
6596
6658
  int __pyx_clineno = 0;
6597
- __Pyx_RefNannySetupContext("array_cwrapper", 0);
6659
+ __Pyx_RefNannySetupContext("array_cwrapper", 1);
6598
6660
 
6599
6661
  /* "View.MemoryView":270
6600
6662
  * cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format, char *c_mode, char *buf):
@@ -6771,8 +6833,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
6771
6833
  #if CYTHON_ASSUME_SAFE_MACROS
6772
6834
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6773
6835
  #else
6774
- __pyx_nargs = PyTuple_Size(__pyx_args);
6775
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 304, __pyx_L3_error)
6836
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
6776
6837
  #endif
6777
6838
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
6778
6839
  {
@@ -6806,10 +6867,11 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
6806
6867
  }
6807
6868
  __pyx_v_name = values[0];
6808
6869
  }
6809
- goto __pyx_L4_argument_unpacking_done;
6870
+ goto __pyx_L6_skip;
6810
6871
  __pyx_L5_argtuple_error:;
6811
6872
  __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 304, __pyx_L3_error)
6812
- goto __pyx_L3_error;
6873
+ __pyx_L6_skip:;
6874
+ goto __pyx_L4_argument_unpacking_done;
6813
6875
  __pyx_L3_error:;
6814
6876
  {
6815
6877
  Py_ssize_t __pyx_temp;
@@ -6837,7 +6899,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
6837
6899
  static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v_name) {
6838
6900
  int __pyx_r;
6839
6901
  __Pyx_RefNannyDeclarations
6840
- __Pyx_RefNannySetupContext("__init__", 0);
6902
+ __Pyx_RefNannySetupContext("__init__", 1);
6841
6903
 
6842
6904
  /* "View.MemoryView":305
6843
6905
  * cdef object name
@@ -6892,7 +6954,7 @@ static PyObject *__pyx_MemviewEnum___repr__(PyObject *__pyx_v_self) {
6892
6954
  static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr__(struct __pyx_MemviewEnum_obj *__pyx_v_self) {
6893
6955
  PyObject *__pyx_r = NULL;
6894
6956
  __Pyx_RefNannyDeclarations
6895
- __Pyx_RefNannySetupContext("__repr__", 0);
6957
+ __Pyx_RefNannySetupContext("__repr__", 1);
6896
6958
 
6897
6959
  /* "View.MemoryView":307
6898
6960
  * self.name = name
@@ -6946,9 +7008,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6946
7008
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
6947
7009
  #endif
6948
7010
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
6949
- int __pyx_lineno = 0;
6950
- const char *__pyx_filename = NULL;
6951
- int __pyx_clineno = 0;
6952
7011
  PyObject *__pyx_r = 0;
6953
7012
  __Pyx_RefNannyDeclarations
6954
7013
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
@@ -6956,21 +7015,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6956
7015
  #if CYTHON_ASSUME_SAFE_MACROS
6957
7016
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6958
7017
  #else
6959
- __pyx_nargs = PyTuple_Size(__pyx_args);
6960
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
7018
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
6961
7019
  #endif
6962
7020
  #endif
6963
7021
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
6964
7022
  if (unlikely(__pyx_nargs > 0)) {
6965
7023
  __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
6966
7024
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
6967
- goto __pyx_L4_argument_unpacking_done;
6968
- goto __pyx_L3_error;
6969
- __pyx_L3_error:;
6970
- __Pyx_AddTraceback("View.MemoryView.Enum.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
6971
- __Pyx_RefNannyFinishContext();
6972
- return NULL;
6973
- __pyx_L4_argument_unpacking_done:;
6974
7025
  __pyx_r = __pyx_pf___pyx_MemviewEnum___reduce_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self));
6975
7026
 
6976
7027
  /* function exit code */
@@ -6991,7 +7042,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __pyx_Memvi
6991
7042
  int __pyx_lineno = 0;
6992
7043
  const char *__pyx_filename = NULL;
6993
7044
  int __pyx_clineno = 0;
6994
- __Pyx_RefNannySetupContext("__reduce_cython__", 0);
7045
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
6995
7046
 
6996
7047
  /* "(tree fragment)":5
6997
7048
  * cdef object _dict
@@ -7228,8 +7279,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
7228
7279
  #if CYTHON_ASSUME_SAFE_MACROS
7229
7280
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
7230
7281
  #else
7231
- __pyx_nargs = PyTuple_Size(__pyx_args);
7232
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 16, __pyx_L3_error)
7282
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
7233
7283
  #endif
7234
7284
  #endif
7235
7285
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -7264,10 +7314,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
7264
7314
  }
7265
7315
  __pyx_v___pyx_state = values[0];
7266
7316
  }
7267
- goto __pyx_L4_argument_unpacking_done;
7317
+ goto __pyx_L6_skip;
7268
7318
  __pyx_L5_argtuple_error:;
7269
7319
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error)
7270
- goto __pyx_L3_error;
7320
+ __pyx_L6_skip:;
7321
+ goto __pyx_L4_argument_unpacking_done;
7271
7322
  __pyx_L3_error:;
7272
7323
  {
7273
7324
  Py_ssize_t __pyx_temp;
@@ -7299,7 +7350,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct __pyx_Me
7299
7350
  int __pyx_lineno = 0;
7300
7351
  const char *__pyx_filename = NULL;
7301
7352
  int __pyx_clineno = 0;
7302
- __Pyx_RefNannySetupContext("__setstate_cython__", 0);
7353
+ __Pyx_RefNannySetupContext("__setstate_cython__", 1);
7303
7354
 
7304
7355
  /* "(tree fragment)":17
7305
7356
  * return __pyx_unpickle_Enum, (type(self), 0x82a3537, state)
@@ -7357,8 +7408,7 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
7357
7408
  #if CYTHON_ASSUME_SAFE_MACROS
7358
7409
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
7359
7410
  #else
7360
- __pyx_nargs = PyTuple_Size(__pyx_args);
7361
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 349, __pyx_L3_error)
7411
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
7362
7412
  #endif
7363
7413
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
7364
7414
  {
@@ -7424,10 +7474,11 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
7424
7474
  __pyx_v_dtype_is_object = ((int)0);
7425
7475
  }
7426
7476
  }
7427
- goto __pyx_L4_argument_unpacking_done;
7477
+ goto __pyx_L6_skip;
7428
7478
  __pyx_L5_argtuple_error:;
7429
7479
  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, __pyx_nargs); __PYX_ERR(1, 349, __pyx_L3_error)
7430
- goto __pyx_L3_error;
7480
+ __pyx_L6_skip:;
7481
+ goto __pyx_L4_argument_unpacking_done;
7431
7482
  __pyx_L3_error:;
7432
7483
  {
7433
7484
  Py_ssize_t __pyx_temp;
@@ -7463,7 +7514,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
7463
7514
  int __pyx_lineno = 0;
7464
7515
  const char *__pyx_filename = NULL;
7465
7516
  int __pyx_clineno = 0;
7466
- __Pyx_RefNannySetupContext("__cinit__", 0);
7517
+ __Pyx_RefNannySetupContext("__cinit__", 1);
7467
7518
 
7468
7519
  /* "View.MemoryView":350
7469
7520
  *
@@ -7798,14 +7849,12 @@ static void __pyx_memoryview___dealloc__(PyObject *__pyx_v_self) {
7798
7849
 
7799
7850
  static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__(struct __pyx_memoryview_obj *__pyx_v_self) {
7800
7851
  int __pyx_v_i;
7801
- __Pyx_RefNannyDeclarations
7802
7852
  int __pyx_t_1;
7803
7853
  int __pyx_t_2;
7804
7854
  int __pyx_t_3;
7805
7855
  int __pyx_t_4;
7806
7856
  PyThread_type_lock __pyx_t_5;
7807
7857
  PyThread_type_lock __pyx_t_6;
7808
- __Pyx_RefNannySetupContext("__dealloc__", 0);
7809
7858
 
7810
7859
  /* "View.MemoryView":377
7811
7860
  *
@@ -8003,7 +8052,6 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
8003
8052
  */
8004
8053
 
8005
8054
  /* function exit code */
8006
- __Pyx_RefNannyFinishContext();
8007
8055
  }
8008
8056
 
8009
8057
  /* "View.MemoryView":397
@@ -8030,7 +8078,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
8030
8078
  int __pyx_lineno = 0;
8031
8079
  const char *__pyx_filename = NULL;
8032
8080
  int __pyx_clineno = 0;
8033
- __Pyx_RefNannySetupContext("get_item_pointer", 0);
8081
+ __Pyx_RefNannySetupContext("get_item_pointer", 1);
8034
8082
 
8035
8083
  /* "View.MemoryView":399
8036
8084
  * cdef char *get_item_pointer(memoryview self, object index) except NULL:
@@ -8050,7 +8098,8 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
8050
8098
  */
8051
8099
  __pyx_t_1 = 0;
8052
8100
  if (likely(PyList_CheckExact(__pyx_v_index)) || PyTuple_CheckExact(__pyx_v_index)) {
8053
- __pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2); __pyx_t_3 = 0;
8101
+ __pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2);
8102
+ __pyx_t_3 = 0;
8054
8103
  __pyx_t_4 = NULL;
8055
8104
  } else {
8056
8105
  __pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 401, __pyx_L1_error)
@@ -8060,19 +8109,31 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
8060
8109
  for (;;) {
8061
8110
  if (likely(!__pyx_t_4)) {
8062
8111
  if (likely(PyList_CheckExact(__pyx_t_2))) {
8063
- if (__pyx_t_3 >= PyList_GET_SIZE(__pyx_t_2)) break;
8112
+ {
8113
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
8114
+ #if !CYTHON_ASSUME_SAFE_MACROS
8115
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
8116
+ #endif
8117
+ if (__pyx_t_3 >= __pyx_temp) break;
8118
+ }
8064
8119
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
8065
8120
  __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)
8066
8121
  #else
8067
- __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)
8122
+ __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)
8068
8123
  __Pyx_GOTREF(__pyx_t_5);
8069
8124
  #endif
8070
8125
  } else {
8071
- if (__pyx_t_3 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
8126
+ {
8127
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
8128
+ #if !CYTHON_ASSUME_SAFE_MACROS
8129
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
8130
+ #endif
8131
+ if (__pyx_t_3 >= __pyx_temp) break;
8132
+ }
8072
8133
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
8073
8134
  __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)
8074
8135
  #else
8075
- __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)
8136
+ __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)
8076
8137
  __Pyx_GOTREF(__pyx_t_5);
8077
8138
  #endif
8078
8139
  }
@@ -8181,7 +8242,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
8181
8242
  int __pyx_lineno = 0;
8182
8243
  const char *__pyx_filename = NULL;
8183
8244
  int __pyx_clineno = 0;
8184
- __Pyx_RefNannySetupContext("__getitem__", 0);
8245
+ __Pyx_RefNannySetupContext("__getitem__", 1);
8185
8246
 
8186
8247
  /* "View.MemoryView":408
8187
8248
  *
@@ -8792,7 +8853,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryvi
8792
8853
  int __pyx_lineno = 0;
8793
8854
  const char *__pyx_filename = NULL;
8794
8855
  int __pyx_clineno = 0;
8795
- __Pyx_RefNannySetupContext("setitem_slice_assignment", 0);
8856
+ __Pyx_RefNannySetupContext("setitem_slice_assignment", 1);
8796
8857
 
8797
8858
  /* "View.MemoryView":448
8798
8859
  * cdef __Pyx_memviewslice dst_slice
@@ -8885,7 +8946,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
8885
8946
  int __pyx_lineno = 0;
8886
8947
  const char *__pyx_filename = NULL;
8887
8948
  int __pyx_clineno = 0;
8888
- __Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 0);
8949
+ __Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 1);
8889
8950
 
8890
8951
  /* "View.MemoryView":455
8891
8952
  * cdef setitem_slice_assign_scalar(self, memoryview dst, value):
@@ -9158,7 +9219,7 @@ static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *_
9158
9219
  int __pyx_lineno = 0;
9159
9220
  const char *__pyx_filename = NULL;
9160
9221
  int __pyx_clineno = 0;
9161
- __Pyx_RefNannySetupContext("setitem_indexed", 0);
9222
+ __Pyx_RefNannySetupContext("setitem_indexed", 1);
9162
9223
 
9163
9224
  /* "View.MemoryView":486
9164
9225
  *
@@ -9229,7 +9290,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
9229
9290
  int __pyx_lineno = 0;
9230
9291
  const char *__pyx_filename = NULL;
9231
9292
  int __pyx_clineno = 0;
9232
- __Pyx_RefNannySetupContext("convert_item_to_object", 0);
9293
+ __Pyx_RefNannySetupContext("convert_item_to_object", 1);
9233
9294
 
9234
9295
  /* "View.MemoryView":492
9235
9296
  * """Only used if instantiated manually by the user, or if Cython doesn't
@@ -9479,7 +9540,7 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
9479
9540
  int __pyx_lineno = 0;
9480
9541
  const char *__pyx_filename = NULL;
9481
9542
  int __pyx_clineno = 0;
9482
- __Pyx_RefNannySetupContext("assign_item_from_object", 0);
9543
+ __Pyx_RefNannySetupContext("assign_item_from_object", 1);
9483
9544
 
9484
9545
  /* "View.MemoryView":508
9485
9546
  * """Only used if instantiated manually by the user, or if Cython doesn't
@@ -10032,7 +10093,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
10032
10093
  int __pyx_lineno = 0;
10033
10094
  const char *__pyx_filename = NULL;
10034
10095
  int __pyx_clineno = 0;
10035
- __Pyx_RefNannySetupContext("__get__", 0);
10096
+ __Pyx_RefNannySetupContext("__get__", 1);
10036
10097
 
10037
10098
  /* "View.MemoryView":556
10038
10099
  * @property
@@ -10118,7 +10179,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
10118
10179
  int __pyx_lineno = 0;
10119
10180
  const char *__pyx_filename = NULL;
10120
10181
  int __pyx_clineno = 0;
10121
- __Pyx_RefNannySetupContext("__get__", 0);
10182
+ __Pyx_RefNannySetupContext("__get__", 1);
10122
10183
 
10123
10184
  /* "View.MemoryView":562
10124
10185
  * @property
@@ -10164,7 +10225,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
10164
10225
  static PyObject *__pyx_memoryview__get_base(struct __pyx_memoryview_obj *__pyx_v_self) {
10165
10226
  PyObject *__pyx_r = NULL;
10166
10227
  __Pyx_RefNannyDeclarations
10167
- __Pyx_RefNannySetupContext("_get_base", 0);
10228
+ __Pyx_RefNannySetupContext("_get_base", 1);
10168
10229
 
10169
10230
  /* "View.MemoryView":565
10170
10231
  *
@@ -10228,7 +10289,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
10228
10289
  int __pyx_lineno = 0;
10229
10290
  const char *__pyx_filename = NULL;
10230
10291
  int __pyx_clineno = 0;
10231
- __Pyx_RefNannySetupContext("__get__", 0);
10292
+ __Pyx_RefNannySetupContext("__get__", 1);
10232
10293
 
10233
10294
  /* "View.MemoryView":569
10234
10295
  * @property
@@ -10314,7 +10375,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
10314
10375
  int __pyx_lineno = 0;
10315
10376
  const char *__pyx_filename = NULL;
10316
10377
  int __pyx_clineno = 0;
10317
- __Pyx_RefNannySetupContext("__get__", 0);
10378
+ __Pyx_RefNannySetupContext("__get__", 1);
10318
10379
 
10319
10380
  /* "View.MemoryView":573
10320
10381
  * @property
@@ -10429,7 +10490,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
10429
10490
  int __pyx_lineno = 0;
10430
10491
  const char *__pyx_filename = NULL;
10431
10492
  int __pyx_clineno = 0;
10432
- __Pyx_RefNannySetupContext("__get__", 0);
10493
+ __Pyx_RefNannySetupContext("__get__", 1);
10433
10494
 
10434
10495
  /* "View.MemoryView":581
10435
10496
  * @property
@@ -10542,7 +10603,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
10542
10603
  int __pyx_lineno = 0;
10543
10604
  const char *__pyx_filename = NULL;
10544
10605
  int __pyx_clineno = 0;
10545
- __Pyx_RefNannySetupContext("__get__", 0);
10606
+ __Pyx_RefNannySetupContext("__get__", 1);
10546
10607
 
10547
10608
  /* "View.MemoryView":588
10548
10609
  * @property
@@ -10607,7 +10668,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
10607
10668
  int __pyx_lineno = 0;
10608
10669
  const char *__pyx_filename = NULL;
10609
10670
  int __pyx_clineno = 0;
10610
- __Pyx_RefNannySetupContext("__get__", 0);
10671
+ __Pyx_RefNannySetupContext("__get__", 1);
10611
10672
 
10612
10673
  /* "View.MemoryView":592
10613
10674
  * @property
@@ -10674,7 +10735,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
10674
10735
  int __pyx_lineno = 0;
10675
10736
  const char *__pyx_filename = NULL;
10676
10737
  int __pyx_clineno = 0;
10677
- __Pyx_RefNannySetupContext("__get__", 0);
10738
+ __Pyx_RefNannySetupContext("__get__", 1);
10678
10739
 
10679
10740
  /* "View.MemoryView":596
10680
10741
  * @property
@@ -10753,7 +10814,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
10753
10814
  int __pyx_lineno = 0;
10754
10815
  const char *__pyx_filename = NULL;
10755
10816
  int __pyx_clineno = 0;
10756
- __Pyx_RefNannySetupContext("__get__", 0);
10817
+ __Pyx_RefNannySetupContext("__get__", 1);
10757
10818
 
10758
10819
  /* "View.MemoryView":600
10759
10820
  * @property
@@ -10883,9 +10944,7 @@ static Py_ssize_t __pyx_memoryview___len__(PyObject *__pyx_v_self) {
10883
10944
 
10884
10945
  static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_10__len__(struct __pyx_memoryview_obj *__pyx_v_self) {
10885
10946
  Py_ssize_t __pyx_r;
10886
- __Pyx_RefNannyDeclarations
10887
10947
  int __pyx_t_1;
10888
- __Pyx_RefNannySetupContext("__len__", 0);
10889
10948
 
10890
10949
  /* "View.MemoryView":611
10891
10950
  *
@@ -10936,7 +10995,6 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
10936
10995
 
10937
10996
  /* function exit code */
10938
10997
  __pyx_L0:;
10939
- __Pyx_RefNannyFinishContext();
10940
10998
  return __pyx_r;
10941
10999
  }
10942
11000
 
@@ -10972,7 +11030,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
10972
11030
  int __pyx_lineno = 0;
10973
11031
  const char *__pyx_filename = NULL;
10974
11032
  int __pyx_clineno = 0;
10975
- __Pyx_RefNannySetupContext("__repr__", 0);
11033
+ __Pyx_RefNannySetupContext("__repr__", 1);
10976
11034
 
10977
11035
  /* "View.MemoryView":617
10978
11036
  *
@@ -11075,7 +11133,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
11075
11133
  int __pyx_lineno = 0;
11076
11134
  const char *__pyx_filename = NULL;
11077
11135
  int __pyx_clineno = 0;
11078
- __Pyx_RefNannySetupContext("__str__", 0);
11136
+ __Pyx_RefNannySetupContext("__str__", 1);
11079
11137
 
11080
11138
  /* "View.MemoryView":621
11081
11139
  *
@@ -11152,9 +11210,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11152
11210
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11153
11211
  #endif
11154
11212
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11155
- int __pyx_lineno = 0;
11156
- const char *__pyx_filename = NULL;
11157
- int __pyx_clineno = 0;
11158
11213
  PyObject *__pyx_r = 0;
11159
11214
  __Pyx_RefNannyDeclarations
11160
11215
  __Pyx_RefNannySetupContext("is_c_contig (wrapper)", 0);
@@ -11162,21 +11217,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11162
11217
  #if CYTHON_ASSUME_SAFE_MACROS
11163
11218
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11164
11219
  #else
11165
- __pyx_nargs = PyTuple_Size(__pyx_args);
11166
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 624, __pyx_L3_error)
11220
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11167
11221
  #endif
11168
11222
  #endif
11169
11223
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11170
11224
  if (unlikely(__pyx_nargs > 0)) {
11171
11225
  __Pyx_RaiseArgtupleInvalid("is_c_contig", 1, 0, 0, __pyx_nargs); return NULL;}
11172
11226
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_c_contig", 0))) return NULL;
11173
- goto __pyx_L4_argument_unpacking_done;
11174
- goto __pyx_L3_error;
11175
- __pyx_L3_error:;
11176
- __Pyx_AddTraceback("View.MemoryView.memoryview.is_c_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
11177
- __Pyx_RefNannyFinishContext();
11178
- return NULL;
11179
- __pyx_L4_argument_unpacking_done:;
11180
11227
  __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
11181
11228
 
11182
11229
  /* function exit code */
@@ -11194,7 +11241,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
11194
11241
  int __pyx_lineno = 0;
11195
11242
  const char *__pyx_filename = NULL;
11196
11243
  int __pyx_clineno = 0;
11197
- __Pyx_RefNannySetupContext("is_c_contig", 0);
11244
+ __Pyx_RefNannySetupContext("is_c_contig", 1);
11198
11245
 
11199
11246
  /* "View.MemoryView":627
11200
11247
  * cdef __Pyx_memviewslice *mslice
@@ -11266,9 +11313,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11266
11313
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11267
11314
  #endif
11268
11315
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11269
- int __pyx_lineno = 0;
11270
- const char *__pyx_filename = NULL;
11271
- int __pyx_clineno = 0;
11272
11316
  PyObject *__pyx_r = 0;
11273
11317
  __Pyx_RefNannyDeclarations
11274
11318
  __Pyx_RefNannySetupContext("is_f_contig (wrapper)", 0);
@@ -11276,21 +11320,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11276
11320
  #if CYTHON_ASSUME_SAFE_MACROS
11277
11321
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11278
11322
  #else
11279
- __pyx_nargs = PyTuple_Size(__pyx_args);
11280
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 630, __pyx_L3_error)
11323
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11281
11324
  #endif
11282
11325
  #endif
11283
11326
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11284
11327
  if (unlikely(__pyx_nargs > 0)) {
11285
11328
  __Pyx_RaiseArgtupleInvalid("is_f_contig", 1, 0, 0, __pyx_nargs); return NULL;}
11286
11329
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_f_contig", 0))) return NULL;
11287
- goto __pyx_L4_argument_unpacking_done;
11288
- goto __pyx_L3_error;
11289
- __pyx_L3_error:;
11290
- __Pyx_AddTraceback("View.MemoryView.memoryview.is_f_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
11291
- __Pyx_RefNannyFinishContext();
11292
- return NULL;
11293
- __pyx_L4_argument_unpacking_done:;
11294
11330
  __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
11295
11331
 
11296
11332
  /* function exit code */
@@ -11308,7 +11344,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
11308
11344
  int __pyx_lineno = 0;
11309
11345
  const char *__pyx_filename = NULL;
11310
11346
  int __pyx_clineno = 0;
11311
- __Pyx_RefNannySetupContext("is_f_contig", 0);
11347
+ __Pyx_RefNannySetupContext("is_f_contig", 1);
11312
11348
 
11313
11349
  /* "View.MemoryView":633
11314
11350
  * cdef __Pyx_memviewslice *mslice
@@ -11380,9 +11416,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11380
11416
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11381
11417
  #endif
11382
11418
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11383
- int __pyx_lineno = 0;
11384
- const char *__pyx_filename = NULL;
11385
- int __pyx_clineno = 0;
11386
11419
  PyObject *__pyx_r = 0;
11387
11420
  __Pyx_RefNannyDeclarations
11388
11421
  __Pyx_RefNannySetupContext("copy (wrapper)", 0);
@@ -11390,21 +11423,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11390
11423
  #if CYTHON_ASSUME_SAFE_MACROS
11391
11424
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11392
11425
  #else
11393
- __pyx_nargs = PyTuple_Size(__pyx_args);
11394
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 636, __pyx_L3_error)
11426
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11395
11427
  #endif
11396
11428
  #endif
11397
11429
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11398
11430
  if (unlikely(__pyx_nargs > 0)) {
11399
11431
  __Pyx_RaiseArgtupleInvalid("copy", 1, 0, 0, __pyx_nargs); return NULL;}
11400
11432
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy", 0))) return NULL;
11401
- goto __pyx_L4_argument_unpacking_done;
11402
- goto __pyx_L3_error;
11403
- __pyx_L3_error:;
11404
- __Pyx_AddTraceback("View.MemoryView.memoryview.copy", __pyx_clineno, __pyx_lineno, __pyx_filename);
11405
- __Pyx_RefNannyFinishContext();
11406
- return NULL;
11407
- __pyx_L4_argument_unpacking_done:;
11408
11433
  __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy(((struct __pyx_memoryview_obj *)__pyx_v_self));
11409
11434
 
11410
11435
  /* function exit code */
@@ -11422,7 +11447,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
11422
11447
  int __pyx_lineno = 0;
11423
11448
  const char *__pyx_filename = NULL;
11424
11449
  int __pyx_clineno = 0;
11425
- __Pyx_RefNannySetupContext("copy", 0);
11450
+ __Pyx_RefNannySetupContext("copy", 1);
11426
11451
 
11427
11452
  /* "View.MemoryView":638
11428
11453
  * def copy(self):
@@ -11512,9 +11537,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11512
11537
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11513
11538
  #endif
11514
11539
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11515
- int __pyx_lineno = 0;
11516
- const char *__pyx_filename = NULL;
11517
- int __pyx_clineno = 0;
11518
11540
  PyObject *__pyx_r = 0;
11519
11541
  __Pyx_RefNannyDeclarations
11520
11542
  __Pyx_RefNannySetupContext("copy_fortran (wrapper)", 0);
@@ -11522,21 +11544,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11522
11544
  #if CYTHON_ASSUME_SAFE_MACROS
11523
11545
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11524
11546
  #else
11525
- __pyx_nargs = PyTuple_Size(__pyx_args);
11526
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 648, __pyx_L3_error)
11547
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11527
11548
  #endif
11528
11549
  #endif
11529
11550
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11530
11551
  if (unlikely(__pyx_nargs > 0)) {
11531
11552
  __Pyx_RaiseArgtupleInvalid("copy_fortran", 1, 0, 0, __pyx_nargs); return NULL;}
11532
11553
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy_fortran", 0))) return NULL;
11533
- goto __pyx_L4_argument_unpacking_done;
11534
- goto __pyx_L3_error;
11535
- __pyx_L3_error:;
11536
- __Pyx_AddTraceback("View.MemoryView.memoryview.copy_fortran", __pyx_clineno, __pyx_lineno, __pyx_filename);
11537
- __Pyx_RefNannyFinishContext();
11538
- return NULL;
11539
- __pyx_L4_argument_unpacking_done:;
11540
11554
  __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran(((struct __pyx_memoryview_obj *)__pyx_v_self));
11541
11555
 
11542
11556
  /* function exit code */
@@ -11555,7 +11569,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
11555
11569
  int __pyx_lineno = 0;
11556
11570
  const char *__pyx_filename = NULL;
11557
11571
  int __pyx_clineno = 0;
11558
- __Pyx_RefNannySetupContext("copy_fortran", 0);
11572
+ __Pyx_RefNannySetupContext("copy_fortran", 1);
11559
11573
 
11560
11574
  /* "View.MemoryView":650
11561
11575
  * def copy_fortran(self):
@@ -11643,9 +11657,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11643
11657
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11644
11658
  #endif
11645
11659
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11646
- int __pyx_lineno = 0;
11647
- const char *__pyx_filename = NULL;
11648
- int __pyx_clineno = 0;
11649
11660
  PyObject *__pyx_r = 0;
11650
11661
  __Pyx_RefNannyDeclarations
11651
11662
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
@@ -11653,21 +11664,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11653
11664
  #if CYTHON_ASSUME_SAFE_MACROS
11654
11665
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11655
11666
  #else
11656
- __pyx_nargs = PyTuple_Size(__pyx_args);
11657
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
11667
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11658
11668
  #endif
11659
11669
  #endif
11660
11670
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11661
11671
  if (unlikely(__pyx_nargs > 0)) {
11662
11672
  __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
11663
11673
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
11664
- goto __pyx_L4_argument_unpacking_done;
11665
- goto __pyx_L3_error;
11666
- __pyx_L3_error:;
11667
- __Pyx_AddTraceback("View.MemoryView.memoryview.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
11668
- __Pyx_RefNannyFinishContext();
11669
- return NULL;
11670
- __pyx_L4_argument_unpacking_done:;
11671
11674
  __pyx_r = __pyx_pf___pyx_memoryview___reduce_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self));
11672
11675
 
11673
11676
  /* function exit code */
@@ -11681,7 +11684,7 @@ static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUSED struc
11681
11684
  int __pyx_lineno = 0;
11682
11685
  const char *__pyx_filename = NULL;
11683
11686
  int __pyx_clineno = 0;
11684
- __Pyx_RefNannySetupContext("__reduce_cython__", 0);
11687
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
11685
11688
 
11686
11689
  /* "(tree fragment)":2
11687
11690
  * def __reduce_cython__(self):
@@ -11745,8 +11748,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11745
11748
  #if CYTHON_ASSUME_SAFE_MACROS
11746
11749
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11747
11750
  #else
11748
- __pyx_nargs = PyTuple_Size(__pyx_args);
11749
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
11751
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11750
11752
  #endif
11751
11753
  #endif
11752
11754
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -11781,10 +11783,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11781
11783
  }
11782
11784
  __pyx_v___pyx_state = values[0];
11783
11785
  }
11784
- goto __pyx_L4_argument_unpacking_done;
11786
+ goto __pyx_L6_skip;
11785
11787
  __pyx_L5_argtuple_error:;
11786
11788
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
11787
- goto __pyx_L3_error;
11789
+ __pyx_L6_skip:;
11790
+ goto __pyx_L4_argument_unpacking_done;
11788
11791
  __pyx_L3_error:;
11789
11792
  {
11790
11793
  Py_ssize_t __pyx_temp;
@@ -11815,7 +11818,7 @@ static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_UNUSED st
11815
11818
  int __pyx_lineno = 0;
11816
11819
  const char *__pyx_filename = NULL;
11817
11820
  int __pyx_clineno = 0;
11818
- __Pyx_RefNannySetupContext("__setstate_cython__", 0);
11821
+ __Pyx_RefNannySetupContext("__setstate_cython__", 1);
11819
11822
 
11820
11823
  /* "(tree fragment)":4
11821
11824
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
@@ -11859,7 +11862,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
11859
11862
  int __pyx_lineno = 0;
11860
11863
  const char *__pyx_filename = NULL;
11861
11864
  int __pyx_clineno = 0;
11862
- __Pyx_RefNannySetupContext("memoryview_cwrapper", 0);
11865
+ __Pyx_RefNannySetupContext("memoryview_cwrapper", 1);
11863
11866
 
11864
11867
  /* "View.MemoryView":663
11865
11868
  * @cname('__pyx_memoryview_new')
@@ -11942,9 +11945,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
11942
11945
 
11943
11946
  static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
11944
11947
  int __pyx_r;
11945
- __Pyx_RefNannyDeclarations
11946
11948
  int __pyx_t_1;
11947
- __Pyx_RefNannySetupContext("memoryview_check", 0);
11948
11949
 
11949
11950
  /* "View.MemoryView":669
11950
11951
  * @cname('__pyx_memoryview_check')
@@ -11967,7 +11968,6 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
11967
11968
 
11968
11969
  /* function exit code */
11969
11970
  __pyx_L0:;
11970
- __Pyx_RefNannyFinishContext();
11971
11971
  return __pyx_r;
11972
11972
  }
11973
11973
 
@@ -11999,7 +11999,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
11999
11999
  int __pyx_lineno = 0;
12000
12000
  const char *__pyx_filename = NULL;
12001
12001
  int __pyx_clineno = 0;
12002
- __Pyx_RefNannySetupContext("_unellipsify", 0);
12002
+ __Pyx_RefNannySetupContext("_unellipsify", 1);
12003
12003
 
12004
12004
  /* "View.MemoryView":677
12005
12005
  * """
@@ -12081,13 +12081,20 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
12081
12081
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
12082
12082
  __PYX_ERR(1, 683, __pyx_L1_error)
12083
12083
  }
12084
- __pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1); __pyx_t_4 = 0;
12084
+ __pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1);
12085
+ __pyx_t_4 = 0;
12085
12086
  for (;;) {
12086
- if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
12087
+ {
12088
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
12089
+ #if !CYTHON_ASSUME_SAFE_MACROS
12090
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 683, __pyx_L1_error)
12091
+ #endif
12092
+ if (__pyx_t_4 >= __pyx_temp) break;
12093
+ }
12087
12094
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
12088
12095
  __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)
12089
12096
  #else
12090
- __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)
12097
+ __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)
12091
12098
  __Pyx_GOTREF(__pyx_t_3);
12092
12099
  #endif
12093
12100
  __Pyx_XDECREF_SET(__pyx_v_item, __pyx_t_3);
@@ -12356,7 +12363,6 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
12356
12363
  static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_ndim) {
12357
12364
  Py_ssize_t __pyx_v_suboffset;
12358
12365
  int __pyx_r;
12359
- __Pyx_RefNannyDeclarations
12360
12366
  Py_ssize_t *__pyx_t_1;
12361
12367
  Py_ssize_t *__pyx_t_2;
12362
12368
  Py_ssize_t *__pyx_t_3;
@@ -12364,7 +12370,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
12364
12370
  int __pyx_lineno = 0;
12365
12371
  const char *__pyx_filename = NULL;
12366
12372
  int __pyx_clineno = 0;
12367
- __Pyx_RefNannySetupContext("assert_direct_dimensions", 0);
12368
12373
 
12369
12374
  /* "View.MemoryView":701
12370
12375
  *
@@ -12431,7 +12436,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
12431
12436
  __Pyx_AddTraceback("View.MemoryView.assert_direct_dimensions", __pyx_clineno, __pyx_lineno, __pyx_filename);
12432
12437
  __pyx_r = -1;
12433
12438
  __pyx_L0:;
12434
- __Pyx_RefNannyFinishContext();
12435
12439
  return __pyx_r;
12436
12440
  }
12437
12441
 
@@ -12477,7 +12481,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
12477
12481
  int __pyx_lineno = 0;
12478
12482
  const char *__pyx_filename = NULL;
12479
12483
  int __pyx_clineno = 0;
12480
- __Pyx_RefNannySetupContext("memview_slice", 0);
12484
+ __Pyx_RefNannySetupContext("memview_slice", 1);
12481
12485
 
12482
12486
  /* "View.MemoryView":712
12483
12487
  * @cname('__pyx_memview_slice')
@@ -12627,7 +12631,8 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
12627
12631
  */
12628
12632
  __pyx_t_5 = 0;
12629
12633
  if (likely(PyList_CheckExact(__pyx_v_indices)) || PyTuple_CheckExact(__pyx_v_indices)) {
12630
- __pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2); __pyx_t_6 = 0;
12634
+ __pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2);
12635
+ __pyx_t_6 = 0;
12631
12636
  __pyx_t_7 = NULL;
12632
12637
  } else {
12633
12638
  __pyx_t_6 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_indices); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 747, __pyx_L1_error)
@@ -12637,19 +12642,31 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
12637
12642
  for (;;) {
12638
12643
  if (likely(!__pyx_t_7)) {
12639
12644
  if (likely(PyList_CheckExact(__pyx_t_2))) {
12640
- if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_2)) break;
12645
+ {
12646
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
12647
+ #if !CYTHON_ASSUME_SAFE_MACROS
12648
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
12649
+ #endif
12650
+ if (__pyx_t_6 >= __pyx_temp) break;
12651
+ }
12641
12652
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
12642
12653
  __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)
12643
12654
  #else
12644
- __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)
12655
+ __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)
12645
12656
  __Pyx_GOTREF(__pyx_t_8);
12646
12657
  #endif
12647
12658
  } else {
12648
- if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
12659
+ {
12660
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
12661
+ #if !CYTHON_ASSUME_SAFE_MACROS
12662
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
12663
+ #endif
12664
+ if (__pyx_t_6 >= __pyx_temp) break;
12665
+ }
12649
12666
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
12650
12667
  __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)
12651
12668
  #else
12652
- __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)
12669
+ __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)
12653
12670
  __Pyx_GOTREF(__pyx_t_8);
12654
12671
  #endif
12655
12672
  }
@@ -13028,7 +13045,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
13028
13045
  Py_ssize_t __pyx_v_new_shape;
13029
13046
  int __pyx_v_negative_step;
13030
13047
  int __pyx_r;
13031
- __Pyx_RefNannyDeclarations
13032
13048
  int __pyx_t_1;
13033
13049
  int __pyx_t_2;
13034
13050
  int __pyx_t_3;
@@ -13038,7 +13054,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
13038
13054
  #ifdef WITH_THREAD
13039
13055
  PyGILState_STATE __pyx_gilstate_save;
13040
13056
  #endif
13041
- __Pyx_RefNannySetupContext("slice_memviewslice", 1);
13042
13057
 
13043
13058
  /* "View.MemoryView":813
13044
13059
  * cdef bint negative_step
@@ -13793,7 +13808,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
13793
13808
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
13794
13809
  #endif
13795
13810
  __pyx_L0:;
13796
- __Pyx_RefNannyFinishContextNogil()
13797
13811
  return __pyx_r;
13798
13812
  }
13799
13813
 
@@ -13821,7 +13835,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
13821
13835
  int __pyx_lineno = 0;
13822
13836
  const char *__pyx_filename = NULL;
13823
13837
  int __pyx_clineno = 0;
13824
- __Pyx_RefNannySetupContext("pybuffer_index", 0);
13838
+ __Pyx_RefNannySetupContext("pybuffer_index", 1);
13825
13839
 
13826
13840
  /* "View.MemoryView":898
13827
13841
  * cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,
@@ -14148,7 +14162,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
14148
14162
  int __pyx_v_i;
14149
14163
  int __pyx_v_j;
14150
14164
  int __pyx_r;
14151
- __Pyx_RefNannyDeclarations
14152
14165
  int __pyx_t_1;
14153
14166
  Py_ssize_t *__pyx_t_2;
14154
14167
  long __pyx_t_3;
@@ -14164,7 +14177,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
14164
14177
  #ifdef WITH_THREAD
14165
14178
  PyGILState_STATE __pyx_gilstate_save;
14166
14179
  #endif
14167
- __Pyx_RefNannySetupContext("transpose_memslice", 1);
14168
14180
 
14169
14181
  /* "View.MemoryView":930
14170
14182
  * @cname('__pyx_memslice_transpose')
@@ -14307,7 +14319,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
14307
14319
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
14308
14320
  #endif
14309
14321
  __pyx_L0:;
14310
- __Pyx_RefNannyFinishContextNogil()
14311
14322
  return __pyx_r;
14312
14323
  }
14313
14324
 
@@ -14333,8 +14344,6 @@ static void __pyx_memoryviewslice___dealloc__(PyObject *__pyx_v_self) {
14333
14344
  }
14334
14345
 
14335
14346
  static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewslice___dealloc__(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
14336
- __Pyx_RefNannyDeclarations
14337
- __Pyx_RefNannySetupContext("__dealloc__", 0);
14338
14347
 
14339
14348
  /* "View.MemoryView":964
14340
14349
  *
@@ -14354,7 +14363,6 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
14354
14363
  */
14355
14364
 
14356
14365
  /* function exit code */
14357
- __Pyx_RefNannyFinishContext();
14358
14366
  }
14359
14367
 
14360
14368
  /* "View.MemoryView":966
@@ -14373,7 +14381,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
14373
14381
  int __pyx_lineno = 0;
14374
14382
  const char *__pyx_filename = NULL;
14375
14383
  int __pyx_clineno = 0;
14376
- __Pyx_RefNannySetupContext("convert_item_to_object", 0);
14384
+ __Pyx_RefNannySetupContext("convert_item_to_object", 1);
14377
14385
 
14378
14386
  /* "View.MemoryView":967
14379
14387
  *
@@ -14460,7 +14468,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
14460
14468
  int __pyx_lineno = 0;
14461
14469
  const char *__pyx_filename = NULL;
14462
14470
  int __pyx_clineno = 0;
14463
- __Pyx_RefNannySetupContext("assign_item_from_object", 0);
14471
+ __Pyx_RefNannySetupContext("assign_item_from_object", 1);
14464
14472
 
14465
14473
  /* "View.MemoryView":973
14466
14474
  *
@@ -14537,7 +14545,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
14537
14545
  static PyObject *__pyx_memoryviewslice__get_base(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
14538
14546
  PyObject *__pyx_r = NULL;
14539
14547
  __Pyx_RefNannyDeclarations
14540
- __Pyx_RefNannySetupContext("_get_base", 0);
14548
+ __Pyx_RefNannySetupContext("_get_base", 1);
14541
14549
 
14542
14550
  /* "View.MemoryView":979
14543
14551
  *
@@ -14591,9 +14599,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
14591
14599
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
14592
14600
  #endif
14593
14601
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
14594
- int __pyx_lineno = 0;
14595
- const char *__pyx_filename = NULL;
14596
- int __pyx_clineno = 0;
14597
14602
  PyObject *__pyx_r = 0;
14598
14603
  __Pyx_RefNannyDeclarations
14599
14604
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
@@ -14601,21 +14606,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
14601
14606
  #if CYTHON_ASSUME_SAFE_MACROS
14602
14607
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
14603
14608
  #else
14604
- __pyx_nargs = PyTuple_Size(__pyx_args);
14605
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
14609
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
14606
14610
  #endif
14607
14611
  #endif
14608
14612
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
14609
14613
  if (unlikely(__pyx_nargs > 0)) {
14610
14614
  __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
14611
14615
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
14612
- goto __pyx_L4_argument_unpacking_done;
14613
- goto __pyx_L3_error;
14614
- __pyx_L3_error:;
14615
- __Pyx_AddTraceback("View.MemoryView._memoryviewslice.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
14616
- __Pyx_RefNannyFinishContext();
14617
- return NULL;
14618
- __pyx_L4_argument_unpacking_done:;
14619
14616
  __pyx_r = __pyx_pf___pyx_memoryviewslice___reduce_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self));
14620
14617
 
14621
14618
  /* function exit code */
@@ -14629,7 +14626,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON_UNUSED
14629
14626
  int __pyx_lineno = 0;
14630
14627
  const char *__pyx_filename = NULL;
14631
14628
  int __pyx_clineno = 0;
14632
- __Pyx_RefNannySetupContext("__reduce_cython__", 0);
14629
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
14633
14630
 
14634
14631
  /* "(tree fragment)":2
14635
14632
  * def __reduce_cython__(self):
@@ -14693,8 +14690,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
14693
14690
  #if CYTHON_ASSUME_SAFE_MACROS
14694
14691
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
14695
14692
  #else
14696
- __pyx_nargs = PyTuple_Size(__pyx_args);
14697
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
14693
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
14698
14694
  #endif
14699
14695
  #endif
14700
14696
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -14729,10 +14725,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
14729
14725
  }
14730
14726
  __pyx_v___pyx_state = values[0];
14731
14727
  }
14732
- goto __pyx_L4_argument_unpacking_done;
14728
+ goto __pyx_L6_skip;
14733
14729
  __pyx_L5_argtuple_error:;
14734
14730
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
14735
- goto __pyx_L3_error;
14731
+ __pyx_L6_skip:;
14732
+ goto __pyx_L4_argument_unpacking_done;
14736
14733
  __pyx_L3_error:;
14737
14734
  {
14738
14735
  Py_ssize_t __pyx_temp;
@@ -14763,7 +14760,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYTHON_UNUS
14763
14760
  int __pyx_lineno = 0;
14764
14761
  const char *__pyx_filename = NULL;
14765
14762
  int __pyx_clineno = 0;
14766
- __Pyx_RefNannySetupContext("__setstate_cython__", 0);
14763
+ __Pyx_RefNannySetupContext("__setstate_cython__", 1);
14767
14764
 
14768
14765
  /* "(tree fragment)":4
14769
14766
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
@@ -14815,7 +14812,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
14815
14812
  int __pyx_lineno = 0;
14816
14813
  const char *__pyx_filename = NULL;
14817
14814
  int __pyx_clineno = 0;
14818
- __Pyx_RefNannySetupContext("memoryview_fromslice", 0);
14815
+ __Pyx_RefNannySetupContext("memoryview_fromslice", 1);
14819
14816
 
14820
14817
  /* "View.MemoryView":1007
14821
14818
  * cdef _memoryviewslice result
@@ -15192,7 +15189,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
15192
15189
  int __pyx_lineno = 0;
15193
15190
  const char *__pyx_filename = NULL;
15194
15191
  int __pyx_clineno = 0;
15195
- __Pyx_RefNannySetupContext("get_slice_from_memview", 0);
15192
+ __Pyx_RefNannySetupContext("get_slice_from_memview", 1);
15196
15193
 
15197
15194
  /* "View.MemoryView":1055
15198
15195
  * __Pyx_memviewslice *mslice) except NULL:
@@ -15289,14 +15286,12 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
15289
15286
  Py_ssize_t *__pyx_v_shape;
15290
15287
  Py_ssize_t *__pyx_v_strides;
15291
15288
  Py_ssize_t *__pyx_v_suboffsets;
15292
- __Pyx_RefNannyDeclarations
15293
15289
  Py_ssize_t *__pyx_t_1;
15294
15290
  int __pyx_t_2;
15295
15291
  int __pyx_t_3;
15296
15292
  int __pyx_t_4;
15297
15293
  Py_ssize_t __pyx_t_5;
15298
15294
  int __pyx_t_6;
15299
- __Pyx_RefNannySetupContext("slice_copy", 0);
15300
15295
 
15301
15296
  /* "View.MemoryView":1067
15302
15297
  * cdef (Py_ssize_t*) shape, strides, suboffsets
@@ -15401,7 +15396,6 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
15401
15396
  */
15402
15397
 
15403
15398
  /* function exit code */
15404
- __Pyx_RefNannyFinishContext();
15405
15399
  }
15406
15400
 
15407
15401
  /* "View.MemoryView":1080
@@ -15420,7 +15414,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
15420
15414
  int __pyx_lineno = 0;
15421
15415
  const char *__pyx_filename = NULL;
15422
15416
  int __pyx_clineno = 0;
15423
- __Pyx_RefNannySetupContext("memoryview_copy", 0);
15417
+ __Pyx_RefNannySetupContext("memoryview_copy", 1);
15424
15418
 
15425
15419
  /* "View.MemoryView":1083
15426
15420
  * "Create a new memoryview object"
@@ -15484,7 +15478,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
15484
15478
  int __pyx_lineno = 0;
15485
15479
  const char *__pyx_filename = NULL;
15486
15480
  int __pyx_clineno = 0;
15487
- __Pyx_RefNannySetupContext("memoryview_copy_from_slice", 0);
15481
+ __Pyx_RefNannySetupContext("memoryview_copy_from_slice", 1);
15488
15482
 
15489
15483
  /* "View.MemoryView":1094
15490
15484
  * cdef int (*to_dtype_func)(char *, object) except 0
@@ -16293,7 +16287,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
16293
16287
  size_t __pyx_v_itemsize;
16294
16288
  size_t __pyx_v_size;
16295
16289
  void *__pyx_r;
16296
- __Pyx_RefNannyDeclarations
16297
16290
  Py_ssize_t __pyx_t_1;
16298
16291
  int __pyx_t_2;
16299
16292
  int __pyx_t_3;
@@ -16306,7 +16299,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
16306
16299
  #ifdef WITH_THREAD
16307
16300
  PyGILState_STATE __pyx_gilstate_save;
16308
16301
  #endif
16309
- __Pyx_RefNannySetupContext("copy_data_to_temp", 1);
16310
16302
 
16311
16303
  /* "View.MemoryView":1216
16312
16304
  * cdef void *result
@@ -16534,7 +16526,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
16534
16526
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
16535
16527
  #endif
16536
16528
  __pyx_L0:;
16537
- __Pyx_RefNannyFinishContextNogil()
16538
16529
  return __pyx_r;
16539
16530
  }
16540
16531
 
@@ -16754,14 +16745,12 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, PyObject *__pyx_v_msg)
16754
16745
 
16755
16746
  static int __pyx_memoryview_err_no_memory(void) {
16756
16747
  int __pyx_r;
16757
- __Pyx_RefNannyDeclarations
16758
16748
  int __pyx_lineno = 0;
16759
16749
  const char *__pyx_filename = NULL;
16760
16750
  int __pyx_clineno = 0;
16761
16751
  #ifdef WITH_THREAD
16762
16752
  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
16763
16753
  #endif
16764
- __Pyx_RefNannySetupContext("_err_no_memory", 0);
16765
16754
 
16766
16755
  /* "View.MemoryView":1261
16767
16756
  * @cname('__pyx_memoryview_err_no_memory')
@@ -16784,7 +16773,6 @@ static int __pyx_memoryview_err_no_memory(void) {
16784
16773
  __pyx_L1_error:;
16785
16774
  __Pyx_AddTraceback("View.MemoryView._err_no_memory", __pyx_clineno, __pyx_lineno, __pyx_filename);
16786
16775
  __pyx_r = -1;
16787
- __Pyx_RefNannyFinishContext();
16788
16776
  #ifdef WITH_THREAD
16789
16777
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
16790
16778
  #endif
@@ -16809,7 +16797,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
16809
16797
  __Pyx_memviewslice __pyx_v_tmp;
16810
16798
  int __pyx_v_ndim;
16811
16799
  int __pyx_r;
16812
- __Pyx_RefNannyDeclarations
16813
16800
  Py_ssize_t __pyx_t_1;
16814
16801
  int __pyx_t_2;
16815
16802
  int __pyx_t_3;
@@ -16823,7 +16810,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
16823
16810
  #ifdef WITH_THREAD
16824
16811
  PyGILState_STATE __pyx_gilstate_save;
16825
16812
  #endif
16826
- __Pyx_RefNannySetupContext("memoryview_copy_contents", 1);
16827
16813
 
16828
16814
  /* "View.MemoryView":1273
16829
16815
  * Check for overlapping memory and verify the shapes.
@@ -17368,7 +17354,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
17368
17354
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
17369
17355
  #endif
17370
17356
  __pyx_L0:;
17371
- __Pyx_RefNannyFinishContextNogil()
17372
17357
  return __pyx_r;
17373
17358
  }
17374
17359
 
@@ -17542,11 +17527,9 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
17542
17527
  */
17543
17528
 
17544
17529
  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) {
17545
- __Pyx_RefNannyDeclarations
17546
17530
  #ifdef WITH_THREAD
17547
17531
  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
17548
17532
  #endif
17549
- __Pyx_RefNannySetupContext("refcount_objects_in_slice_with_gil", 0);
17550
17533
 
17551
17534
  /* "View.MemoryView":1368
17552
17535
  * Py_ssize_t *strides, int ndim,
@@ -17566,7 +17549,6 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
17566
17549
  */
17567
17550
 
17568
17551
  /* function exit code */
17569
- __Pyx_RefNannyFinishContext();
17570
17552
  #ifdef WITH_THREAD
17571
17553
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
17572
17554
  #endif
@@ -17583,12 +17565,10 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
17583
17565
  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) {
17584
17566
  CYTHON_UNUSED Py_ssize_t __pyx_v_i;
17585
17567
  Py_ssize_t __pyx_v_stride;
17586
- __Pyx_RefNannyDeclarations
17587
17568
  Py_ssize_t __pyx_t_1;
17588
17569
  Py_ssize_t __pyx_t_2;
17589
17570
  Py_ssize_t __pyx_t_3;
17590
17571
  int __pyx_t_4;
17591
- __Pyx_RefNannySetupContext("refcount_objects_in_slice", 0);
17592
17572
 
17593
17573
  /* "View.MemoryView":1374
17594
17574
  * Py_ssize_t *strides, int ndim, bint inc) noexcept:
@@ -17702,7 +17682,6 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
17702
17682
  */
17703
17683
 
17704
17684
  /* function exit code */
17705
- __Pyx_RefNannyFinishContext();
17706
17685
  }
17707
17686
 
17708
17687
  /* "View.MemoryView":1391
@@ -17924,8 +17903,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
17924
17903
  #if CYTHON_ASSUME_SAFE_MACROS
17925
17904
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
17926
17905
  #else
17927
- __pyx_nargs = PyTuple_Size(__pyx_args);
17928
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
17906
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
17929
17907
  #endif
17930
17908
  #endif
17931
17909
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -17988,10 +17966,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
17988
17966
  __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)
17989
17967
  __pyx_v___pyx_state = values[2];
17990
17968
  }
17991
- goto __pyx_L4_argument_unpacking_done;
17969
+ goto __pyx_L6_skip;
17992
17970
  __pyx_L5_argtuple_error:;
17993
17971
  __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 1, __pyx_L3_error)
17994
- goto __pyx_L3_error;
17972
+ __pyx_L6_skip:;
17973
+ goto __pyx_L4_argument_unpacking_done;
17995
17974
  __pyx_L3_error:;
17996
17975
  {
17997
17976
  Py_ssize_t __pyx_temp;
@@ -18029,7 +18008,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSE
18029
18008
  int __pyx_lineno = 0;
18030
18009
  const char *__pyx_filename = NULL;
18031
18010
  int __pyx_clineno = 0;
18032
- __Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 0);
18011
+ __Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 1);
18033
18012
 
18034
18013
  /* "(tree fragment)":4
18035
18014
  * cdef object __pyx_PickleError
@@ -18211,7 +18190,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
18211
18190
  int __pyx_lineno = 0;
18212
18191
  const char *__pyx_filename = NULL;
18213
18192
  int __pyx_clineno = 0;
18214
- __Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 0);
18193
+ __Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 1);
18215
18194
 
18216
18195
  /* "(tree fragment)":12
18217
18196
  * return __pyx_result
@@ -18327,7 +18306,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
18327
18306
  return __pyx_r;
18328
18307
  }
18329
18308
 
18330
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":246
18309
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":246
18331
18310
  *
18332
18311
  * @property
18333
18312
  * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@@ -18338,7 +18317,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
18338
18317
  static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
18339
18318
  PyObject *__pyx_r;
18340
18319
 
18341
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":249
18320
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":249
18342
18321
  * """Returns a borrowed reference to the object owning the data/memory.
18343
18322
  * """
18344
18323
  * return PyArray_BASE(self) # <<<<<<<<<<<<<<
@@ -18348,7 +18327,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
18348
18327
  __pyx_r = PyArray_BASE(__pyx_v_self);
18349
18328
  goto __pyx_L0;
18350
18329
 
18351
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":246
18330
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":246
18352
18331
  *
18353
18332
  * @property
18354
18333
  * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@@ -18361,7 +18340,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
18361
18340
  return __pyx_r;
18362
18341
  }
18363
18342
 
18364
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":252
18343
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":252
18365
18344
  *
18366
18345
  * @property
18367
18346
  * cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@@ -18373,9 +18352,9 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
18373
18352
  PyArray_Descr *__pyx_r = NULL;
18374
18353
  __Pyx_RefNannyDeclarations
18375
18354
  PyArray_Descr *__pyx_t_1;
18376
- __Pyx_RefNannySetupContext("descr", 0);
18355
+ __Pyx_RefNannySetupContext("descr", 1);
18377
18356
 
18378
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":255
18357
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":255
18379
18358
  * """Returns an owned reference to the dtype of the array.
18380
18359
  * """
18381
18360
  * return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
@@ -18388,7 +18367,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
18388
18367
  __pyx_r = ((PyArray_Descr *)__pyx_t_1);
18389
18368
  goto __pyx_L0;
18390
18369
 
18391
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":252
18370
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":252
18392
18371
  *
18393
18372
  * @property
18394
18373
  * cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@@ -18403,7 +18382,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
18403
18382
  return __pyx_r;
18404
18383
  }
18405
18384
 
18406
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":258
18385
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":258
18407
18386
  *
18408
18387
  * @property
18409
18388
  * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@@ -18414,7 +18393,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
18414
18393
  static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
18415
18394
  int __pyx_r;
18416
18395
 
18417
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":261
18396
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":261
18418
18397
  * """Returns the number of dimensions in the array.
18419
18398
  * """
18420
18399
  * return PyArray_NDIM(self) # <<<<<<<<<<<<<<
@@ -18424,7 +18403,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
18424
18403
  __pyx_r = PyArray_NDIM(__pyx_v_self);
18425
18404
  goto __pyx_L0;
18426
18405
 
18427
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":258
18406
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":258
18428
18407
  *
18429
18408
  * @property
18430
18409
  * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@@ -18437,7 +18416,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
18437
18416
  return __pyx_r;
18438
18417
  }
18439
18418
 
18440
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":264
18419
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":264
18441
18420
  *
18442
18421
  * @property
18443
18422
  * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@@ -18448,7 +18427,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
18448
18427
  static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
18449
18428
  npy_intp *__pyx_r;
18450
18429
 
18451
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":269
18430
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":269
18452
18431
  * Can return NULL for 0-dimensional arrays.
18453
18432
  * """
18454
18433
  * return PyArray_DIMS(self) # <<<<<<<<<<<<<<
@@ -18458,7 +18437,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
18458
18437
  __pyx_r = PyArray_DIMS(__pyx_v_self);
18459
18438
  goto __pyx_L0;
18460
18439
 
18461
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":264
18440
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":264
18462
18441
  *
18463
18442
  * @property
18464
18443
  * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@@ -18471,7 +18450,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
18471
18450
  return __pyx_r;
18472
18451
  }
18473
18452
 
18474
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":272
18453
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":272
18475
18454
  *
18476
18455
  * @property
18477
18456
  * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@@ -18482,7 +18461,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
18482
18461
  static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
18483
18462
  npy_intp *__pyx_r;
18484
18463
 
18485
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":276
18464
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":276
18486
18465
  * The number of elements matches the number of dimensions of the array (ndim).
18487
18466
  * """
18488
18467
  * return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
@@ -18492,7 +18471,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
18492
18471
  __pyx_r = PyArray_STRIDES(__pyx_v_self);
18493
18472
  goto __pyx_L0;
18494
18473
 
18495
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":272
18474
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":272
18496
18475
  *
18497
18476
  * @property
18498
18477
  * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@@ -18505,7 +18484,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
18505
18484
  return __pyx_r;
18506
18485
  }
18507
18486
 
18508
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":279
18487
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":279
18509
18488
  *
18510
18489
  * @property
18511
18490
  * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@@ -18516,7 +18495,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
18516
18495
  static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
18517
18496
  npy_intp __pyx_r;
18518
18497
 
18519
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":282
18498
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":282
18520
18499
  * """Returns the total size (in number of elements) of the array.
18521
18500
  * """
18522
18501
  * return PyArray_SIZE(self) # <<<<<<<<<<<<<<
@@ -18526,7 +18505,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
18526
18505
  __pyx_r = PyArray_SIZE(__pyx_v_self);
18527
18506
  goto __pyx_L0;
18528
18507
 
18529
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":279
18508
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":279
18530
18509
  *
18531
18510
  * @property
18532
18511
  * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@@ -18539,7 +18518,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
18539
18518
  return __pyx_r;
18540
18519
  }
18541
18520
 
18542
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":285
18521
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":285
18543
18522
  *
18544
18523
  * @property
18545
18524
  * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@@ -18550,7 +18529,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
18550
18529
  static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
18551
18530
  char *__pyx_r;
18552
18531
 
18553
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":291
18532
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":291
18554
18533
  * of `PyArray_DATA()` instead, which returns a 'void*'.
18555
18534
  * """
18556
18535
  * return PyArray_BYTES(self) # <<<<<<<<<<<<<<
@@ -18560,7 +18539,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
18560
18539
  __pyx_r = PyArray_BYTES(__pyx_v_self);
18561
18540
  goto __pyx_L0;
18562
18541
 
18563
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":285
18542
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":285
18564
18543
  *
18565
18544
  * @property
18566
18545
  * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@@ -18573,7 +18552,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
18573
18552
  return __pyx_r;
18574
18553
  }
18575
18554
 
18576
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":777
18555
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":777
18577
18556
  * ctypedef npy_cdouble complex_t
18578
18557
  *
18579
18558
  * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@@ -18588,9 +18567,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
18588
18567
  int __pyx_lineno = 0;
18589
18568
  const char *__pyx_filename = NULL;
18590
18569
  int __pyx_clineno = 0;
18591
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 0);
18570
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1);
18592
18571
 
18593
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":778
18572
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":778
18594
18573
  *
18595
18574
  * cdef inline object PyArray_MultiIterNew1(a):
18596
18575
  * return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
@@ -18604,7 +18583,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
18604
18583
  __pyx_t_1 = 0;
18605
18584
  goto __pyx_L0;
18606
18585
 
18607
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":777
18586
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":777
18608
18587
  * ctypedef npy_cdouble complex_t
18609
18588
  *
18610
18589
  * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@@ -18623,7 +18602,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
18623
18602
  return __pyx_r;
18624
18603
  }
18625
18604
 
18626
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":780
18605
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":780
18627
18606
  * return PyArray_MultiIterNew(1, <void*>a)
18628
18607
  *
18629
18608
  * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@@ -18638,9 +18617,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
18638
18617
  int __pyx_lineno = 0;
18639
18618
  const char *__pyx_filename = NULL;
18640
18619
  int __pyx_clineno = 0;
18641
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 0);
18620
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1);
18642
18621
 
18643
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":781
18622
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":781
18644
18623
  *
18645
18624
  * cdef inline object PyArray_MultiIterNew2(a, b):
18646
18625
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
@@ -18654,7 +18633,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
18654
18633
  __pyx_t_1 = 0;
18655
18634
  goto __pyx_L0;
18656
18635
 
18657
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":780
18636
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":780
18658
18637
  * return PyArray_MultiIterNew(1, <void*>a)
18659
18638
  *
18660
18639
  * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@@ -18673,7 +18652,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
18673
18652
  return __pyx_r;
18674
18653
  }
18675
18654
 
18676
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":783
18655
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":783
18677
18656
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b)
18678
18657
  *
18679
18658
  * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@@ -18688,9 +18667,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
18688
18667
  int __pyx_lineno = 0;
18689
18668
  const char *__pyx_filename = NULL;
18690
18669
  int __pyx_clineno = 0;
18691
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 0);
18670
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1);
18692
18671
 
18693
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":784
18672
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":784
18694
18673
  *
18695
18674
  * cdef inline object PyArray_MultiIterNew3(a, b, c):
18696
18675
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
@@ -18704,7 +18683,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
18704
18683
  __pyx_t_1 = 0;
18705
18684
  goto __pyx_L0;
18706
18685
 
18707
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":783
18686
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":783
18708
18687
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b)
18709
18688
  *
18710
18689
  * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@@ -18723,7 +18702,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
18723
18702
  return __pyx_r;
18724
18703
  }
18725
18704
 
18726
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":786
18705
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":786
18727
18706
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
18728
18707
  *
18729
18708
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@@ -18738,9 +18717,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
18738
18717
  int __pyx_lineno = 0;
18739
18718
  const char *__pyx_filename = NULL;
18740
18719
  int __pyx_clineno = 0;
18741
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 0);
18720
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1);
18742
18721
 
18743
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":787
18722
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":787
18744
18723
  *
18745
18724
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d):
18746
18725
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
@@ -18754,7 +18733,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
18754
18733
  __pyx_t_1 = 0;
18755
18734
  goto __pyx_L0;
18756
18735
 
18757
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":786
18736
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":786
18758
18737
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
18759
18738
  *
18760
18739
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@@ -18773,7 +18752,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
18773
18752
  return __pyx_r;
18774
18753
  }
18775
18754
 
18776
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789
18755
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789
18777
18756
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
18778
18757
  *
18779
18758
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@@ -18788,9 +18767,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
18788
18767
  int __pyx_lineno = 0;
18789
18768
  const char *__pyx_filename = NULL;
18790
18769
  int __pyx_clineno = 0;
18791
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 0);
18770
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1);
18792
18771
 
18793
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":790
18772
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":790
18794
18773
  *
18795
18774
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
18796
18775
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
@@ -18804,7 +18783,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
18804
18783
  __pyx_t_1 = 0;
18805
18784
  goto __pyx_L0;
18806
18785
 
18807
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789
18786
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789
18808
18787
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
18809
18788
  *
18810
18789
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@@ -18823,7 +18802,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
18823
18802
  return __pyx_r;
18824
18803
  }
18825
18804
 
18826
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":792
18805
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":792
18827
18806
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
18828
18807
  *
18829
18808
  * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@@ -18835,9 +18814,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
18835
18814
  PyObject *__pyx_r = NULL;
18836
18815
  __Pyx_RefNannyDeclarations
18837
18816
  int __pyx_t_1;
18838
- __Pyx_RefNannySetupContext("PyDataType_SHAPE", 0);
18817
+ __Pyx_RefNannySetupContext("PyDataType_SHAPE", 1);
18839
18818
 
18840
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":793
18819
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":793
18841
18820
  *
18842
18821
  * cdef inline tuple PyDataType_SHAPE(dtype d):
18843
18822
  * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@@ -18847,7 +18826,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
18847
18826
  __pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
18848
18827
  if (__pyx_t_1) {
18849
18828
 
18850
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":794
18829
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":794
18851
18830
  * cdef inline tuple PyDataType_SHAPE(dtype d):
18852
18831
  * if PyDataType_HASSUBARRAY(d):
18853
18832
  * return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
@@ -18859,7 +18838,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
18859
18838
  __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
18860
18839
  goto __pyx_L0;
18861
18840
 
18862
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":793
18841
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":793
18863
18842
  *
18864
18843
  * cdef inline tuple PyDataType_SHAPE(dtype d):
18865
18844
  * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@@ -18868,7 +18847,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
18868
18847
  */
18869
18848
  }
18870
18849
 
18871
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":796
18850
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":796
18872
18851
  * return <tuple>d.subarray.shape
18873
18852
  * else:
18874
18853
  * return () # <<<<<<<<<<<<<<
@@ -18882,7 +18861,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
18882
18861
  goto __pyx_L0;
18883
18862
  }
18884
18863
 
18885
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":792
18864
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":792
18886
18865
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
18887
18866
  *
18888
18867
  * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@@ -18897,7 +18876,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
18897
18876
  return __pyx_r;
18898
18877
  }
18899
18878
 
18900
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":971
18879
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":971
18901
18880
  * int _import_umath() except -1
18902
18881
  *
18903
18882
  * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@@ -18906,10 +18885,8 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
18906
18885
  */
18907
18886
 
18908
18887
  static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
18909
- __Pyx_RefNannyDeclarations
18910
- __Pyx_RefNannySetupContext("set_array_base", 0);
18911
18888
 
18912
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":972
18889
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":972
18913
18890
  *
18914
18891
  * cdef inline void set_array_base(ndarray arr, object base):
18915
18892
  * Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
@@ -18918,7 +18895,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
18918
18895
  */
18919
18896
  Py_INCREF(__pyx_v_base);
18920
18897
 
18921
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":973
18898
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":973
18922
18899
  * cdef inline void set_array_base(ndarray arr, object base):
18923
18900
  * Py_INCREF(base) # important to do this before stealing the reference below!
18924
18901
  * PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
@@ -18927,7 +18904,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
18927
18904
  */
18928
18905
  (void)(PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base));
18929
18906
 
18930
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":971
18907
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":971
18931
18908
  * int _import_umath() except -1
18932
18909
  *
18933
18910
  * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@@ -18936,10 +18913,9 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
18936
18913
  */
18937
18914
 
18938
18915
  /* function exit code */
18939
- __Pyx_RefNannyFinishContext();
18940
18916
  }
18941
18917
 
18942
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":975
18918
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":975
18943
18919
  * PyArray_SetBaseObject(arr, base)
18944
18920
  *
18945
18921
  * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@@ -18952,9 +18928,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
18952
18928
  PyObject *__pyx_r = NULL;
18953
18929
  __Pyx_RefNannyDeclarations
18954
18930
  int __pyx_t_1;
18955
- __Pyx_RefNannySetupContext("get_array_base", 0);
18931
+ __Pyx_RefNannySetupContext("get_array_base", 1);
18956
18932
 
18957
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":976
18933
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":976
18958
18934
  *
18959
18935
  * cdef inline object get_array_base(ndarray arr):
18960
18936
  * base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
@@ -18963,7 +18939,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
18963
18939
  */
18964
18940
  __pyx_v_base = PyArray_BASE(__pyx_v_arr);
18965
18941
 
18966
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":977
18942
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":977
18967
18943
  * cdef inline object get_array_base(ndarray arr):
18968
18944
  * base = PyArray_BASE(arr)
18969
18945
  * if base is NULL: # <<<<<<<<<<<<<<
@@ -18973,7 +18949,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
18973
18949
  __pyx_t_1 = (__pyx_v_base == NULL);
18974
18950
  if (__pyx_t_1) {
18975
18951
 
18976
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":978
18952
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":978
18977
18953
  * base = PyArray_BASE(arr)
18978
18954
  * if base is NULL:
18979
18955
  * return None # <<<<<<<<<<<<<<
@@ -18984,7 +18960,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
18984
18960
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
18985
18961
  goto __pyx_L0;
18986
18962
 
18987
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":977
18963
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":977
18988
18964
  * cdef inline object get_array_base(ndarray arr):
18989
18965
  * base = PyArray_BASE(arr)
18990
18966
  * if base is NULL: # <<<<<<<<<<<<<<
@@ -18993,7 +18969,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
18993
18969
  */
18994
18970
  }
18995
18971
 
18996
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":979
18972
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":979
18997
18973
  * if base is NULL:
18998
18974
  * return None
18999
18975
  * return <object>base # <<<<<<<<<<<<<<
@@ -19005,7 +18981,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19005
18981
  __pyx_r = ((PyObject *)__pyx_v_base);
19006
18982
  goto __pyx_L0;
19007
18983
 
19008
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":975
18984
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":975
19009
18985
  * PyArray_SetBaseObject(arr, base)
19010
18986
  *
19011
18987
  * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@@ -19020,7 +18996,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19020
18996
  return __pyx_r;
19021
18997
  }
19022
18998
 
19023
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":983
18999
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":983
19024
19000
  * # Versions of the import_* functions which are more suitable for
19025
19001
  * # Cython code.
19026
19002
  * cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@@ -19042,9 +19018,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19042
19018
  int __pyx_lineno = 0;
19043
19019
  const char *__pyx_filename = NULL;
19044
19020
  int __pyx_clineno = 0;
19045
- __Pyx_RefNannySetupContext("import_array", 0);
19021
+ __Pyx_RefNannySetupContext("import_array", 1);
19046
19022
 
19047
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
19023
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
19048
19024
  * # Cython code.
19049
19025
  * cdef inline int import_array() except -1:
19050
19026
  * try: # <<<<<<<<<<<<<<
@@ -19060,7 +19036,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19060
19036
  __Pyx_XGOTREF(__pyx_t_3);
19061
19037
  /*try:*/ {
19062
19038
 
19063
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":985
19039
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":985
19064
19040
  * cdef inline int import_array() except -1:
19065
19041
  * try:
19066
19042
  * __pyx_import_array() # <<<<<<<<<<<<<<
@@ -19069,7 +19045,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19069
19045
  */
19070
19046
  __pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 985, __pyx_L3_error)
19071
19047
 
19072
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
19048
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
19073
19049
  * # Cython code.
19074
19050
  * cdef inline int import_array() except -1:
19075
19051
  * try: # <<<<<<<<<<<<<<
@@ -19083,7 +19059,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19083
19059
  goto __pyx_L8_try_end;
19084
19060
  __pyx_L3_error:;
19085
19061
 
19086
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":986
19062
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":986
19087
19063
  * try:
19088
19064
  * __pyx_import_array()
19089
19065
  * except Exception: # <<<<<<<<<<<<<<
@@ -19098,7 +19074,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19098
19074
  __Pyx_XGOTREF(__pyx_t_6);
19099
19075
  __Pyx_XGOTREF(__pyx_t_7);
19100
19076
 
19101
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987
19077
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987
19102
19078
  * __pyx_import_array()
19103
19079
  * except Exception:
19104
19080
  * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@@ -19113,7 +19089,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19113
19089
  }
19114
19090
  goto __pyx_L5_except_error;
19115
19091
 
19116
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
19092
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
19117
19093
  * # Cython code.
19118
19094
  * cdef inline int import_array() except -1:
19119
19095
  * try: # <<<<<<<<<<<<<<
@@ -19129,7 +19105,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19129
19105
  __pyx_L8_try_end:;
19130
19106
  }
19131
19107
 
19132
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":983
19108
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":983
19133
19109
  * # Versions of the import_* functions which are more suitable for
19134
19110
  * # Cython code.
19135
19111
  * cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@@ -19152,7 +19128,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19152
19128
  return __pyx_r;
19153
19129
  }
19154
19130
 
19155
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":989
19131
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":989
19156
19132
  * raise ImportError("numpy.core.multiarray failed to import")
19157
19133
  *
19158
19134
  * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@@ -19174,9 +19150,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19174
19150
  int __pyx_lineno = 0;
19175
19151
  const char *__pyx_filename = NULL;
19176
19152
  int __pyx_clineno = 0;
19177
- __Pyx_RefNannySetupContext("import_umath", 0);
19153
+ __Pyx_RefNannySetupContext("import_umath", 1);
19178
19154
 
19179
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
19155
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
19180
19156
  *
19181
19157
  * cdef inline int import_umath() except -1:
19182
19158
  * try: # <<<<<<<<<<<<<<
@@ -19192,7 +19168,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19192
19168
  __Pyx_XGOTREF(__pyx_t_3);
19193
19169
  /*try:*/ {
19194
19170
 
19195
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":991
19171
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":991
19196
19172
  * cdef inline int import_umath() except -1:
19197
19173
  * try:
19198
19174
  * _import_umath() # <<<<<<<<<<<<<<
@@ -19201,7 +19177,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19201
19177
  */
19202
19178
  __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 991, __pyx_L3_error)
19203
19179
 
19204
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
19180
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
19205
19181
  *
19206
19182
  * cdef inline int import_umath() except -1:
19207
19183
  * try: # <<<<<<<<<<<<<<
@@ -19215,7 +19191,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19215
19191
  goto __pyx_L8_try_end;
19216
19192
  __pyx_L3_error:;
19217
19193
 
19218
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":992
19194
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":992
19219
19195
  * try:
19220
19196
  * _import_umath()
19221
19197
  * except Exception: # <<<<<<<<<<<<<<
@@ -19230,7 +19206,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19230
19206
  __Pyx_XGOTREF(__pyx_t_6);
19231
19207
  __Pyx_XGOTREF(__pyx_t_7);
19232
19208
 
19233
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993
19209
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993
19234
19210
  * _import_umath()
19235
19211
  * except Exception:
19236
19212
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -19245,7 +19221,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19245
19221
  }
19246
19222
  goto __pyx_L5_except_error;
19247
19223
 
19248
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
19224
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
19249
19225
  *
19250
19226
  * cdef inline int import_umath() except -1:
19251
19227
  * try: # <<<<<<<<<<<<<<
@@ -19261,7 +19237,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19261
19237
  __pyx_L8_try_end:;
19262
19238
  }
19263
19239
 
19264
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":989
19240
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":989
19265
19241
  * raise ImportError("numpy.core.multiarray failed to import")
19266
19242
  *
19267
19243
  * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@@ -19284,7 +19260,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19284
19260
  return __pyx_r;
19285
19261
  }
19286
19262
 
19287
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":995
19263
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":995
19288
19264
  * raise ImportError("numpy.core.umath failed to import")
19289
19265
  *
19290
19266
  * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@@ -19306,9 +19282,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19306
19282
  int __pyx_lineno = 0;
19307
19283
  const char *__pyx_filename = NULL;
19308
19284
  int __pyx_clineno = 0;
19309
- __Pyx_RefNannySetupContext("import_ufunc", 0);
19285
+ __Pyx_RefNannySetupContext("import_ufunc", 1);
19310
19286
 
19311
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
19287
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
19312
19288
  *
19313
19289
  * cdef inline int import_ufunc() except -1:
19314
19290
  * try: # <<<<<<<<<<<<<<
@@ -19324,7 +19300,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19324
19300
  __Pyx_XGOTREF(__pyx_t_3);
19325
19301
  /*try:*/ {
19326
19302
 
19327
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":997
19303
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":997
19328
19304
  * cdef inline int import_ufunc() except -1:
19329
19305
  * try:
19330
19306
  * _import_umath() # <<<<<<<<<<<<<<
@@ -19333,7 +19309,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19333
19309
  */
19334
19310
  __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 997, __pyx_L3_error)
19335
19311
 
19336
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
19312
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
19337
19313
  *
19338
19314
  * cdef inline int import_ufunc() except -1:
19339
19315
  * try: # <<<<<<<<<<<<<<
@@ -19347,7 +19323,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19347
19323
  goto __pyx_L8_try_end;
19348
19324
  __pyx_L3_error:;
19349
19325
 
19350
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":998
19326
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":998
19351
19327
  * try:
19352
19328
  * _import_umath()
19353
19329
  * except Exception: # <<<<<<<<<<<<<<
@@ -19362,7 +19338,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19362
19338
  __Pyx_XGOTREF(__pyx_t_6);
19363
19339
  __Pyx_XGOTREF(__pyx_t_7);
19364
19340
 
19365
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":999
19341
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":999
19366
19342
  * _import_umath()
19367
19343
  * except Exception:
19368
19344
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -19377,7 +19353,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19377
19353
  }
19378
19354
  goto __pyx_L5_except_error;
19379
19355
 
19380
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
19356
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
19381
19357
  *
19382
19358
  * cdef inline int import_ufunc() except -1:
19383
19359
  * try: # <<<<<<<<<<<<<<
@@ -19393,7 +19369,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19393
19369
  __pyx_L8_try_end:;
19394
19370
  }
19395
19371
 
19396
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":995
19372
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":995
19397
19373
  * raise ImportError("numpy.core.umath failed to import")
19398
19374
  *
19399
19375
  * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@@ -19416,7 +19392,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19416
19392
  return __pyx_r;
19417
19393
  }
19418
19394
 
19419
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1002
19395
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1002
19420
19396
  *
19421
19397
  *
19422
19398
  * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@@ -19426,10 +19402,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19426
19402
 
19427
19403
  static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
19428
19404
  int __pyx_r;
19429
- __Pyx_RefNannyDeclarations
19430
- __Pyx_RefNannySetupContext("is_timedelta64_object", 0);
19431
19405
 
19432
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1014
19406
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1014
19433
19407
  * bool
19434
19408
  * """
19435
19409
  * return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
@@ -19439,7 +19413,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
19439
19413
  __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
19440
19414
  goto __pyx_L0;
19441
19415
 
19442
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1002
19416
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1002
19443
19417
  *
19444
19418
  *
19445
19419
  * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@@ -19449,11 +19423,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
19449
19423
 
19450
19424
  /* function exit code */
19451
19425
  __pyx_L0:;
19452
- __Pyx_RefNannyFinishContext();
19453
19426
  return __pyx_r;
19454
19427
  }
19455
19428
 
19456
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1017
19429
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1017
19457
19430
  *
19458
19431
  *
19459
19432
  * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@@ -19463,10 +19436,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
19463
19436
 
19464
19437
  static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
19465
19438
  int __pyx_r;
19466
- __Pyx_RefNannyDeclarations
19467
- __Pyx_RefNannySetupContext("is_datetime64_object", 0);
19468
19439
 
19469
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1029
19440
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1029
19470
19441
  * bool
19471
19442
  * """
19472
19443
  * return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
@@ -19476,7 +19447,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
19476
19447
  __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
19477
19448
  goto __pyx_L0;
19478
19449
 
19479
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1017
19450
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1017
19480
19451
  *
19481
19452
  *
19482
19453
  * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@@ -19486,11 +19457,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
19486
19457
 
19487
19458
  /* function exit code */
19488
19459
  __pyx_L0:;
19489
- __Pyx_RefNannyFinishContext();
19490
19460
  return __pyx_r;
19491
19461
  }
19492
19462
 
19493
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1032
19463
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1032
19494
19464
  *
19495
19465
  *
19496
19466
  * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19501,7 +19471,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
19501
19471
  static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
19502
19472
  npy_datetime __pyx_r;
19503
19473
 
19504
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1039
19474
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1039
19505
19475
  * also needed. That can be found using `get_datetime64_unit`.
19506
19476
  * """
19507
19477
  * return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
@@ -19511,7 +19481,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
19511
19481
  __pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
19512
19482
  goto __pyx_L0;
19513
19483
 
19514
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1032
19484
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1032
19515
19485
  *
19516
19486
  *
19517
19487
  * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19524,7 +19494,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
19524
19494
  return __pyx_r;
19525
19495
  }
19526
19496
 
19527
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1042
19497
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1042
19528
19498
  *
19529
19499
  *
19530
19500
  * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19535,7 +19505,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
19535
19505
  static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
19536
19506
  npy_timedelta __pyx_r;
19537
19507
 
19538
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1046
19508
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1046
19539
19509
  * returns the int64 value underlying scalar numpy timedelta64 object
19540
19510
  * """
19541
19511
  * return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
@@ -19545,7 +19515,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
19545
19515
  __pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
19546
19516
  goto __pyx_L0;
19547
19517
 
19548
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1042
19518
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1042
19549
19519
  *
19550
19520
  *
19551
19521
  * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19558,7 +19528,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
19558
19528
  return __pyx_r;
19559
19529
  }
19560
19530
 
19561
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049
19531
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049
19562
19532
  *
19563
19533
  *
19564
19534
  * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19569,7 +19539,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
19569
19539
  static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
19570
19540
  NPY_DATETIMEUNIT __pyx_r;
19571
19541
 
19572
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1053
19542
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1053
19573
19543
  * returns the unit part of the dtype for a numpy datetime64 object.
19574
19544
  * """
19575
19545
  * return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
@@ -19577,7 +19547,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
19577
19547
  __pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
19578
19548
  goto __pyx_L0;
19579
19549
 
19580
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049
19550
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049
19581
19551
  *
19582
19552
  *
19583
19553
  * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19633,8 +19603,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
19633
19603
  #if CYTHON_ASSUME_SAFE_MACROS
19634
19604
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
19635
19605
  #else
19636
- __pyx_nargs = PyTuple_Size(__pyx_args);
19637
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 28, __pyx_L3_error)
19606
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
19638
19607
  #endif
19639
19608
  #endif
19640
19609
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -19697,10 +19666,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
19697
19666
  __pyx_v_kmer_alphabet = values[1];
19698
19667
  __pyx_v_kmer = values[2];
19699
19668
  }
19700
- goto __pyx_L4_argument_unpacking_done;
19669
+ goto __pyx_L6_skip;
19701
19670
  __pyx_L5_argtuple_error:;
19702
19671
  __Pyx_RaiseArgtupleInvalid("similar_kmers", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 28, __pyx_L3_error)
19703
- goto __pyx_L3_error;
19672
+ __pyx_L6_skip:;
19673
+ goto __pyx_L4_argument_unpacking_done;
19704
19674
  __pyx_L3_error:;
19705
19675
  {
19706
19676
  Py_ssize_t __pyx_temp;
@@ -19728,7 +19698,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
19728
19698
  static PyObject *__pyx_pf_7biotite_8sequence_5align_14kmersimilarity_14SimilarityRule_similar_kmers(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_kmer_alphabet, CYTHON_UNUSED PyObject *__pyx_v_kmer) {
19729
19699
  PyObject *__pyx_r = NULL;
19730
19700
  __Pyx_RefNannyDeclarations
19731
- __Pyx_RefNannySetupContext("similar_kmers", 0);
19701
+ __Pyx_RefNannySetupContext("similar_kmers", 1);
19732
19702
 
19733
19703
  /* function exit code */
19734
19704
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
@@ -19779,8 +19749,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
19779
19749
  #if CYTHON_ASSUME_SAFE_MACROS
19780
19750
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
19781
19751
  #else
19782
- __pyx_nargs = PyTuple_Size(__pyx_args);
19783
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 112, __pyx_L3_error)
19752
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
19784
19753
  #endif
19785
19754
  #endif
19786
19755
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -19843,10 +19812,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
19843
19812
  __pyx_v_matrix = values[1];
19844
19813
  __pyx_v_threshold = __Pyx_PyInt_As_npy_int32(values[2]); if (unlikely((__pyx_v_threshold == ((npy_int32)-1)) && PyErr_Occurred())) __PYX_ERR(0, 112, __pyx_L3_error)
19845
19814
  }
19846
- goto __pyx_L4_argument_unpacking_done;
19815
+ goto __pyx_L6_skip;
19847
19816
  __pyx_L5_argtuple_error:;
19848
19817
  __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 112, __pyx_L3_error)
19849
- goto __pyx_L3_error;
19818
+ __pyx_L6_skip:;
19819
+ goto __pyx_L4_argument_unpacking_done;
19850
19820
  __pyx_L3_error:;
19851
19821
  {
19852
19822
  Py_ssize_t __pyx_temp;
@@ -19883,7 +19853,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5align_14kmersimilarity_18ScoreThre
19883
19853
  int __pyx_lineno = 0;
19884
19854
  const char *__pyx_filename = NULL;
19885
19855
  int __pyx_clineno = 0;
19886
- __Pyx_RefNannySetupContext("__init__", 0);
19856
+ __Pyx_RefNannySetupContext("__init__", 1);
19887
19857
 
19888
19858
  /* "biotite/sequence/align/kmersimilarity.pyx":113
19889
19859
  *
@@ -19909,7 +19879,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5align_14kmersimilarity_18ScoreThre
19909
19879
  }
19910
19880
  #endif
19911
19881
  {
19912
- PyObject *__pyx_callargs[1] = {__pyx_t_3, };
19882
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
19913
19883
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4);
19914
19884
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
19915
19885
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 113, __pyx_L1_error)
@@ -20030,8 +20000,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
20030
20000
  #if CYTHON_ASSUME_SAFE_MACROS
20031
20001
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
20032
20002
  #else
20033
- __pyx_nargs = PyTuple_Size(__pyx_args);
20034
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 118, __pyx_L3_error)
20003
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
20035
20004
  #endif
20036
20005
  #endif
20037
20006
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -20094,10 +20063,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
20094
20063
  __pyx_v_kmer_alphabet = values[1];
20095
20064
  __pyx_v_kmer = values[2];
20096
20065
  }
20097
- goto __pyx_L4_argument_unpacking_done;
20066
+ goto __pyx_L6_skip;
20098
20067
  __pyx_L5_argtuple_error:;
20099
20068
  __Pyx_RaiseArgtupleInvalid("similar_kmers", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 118, __pyx_L3_error)
20100
- goto __pyx_L3_error;
20069
+ __pyx_L6_skip:;
20070
+ goto __pyx_L4_argument_unpacking_done;
20101
20071
  __pyx_L3_error:;
20102
20072
  {
20103
20073
  Py_ssize_t __pyx_temp;
@@ -20164,7 +20134,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5align_14kmersimilarity_18ScoreThre
20164
20134
  int __pyx_lineno = 0;
20165
20135
  const char *__pyx_filename = NULL;
20166
20136
  int __pyx_clineno = 0;
20167
- __Pyx_RefNannySetupContext("similar_kmers", 0);
20137
+ __Pyx_RefNannySetupContext("similar_kmers", 1);
20168
20138
 
20169
20139
  /* "biotite/sequence/align/kmersimilarity.pyx":136
20170
20140
  * The symbol codes for all similar *k-mers*.
@@ -20202,7 +20172,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5align_14kmersimilarity_18ScoreThre
20202
20172
  }
20203
20173
  #endif
20204
20174
  {
20205
- PyObject *__pyx_callargs[1] = {__pyx_t_3, };
20175
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
20206
20176
  __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
20207
20177
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
20208
20178
  if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 138, __pyx_L1_error)
@@ -20320,7 +20290,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5align_14kmersimilarity_18ScoreThre
20320
20290
  }
20321
20291
  #endif
20322
20292
  {
20323
- PyObject *__pyx_callargs[1] = {__pyx_t_4, };
20293
+ PyObject *__pyx_callargs[2] = {__pyx_t_4, NULL};
20324
20294
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
20325
20295
  __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
20326
20296
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 146, __pyx_L1_error)
@@ -20428,7 +20398,7 @@ __PYX_XCLEAR_MEMVIEW(&__pyx_v_matrix, 1);
20428
20398
  }
20429
20399
  #endif
20430
20400
  {
20431
- PyObject *__pyx_callargs[1] = {__pyx_t_4, };
20401
+ PyObject *__pyx_callargs[2] = {__pyx_t_4, NULL};
20432
20402
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
20433
20403
  __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
20434
20404
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 152, __pyx_L1_error)
@@ -20539,7 +20509,7 @@ __PYX_XCLEAR_MEMVIEW(&__pyx_v_matrix, 1);
20539
20509
  * cdef int64[:] split_kmer = kmer_alphabet.split(kmer).astype(np.int64)
20540
20510
  * # This array will hold the current kmer to be tested
20541
20511
  * cdef int64[:] current_split_kmer = np.zeros(k, dtype=np.int64) # <<<<<<<<<<<<<<
20542
- * # This array will store the accpeted k-mers
20512
+ * # This array will store the accepted k-mers
20543
20513
  * # i.e. k-mers that reach the threshold score
20544
20514
  */
20545
20515
  __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 158, __pyx_L1_error)
@@ -20575,7 +20545,7 @@ __PYX_XCLEAR_MEMVIEW(&__pyx_v_matrix, 1);
20575
20545
  __pyx_t_12.data = NULL;
20576
20546
 
20577
20547
  /* "biotite/sequence/align/kmersimilarity.pyx":161
20578
- * # This array will store the accpeted k-mers
20548
+ * # This array will store the accepted k-mers
20579
20549
  * # i.e. k-mers that reach the threshold score
20580
20550
  * cdef int64[:,:] similar_split_kmers = np.zeros( # <<<<<<<<<<<<<<
20581
20551
  * (INIT_SIZE, k), dtype=np.int64
@@ -20608,7 +20578,7 @@ __PYX_XCLEAR_MEMVIEW(&__pyx_v_matrix, 1);
20608
20578
  __pyx_t_2 = 0;
20609
20579
 
20610
20580
  /* "biotite/sequence/align/kmersimilarity.pyx":161
20611
- * # This array will store the accpeted k-mers
20581
+ * # This array will store the accepted k-mers
20612
20582
  * # i.e. k-mers that reach the threshold score
20613
20583
  * cdef int64[:,:] similar_split_kmers = np.zeros( # <<<<<<<<<<<<<<
20614
20584
  * (INIT_SIZE, k), dtype=np.int64
@@ -20638,7 +20608,7 @@ __PYX_XCLEAR_MEMVIEW(&__pyx_v_matrix, 1);
20638
20608
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
20639
20609
 
20640
20610
  /* "biotite/sequence/align/kmersimilarity.pyx":161
20641
- * # This array will store the accpeted k-mers
20611
+ * # This array will store the accepted k-mers
20642
20612
  * # i.e. k-mers that reach the threshold score
20643
20613
  * cdef int64[:,:] similar_split_kmers = np.zeros( # <<<<<<<<<<<<<<
20644
20614
  * (INIT_SIZE, k), dtype=np.int64
@@ -21204,7 +21174,7 @@ static PyArrayObject *__pyx_f_7biotite_8sequence_5align_14kmersimilarity_expand(
21204
21174
  int __pyx_lineno = 0;
21205
21175
  const char *__pyx_filename = NULL;
21206
21176
  int __pyx_clineno = 0;
21207
- __Pyx_RefNannySetupContext("expand", 0);
21177
+ __Pyx_RefNannySetupContext("expand", 1);
21208
21178
 
21209
21179
  /* "biotite/sequence/align/kmersimilarity.pyx":231
21210
21180
  * Double the size of the first dimension of an existing array.
@@ -22523,7 +22493,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
22523
22493
  __Pyx_GOTREF(__pyx_tuple__8);
22524
22494
  __Pyx_GIVEREF(__pyx_tuple__8);
22525
22495
 
22526
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987
22496
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987
22527
22497
  * __pyx_import_array()
22528
22498
  * except Exception:
22529
22499
  * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@@ -22534,7 +22504,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
22534
22504
  __Pyx_GOTREF(__pyx_tuple__9);
22535
22505
  __Pyx_GIVEREF(__pyx_tuple__9);
22536
22506
 
22537
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993
22507
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993
22538
22508
  * _import_umath()
22539
22509
  * except Exception:
22540
22510
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -22961,33 +22931,33 @@ static int __Pyx_modinit_type_import_code(void) {
22961
22931
  /*--- Type import code ---*/
22962
22932
  __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 9, __pyx_L1_error)
22963
22933
  __Pyx_GOTREF(__pyx_t_1);
22964
- __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_2(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
22934
+ __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_10(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
22965
22935
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
22966
- sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyTypeObject),
22936
+ sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
22967
22937
  #elif CYTHON_COMPILING_IN_LIMITED_API
22968
- sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyTypeObject),
22938
+ sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
22969
22939
  #else
22970
- sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyHeapTypeObject),
22940
+ sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyHeapTypeObject),
22971
22941
  #endif
22972
- __Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
22942
+ __Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
22973
22943
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
22974
22944
  __pyx_t_1 = PyImport_ImportModule("numpy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 203, __pyx_L1_error)
22975
22945
  __Pyx_GOTREF(__pyx_t_1);
22976
- __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)
22977
- __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)
22978
- __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)
22979
- __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)
22980
- __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)
22981
- __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)
22982
- __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)
22983
- __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)
22984
- __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)
22985
- __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)
22986
- __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)
22987
- __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)
22988
- __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)
22989
- __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)
22990
- __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)
22946
+ __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)
22947
+ __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)
22948
+ __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)
22949
+ __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)
22950
+ __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)
22951
+ __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)
22952
+ __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)
22953
+ __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)
22954
+ __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)
22955
+ __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)
22956
+ __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)
22957
+ __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)
22958
+ __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)
22959
+ __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)
22960
+ __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)
22991
22961
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
22992
22962
  __Pyx_RefNannyFinishContext();
22993
22963
  return 0;
@@ -23212,7 +23182,7 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_kmersimilarity(PyObject *__pyx_pyi
23212
23182
  __pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
23213
23183
  {
23214
23184
  int add_module_result = PyState_AddModule(__pyx_t_1, &__pyx_moduledef);
23215
- __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to kmersimilarity pseudovariable */
23185
+ __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "kmersimilarity" pseudovariable */
23216
23186
  if (unlikely((add_module_result < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
23217
23187
  pystate_addmodule_run = 1;
23218
23188
  }
@@ -23224,10 +23194,8 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_kmersimilarity(PyObject *__pyx_pyi
23224
23194
  CYTHON_UNUSED_VAR(__pyx_t_1);
23225
23195
  __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
23226
23196
  Py_INCREF(__pyx_d);
23227
- __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
23228
- Py_INCREF(__pyx_b);
23229
- __pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
23230
- Py_INCREF(__pyx_cython_runtime);
23197
+ __pyx_b = __Pyx_PyImport_AddModuleRef(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
23198
+ __pyx_cython_runtime = __Pyx_PyImport_AddModuleRef((const char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
23231
23199
  if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23232
23200
  #if CYTHON_REFNANNY
23233
23201
  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
@@ -23239,7 +23207,7 @@ if (!__Pyx_RefNanny) {
23239
23207
  }
23240
23208
  #endif
23241
23209
  __Pyx_RefNannySetupContext("__Pyx_PyMODINIT_FUNC PyInit_kmersimilarity(void)", 0);
23242
- if (__Pyx_check_binary_version() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23210
+ 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)
23243
23211
  #ifdef __Pxy_PyFrame_Initialize_Offsets
23244
23212
  __Pxy_PyFrame_Initialize_Offsets();
23245
23213
  #endif
@@ -24155,6 +24123,8 @@ static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObjec
24155
24123
  tmp_value = tstate->current_exception;
24156
24124
  tstate->current_exception = value;
24157
24125
  Py_XDECREF(tmp_value);
24126
+ Py_XDECREF(type);
24127
+ Py_XDECREF(tb);
24158
24128
  #else
24159
24129
  PyObject *tmp_type, *tmp_value, *tmp_tb;
24160
24130
  tmp_type = tstate->curexc_type;
@@ -24212,14 +24182,20 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject
24212
24182
  #endif
24213
24183
 
24214
24184
  /* PyObjectGetAttrStrNoError */
24185
+ #if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
24215
24186
  static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) {
24216
24187
  __Pyx_PyThreadState_declare
24217
24188
  __Pyx_PyThreadState_assign
24218
24189
  if (likely(__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
24219
24190
  __Pyx_PyErr_Clear();
24220
24191
  }
24192
+ #endif
24221
24193
  static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name) {
24222
24194
  PyObject *result;
24195
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
24196
+ (void) PyObject_GetOptionalAttr(obj, attr_name, &result);
24197
+ return result;
24198
+ #else
24223
24199
  #if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_TYPE_SLOTS && PY_VERSION_HEX >= 0x030700B1
24224
24200
  PyTypeObject* tp = Py_TYPE(obj);
24225
24201
  if (likely(tp->tp_getattro == PyObject_GenericGetAttr)) {
@@ -24231,6 +24207,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, P
24231
24207
  __Pyx_PyObject_GetAttrStr_ClearAttributeError();
24232
24208
  }
24233
24209
  return result;
24210
+ #endif
24234
24211
  }
24235
24212
 
24236
24213
  /* GetBuiltinName */
@@ -24446,12 +24423,30 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO
24446
24423
  {
24447
24424
  int eq = __Pyx_PyUnicode_Equals(s, PyTuple_GET_ITEM(kwnames, i), Py_EQ);
24448
24425
  if (unlikely(eq != 0)) {
24449
- if (unlikely(eq < 0)) return NULL; // error
24426
+ if (unlikely(eq < 0)) return NULL;
24450
24427
  return kwvalues[i];
24451
24428
  }
24452
24429
  }
24453
- return NULL; // not found (no exception set)
24430
+ return NULL;
24454
24431
  }
24432
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
24433
+ CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) {
24434
+ Py_ssize_t i, nkwargs = PyTuple_GET_SIZE(kwnames);
24435
+ PyObject *dict;
24436
+ dict = PyDict_New();
24437
+ if (unlikely(!dict))
24438
+ return NULL;
24439
+ for (i=0; i<nkwargs; i++) {
24440
+ PyObject *key = PyTuple_GET_ITEM(kwnames, i);
24441
+ if (unlikely(PyDict_SetItem(dict, key, kwvalues[i]) < 0))
24442
+ goto bad;
24443
+ }
24444
+ return dict;
24445
+ bad:
24446
+ Py_DECREF(dict);
24447
+ return NULL;
24448
+ }
24449
+ #endif
24455
24450
  #endif
24456
24451
 
24457
24452
  /* RaiseArgTupleInvalid */
@@ -24545,7 +24540,7 @@ static int __Pyx_ParseOptionalKeywords(
24545
24540
  if (*name) {
24546
24541
  values[name-argnames] = value;
24547
24542
  #if CYTHON_AVOID_BORROWED_REFS
24548
- Py_INCREF(value); // transfer ownership of value to values
24543
+ Py_INCREF(value);
24549
24544
  Py_DECREF(key);
24550
24545
  #endif
24551
24546
  key = NULL;
@@ -24564,7 +24559,7 @@ static int __Pyx_ParseOptionalKeywords(
24564
24559
  && _PyString_Eq(**name, key)) {
24565
24560
  values[name-argnames] = value;
24566
24561
  #if CYTHON_AVOID_BORROWED_REFS
24567
- value = NULL; // ownership transferred to values
24562
+ value = NULL;
24568
24563
  #endif
24569
24564
  break;
24570
24565
  }
@@ -24596,7 +24591,7 @@ static int __Pyx_ParseOptionalKeywords(
24596
24591
  if (cmp == 0) {
24597
24592
  values[name-argnames] = value;
24598
24593
  #if CYTHON_AVOID_BORROWED_REFS
24599
- value = NULL; // ownership transferred to values
24594
+ value = NULL;
24600
24595
  #endif
24601
24596
  break;
24602
24597
  }
@@ -24883,9 +24878,15 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
24883
24878
  PyObject *result;
24884
24879
  assert(kwargs == NULL || PyDict_Check(kwargs));
24885
24880
  nk = kwargs ? PyDict_Size(kwargs) : 0;
24881
+ #if PY_MAJOR_VERSION < 3
24886
24882
  if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) {
24887
24883
  return NULL;
24888
24884
  }
24885
+ #else
24886
+ if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) {
24887
+ return NULL;
24888
+ }
24889
+ #endif
24889
24890
  if (
24890
24891
  #if PY_MAJOR_VERSION >= 3
24891
24892
  co->co_kwonlyargcount == 0 &&
@@ -24962,8 +24963,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
24962
24963
  ternaryfunc call = Py_TYPE(func)->tp_call;
24963
24964
  if (unlikely(!call))
24964
24965
  return PyObject_Call(func, arg, kw);
24966
+ #if PY_MAJOR_VERSION < 3
24965
24967
  if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
24966
24968
  return NULL;
24969
+ #else
24970
+ if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
24971
+ return NULL;
24972
+ #endif
24967
24973
  result = (*call)(func, arg, kw);
24968
24974
  Py_LeaveRecursiveCall();
24969
24975
  if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
@@ -24980,10 +24986,15 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
24980
24986
  static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
24981
24987
  PyObject *self, *result;
24982
24988
  PyCFunction cfunc;
24983
- cfunc = PyCFunction_GET_FUNCTION(func);
24984
- self = PyCFunction_GET_SELF(func);
24989
+ cfunc = __Pyx_CyOrPyCFunction_GET_FUNCTION(func);
24990
+ self = __Pyx_CyOrPyCFunction_GET_SELF(func);
24991
+ #if PY_MAJOR_VERSION < 3
24985
24992
  if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
24986
24993
  return NULL;
24994
+ #else
24995
+ if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
24996
+ return NULL;
24997
+ #endif
24987
24998
  result = cfunc(self, arg);
24988
24999
  Py_LeaveRecursiveCall();
24989
25000
  if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
@@ -24996,6 +25007,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject
24996
25007
  #endif
24997
25008
 
24998
25009
  /* PyObjectFastCall */
25010
+ #if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API
24999
25011
  static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **args, size_t nargs, PyObject *kwargs) {
25000
25012
  PyObject *argstuple;
25001
25013
  PyObject *result = 0;
@@ -25011,28 +25023,17 @@ static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **arg
25011
25023
  Py_DECREF(argstuple);
25012
25024
  return result;
25013
25025
  }
25026
+ #endif
25014
25027
  static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject **args, size_t _nargs, PyObject *kwargs) {
25015
25028
  Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs);
25016
25029
  #if CYTHON_COMPILING_IN_CPYTHON
25017
25030
  if (nargs == 0 && kwargs == NULL) {
25018
- #if defined(__Pyx_CyFunction_USED) && defined(NDEBUG)
25019
- if (__Pyx_IsCyOrPyCFunction(func))
25020
- #else
25021
- if (PyCFunction_Check(func))
25022
- #endif
25023
- {
25024
- if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
25025
- return __Pyx_PyObject_CallMethO(func, NULL);
25026
- }
25027
- }
25031
+ if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS))
25032
+ return __Pyx_PyObject_CallMethO(func, NULL);
25028
25033
  }
25029
25034
  else if (nargs == 1 && kwargs == NULL) {
25030
- if (PyCFunction_Check(func))
25031
- {
25032
- if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
25033
- return __Pyx_PyObject_CallMethO(func, args[0]);
25034
- }
25035
- }
25035
+ if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_O))
25036
+ return __Pyx_PyObject_CallMethO(func, args[0]);
25036
25037
  }
25037
25038
  #endif
25038
25039
  #if PY_VERSION_HEX < 0x030800B1
@@ -25056,25 +25057,31 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj
25056
25057
  }
25057
25058
  #endif
25058
25059
  #endif
25059
- #if CYTHON_VECTORCALL
25060
- #if Py_VERSION_HEX < 0x03090000
25061
- vectorcallfunc f = _PyVectorcall_Function(func);
25062
- #else
25063
- vectorcallfunc f = PyVectorcall_Function(func);
25064
- #endif
25065
- if (f) {
25066
- return f(func, args, (size_t)nargs, kwargs);
25067
- }
25068
- #elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
25069
- if (__Pyx_CyFunction_CheckExact(func)) {
25070
- __pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
25071
- if (f) return f(func, args, (size_t)nargs, kwargs);
25060
+ if (kwargs == NULL) {
25061
+ #if CYTHON_VECTORCALL
25062
+ #if PY_VERSION_HEX < 0x03090000
25063
+ vectorcallfunc f = _PyVectorcall_Function(func);
25064
+ #else
25065
+ vectorcallfunc f = PyVectorcall_Function(func);
25066
+ #endif
25067
+ if (f) {
25068
+ return f(func, args, (size_t)nargs, NULL);
25069
+ }
25070
+ #elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
25071
+ if (__Pyx_CyFunction_CheckExact(func)) {
25072
+ __pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
25073
+ if (f) return f(func, args, (size_t)nargs, NULL);
25074
+ }
25075
+ #endif
25072
25076
  }
25073
- #endif
25074
25077
  if (nargs == 0) {
25075
25078
  return __Pyx_PyObject_Call(func, __pyx_empty_tuple, kwargs);
25076
25079
  }
25080
+ #if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API
25081
+ return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs);
25082
+ #else
25077
25083
  return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs);
25084
+ #endif
25078
25085
  }
25079
25086
 
25080
25087
  /* RaiseUnexpectedTypeError */
@@ -25377,7 +25384,7 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject* value_tuple, Py_ssize_t value_co
25377
25384
  if (!CYTHON_PEP393_ENABLED || ukind == result_ukind) {
25378
25385
  memcpy((char *)result_udata + (char_pos << kind_shift), udata, (size_t) (ulength << kind_shift));
25379
25386
  } else {
25380
- #if PY_VERSION_HEX >= 0x030D0000
25387
+ #if PY_VERSION_HEX >= 0x030d0000
25381
25388
  if (unlikely(PyUnicode_CopyCharacters(result_uval, char_pos, uval, 0, ulength) < 0)) goto bad;
25382
25389
  #elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030300F0 || defined(_PyUnicode_FastCopyCharacters)
25383
25390
  _PyUnicode_FastCopyCharacters(result_uval, char_pos, uval, 0, ulength);
@@ -25506,7 +25513,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
25506
25513
  }
25507
25514
  }
25508
25515
  #else
25509
- if (is_list || PySequence_Check(o)) {
25516
+ if (is_list || !PyMapping_Check(o)) {
25510
25517
  return PySequence_GetItem(o, i);
25511
25518
  }
25512
25519
  #endif
@@ -25541,7 +25548,9 @@ static PyObject *__Pyx_PyObject_GetItem_Slow(PyObject *obj, PyObject *key) {
25541
25548
  __Pyx_TypeName obj_type_name;
25542
25549
  if (likely(PyType_Check(obj))) {
25543
25550
  PyObject *meth = __Pyx_PyObject_GetAttrStrNoError(obj, __pyx_n_s_class_getitem);
25544
- if (meth) {
25551
+ if (!meth) {
25552
+ PyErr_Clear();
25553
+ } else {
25545
25554
  PyObject *result = __Pyx_PyObject_CallOneArg(meth, key);
25546
25555
  Py_DECREF(meth);
25547
25556
  return result;
@@ -25650,6 +25659,7 @@ static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ssize_t b)
25650
25659
  }
25651
25660
 
25652
25661
  /* GetAttr3 */
25662
+ #if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
25653
25663
  static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
25654
25664
  __Pyx_PyThreadState_declare
25655
25665
  __Pyx_PyThreadState_assign
@@ -25659,9 +25669,14 @@ static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
25659
25669
  Py_INCREF(d);
25660
25670
  return d;
25661
25671
  }
25672
+ #endif
25662
25673
  static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) {
25663
25674
  PyObject *r;
25664
- #if CYTHON_USE_TYPE_SLOTS
25675
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
25676
+ int res = PyObject_GetOptionalAttr(o, n, &r);
25677
+ return (res != 0) ? r : __Pyx_NewRef(d);
25678
+ #else
25679
+ #if CYTHON_USE_TYPE_SLOTS
25665
25680
  if (likely(PyString_Check(n))) {
25666
25681
  r = __Pyx_PyObject_GetAttrStrNoError(o, n);
25667
25682
  if (unlikely(!r) && likely(!PyErr_Occurred())) {
@@ -25669,9 +25684,10 @@ static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject
25669
25684
  }
25670
25685
  return r;
25671
25686
  }
25672
- #endif
25687
+ #endif
25673
25688
  r = PyObject_GetAttr(o, n);
25674
25689
  return (likely(r)) ? r : __Pyx_GetAttr3Default(d);
25690
+ #endif
25675
25691
  }
25676
25692
 
25677
25693
  /* PyDictVersioning */
@@ -25709,7 +25725,7 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name)
25709
25725
  {
25710
25726
  PyObject *result;
25711
25727
  #if !CYTHON_AVOID_BORROWED_REFS
25712
- #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
25728
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && PY_VERSION_HEX < 0x030d0000
25713
25729
  result = _PyDict_GetItem_KnownHash(__pyx_d, name, ((PyASCIIObject *) name)->hash);
25714
25730
  __PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
25715
25731
  if (likely(result)) {
@@ -26035,7 +26051,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
26035
26051
  {
26036
26052
  #if PY_MAJOR_VERSION >= 3
26037
26053
  if (level == -1) {
26038
- if ((1) && (strchr(__Pyx_MODULE_NAME, '.'))) {
26054
+ if (strchr(__Pyx_MODULE_NAME, '.') != NULL) {
26039
26055
  module = PyImport_ImportModuleLevelObject(
26040
26056
  name, __pyx_d, empty_dict, from_list, 1);
26041
26057
  if (unlikely(!module)) {
@@ -26198,16 +26214,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
26198
26214
  return __Pyx__ImportDottedModule(name, parts_tuple);
26199
26215
  }
26200
26216
 
26201
- /* ssize_strlen */
26202
- static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
26203
- size_t len = strlen(s);
26204
- if (unlikely(len > PY_SSIZE_T_MAX)) {
26205
- PyErr_SetString(PyExc_OverflowError, "byte string is too long");
26206
- return -1;
26207
- }
26208
- return (Py_ssize_t) len;
26209
- }
26210
-
26211
26217
  /* FastTypeChecks */
26212
26218
  #if CYTHON_COMPILING_IN_CPYTHON
26213
26219
  static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
@@ -26391,11 +26397,7 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
26391
26397
  }
26392
26398
  }
26393
26399
  #else
26394
- #if CYTHON_COMPILING_IN_PYPY
26395
- if (is_list || (PySequence_Check(o) && !PyDict_Check(o)))
26396
- #else
26397
- if (is_list || PySequence_Check(o))
26398
- #endif
26400
+ if (is_list || !PyMapping_Check(o))
26399
26401
  {
26400
26402
  return PySequence_SetItem(o, i, v);
26401
26403
  }
@@ -26460,6 +26462,7 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
26460
26462
  }
26461
26463
 
26462
26464
  /* HasAttr */
26465
+ #if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
26463
26466
  static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
26464
26467
  PyObject *r;
26465
26468
  if (unlikely(!__Pyx_PyBaseString_Check(n))) {
@@ -26476,6 +26479,7 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
26476
26479
  return 1;
26477
26480
  }
26478
26481
  }
26482
+ #endif
26479
26483
 
26480
26484
  /* PyObjectSetAttrStr */
26481
26485
  #if CYTHON_USE_TYPE_SLOTS
@@ -26618,8 +26622,8 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
26618
26622
 
26619
26623
  /* PyObjectCallNoArg */
26620
26624
  static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
26621
- PyObject *arg = NULL;
26622
- return __Pyx_PyObject_FastCall(func, (&arg)+1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
26625
+ PyObject *arg[2] = {NULL, NULL};
26626
+ return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
26623
26627
  }
26624
26628
 
26625
26629
  /* PyObjectGetMethod */
@@ -26784,38 +26788,38 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
26784
26788
  #endif
26785
26789
  return -1;
26786
26790
  }
26787
- #if !CYTHON_USE_TYPE_SLOTS
26788
- if (dictoffset == 0) {
26789
- PyErr_Format(PyExc_TypeError,
26790
- "extension type '%s.200s': "
26791
- "unable to validate whether bases have a __dict__ "
26792
- "when CYTHON_USE_TYPE_SLOTS is off "
26793
- "(likely because you are building in the limited API). "
26794
- "Therefore, all extension types with multiple bases "
26795
- "must add 'cdef dict __dict__' in this compilation mode",
26796
- type_name);
26797
- #if CYTHON_AVOID_BORROWED_REFS
26798
- Py_DECREF(b0);
26799
- #endif
26800
- return -1;
26801
- }
26802
- #else
26803
- if (dictoffset == 0 && b->tp_dictoffset)
26791
+ if (dictoffset == 0)
26804
26792
  {
26805
- __Pyx_TypeName b_name = __Pyx_PyType_GetName(b);
26806
- PyErr_Format(PyExc_TypeError,
26807
- "extension type '%.200s' has no __dict__ slot, "
26808
- "but base type '" __Pyx_FMT_TYPENAME "' has: "
26809
- "either add 'cdef dict __dict__' to the extension type "
26810
- "or add '__slots__ = [...]' to the base type",
26811
- type_name, b_name);
26812
- __Pyx_DECREF_TypeName(b_name);
26793
+ Py_ssize_t b_dictoffset = 0;
26794
+ #if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY
26795
+ b_dictoffset = b->tp_dictoffset;
26796
+ #else
26797
+ PyObject *py_b_dictoffset = PyObject_GetAttrString((PyObject*)b, "__dictoffset__");
26798
+ if (!py_b_dictoffset) goto dictoffset_return;
26799
+ b_dictoffset = PyLong_AsSsize_t(py_b_dictoffset);
26800
+ Py_DECREF(py_b_dictoffset);
26801
+ if (b_dictoffset == -1 && PyErr_Occurred()) goto dictoffset_return;
26802
+ #endif
26803
+ if (b_dictoffset) {
26804
+ {
26805
+ __Pyx_TypeName b_name = __Pyx_PyType_GetName(b);
26806
+ PyErr_Format(PyExc_TypeError,
26807
+ "extension type '%.200s' has no __dict__ slot, "
26808
+ "but base type '" __Pyx_FMT_TYPENAME "' has: "
26809
+ "either add 'cdef dict __dict__' to the extension type "
26810
+ "or add '__slots__ = [...]' to the base type",
26811
+ type_name, b_name);
26812
+ __Pyx_DECREF_TypeName(b_name);
26813
+ }
26814
+ #if !(CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY)
26815
+ dictoffset_return:
26816
+ #endif
26813
26817
  #if CYTHON_AVOID_BORROWED_REFS
26814
- Py_DECREF(b0);
26818
+ Py_DECREF(b0);
26815
26819
  #endif
26816
- return -1;
26820
+ return -1;
26821
+ }
26817
26822
  }
26818
- #endif
26819
26823
  #if CYTHON_AVOID_BORROWED_REFS
26820
26824
  Py_DECREF(b0);
26821
26825
  #endif
@@ -27109,10 +27113,10 @@ __PYX_GOOD:
27109
27113
  #endif
27110
27114
 
27111
27115
  /* TypeImport */
27112
- #ifndef __PYX_HAVE_RT_ImportType_3_0_2
27113
- #define __PYX_HAVE_RT_ImportType_3_0_2
27114
- static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module_name, const char *class_name,
27115
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_2 check_size)
27116
+ #ifndef __PYX_HAVE_RT_ImportType_3_0_10
27117
+ #define __PYX_HAVE_RT_ImportType_3_0_10
27118
+ static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject *module, const char *module_name, const char *class_name,
27119
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_10 check_size)
27116
27120
  {
27117
27121
  PyObject *result = 0;
27118
27122
  char warning[200];
@@ -27166,7 +27170,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
27166
27170
  module_name, class_name, size, basicsize+itemsize);
27167
27171
  goto bad;
27168
27172
  }
27169
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_2 &&
27173
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_10 &&
27170
27174
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
27171
27175
  PyErr_Format(PyExc_ValueError,
27172
27176
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -27174,7 +27178,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
27174
27178
  module_name, class_name, size, basicsize, basicsize+itemsize);
27175
27179
  goto bad;
27176
27180
  }
27177
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_2 && (size_t)basicsize > size) {
27181
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_10 && (size_t)basicsize > size) {
27178
27182
  PyOS_snprintf(warning, sizeof(warning),
27179
27183
  "%s.%s size changed, may indicate binary incompatibility. "
27180
27184
  "Expected %zd from C header, got %zd from PyObject",
@@ -27190,10 +27194,7 @@ bad:
27190
27194
 
27191
27195
  /* FetchSharedCythonModule */
27192
27196
  static PyObject *__Pyx_FetchSharedCythonABIModule(void) {
27193
- PyObject *abi_module = PyImport_AddModule((char*) __PYX_ABI_MODULE_NAME);
27194
- if (unlikely(!abi_module)) return NULL;
27195
- Py_INCREF(abi_module);
27196
- return abi_module;
27197
+ return __Pyx_PyImport_AddModuleRef((char*) __PYX_ABI_MODULE_NAME);
27197
27198
  }
27198
27199
 
27199
27200
  /* FetchCommonType */
@@ -27354,6 +27355,20 @@ static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, _
27354
27355
  #endif
27355
27356
 
27356
27357
  /* CythonFunctionShared */
27358
+ #if CYTHON_COMPILING_IN_LIMITED_API
27359
+ static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
27360
+ if (__Pyx_CyFunction_Check(func)) {
27361
+ return PyCFunction_GetFunction(((__pyx_CyFunctionObject*)func)->func) == (PyCFunction) cfunc;
27362
+ } else if (PyCFunction_Check(func)) {
27363
+ return PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
27364
+ }
27365
+ return 0;
27366
+ }
27367
+ #else
27368
+ static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
27369
+ return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
27370
+ }
27371
+ #endif
27357
27372
  static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) {
27358
27373
  #if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API
27359
27374
  __Pyx_Py_XDECREF_SET(
@@ -28163,7 +28178,7 @@ static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func,
28163
28178
  default:
28164
28179
  return NULL;
28165
28180
  }
28166
- return ((_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames);
28181
+ return ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames);
28167
28182
  }
28168
28183
  static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
28169
28184
  {
@@ -28857,8 +28872,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
28857
28872
  Py_DECREF(replace);
28858
28873
  return result;
28859
28874
  }
28860
- #if __PYX_LIMITED_VERSION_HEX < 0x030780000
28861
28875
  PyErr_Clear();
28876
+ #if __PYX_LIMITED_VERSION_HEX < 0x030780000
28862
28877
  {
28863
28878
  PyObject *compiled = NULL, *result = NULL;
28864
28879
  if (unlikely(PyDict_SetItemString(scratch_dict, "code", code))) return NULL;
@@ -28878,6 +28893,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
28878
28893
  if (result) Py_INCREF(result);
28879
28894
  return result;
28880
28895
  }
28896
+ #else
28897
+ return NULL;
28881
28898
  #endif
28882
28899
  }
28883
28900
  static void __Pyx_AddTraceback(const char *funcname, int c_line,
@@ -28975,7 +28992,7 @@ static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
28975
28992
  #else
28976
28993
  py_code = PyCode_NewEmpty(filename, funcname, py_line);
28977
28994
  #endif
28978
- Py_XDECREF(py_funcname); // XDECREF since it's only set on Py3 if cline
28995
+ Py_XDECREF(py_funcname);
28979
28996
  return py_code;
28980
28997
  bad:
28981
28998
  Py_XDECREF(py_funcname);
@@ -30659,7 +30676,7 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
30659
30676
  #endif
30660
30677
  if (likely(v)) {
30661
30678
  int ret = -1;
30662
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
30679
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
30663
30680
  int one = 1; int is_little = (int)*(unsigned char *)&one;
30664
30681
  unsigned char *bytes = (unsigned char *)&val;
30665
30682
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -30795,13 +30812,13 @@ raise_neg_overflow:
30795
30812
  {
30796
30813
  int one = 1; int little = (int)*(unsigned char *)&one;
30797
30814
  unsigned char *bytes = (unsigned char *)&value;
30798
- #if !CYTHON_COMPILING_IN_LIMITED_API
30815
+ #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
30799
30816
  return _PyLong_FromByteArray(bytes, sizeof(npy_int32),
30800
30817
  little, !is_unsigned);
30801
30818
  #else
30802
30819
  PyObject *from_bytes, *result = NULL;
30803
30820
  PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
30804
- from_bytes = PyObject_GetAttrString((PyObject*)&PyInt_Type, "from_bytes");
30821
+ from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
30805
30822
  if (!from_bytes) return NULL;
30806
30823
  py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(npy_int32));
30807
30824
  if (!py_bytes) goto limited_bad;
@@ -30809,16 +30826,18 @@ raise_neg_overflow:
30809
30826
  if (!order_str) goto limited_bad;
30810
30827
  arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
30811
30828
  if (!arg_tuple) goto limited_bad;
30812
- kwds = PyDict_New();
30813
- if (!kwds) goto limited_bad;
30814
- if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(!is_unsigned ? Py_True : Py_False))) goto limited_bad;
30829
+ if (!is_unsigned) {
30830
+ kwds = PyDict_New();
30831
+ if (!kwds) goto limited_bad;
30832
+ if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
30833
+ }
30815
30834
  result = PyObject_Call(from_bytes, arg_tuple, kwds);
30816
30835
  limited_bad:
30817
- Py_XDECREF(from_bytes);
30818
- Py_XDECREF(py_bytes);
30819
- Py_XDECREF(order_str);
30820
- Py_XDECREF(arg_tuple);
30821
30836
  Py_XDECREF(kwds);
30837
+ Py_XDECREF(arg_tuple);
30838
+ Py_XDECREF(order_str);
30839
+ Py_XDECREF(py_bytes);
30840
+ Py_XDECREF(from_bytes);
30822
30841
  return result;
30823
30842
  #endif
30824
30843
  }
@@ -30857,13 +30876,13 @@ raise_neg_overflow:
30857
30876
  {
30858
30877
  int one = 1; int little = (int)*(unsigned char *)&one;
30859
30878
  unsigned char *bytes = (unsigned char *)&value;
30860
- #if !CYTHON_COMPILING_IN_LIMITED_API
30879
+ #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
30861
30880
  return _PyLong_FromByteArray(bytes, sizeof(npy_int64),
30862
30881
  little, !is_unsigned);
30863
30882
  #else
30864
30883
  PyObject *from_bytes, *result = NULL;
30865
30884
  PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
30866
- from_bytes = PyObject_GetAttrString((PyObject*)&PyInt_Type, "from_bytes");
30885
+ from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
30867
30886
  if (!from_bytes) return NULL;
30868
30887
  py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(npy_int64));
30869
30888
  if (!py_bytes) goto limited_bad;
@@ -30871,16 +30890,18 @@ raise_neg_overflow:
30871
30890
  if (!order_str) goto limited_bad;
30872
30891
  arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
30873
30892
  if (!arg_tuple) goto limited_bad;
30874
- kwds = PyDict_New();
30875
- if (!kwds) goto limited_bad;
30876
- if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(!is_unsigned ? Py_True : Py_False))) goto limited_bad;
30893
+ if (!is_unsigned) {
30894
+ kwds = PyDict_New();
30895
+ if (!kwds) goto limited_bad;
30896
+ if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
30897
+ }
30877
30898
  result = PyObject_Call(from_bytes, arg_tuple, kwds);
30878
30899
  limited_bad:
30879
- Py_XDECREF(from_bytes);
30880
- Py_XDECREF(py_bytes);
30881
- Py_XDECREF(order_str);
30882
- Py_XDECREF(arg_tuple);
30883
30900
  Py_XDECREF(kwds);
30901
+ Py_XDECREF(arg_tuple);
30902
+ Py_XDECREF(order_str);
30903
+ Py_XDECREF(py_bytes);
30904
+ Py_XDECREF(from_bytes);
30884
30905
  return result;
30885
30906
  #endif
30886
30907
  }
@@ -31056,7 +31077,7 @@ raise_neg_overflow:
31056
31077
  #endif
31057
31078
  if (likely(v)) {
31058
31079
  int ret = -1;
31059
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
31080
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
31060
31081
  int one = 1; int is_little = (int)*(unsigned char *)&one;
31061
31082
  unsigned char *bytes = (unsigned char *)&val;
31062
31083
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -31192,13 +31213,13 @@ raise_neg_overflow:
31192
31213
  {
31193
31214
  int one = 1; int little = (int)*(unsigned char *)&one;
31194
31215
  unsigned char *bytes = (unsigned char *)&value;
31195
- #if !CYTHON_COMPILING_IN_LIMITED_API
31216
+ #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
31196
31217
  return _PyLong_FromByteArray(bytes, sizeof(int),
31197
31218
  little, !is_unsigned);
31198
31219
  #else
31199
31220
  PyObject *from_bytes, *result = NULL;
31200
31221
  PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
31201
- from_bytes = PyObject_GetAttrString((PyObject*)&PyInt_Type, "from_bytes");
31222
+ from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
31202
31223
  if (!from_bytes) return NULL;
31203
31224
  py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(int));
31204
31225
  if (!py_bytes) goto limited_bad;
@@ -31206,16 +31227,18 @@ raise_neg_overflow:
31206
31227
  if (!order_str) goto limited_bad;
31207
31228
  arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
31208
31229
  if (!arg_tuple) goto limited_bad;
31209
- kwds = PyDict_New();
31210
- if (!kwds) goto limited_bad;
31211
- if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(!is_unsigned ? Py_True : Py_False))) goto limited_bad;
31230
+ if (!is_unsigned) {
31231
+ kwds = PyDict_New();
31232
+ if (!kwds) goto limited_bad;
31233
+ if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
31234
+ }
31212
31235
  result = PyObject_Call(from_bytes, arg_tuple, kwds);
31213
31236
  limited_bad:
31214
- Py_XDECREF(from_bytes);
31215
- Py_XDECREF(py_bytes);
31216
- Py_XDECREF(order_str);
31217
- Py_XDECREF(arg_tuple);
31218
31237
  Py_XDECREF(kwds);
31238
+ Py_XDECREF(arg_tuple);
31239
+ Py_XDECREF(order_str);
31240
+ Py_XDECREF(py_bytes);
31241
+ Py_XDECREF(from_bytes);
31219
31242
  return result;
31220
31243
  #endif
31221
31244
  }
@@ -31391,7 +31414,7 @@ raise_neg_overflow:
31391
31414
  #endif
31392
31415
  if (likely(v)) {
31393
31416
  int ret = -1;
31394
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
31417
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
31395
31418
  int one = 1; int is_little = (int)*(unsigned char *)&one;
31396
31419
  unsigned char *bytes = (unsigned char *)&val;
31397
31420
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -31527,13 +31550,13 @@ raise_neg_overflow:
31527
31550
  {
31528
31551
  int one = 1; int little = (int)*(unsigned char *)&one;
31529
31552
  unsigned char *bytes = (unsigned char *)&value;
31530
- #if !CYTHON_COMPILING_IN_LIMITED_API
31553
+ #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
31531
31554
  return _PyLong_FromByteArray(bytes, sizeof(long),
31532
31555
  little, !is_unsigned);
31533
31556
  #else
31534
31557
  PyObject *from_bytes, *result = NULL;
31535
31558
  PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
31536
- from_bytes = PyObject_GetAttrString((PyObject*)&PyInt_Type, "from_bytes");
31559
+ from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
31537
31560
  if (!from_bytes) return NULL;
31538
31561
  py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long));
31539
31562
  if (!py_bytes) goto limited_bad;
@@ -31541,16 +31564,18 @@ raise_neg_overflow:
31541
31564
  if (!order_str) goto limited_bad;
31542
31565
  arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
31543
31566
  if (!arg_tuple) goto limited_bad;
31544
- kwds = PyDict_New();
31545
- if (!kwds) goto limited_bad;
31546
- if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(!is_unsigned ? Py_True : Py_False))) goto limited_bad;
31567
+ if (!is_unsigned) {
31568
+ kwds = PyDict_New();
31569
+ if (!kwds) goto limited_bad;
31570
+ if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
31571
+ }
31547
31572
  result = PyObject_Call(from_bytes, arg_tuple, kwds);
31548
31573
  limited_bad:
31549
- Py_XDECREF(from_bytes);
31550
- Py_XDECREF(py_bytes);
31551
- Py_XDECREF(order_str);
31552
- Py_XDECREF(arg_tuple);
31553
31574
  Py_XDECREF(kwds);
31575
+ Py_XDECREF(arg_tuple);
31576
+ Py_XDECREF(order_str);
31577
+ Py_XDECREF(py_bytes);
31578
+ Py_XDECREF(from_bytes);
31554
31579
  return result;
31555
31580
  #endif
31556
31581
  }
@@ -31726,7 +31751,7 @@ raise_neg_overflow:
31726
31751
  #endif
31727
31752
  if (likely(v)) {
31728
31753
  int ret = -1;
31729
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
31754
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
31730
31755
  int one = 1; int is_little = (int)*(unsigned char *)&one;
31731
31756
  unsigned char *bytes = (unsigned char *)&val;
31732
31757
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -31999,7 +32024,7 @@ raise_neg_overflow:
31999
32024
  #endif
32000
32025
  if (likely(v)) {
32001
32026
  int ret = -1;
32002
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
32027
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
32003
32028
  int one = 1; int is_little = (int)*(unsigned char *)&one;
32004
32029
  unsigned char *bytes = (unsigned char *)&val;
32005
32030
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -32119,41 +32144,50 @@ __Pyx_PyType_GetName(PyTypeObject* tp)
32119
32144
  #endif
32120
32145
 
32121
32146
  /* CheckBinaryVersion */
32122
- static int __Pyx_check_binary_version(void) {
32123
- char ctversion[5];
32124
- int same=1, i, found_dot;
32125
- const char* rt_from_call = Py_GetVersion();
32126
- PyOS_snprintf(ctversion, 5, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
32127
- found_dot = 0;
32128
- for (i = 0; i < 4; i++) {
32129
- if (!ctversion[i]) {
32130
- same = (rt_from_call[i] < '0' || rt_from_call[i] > '9');
32131
- break;
32147
+ static unsigned long __Pyx_get_runtime_version(void) {
32148
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030B00A4
32149
+ return Py_Version & ~0xFFUL;
32150
+ #else
32151
+ const char* rt_version = Py_GetVersion();
32152
+ unsigned long version = 0;
32153
+ unsigned long factor = 0x01000000UL;
32154
+ unsigned int digit = 0;
32155
+ int i = 0;
32156
+ while (factor) {
32157
+ while ('0' <= rt_version[i] && rt_version[i] <= '9') {
32158
+ digit = digit * 10 + (unsigned int) (rt_version[i] - '0');
32159
+ ++i;
32132
32160
  }
32133
- if (rt_from_call[i] != ctversion[i]) {
32134
- same = 0;
32161
+ version += factor * digit;
32162
+ if (rt_version[i] != '.')
32135
32163
  break;
32136
- }
32164
+ digit = 0;
32165
+ factor >>= 8;
32166
+ ++i;
32137
32167
  }
32138
- if (!same) {
32139
- char rtversion[5] = {'\0'};
32168
+ return version;
32169
+ #endif
32170
+ }
32171
+ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer) {
32172
+ const unsigned long MAJOR_MINOR = 0xFFFF0000UL;
32173
+ if ((rt_version & MAJOR_MINOR) == (ct_version & MAJOR_MINOR))
32174
+ return 0;
32175
+ if (likely(allow_newer && (rt_version & MAJOR_MINOR) > (ct_version & MAJOR_MINOR)))
32176
+ return 1;
32177
+ {
32140
32178
  char message[200];
32141
- for (i=0; i<4; ++i) {
32142
- if (rt_from_call[i] == '.') {
32143
- if (found_dot) break;
32144
- found_dot = 1;
32145
- } else if (rt_from_call[i] < '0' || rt_from_call[i] > '9') {
32146
- break;
32147
- }
32148
- rtversion[i] = rt_from_call[i];
32149
- }
32150
32179
  PyOS_snprintf(message, sizeof(message),
32151
- "compile time version %s of module '%.100s' "
32152
- "does not match runtime version %s",
32153
- ctversion, __Pyx_MODULE_NAME, rtversion);
32180
+ "compile time Python version %d.%d "
32181
+ "of module '%.100s' "
32182
+ "%s "
32183
+ "runtime version %d.%d",
32184
+ (int) (ct_version >> 24), (int) ((ct_version >> 16) & 0xFF),
32185
+ __Pyx_MODULE_NAME,
32186
+ (allow_newer) ? "was newer than" : "does not match",
32187
+ (int) (rt_version >> 24), (int) ((rt_version >> 16) & 0xFF)
32188
+ );
32154
32189
  return PyErr_WarnEx(NULL, message, 1);
32155
32190
  }
32156
- return 0;
32157
32191
  }
32158
32192
 
32159
32193
  /* InitStrings */
@@ -32199,8 +32233,24 @@ static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
32199
32233
  return 0;
32200
32234
  }
32201
32235
 
32236
+ #include <string.h>
32237
+ static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
32238
+ size_t len = strlen(s);
32239
+ if (unlikely(len > (size_t) PY_SSIZE_T_MAX)) {
32240
+ PyErr_SetString(PyExc_OverflowError, "byte string is too long");
32241
+ return -1;
32242
+ }
32243
+ return (Py_ssize_t) len;
32244
+ }
32202
32245
  static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
32203
- return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
32246
+ Py_ssize_t len = __Pyx_ssize_strlen(c_str);
32247
+ if (unlikely(len < 0)) return NULL;
32248
+ return __Pyx_PyUnicode_FromStringAndSize(c_str, len);
32249
+ }
32250
+ static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char* c_str) {
32251
+ Py_ssize_t len = __Pyx_ssize_strlen(c_str);
32252
+ if (unlikely(len < 0)) return NULL;
32253
+ return PyByteArray_FromStringAndSize(c_str, len);
32204
32254
  }
32205
32255
  static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
32206
32256
  Py_ssize_t ignore;