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

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

Potentially problematic release.


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

Files changed (124) hide show
  1. biotite/__init__.py +3 -3
  2. biotite/application/application.py +33 -28
  3. biotite/application/dssp/app.py +18 -18
  4. biotite/application/sra/__init__.py +5 -0
  5. biotite/application/sra/app.py +337 -55
  6. biotite/database/entrez/__init__.py +2 -1
  7. biotite/database/entrez/check.py +14 -3
  8. biotite/database/entrez/download.py +20 -13
  9. biotite/database/entrez/key.py +44 -0
  10. biotite/database/entrez/query.py +38 -34
  11. biotite/database/pubchem/query.py +44 -44
  12. biotite/database/rcsb/download.py +19 -14
  13. biotite/database/rcsb/query.py +46 -46
  14. biotite/sequence/align/__init__.py +5 -1
  15. biotite/sequence/align/banded.c +1408 -1025
  16. biotite/sequence/align/banded.cp310-win_amd64.pyd +0 -0
  17. biotite/sequence/align/buckets.py +69 -0
  18. biotite/sequence/align/cigar.py +389 -0
  19. biotite/sequence/align/kmeralphabet.c +3220 -2850
  20. biotite/sequence/align/kmeralphabet.cp310-win_amd64.pyd +0 -0
  21. biotite/sequence/align/kmersimilarity.c +713 -663
  22. biotite/sequence/align/kmersimilarity.cp310-win_amd64.pyd +0 -0
  23. biotite/sequence/align/kmertable.cp310-win_amd64.pyd +0 -0
  24. biotite/sequence/align/kmertable.cpp +68398 -0
  25. biotite/sequence/align/localgapped.c +1507 -1074
  26. biotite/sequence/align/localgapped.cp310-win_amd64.pyd +0 -0
  27. biotite/sequence/align/localungapped.c +1143 -833
  28. biotite/sequence/align/localungapped.cp310-win_amd64.pyd +0 -0
  29. biotite/sequence/align/multiple.c +1569 -1092
  30. biotite/sequence/align/multiple.cp310-win_amd64.pyd +0 -0
  31. biotite/sequence/align/pairwise.c +1612 -1212
  32. biotite/sequence/align/pairwise.cp310-win_amd64.pyd +0 -0
  33. biotite/sequence/align/permutation.c +33259 -0
  34. biotite/sequence/align/permutation.cp310-win_amd64.pyd +0 -0
  35. biotite/sequence/align/primes.txt +821 -0
  36. biotite/sequence/align/{kmertable.c → selector.c} +9129 -16497
  37. biotite/sequence/align/selector.cp310-win_amd64.pyd +0 -0
  38. biotite/sequence/align/tracetable.c +685 -646
  39. biotite/sequence/align/tracetable.cp310-win_amd64.pyd +0 -0
  40. biotite/sequence/codec.c +1159 -841
  41. biotite/sequence/codec.cp310-win_amd64.pyd +0 -0
  42. biotite/sequence/graphics/alignment.py +212 -2
  43. biotite/sequence/io/genbank/annotation.py +11 -11
  44. biotite/sequence/phylo/nj.c +684 -636
  45. biotite/sequence/phylo/nj.cp310-win_amd64.pyd +0 -0
  46. biotite/sequence/phylo/tree.c +970 -673
  47. biotite/sequence/phylo/tree.cp310-win_amd64.pyd +0 -0
  48. biotite/sequence/phylo/upgma.c +672 -626
  49. biotite/sequence/phylo/upgma.cp310-win_amd64.pyd +0 -0
  50. biotite/structure/__init__.py +1 -1
  51. biotite/structure/atoms.py +1 -1
  52. biotite/structure/basepairs.py +7 -12
  53. biotite/structure/bonds.c +3861 -3749
  54. biotite/structure/bonds.cp310-win_amd64.pyd +0 -0
  55. biotite/structure/celllist.c +727 -707
  56. biotite/structure/celllist.cp310-win_amd64.pyd +0 -0
  57. biotite/structure/charges.c +1561 -1560
  58. biotite/structure/charges.cp310-win_amd64.pyd +0 -0
  59. biotite/structure/filter.py +30 -37
  60. biotite/structure/info/__init__.py +5 -8
  61. biotite/structure/info/atoms.py +25 -67
  62. biotite/structure/info/bonds.py +46 -100
  63. biotite/structure/info/ccd/README.rst +8 -0
  64. biotite/structure/info/ccd/amino_acids.txt +1646 -0
  65. biotite/structure/info/ccd/carbohydrates.txt +1133 -0
  66. biotite/structure/info/ccd/components.bcif +0 -0
  67. biotite/structure/info/ccd/nucleotides.txt +797 -0
  68. biotite/structure/info/ccd.py +95 -0
  69. biotite/structure/info/groups.py +90 -0
  70. biotite/structure/info/masses.py +21 -20
  71. biotite/structure/info/misc.py +11 -22
  72. biotite/structure/info/standardize.py +17 -12
  73. biotite/structure/io/__init__.py +2 -4
  74. biotite/structure/io/ctab.py +1 -1
  75. biotite/structure/io/general.py +37 -43
  76. biotite/structure/io/mmtf/__init__.py +3 -0
  77. biotite/structure/io/mmtf/convertarray.c +528 -365
  78. biotite/structure/io/mmtf/convertarray.cp310-win_amd64.pyd +0 -0
  79. biotite/structure/io/mmtf/convertfile.c +725 -676
  80. biotite/structure/io/mmtf/convertfile.cp310-win_amd64.pyd +0 -0
  81. biotite/structure/io/mmtf/decode.c +1070 -754
  82. biotite/structure/io/mmtf/decode.cp310-win_amd64.pyd +0 -0
  83. biotite/structure/io/mmtf/encode.c +727 -677
  84. biotite/structure/io/mmtf/encode.cp310-win_amd64.pyd +0 -0
  85. biotite/structure/io/mmtf/file.py +34 -26
  86. biotite/structure/io/npz/__init__.py +3 -0
  87. biotite/structure/io/npz/file.py +21 -18
  88. biotite/structure/io/pdb/__init__.py +3 -3
  89. biotite/structure/io/pdb/file.py +72 -70
  90. biotite/structure/io/pdb/hybrid36.c +540 -478
  91. biotite/structure/io/pdb/hybrid36.cp310-win_amd64.pyd +0 -0
  92. biotite/structure/io/pdbqt/file.py +82 -68
  93. biotite/structure/io/pdbx/__init__.py +13 -6
  94. biotite/structure/io/pdbx/bcif.py +649 -0
  95. biotite/structure/io/pdbx/cif.py +1028 -0
  96. biotite/structure/io/pdbx/component.py +243 -0
  97. biotite/structure/io/pdbx/convert.py +707 -359
  98. biotite/structure/io/pdbx/encoding.c +112813 -0
  99. biotite/structure/io/pdbx/encoding.cp310-win_amd64.pyd +0 -0
  100. biotite/structure/io/pdbx/error.py +14 -0
  101. biotite/structure/io/pdbx/legacy.py +267 -0
  102. biotite/structure/molecules.py +151 -151
  103. biotite/structure/residues.py +40 -40
  104. biotite/structure/sasa.c +713 -644
  105. biotite/structure/sasa.cp310-win_amd64.pyd +0 -0
  106. biotite/structure/superimpose.py +158 -115
  107. biotite/visualize.py +9 -11
  108. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/METADATA +2 -2
  109. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/RECORD +112 -102
  110. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/WHEEL +1 -1
  111. biotite/structure/info/amino_acids.json +0 -1556
  112. biotite/structure/info/amino_acids.py +0 -42
  113. biotite/structure/info/carbohydrates.json +0 -1122
  114. biotite/structure/info/carbohydrates.py +0 -39
  115. biotite/structure/info/intra_bonds.msgpack +0 -0
  116. biotite/structure/info/link_types.msgpack +0 -1
  117. biotite/structure/info/nucleotides.json +0 -772
  118. biotite/structure/info/nucleotides.py +0 -39
  119. biotite/structure/info/residue_masses.msgpack +0 -0
  120. biotite/structure/info/residue_names.msgpack +0 -3
  121. biotite/structure/info/residues.msgpack +0 -0
  122. biotite/structure/io/pdbx/file.py +0 -652
  123. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/LICENSE.rst +0 -0
  124. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.0.2 */
1
+ /* Generated by Cython 3.0.10 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -32,15 +32,15 @@ END: Cython Metadata */
32
32
  #elif PY_VERSION_HEX < 0x02070000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
33
33
  #error Cython requires Python 2.7+ or Python 3.3+.
34
34
  #else
35
- #if CYTHON_LIMITED_API
35
+ #if defined(CYTHON_LIMITED_API) && CYTHON_LIMITED_API
36
36
  #define __PYX_EXTRA_ABI_MODULE_NAME "limited"
37
37
  #else
38
38
  #define __PYX_EXTRA_ABI_MODULE_NAME ""
39
39
  #endif
40
- #define CYTHON_ABI "3_0_2" __PYX_EXTRA_ABI_MODULE_NAME
40
+ #define CYTHON_ABI "3_0_10" __PYX_EXTRA_ABI_MODULE_NAME
41
41
  #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
42
42
  #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
43
- #define CYTHON_HEX_VERSION 0x030002F0
43
+ #define CYTHON_HEX_VERSION 0x03000AF0
44
44
  #define CYTHON_FUTURE_DIVISION 1
45
45
  #include <stddef.h>
46
46
  #ifndef offsetof
@@ -132,6 +132,8 @@ END: Cython Metadata */
132
132
  #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
133
133
  #define CYTHON_UPDATE_DESCRIPTOR_DOC 0
134
134
  #endif
135
+ #undef CYTHON_USE_FREELISTS
136
+ #define CYTHON_USE_FREELISTS 0
135
137
  #elif defined(PYPY_VERSION)
136
138
  #define CYTHON_COMPILING_IN_PYPY 1
137
139
  #define CYTHON_COMPILING_IN_CPYTHON 0
@@ -193,6 +195,8 @@ END: Cython Metadata */
193
195
  #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
194
196
  #define CYTHON_UPDATE_DESCRIPTOR_DOC 0
195
197
  #endif
198
+ #undef CYTHON_USE_FREELISTS
199
+ #define CYTHON_USE_FREELISTS 0
196
200
  #elif defined(CYTHON_LIMITED_API)
197
201
  #ifdef Py_LIMITED_API
198
202
  #undef __PYX_LIMITED_VERSION_HEX
@@ -254,7 +258,9 @@ END: Cython Metadata */
254
258
  #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
255
259
  #define CYTHON_UPDATE_DESCRIPTOR_DOC 0
256
260
  #endif
257
- #elif defined(PY_NOGIL)
261
+ #undef CYTHON_USE_FREELISTS
262
+ #define CYTHON_USE_FREELISTS 0
263
+ #elif defined(Py_GIL_DISABLED) || defined(Py_NOGIL)
258
264
  #define CYTHON_COMPILING_IN_PYPY 0
259
265
  #define CYTHON_COMPILING_IN_CPYTHON 0
260
266
  #define CYTHON_COMPILING_IN_LIMITED_API 0
@@ -263,11 +269,17 @@ END: Cython Metadata */
263
269
  #ifndef CYTHON_USE_TYPE_SLOTS
264
270
  #define CYTHON_USE_TYPE_SLOTS 1
265
271
  #endif
272
+ #ifndef CYTHON_USE_TYPE_SPECS
273
+ #define CYTHON_USE_TYPE_SPECS 0
274
+ #endif
266
275
  #undef CYTHON_USE_PYTYPE_LOOKUP
267
276
  #define CYTHON_USE_PYTYPE_LOOKUP 0
268
277
  #ifndef CYTHON_USE_ASYNC_SLOTS
269
278
  #define CYTHON_USE_ASYNC_SLOTS 1
270
279
  #endif
280
+ #ifndef CYTHON_USE_PYLONG_INTERNALS
281
+ #define CYTHON_USE_PYLONG_INTERNALS 0
282
+ #endif
271
283
  #undef CYTHON_USE_PYLIST_INTERNALS
272
284
  #define CYTHON_USE_PYLIST_INTERNALS 0
273
285
  #ifndef CYTHON_USE_UNICODE_INTERNALS
@@ -275,8 +287,6 @@ END: Cython Metadata */
275
287
  #endif
276
288
  #undef CYTHON_USE_UNICODE_WRITER
277
289
  #define CYTHON_USE_UNICODE_WRITER 0
278
- #undef CYTHON_USE_PYLONG_INTERNALS
279
- #define CYTHON_USE_PYLONG_INTERNALS 0
280
290
  #ifndef CYTHON_AVOID_BORROWED_REFS
281
291
  #define CYTHON_AVOID_BORROWED_REFS 0
282
292
  #endif
@@ -288,11 +298,22 @@ END: Cython Metadata */
288
298
  #endif
289
299
  #undef CYTHON_FAST_THREAD_STATE
290
300
  #define CYTHON_FAST_THREAD_STATE 0
301
+ #undef CYTHON_FAST_GIL
302
+ #define CYTHON_FAST_GIL 0
303
+ #ifndef CYTHON_METH_FASTCALL
304
+ #define CYTHON_METH_FASTCALL 1
305
+ #endif
291
306
  #undef CYTHON_FAST_PYCALL
292
307
  #define CYTHON_FAST_PYCALL 0
308
+ #ifndef CYTHON_PEP487_INIT_SUBCLASS
309
+ #define CYTHON_PEP487_INIT_SUBCLASS 1
310
+ #endif
293
311
  #ifndef CYTHON_PEP489_MULTI_PHASE_INIT
294
312
  #define CYTHON_PEP489_MULTI_PHASE_INIT 1
295
313
  #endif
314
+ #ifndef CYTHON_USE_MODULE_STATE
315
+ #define CYTHON_USE_MODULE_STATE 0
316
+ #endif
296
317
  #ifndef CYTHON_USE_TP_FINALIZE
297
318
  #define CYTHON_USE_TP_FINALIZE 1
298
319
  #endif
@@ -300,6 +321,12 @@ END: Cython Metadata */
300
321
  #define CYTHON_USE_DICT_VERSIONS 0
301
322
  #undef CYTHON_USE_EXC_INFO_STACK
302
323
  #define CYTHON_USE_EXC_INFO_STACK 0
324
+ #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
325
+ #define CYTHON_UPDATE_DESCRIPTOR_DOC 1
326
+ #endif
327
+ #ifndef CYTHON_USE_FREELISTS
328
+ #define CYTHON_USE_FREELISTS 0
329
+ #endif
303
330
  #else
304
331
  #define CYTHON_COMPILING_IN_PYPY 0
305
332
  #define CYTHON_COMPILING_IN_CPYTHON 1
@@ -390,6 +417,9 @@ END: Cython Metadata */
390
417
  #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
391
418
  #define CYTHON_UPDATE_DESCRIPTOR_DOC 1
392
419
  #endif
420
+ #ifndef CYTHON_USE_FREELISTS
421
+ #define CYTHON_USE_FREELISTS 1
422
+ #endif
393
423
  #endif
394
424
  #if !defined(CYTHON_FAST_PYCCALL)
395
425
  #define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
@@ -581,17 +611,20 @@ END: Cython Metadata */
581
611
  PyObject *name, int fline, PyObject *lnos) {
582
612
  PyObject *exception_table = NULL;
583
613
  PyObject *types_module=NULL, *code_type=NULL, *result=NULL;
584
- PyObject *version_info; // borrowed
614
+ #if __PYX_LIMITED_VERSION_HEX < 0x030B0000
615
+ PyObject *version_info;
585
616
  PyObject *py_minor_version = NULL;
617
+ #endif
586
618
  long minor_version = 0;
587
619
  PyObject *type, *value, *traceback;
588
620
  PyErr_Fetch(&type, &value, &traceback);
589
621
  #if __PYX_LIMITED_VERSION_HEX >= 0x030B0000
590
- minor_version = 11; // we don't yet need to distinguish between versions > 11
622
+ minor_version = 11;
591
623
  #else
592
624
  if (!(version_info = PySys_GetObject("version_info"))) goto end;
593
625
  if (!(py_minor_version = PySequence_GetItem(version_info, 1))) goto end;
594
626
  minor_version = PyLong_AsLong(py_minor_version);
627
+ Py_DECREF(py_minor_version);
595
628
  if (minor_version == -1 && PyErr_Occurred()) goto end;
596
629
  #endif
597
630
  if (!(types_module = PyImport_ImportModule("types"))) goto end;
@@ -612,7 +645,6 @@ END: Cython Metadata */
612
645
  Py_XDECREF(code_type);
613
646
  Py_XDECREF(exception_table);
614
647
  Py_XDECREF(types_module);
615
- Py_XDECREF(py_minor_version);
616
648
  if (type) {
617
649
  PyErr_Restore(type, value, traceback);
618
650
  }
@@ -645,7 +677,7 @@ END: Cython Metadata */
645
677
  PyObject *fv, PyObject *cell, PyObject* fn,
646
678
  PyObject *name, int fline, PyObject *lnos) {
647
679
  PyCodeObject *result;
648
- PyObject *empty_bytes = PyBytes_FromStringAndSize("", 0); // we don't have access to __pyx_empty_bytes here
680
+ PyObject *empty_bytes = PyBytes_FromStringAndSize("", 0);
649
681
  if (!empty_bytes) return NULL;
650
682
  result =
651
683
  #if PY_VERSION_HEX >= 0x030C0000
@@ -731,8 +763,13 @@ END: Cython Metadata */
731
763
  typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args,
732
764
  Py_ssize_t nargs, PyObject *kwnames);
733
765
  #else
734
- #define __Pyx_PyCFunctionFast _PyCFunctionFast
735
- #define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
766
+ #if PY_VERSION_HEX >= 0x030d00A4
767
+ # define __Pyx_PyCFunctionFast PyCFunctionFast
768
+ # define __Pyx_PyCFunctionFastWithKeywords PyCFunctionFastWithKeywords
769
+ #else
770
+ # define __Pyx_PyCFunctionFast _PyCFunctionFast
771
+ # define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
772
+ #endif
736
773
  #endif
737
774
  #if CYTHON_METH_FASTCALL
738
775
  #define __Pyx_METH_FASTCALL METH_FASTCALL
@@ -756,6 +793,31 @@ END: Cython Metadata */
756
793
  #define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET 0
757
794
  #define __Pyx_PyVectorcall_NARGS(n) ((Py_ssize_t)(n))
758
795
  #endif
796
+ #if PY_MAJOR_VERSION >= 0x030900B1
797
+ #define __Pyx_PyCFunction_CheckExact(func) PyCFunction_CheckExact(func)
798
+ #else
799
+ #define __Pyx_PyCFunction_CheckExact(func) PyCFunction_Check(func)
800
+ #endif
801
+ #define __Pyx_CyOrPyCFunction_Check(func) PyCFunction_Check(func)
802
+ #if CYTHON_COMPILING_IN_CPYTHON
803
+ #define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) (((PyCFunctionObject*)(func))->m_ml->ml_meth)
804
+ #elif !CYTHON_COMPILING_IN_LIMITED_API
805
+ #define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(func)
806
+ #endif
807
+ #if CYTHON_COMPILING_IN_CPYTHON
808
+ #define __Pyx_CyOrPyCFunction_GET_FLAGS(func) (((PyCFunctionObject*)(func))->m_ml->ml_flags)
809
+ static CYTHON_INLINE PyObject* __Pyx_CyOrPyCFunction_GET_SELF(PyObject *func) {
810
+ return (__Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_STATIC) ? NULL : ((PyCFunctionObject*)func)->m_self;
811
+ }
812
+ #endif
813
+ static CYTHON_INLINE int __Pyx__IsSameCFunction(PyObject *func, void *cfunc) {
814
+ #if CYTHON_COMPILING_IN_LIMITED_API
815
+ return PyCFunction_Check(func) && PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
816
+ #else
817
+ return PyCFunction_Check(func) && PyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
818
+ #endif
819
+ }
820
+ #define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCFunction(func, cfunc)
759
821
  #if __PYX_LIMITED_VERSION_HEX < 0x030900B1
760
822
  #define __Pyx_PyType_FromModuleAndSpec(m, s, b) ((void)m, PyType_FromSpecWithBases(s, b))
761
823
  typedef PyObject *(*__Pyx_PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, size_t, PyObject *);
@@ -782,6 +844,8 @@ END: Cython Metadata */
782
844
  #define __Pyx_PyThreadState_Current PyThreadState_Get()
783
845
  #elif !CYTHON_FAST_THREAD_STATE
784
846
  #define __Pyx_PyThreadState_Current PyThreadState_GET()
847
+ #elif PY_VERSION_HEX >= 0x030d00A1
848
+ #define __Pyx_PyThreadState_Current PyThreadState_GetUnchecked()
785
849
  #elif PY_VERSION_HEX >= 0x03060000
786
850
  #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
787
851
  #elif PY_VERSION_HEX >= 0x03000000
@@ -857,7 +921,7 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
857
921
  }
858
922
  #endif
859
923
  #endif
860
- #if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized)
924
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030d0000 || defined(_PyDict_NewPresized)
861
925
  #define __Pyx_PyDict_NewPresized(n) ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n))
862
926
  #else
863
927
  #define __Pyx_PyDict_NewPresized(n) PyDict_New()
@@ -869,7 +933,7 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
869
933
  #define __Pyx_PyNumber_Divide(x,y) PyNumber_Divide(x,y)
870
934
  #define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceDivide(x,y)
871
935
  #endif
872
- #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX > 0x030600B4 && CYTHON_USE_UNICODE_INTERNALS
936
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX > 0x030600B4 && PY_VERSION_HEX < 0x030d0000 && CYTHON_USE_UNICODE_INTERNALS
873
937
  #define __Pyx_PyDict_GetItemStrWithError(dict, name) _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash)
874
938
  static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStr(PyObject *dict, PyObject *name) {
875
939
  PyObject *res = __Pyx_PyDict_GetItemStrWithError(dict, name);
@@ -913,7 +977,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict,
913
977
  #endif
914
978
  #if CYTHON_USE_TYPE_SPECS && PY_VERSION_HEX >= 0x03080000
915
979
  #define __Pyx_PyHeapTypeObject_GC_Del(obj) {\
916
- PyTypeObject *type = Py_TYPE(obj);\
980
+ PyTypeObject *type = Py_TYPE((PyObject*)obj);\
917
981
  assert(__Pyx_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE));\
918
982
  PyObject_GC_Del(obj);\
919
983
  Py_DECREF(type);\
@@ -1057,6 +1121,15 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict,
1057
1121
  #define __Pyx_PyBytes_GET_SIZE(o) PyBytes_Size(o)
1058
1122
  #define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_Size(o)
1059
1123
  #endif
1124
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
1125
+ #define __Pyx_PyImport_AddModuleRef(name) PyImport_AddModuleRef(name)
1126
+ #else
1127
+ static CYTHON_INLINE PyObject *__Pyx_PyImport_AddModuleRef(const char *name) {
1128
+ PyObject *module = PyImport_AddModule(name);
1129
+ Py_XINCREF(module);
1130
+ return module;
1131
+ }
1132
+ #endif
1060
1133
  #if PY_MAJOR_VERSION >= 3
1061
1134
  #define PyIntObject PyLongObject
1062
1135
  #define PyInt_Type PyLong_Type
@@ -1135,7 +1208,7 @@ static CYTHON_INLINE float __PYX_NAN() {
1135
1208
  #endif
1136
1209
 
1137
1210
  #define __PYX_MARK_ERR_POS(f_index, lineno) \
1138
- { __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__; (void)__pyx_clineno; }
1211
+ { __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__; (void)__pyx_clineno; }
1139
1212
  #define __PYX_ERR(f_index, lineno, Ln_error) \
1140
1213
  { __PYX_MARK_ERR_POS(f_index, lineno) goto Ln_error; }
1141
1214
 
@@ -1219,9 +1292,10 @@ static CYTHON_INLINE int __Pyx_is_valid_index(Py_ssize_t i, Py_ssize_t limit) {
1219
1292
  #else
1220
1293
  #define __Pyx_sst_abs(value) ((value<0) ? -value : value)
1221
1294
  #endif
1295
+ static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s);
1222
1296
  static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*);
1223
1297
  static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
1224
- #define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
1298
+ static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char*);
1225
1299
  #define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
1226
1300
  #define __Pyx_PyBytes_FromString PyBytes_FromString
1227
1301
  #define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize
@@ -1249,24 +1323,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*);
1249
1323
  #define __Pyx_PyByteArray_FromCString(s) __Pyx_PyByteArray_FromString((const char*)s)
1250
1324
  #define __Pyx_PyStr_FromCString(s) __Pyx_PyStr_FromString((const char*)s)
1251
1325
  #define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
1252
- #if CYTHON_COMPILING_IN_LIMITED_API
1253
- static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const wchar_t *u)
1254
- {
1255
- const wchar_t *u_end = u;
1256
- while (*u_end++) ;
1257
- return (size_t)(u_end - u - 1);
1258
- }
1259
- #else
1260
- static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
1261
- {
1262
- const Py_UNICODE *u_end = u;
1263
- while (*u_end++) ;
1264
- return (size_t)(u_end - u - 1);
1265
- }
1266
- #endif
1267
1326
  #define __Pyx_PyUnicode_FromOrdinal(o) PyUnicode_FromOrdinal((int)o)
1268
- #define __Pyx_PyUnicode_FromUnicode(u) PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
1269
- #define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
1270
1327
  #define __Pyx_PyUnicode_AsUnicode PyUnicode_AsUnicode
1271
1328
  #define __Pyx_NewRef(obj) (Py_INCREF(obj), obj)
1272
1329
  #define __Pyx_Owned_Py_None(b) __Pyx_NewRef(Py_None)
@@ -1316,7 +1373,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
1316
1373
  #endif
1317
1374
  typedef Py_ssize_t __Pyx_compact_pylong;
1318
1375
  typedef size_t __Pyx_compact_upylong;
1319
- #else // Py < 3.12
1376
+ #else
1320
1377
  #define __Pyx_PyLong_IsNeg(x) (Py_SIZE(x) < 0)
1321
1378
  #define __Pyx_PyLong_IsNonNeg(x) (Py_SIZE(x) >= 0)
1322
1379
  #define __Pyx_PyLong_IsZero(x) (Py_SIZE(x) == 0)
@@ -1337,6 +1394,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
1337
1394
  #endif
1338
1395
  #endif
1339
1396
  #if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
1397
+ #include <string.h>
1340
1398
  static int __Pyx_sys_getdefaultencoding_not_ascii;
1341
1399
  static int __Pyx_init_sys_getdefaultencoding_params(void) {
1342
1400
  PyObject* sys;
@@ -1387,6 +1445,7 @@ bad:
1387
1445
  #else
1388
1446
  #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
1389
1447
  #if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
1448
+ #include <string.h>
1390
1449
  static char* __PYX_DEFAULT_STRING_ENCODING;
1391
1450
  static int __Pyx_init_sys_getdefaultencoding_params(void) {
1392
1451
  PyObject* sys;
@@ -1434,7 +1493,7 @@ static const char *__pyx_filename;
1434
1493
  #if !defined(CYTHON_CCOMPLEX)
1435
1494
  #if defined(__cplusplus)
1436
1495
  #define CYTHON_CCOMPLEX 1
1437
- #elif (defined(_Complex_I) && !defined(_MSC_VER)) || ((defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_COMPLEX__))
1496
+ #elif (defined(_Complex_I) && !defined(_MSC_VER)) || ((defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_COMPLEX__) && !defined(_MSC_VER))
1438
1497
  #define CYTHON_CCOMPLEX 1
1439
1498
  #else
1440
1499
  #define CYTHON_CCOMPLEX 0
@@ -1564,6 +1623,7 @@ typedef struct {
1564
1623
  #include <intrin.h>
1565
1624
  #undef __pyx_atomic_int_type
1566
1625
  #define __pyx_atomic_int_type long
1626
+ #undef __pyx_nonatomic_int_type
1567
1627
  #define __pyx_nonatomic_int_type long
1568
1628
  #pragma intrinsic (_InterlockedExchangeAdd)
1569
1629
  #define __pyx_atomic_incr_aligned(value) _InterlockedExchangeAdd(value, 1)
@@ -1603,7 +1663,7 @@ typedef struct {
1603
1663
 
1604
1664
  /* #### Code section: numeric_typedefs ### */
1605
1665
 
1606
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":732
1666
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":732
1607
1667
  * # in Cython to enable them only on the right systems.
1608
1668
  *
1609
1669
  * ctypedef npy_int8 int8_t # <<<<<<<<<<<<<<
@@ -1612,7 +1672,7 @@ typedef struct {
1612
1672
  */
1613
1673
  typedef npy_int8 __pyx_t_5numpy_int8_t;
1614
1674
 
1615
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":733
1675
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":733
1616
1676
  *
1617
1677
  * ctypedef npy_int8 int8_t
1618
1678
  * ctypedef npy_int16 int16_t # <<<<<<<<<<<<<<
@@ -1621,7 +1681,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t;
1621
1681
  */
1622
1682
  typedef npy_int16 __pyx_t_5numpy_int16_t;
1623
1683
 
1624
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":734
1684
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":734
1625
1685
  * ctypedef npy_int8 int8_t
1626
1686
  * ctypedef npy_int16 int16_t
1627
1687
  * ctypedef npy_int32 int32_t # <<<<<<<<<<<<<<
@@ -1630,7 +1690,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t;
1630
1690
  */
1631
1691
  typedef npy_int32 __pyx_t_5numpy_int32_t;
1632
1692
 
1633
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":735
1693
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":735
1634
1694
  * ctypedef npy_int16 int16_t
1635
1695
  * ctypedef npy_int32 int32_t
1636
1696
  * ctypedef npy_int64 int64_t # <<<<<<<<<<<<<<
@@ -1639,7 +1699,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t;
1639
1699
  */
1640
1700
  typedef npy_int64 __pyx_t_5numpy_int64_t;
1641
1701
 
1642
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":739
1702
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":739
1643
1703
  * #ctypedef npy_int128 int128_t
1644
1704
  *
1645
1705
  * ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<<
@@ -1648,7 +1708,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t;
1648
1708
  */
1649
1709
  typedef npy_uint8 __pyx_t_5numpy_uint8_t;
1650
1710
 
1651
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":740
1711
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":740
1652
1712
  *
1653
1713
  * ctypedef npy_uint8 uint8_t
1654
1714
  * ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<<
@@ -1657,7 +1717,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
1657
1717
  */
1658
1718
  typedef npy_uint16 __pyx_t_5numpy_uint16_t;
1659
1719
 
1660
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":741
1720
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":741
1661
1721
  * ctypedef npy_uint8 uint8_t
1662
1722
  * ctypedef npy_uint16 uint16_t
1663
1723
  * ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<<
@@ -1666,7 +1726,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
1666
1726
  */
1667
1727
  typedef npy_uint32 __pyx_t_5numpy_uint32_t;
1668
1728
 
1669
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":742
1729
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":742
1670
1730
  * ctypedef npy_uint16 uint16_t
1671
1731
  * ctypedef npy_uint32 uint32_t
1672
1732
  * ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<<
@@ -1675,7 +1735,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
1675
1735
  */
1676
1736
  typedef npy_uint64 __pyx_t_5numpy_uint64_t;
1677
1737
 
1678
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":746
1738
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":746
1679
1739
  * #ctypedef npy_uint128 uint128_t
1680
1740
  *
1681
1741
  * ctypedef npy_float32 float32_t # <<<<<<<<<<<<<<
@@ -1684,7 +1744,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
1684
1744
  */
1685
1745
  typedef npy_float32 __pyx_t_5numpy_float32_t;
1686
1746
 
1687
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":747
1747
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":747
1688
1748
  *
1689
1749
  * ctypedef npy_float32 float32_t
1690
1750
  * ctypedef npy_float64 float64_t # <<<<<<<<<<<<<<
@@ -1693,7 +1753,7 @@ typedef npy_float32 __pyx_t_5numpy_float32_t;
1693
1753
  */
1694
1754
  typedef npy_float64 __pyx_t_5numpy_float64_t;
1695
1755
 
1696
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":756
1756
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":756
1697
1757
  * # The int types are mapped a bit surprising --
1698
1758
  * # numpy.int corresponds to 'l' and numpy.long to 'q'
1699
1759
  * ctypedef npy_long int_t # <<<<<<<<<<<<<<
@@ -1702,7 +1762,7 @@ typedef npy_float64 __pyx_t_5numpy_float64_t;
1702
1762
  */
1703
1763
  typedef npy_long __pyx_t_5numpy_int_t;
1704
1764
 
1705
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":757
1765
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":757
1706
1766
  * # numpy.int corresponds to 'l' and numpy.long to 'q'
1707
1767
  * ctypedef npy_long int_t
1708
1768
  * ctypedef npy_longlong long_t # <<<<<<<<<<<<<<
@@ -1711,7 +1771,7 @@ typedef npy_long __pyx_t_5numpy_int_t;
1711
1771
  */
1712
1772
  typedef npy_longlong __pyx_t_5numpy_long_t;
1713
1773
 
1714
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":758
1774
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":758
1715
1775
  * ctypedef npy_long int_t
1716
1776
  * ctypedef npy_longlong long_t
1717
1777
  * ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<<
@@ -1720,7 +1780,7 @@ typedef npy_longlong __pyx_t_5numpy_long_t;
1720
1780
  */
1721
1781
  typedef npy_longlong __pyx_t_5numpy_longlong_t;
1722
1782
 
1723
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":760
1783
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":760
1724
1784
  * ctypedef npy_longlong longlong_t
1725
1785
  *
1726
1786
  * ctypedef npy_ulong uint_t # <<<<<<<<<<<<<<
@@ -1729,7 +1789,7 @@ typedef npy_longlong __pyx_t_5numpy_longlong_t;
1729
1789
  */
1730
1790
  typedef npy_ulong __pyx_t_5numpy_uint_t;
1731
1791
 
1732
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":761
1792
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":761
1733
1793
  *
1734
1794
  * ctypedef npy_ulong uint_t
1735
1795
  * ctypedef npy_ulonglong ulong_t # <<<<<<<<<<<<<<
@@ -1738,7 +1798,7 @@ typedef npy_ulong __pyx_t_5numpy_uint_t;
1738
1798
  */
1739
1799
  typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
1740
1800
 
1741
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":762
1801
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":762
1742
1802
  * ctypedef npy_ulong uint_t
1743
1803
  * ctypedef npy_ulonglong ulong_t
1744
1804
  * ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<<
@@ -1747,7 +1807,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
1747
1807
  */
1748
1808
  typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
1749
1809
 
1750
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":764
1810
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":764
1751
1811
  * ctypedef npy_ulonglong ulonglong_t
1752
1812
  *
1753
1813
  * ctypedef npy_intp intp_t # <<<<<<<<<<<<<<
@@ -1756,7 +1816,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
1756
1816
  */
1757
1817
  typedef npy_intp __pyx_t_5numpy_intp_t;
1758
1818
 
1759
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":765
1819
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":765
1760
1820
  *
1761
1821
  * ctypedef npy_intp intp_t
1762
1822
  * ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<<
@@ -1765,7 +1825,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t;
1765
1825
  */
1766
1826
  typedef npy_uintp __pyx_t_5numpy_uintp_t;
1767
1827
 
1768
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":767
1828
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":767
1769
1829
  * ctypedef npy_uintp uintp_t
1770
1830
  *
1771
1831
  * ctypedef npy_double float_t # <<<<<<<<<<<<<<
@@ -1774,7 +1834,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t;
1774
1834
  */
1775
1835
  typedef npy_double __pyx_t_5numpy_float_t;
1776
1836
 
1777
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":768
1837
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":768
1778
1838
  *
1779
1839
  * ctypedef npy_double float_t
1780
1840
  * ctypedef npy_double double_t # <<<<<<<<<<<<<<
@@ -1783,7 +1843,7 @@ typedef npy_double __pyx_t_5numpy_float_t;
1783
1843
  */
1784
1844
  typedef npy_double __pyx_t_5numpy_double_t;
1785
1845
 
1786
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":769
1846
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":769
1787
1847
  * ctypedef npy_double float_t
1788
1848
  * ctypedef npy_double double_t
1789
1849
  * ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<<
@@ -1896,7 +1956,7 @@ struct __pyx_MemviewEnum_obj;
1896
1956
  struct __pyx_memoryview_obj;
1897
1957
  struct __pyx_memoryviewslice_obj;
1898
1958
 
1899
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":771
1959
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":771
1900
1960
  * ctypedef npy_longdouble longdouble_t
1901
1961
  *
1902
1962
  * ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<<
@@ -1905,7 +1965,7 @@ struct __pyx_memoryviewslice_obj;
1905
1965
  */
1906
1966
  typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
1907
1967
 
1908
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":772
1968
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":772
1909
1969
  *
1910
1970
  * ctypedef npy_cfloat cfloat_t
1911
1971
  * ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<<
@@ -1914,7 +1974,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
1914
1974
  */
1915
1975
  typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
1916
1976
 
1917
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":773
1977
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":773
1918
1978
  * ctypedef npy_cfloat cfloat_t
1919
1979
  * ctypedef npy_cdouble cdouble_t
1920
1980
  * ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<<
@@ -1923,7 +1983,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
1923
1983
  */
1924
1984
  typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
1925
1985
 
1926
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":775
1986
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":775
1927
1987
  * ctypedef npy_clongdouble clongdouble_t
1928
1988
  *
1929
1989
  * ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<<
@@ -2234,8 +2294,8 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
2234
2294
  #define __Pyx_Arg_NewRef_VARARGS(arg) __Pyx_NewRef(arg)
2235
2295
  #define __Pyx_Arg_XDECREF_VARARGS(arg) Py_XDECREF(arg)
2236
2296
  #else
2237
- #define __Pyx_Arg_NewRef_VARARGS(arg) arg // no-op
2238
- #define __Pyx_Arg_XDECREF_VARARGS(arg) // no-op - arg is borrowed
2297
+ #define __Pyx_Arg_NewRef_VARARGS(arg) arg
2298
+ #define __Pyx_Arg_XDECREF_VARARGS(arg)
2239
2299
  #endif
2240
2300
  #define __Pyx_NumKwargs_VARARGS(kwds) PyDict_Size(kwds)
2241
2301
  #define __Pyx_KwValues_VARARGS(args, nargs) NULL
@@ -2246,9 +2306,14 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
2246
2306
  #define __Pyx_NumKwargs_FASTCALL(kwds) PyTuple_GET_SIZE(kwds)
2247
2307
  #define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs))
2248
2308
  static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s);
2309
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
2310
+ CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);
2311
+ #else
2249
2312
  #define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw)
2250
- #define __Pyx_Arg_NewRef_FASTCALL(arg) arg // no-op, __Pyx_Arg_FASTCALL is direct and this needs
2251
- #define __Pyx_Arg_XDECREF_FASTCALL(arg) // no-op - arg was returned from array
2313
+ #endif
2314
+ #define __Pyx_Arg_NewRef_FASTCALL(arg) arg /* no-op, __Pyx_Arg_FASTCALL is direct and this needs
2315
+ to have the same reference counting */
2316
+ #define __Pyx_Arg_XDECREF_FASTCALL(arg)
2252
2317
  #else
2253
2318
  #define __Pyx_Arg_FASTCALL __Pyx_Arg_VARARGS
2254
2319
  #define __Pyx_NumKwargs_FASTCALL __Pyx_NumKwargs_VARARGS
@@ -2571,9 +2636,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
2571
2636
  static PyObject *__Pyx_ImportDottedModule_WalkParts(PyObject *module, PyObject *name, PyObject *parts_tuple);
2572
2637
  #endif
2573
2638
 
2574
- /* ssize_strlen.proto */
2575
- static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s);
2576
-
2577
2639
  /* FastTypeChecks.proto */
2578
2640
  #if CYTHON_COMPILING_IN_CPYTHON
2579
2641
  #define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
@@ -2599,7 +2661,11 @@ static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
2599
2661
  Py_ssize_t len = Py_SIZE(list);
2600
2662
  if (likely(L->allocated > len)) {
2601
2663
  Py_INCREF(x);
2664
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
2665
+ L->ob_item[len] = x;
2666
+ #else
2602
2667
  PyList_SET_ITEM(list, len, x);
2668
+ #endif
2603
2669
  __Pyx_SET_SIZE(list, len + 1);
2604
2670
  return 0;
2605
2671
  }
@@ -2639,7 +2705,11 @@ static CYTHON_INLINE int __Pyx_PySequence_ContainsTF(PyObject* item, PyObject* s
2639
2705
  static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name);
2640
2706
 
2641
2707
  /* HasAttr.proto */
2708
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
2709
+ #define __Pyx_HasAttr(o, n) PyObject_HasAttrWithError(o, n)
2710
+ #else
2642
2711
  static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *);
2712
+ #endif
2643
2713
 
2644
2714
  /* PyObject_Str.proto */
2645
2715
  #define __Pyx_PyObject_Str(obj)\
@@ -2731,7 +2801,7 @@ static CYTHON_INLINE int __Pyx_dict_iter_next(PyObject* dict_or_iter, Py_ssize_t
2731
2801
 
2732
2802
  /* ListExtend.proto */
2733
2803
  static CYTHON_INLINE int __Pyx_PyList_Extend(PyObject* L, PyObject* v) {
2734
- #if CYTHON_COMPILING_IN_CPYTHON
2804
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030d0000
2735
2805
  PyObject* none = _PyList_Extend((PyListObject*)L, v);
2736
2806
  if (unlikely(!none))
2737
2807
  return -1;
@@ -2774,6 +2844,25 @@ static PyObject* __Pyx__CallUnboundCMethod0(__Pyx_CachedCFunction* cfunc, PyObje
2774
2844
  #define __Pyx_CallUnboundCMethod0(cfunc, self) __Pyx__CallUnboundCMethod0(cfunc, self)
2775
2845
  #endif
2776
2846
 
2847
+ /* dict_getitem_default.proto */
2848
+ static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value);
2849
+
2850
+ /* CallUnboundCMethod1.proto */
2851
+ static PyObject* __Pyx__CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg);
2852
+ #if CYTHON_COMPILING_IN_CPYTHON
2853
+ static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg);
2854
+ #else
2855
+ #define __Pyx_CallUnboundCMethod1(cfunc, self, arg) __Pyx__CallUnboundCMethod1(cfunc, self, arg)
2856
+ #endif
2857
+
2858
+ /* CallUnboundCMethod2.proto */
2859
+ static PyObject* __Pyx__CallUnboundCMethod2(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg1, PyObject* arg2);
2860
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030600B1
2861
+ static CYTHON_INLINE PyObject *__Pyx_CallUnboundCMethod2(__Pyx_CachedCFunction *cfunc, PyObject *self, PyObject *arg1, PyObject *arg2);
2862
+ #else
2863
+ #define __Pyx_CallUnboundCMethod2(cfunc, self, arg1, arg2) __Pyx__CallUnboundCMethod2(cfunc, self, arg1, arg2)
2864
+ #endif
2865
+
2777
2866
  /* ListAppend.proto */
2778
2867
  #if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS
2779
2868
  static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) {
@@ -2781,7 +2870,11 @@ static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) {
2781
2870
  Py_ssize_t len = Py_SIZE(list);
2782
2871
  if (likely(L->allocated > len) & likely(len > (L->allocated >> 1))) {
2783
2872
  Py_INCREF(x);
2873
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
2874
+ L->ob_item[len] = x;
2875
+ #else
2784
2876
  PyList_SET_ITEM(list, len, x);
2877
+ #endif
2785
2878
  __Pyx_SET_SIZE(list, len + 1);
2786
2879
  return 0;
2787
2880
  }
@@ -2838,22 +2931,22 @@ static int __Pyx_setup_reduce(PyObject* type_obj);
2838
2931
  #endif
2839
2932
 
2840
2933
  /* TypeImport.proto */
2841
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_0_2
2842
- #define __PYX_HAVE_RT_ImportType_proto_3_0_2
2934
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_0_10
2935
+ #define __PYX_HAVE_RT_ImportType_proto_3_0_10
2843
2936
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2844
2937
  #include <stdalign.h>
2845
2938
  #endif
2846
2939
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2847
- #define __PYX_GET_STRUCT_ALIGNMENT_3_0_2(s) alignof(s)
2940
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) alignof(s)
2848
2941
  #else
2849
- #define __PYX_GET_STRUCT_ALIGNMENT_3_0_2(s) sizeof(void*)
2942
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) sizeof(void*)
2850
2943
  #endif
2851
- enum __Pyx_ImportType_CheckSize_3_0_2 {
2852
- __Pyx_ImportType_CheckSize_Error_3_0_2 = 0,
2853
- __Pyx_ImportType_CheckSize_Warn_3_0_2 = 1,
2854
- __Pyx_ImportType_CheckSize_Ignore_3_0_2 = 2
2944
+ enum __Pyx_ImportType_CheckSize_3_0_10 {
2945
+ __Pyx_ImportType_CheckSize_Error_3_0_10 = 0,
2946
+ __Pyx_ImportType_CheckSize_Warn_3_0_10 = 1,
2947
+ __Pyx_ImportType_CheckSize_Ignore_3_0_10 = 2
2855
2948
  };
2856
- 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);
2949
+ 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);
2857
2950
  #endif
2858
2951
 
2859
2952
  /* FetchSharedCythonModule.proto */
@@ -2946,7 +3039,7 @@ typedef struct {
2946
3039
  #endif
2947
3040
  void *defaults;
2948
3041
  int defaults_pyobjects;
2949
- size_t defaults_size; // used by FusedFunction for copying defaults
3042
+ size_t defaults_size;
2950
3043
  int flags;
2951
3044
  PyObject *defaults_tuple;
2952
3045
  PyObject *defaults_kwdict;
@@ -2954,9 +3047,13 @@ typedef struct {
2954
3047
  PyObject *func_annotations;
2955
3048
  PyObject *func_is_coroutine;
2956
3049
  } __pyx_CyFunctionObject;
3050
+ #undef __Pyx_CyOrPyCFunction_Check
2957
3051
  #define __Pyx_CyFunction_Check(obj) __Pyx_TypeCheck(obj, __pyx_CyFunctionType)
2958
- #define __Pyx_IsCyOrPyCFunction(obj) __Pyx_TypeCheck2(obj, __pyx_CyFunctionType, &PyCFunction_Type)
3052
+ #define __Pyx_CyOrPyCFunction_Check(obj) __Pyx_TypeCheck2(obj, __pyx_CyFunctionType, &PyCFunction_Type)
2959
3053
  #define __Pyx_CyFunction_CheckExact(obj) __Pyx_IS_TYPE(obj, __pyx_CyFunctionType)
3054
+ static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc);
3055
+ #undef __Pyx_IsSameCFunction
3056
+ #define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCyOrCFunction(func, cfunc)
2960
3057
  static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject* op, PyMethodDef *ml,
2961
3058
  int flags, PyObject* qualname,
2962
3059
  PyObject *closure,
@@ -3101,6 +3198,9 @@ static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_ds_nn_
3101
3198
  static CYTHON_INLINE PyObject *__pyx_memview_get_nn___pyx_t_7biotite_9structure_2io_4mmtf_6decode_int32(const char *itemp);
3102
3199
  static CYTHON_INLINE int __pyx_memview_set_nn___pyx_t_7biotite_9structure_2io_4mmtf_6decode_int32(const char *itemp, PyObject *obj);
3103
3200
 
3201
+ /* PyUCS4InUnicode.proto */
3202
+ static CYTHON_INLINE int __Pyx_UnicodeContainsUCS4(PyObject* unicode, Py_UCS4 character);
3203
+
3104
3204
  /* RealImag.proto */
3105
3205
  #if CYTHON_CCOMPLEX
3106
3206
  #ifdef __cplusplus
@@ -3246,9 +3346,6 @@ static CYTHON_INLINE npy_int32 __Pyx_PyInt_As_npy_int32(PyObject *);
3246
3346
  /* CIntToPy.proto */
3247
3347
  static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value);
3248
3348
 
3249
- /* BytesContains.proto */
3250
- static CYTHON_INLINE int __Pyx_BytesContains(PyObject* bytes, char character);
3251
-
3252
3349
  /* ImportNumPyArray.proto */
3253
3350
  static PyObject *__pyx_numpy_ndarray = NULL;
3254
3351
  static PyObject* __Pyx_ImportNumPyArrayTypeIfAvailable(void);
@@ -3273,7 +3370,8 @@ typedef const char *__Pyx_TypeName;
3273
3370
  #endif
3274
3371
 
3275
3372
  /* CheckBinaryVersion.proto */
3276
- static int __Pyx_check_binary_version(void);
3373
+ static unsigned long __Pyx_get_runtime_version(void);
3374
+ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
3277
3375
 
3278
3376
  /* InitStrings.proto */
3279
3377
  static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
@@ -3415,6 +3513,7 @@ static const char __pyx_k__38[] = "?";
3415
3513
  static const char __pyx_k_abc[] = "abc";
3416
3514
  static const char __pyx_k_all[] = "__all__";
3417
3515
  static const char __pyx_k_and[] = " and ";
3516
+ static const char __pyx_k_get[] = "get";
3418
3517
  static const char __pyx_k_got[] = " (got ";
3419
3518
  static const char __pyx_k_max[] = "max";
3420
3519
  static const char __pyx_k_min[] = "min";
@@ -3625,6 +3724,7 @@ static PyObject *__pyx_tp_new_array(PyTypeObject *t, PyObject *a, PyObject *k);
3625
3724
  static PyObject *__pyx_tp_new_Enum(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
3626
3725
  static PyObject *__pyx_tp_new_memoryview(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
3627
3726
  static PyObject *__pyx_tp_new__memoryviewslice(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
3727
+ static __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_get = {0, 0, 0, 0, 0};
3628
3728
  static __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_values = {0, 0, 0, 0, 0};
3629
3729
  /* #### Code section: late_includes ### */
3630
3730
  /* #### Code section: module_state ### */
@@ -3803,6 +3903,7 @@ typedef struct {
3803
3903
  PyObject *__pyx_n_s_frombuffer;
3804
3904
  PyObject *__pyx_n_s_fused_sigindex;
3805
3905
  PyObject *__pyx_kp_u_gc;
3906
+ PyObject *__pyx_n_s_get;
3806
3907
  PyObject *__pyx_n_s_getstate;
3807
3908
  PyObject *__pyx_kp_u_got;
3808
3909
  PyObject *__pyx_kp_u_got_differing_extents_in_dimensi;
@@ -4092,6 +4193,7 @@ static int __pyx_m_clear(PyObject *m) {
4092
4193
  Py_CLEAR(clear_module_state->__pyx_n_s_frombuffer);
4093
4194
  Py_CLEAR(clear_module_state->__pyx_n_s_fused_sigindex);
4094
4195
  Py_CLEAR(clear_module_state->__pyx_kp_u_gc);
4196
+ Py_CLEAR(clear_module_state->__pyx_n_s_get);
4095
4197
  Py_CLEAR(clear_module_state->__pyx_n_s_getstate);
4096
4198
  Py_CLEAR(clear_module_state->__pyx_kp_u_got);
4097
4199
  Py_CLEAR(clear_module_state->__pyx_kp_u_got_differing_extents_in_dimensi);
@@ -4359,6 +4461,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
4359
4461
  Py_VISIT(traverse_module_state->__pyx_n_s_frombuffer);
4360
4462
  Py_VISIT(traverse_module_state->__pyx_n_s_fused_sigindex);
4361
4463
  Py_VISIT(traverse_module_state->__pyx_kp_u_gc);
4464
+ Py_VISIT(traverse_module_state->__pyx_n_s_get);
4362
4465
  Py_VISIT(traverse_module_state->__pyx_n_s_getstate);
4363
4466
  Py_VISIT(traverse_module_state->__pyx_kp_u_got);
4364
4467
  Py_VISIT(traverse_module_state->__pyx_kp_u_got_differing_extents_in_dimensi);
@@ -4660,6 +4763,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
4660
4763
  #define __pyx_n_s_frombuffer __pyx_mstate_global->__pyx_n_s_frombuffer
4661
4764
  #define __pyx_n_s_fused_sigindex __pyx_mstate_global->__pyx_n_s_fused_sigindex
4662
4765
  #define __pyx_kp_u_gc __pyx_mstate_global->__pyx_kp_u_gc
4766
+ #define __pyx_n_s_get __pyx_mstate_global->__pyx_n_s_get
4663
4767
  #define __pyx_n_s_getstate __pyx_mstate_global->__pyx_n_s_getstate
4664
4768
  #define __pyx_kp_u_got __pyx_mstate_global->__pyx_kp_u_got
4665
4769
  #define __pyx_kp_u_got_differing_extents_in_dimensi __pyx_mstate_global->__pyx_kp_u_got_differing_extents_in_dimensi
@@ -4813,8 +4917,7 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
4813
4917
  #if CYTHON_ASSUME_SAFE_MACROS
4814
4918
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
4815
4919
  #else
4816
- __pyx_nargs = PyTuple_Size(__pyx_args);
4817
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 131, __pyx_L3_error)
4920
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
4818
4921
  #endif
4819
4922
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
4820
4923
  {
@@ -4915,10 +5018,11 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
4915
5018
  __pyx_v_allocate_buffer = ((int)1);
4916
5019
  }
4917
5020
  }
4918
- goto __pyx_L4_argument_unpacking_done;
5021
+ goto __pyx_L6_skip;
4919
5022
  __pyx_L5_argtuple_error:;
4920
5023
  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, __pyx_nargs); __PYX_ERR(1, 131, __pyx_L3_error)
4921
- goto __pyx_L3_error;
5024
+ __pyx_L6_skip:;
5025
+ goto __pyx_L4_argument_unpacking_done;
4922
5026
  __pyx_L3_error:;
4923
5027
  {
4924
5028
  Py_ssize_t __pyx_temp;
@@ -5201,13 +5305,20 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
5201
5305
  * raise ValueError, f"Invalid shape in axis {idx}: {dim}."
5202
5306
  */
5203
5307
  __pyx_t_7 = 0;
5204
- __pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4); __pyx_t_1 = 0;
5308
+ __pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4);
5309
+ __pyx_t_1 = 0;
5205
5310
  for (;;) {
5206
- if (__pyx_t_1 >= PyTuple_GET_SIZE(__pyx_t_4)) break;
5311
+ {
5312
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
5313
+ #if !CYTHON_ASSUME_SAFE_MACROS
5314
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 159, __pyx_L1_error)
5315
+ #endif
5316
+ if (__pyx_t_1 >= __pyx_temp) break;
5317
+ }
5207
5318
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
5208
5319
  __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)
5209
5320
  #else
5210
- __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)
5321
+ __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)
5211
5322
  __Pyx_GOTREF(__pyx_t_5);
5212
5323
  #endif
5213
5324
  __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)
@@ -5850,10 +5961,8 @@ static void __pyx_array___dealloc__(PyObject *__pyx_v_self) {
5850
5961
  }
5851
5962
 
5852
5963
  static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struct __pyx_array_obj *__pyx_v_self) {
5853
- __Pyx_RefNannyDeclarations
5854
5964
  int __pyx_t_1;
5855
5965
  int __pyx_t_2;
5856
- __Pyx_RefNannySetupContext("__dealloc__", 0);
5857
5966
 
5858
5967
  /* "View.MemoryView":211
5859
5968
  *
@@ -5965,7 +6074,6 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
5965
6074
  */
5966
6075
 
5967
6076
  /* function exit code */
5968
- __Pyx_RefNannyFinishContext();
5969
6077
  }
5970
6078
 
5971
6079
  /* "View.MemoryView":219
@@ -5998,7 +6106,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
5998
6106
  int __pyx_lineno = 0;
5999
6107
  const char *__pyx_filename = NULL;
6000
6108
  int __pyx_clineno = 0;
6001
- __Pyx_RefNannySetupContext("__get__", 0);
6109
+ __Pyx_RefNannySetupContext("__get__", 1);
6002
6110
 
6003
6111
  /* "View.MemoryView":221
6004
6112
  * @property
@@ -6051,7 +6159,7 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
6051
6159
  int __pyx_lineno = 0;
6052
6160
  const char *__pyx_filename = NULL;
6053
6161
  int __pyx_clineno = 0;
6054
- __Pyx_RefNannySetupContext("get_memview", 0);
6162
+ __Pyx_RefNannySetupContext("get_memview", 1);
6055
6163
 
6056
6164
  /* "View.MemoryView":225
6057
6165
  * @cname('get_memview')
@@ -6138,8 +6246,6 @@ static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self) {
6138
6246
 
6139
6247
  static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(struct __pyx_array_obj *__pyx_v_self) {
6140
6248
  Py_ssize_t __pyx_r;
6141
- __Pyx_RefNannyDeclarations
6142
- __Pyx_RefNannySetupContext("__len__", 0);
6143
6249
 
6144
6250
  /* "View.MemoryView":229
6145
6251
  *
@@ -6161,7 +6267,6 @@ static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(str
6161
6267
 
6162
6268
  /* function exit code */
6163
6269
  __pyx_L0:;
6164
- __Pyx_RefNannyFinishContext();
6165
6270
  return __pyx_r;
6166
6271
  }
6167
6272
 
@@ -6196,7 +6301,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(
6196
6301
  int __pyx_lineno = 0;
6197
6302
  const char *__pyx_filename = NULL;
6198
6303
  int __pyx_clineno = 0;
6199
- __Pyx_RefNannySetupContext("__getattr__", 0);
6304
+ __Pyx_RefNannySetupContext("__getattr__", 1);
6200
6305
 
6201
6306
  /* "View.MemoryView":232
6202
6307
  *
@@ -6266,7 +6371,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__
6266
6371
  int __pyx_lineno = 0;
6267
6372
  const char *__pyx_filename = NULL;
6268
6373
  int __pyx_clineno = 0;
6269
- __Pyx_RefNannySetupContext("__getitem__", 0);
6374
+ __Pyx_RefNannySetupContext("__getitem__", 1);
6270
6375
 
6271
6376
  /* "View.MemoryView":235
6272
6377
  *
@@ -6335,7 +6440,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(struc
6335
6440
  int __pyx_lineno = 0;
6336
6441
  const char *__pyx_filename = NULL;
6337
6442
  int __pyx_clineno = 0;
6338
- __Pyx_RefNannySetupContext("__setitem__", 0);
6443
+ __Pyx_RefNannySetupContext("__setitem__", 1);
6339
6444
 
6340
6445
  /* "View.MemoryView":238
6341
6446
  *
@@ -6394,9 +6499,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6394
6499
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
6395
6500
  #endif
6396
6501
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
6397
- int __pyx_lineno = 0;
6398
- const char *__pyx_filename = NULL;
6399
- int __pyx_clineno = 0;
6400
6502
  PyObject *__pyx_r = 0;
6401
6503
  __Pyx_RefNannyDeclarations
6402
6504
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
@@ -6404,21 +6506,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6404
6506
  #if CYTHON_ASSUME_SAFE_MACROS
6405
6507
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6406
6508
  #else
6407
- __pyx_nargs = PyTuple_Size(__pyx_args);
6408
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
6509
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
6409
6510
  #endif
6410
6511
  #endif
6411
6512
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
6412
6513
  if (unlikely(__pyx_nargs > 0)) {
6413
6514
  __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
6414
6515
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
6415
- goto __pyx_L4_argument_unpacking_done;
6416
- goto __pyx_L3_error;
6417
- __pyx_L3_error:;
6418
- __Pyx_AddTraceback("View.MemoryView.array.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
6419
- __Pyx_RefNannyFinishContext();
6420
- return NULL;
6421
- __pyx_L4_argument_unpacking_done:;
6422
6516
  __pyx_r = __pyx_pf___pyx_array___reduce_cython__(((struct __pyx_array_obj *)__pyx_v_self));
6423
6517
 
6424
6518
  /* function exit code */
@@ -6432,7 +6526,7 @@ static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED struct __p
6432
6526
  int __pyx_lineno = 0;
6433
6527
  const char *__pyx_filename = NULL;
6434
6528
  int __pyx_clineno = 0;
6435
- __Pyx_RefNannySetupContext("__reduce_cython__", 0);
6529
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
6436
6530
 
6437
6531
  /* "(tree fragment)":2
6438
6532
  * def __reduce_cython__(self):
@@ -6496,8 +6590,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6496
6590
  #if CYTHON_ASSUME_SAFE_MACROS
6497
6591
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6498
6592
  #else
6499
- __pyx_nargs = PyTuple_Size(__pyx_args);
6500
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
6593
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
6501
6594
  #endif
6502
6595
  #endif
6503
6596
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -6532,10 +6625,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6532
6625
  }
6533
6626
  __pyx_v___pyx_state = values[0];
6534
6627
  }
6535
- goto __pyx_L4_argument_unpacking_done;
6628
+ goto __pyx_L6_skip;
6536
6629
  __pyx_L5_argtuple_error:;
6537
6630
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
6538
- goto __pyx_L3_error;
6631
+ __pyx_L6_skip:;
6632
+ goto __pyx_L4_argument_unpacking_done;
6539
6633
  __pyx_L3_error:;
6540
6634
  {
6541
6635
  Py_ssize_t __pyx_temp;
@@ -6566,7 +6660,7 @@ static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED struct
6566
6660
  int __pyx_lineno = 0;
6567
6661
  const char *__pyx_filename = NULL;
6568
6662
  int __pyx_clineno = 0;
6569
- __Pyx_RefNannySetupContext("__setstate_cython__", 0);
6663
+ __Pyx_RefNannySetupContext("__setstate_cython__", 1);
6570
6664
 
6571
6665
  /* "(tree fragment)":4
6572
6666
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
@@ -6604,7 +6698,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
6604
6698
  Py_ssize_t __pyx_v_i;
6605
6699
  PyObject **__pyx_v_p;
6606
6700
  int __pyx_r;
6607
- __Pyx_RefNannyDeclarations
6608
6701
  int __pyx_t_1;
6609
6702
  Py_ssize_t __pyx_t_2;
6610
6703
  Py_ssize_t __pyx_t_3;
@@ -6612,7 +6705,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
6612
6705
  int __pyx_lineno = 0;
6613
6706
  const char *__pyx_filename = NULL;
6614
6707
  int __pyx_clineno = 0;
6615
- __Pyx_RefNannySetupContext("_allocate_buffer", 0);
6616
6708
 
6617
6709
  /* "View.MemoryView":254
6618
6710
  * cdef PyObject **p
@@ -6750,7 +6842,6 @@ static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) {
6750
6842
  __Pyx_AddTraceback("View.MemoryView._allocate_buffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
6751
6843
  __pyx_r = -1;
6752
6844
  __pyx_L0:;
6753
- __Pyx_RefNannyFinishContext();
6754
6845
  return __pyx_r;
6755
6846
  }
6756
6847
 
@@ -6774,7 +6865,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
6774
6865
  int __pyx_lineno = 0;
6775
6866
  const char *__pyx_filename = NULL;
6776
6867
  int __pyx_clineno = 0;
6777
- __Pyx_RefNannySetupContext("array_cwrapper", 0);
6868
+ __Pyx_RefNannySetupContext("array_cwrapper", 1);
6778
6869
 
6779
6870
  /* "View.MemoryView":270
6780
6871
  * cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format, char *c_mode, char *buf):
@@ -6951,8 +7042,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
6951
7042
  #if CYTHON_ASSUME_SAFE_MACROS
6952
7043
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6953
7044
  #else
6954
- __pyx_nargs = PyTuple_Size(__pyx_args);
6955
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 304, __pyx_L3_error)
7045
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
6956
7046
  #endif
6957
7047
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
6958
7048
  {
@@ -6986,10 +7076,11 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
6986
7076
  }
6987
7077
  __pyx_v_name = values[0];
6988
7078
  }
6989
- goto __pyx_L4_argument_unpacking_done;
7079
+ goto __pyx_L6_skip;
6990
7080
  __pyx_L5_argtuple_error:;
6991
7081
  __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 304, __pyx_L3_error)
6992
- goto __pyx_L3_error;
7082
+ __pyx_L6_skip:;
7083
+ goto __pyx_L4_argument_unpacking_done;
6993
7084
  __pyx_L3_error:;
6994
7085
  {
6995
7086
  Py_ssize_t __pyx_temp;
@@ -7017,7 +7108,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
7017
7108
  static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v_name) {
7018
7109
  int __pyx_r;
7019
7110
  __Pyx_RefNannyDeclarations
7020
- __Pyx_RefNannySetupContext("__init__", 0);
7111
+ __Pyx_RefNannySetupContext("__init__", 1);
7021
7112
 
7022
7113
  /* "View.MemoryView":305
7023
7114
  * cdef object name
@@ -7072,7 +7163,7 @@ static PyObject *__pyx_MemviewEnum___repr__(PyObject *__pyx_v_self) {
7072
7163
  static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr__(struct __pyx_MemviewEnum_obj *__pyx_v_self) {
7073
7164
  PyObject *__pyx_r = NULL;
7074
7165
  __Pyx_RefNannyDeclarations
7075
- __Pyx_RefNannySetupContext("__repr__", 0);
7166
+ __Pyx_RefNannySetupContext("__repr__", 1);
7076
7167
 
7077
7168
  /* "View.MemoryView":307
7078
7169
  * self.name = name
@@ -7126,9 +7217,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
7126
7217
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
7127
7218
  #endif
7128
7219
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
7129
- int __pyx_lineno = 0;
7130
- const char *__pyx_filename = NULL;
7131
- int __pyx_clineno = 0;
7132
7220
  PyObject *__pyx_r = 0;
7133
7221
  __Pyx_RefNannyDeclarations
7134
7222
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
@@ -7136,21 +7224,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
7136
7224
  #if CYTHON_ASSUME_SAFE_MACROS
7137
7225
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
7138
7226
  #else
7139
- __pyx_nargs = PyTuple_Size(__pyx_args);
7140
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
7227
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
7141
7228
  #endif
7142
7229
  #endif
7143
7230
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
7144
7231
  if (unlikely(__pyx_nargs > 0)) {
7145
7232
  __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
7146
7233
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
7147
- goto __pyx_L4_argument_unpacking_done;
7148
- goto __pyx_L3_error;
7149
- __pyx_L3_error:;
7150
- __Pyx_AddTraceback("View.MemoryView.Enum.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
7151
- __Pyx_RefNannyFinishContext();
7152
- return NULL;
7153
- __pyx_L4_argument_unpacking_done:;
7154
7234
  __pyx_r = __pyx_pf___pyx_MemviewEnum___reduce_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self));
7155
7235
 
7156
7236
  /* function exit code */
@@ -7171,7 +7251,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __pyx_Memvi
7171
7251
  int __pyx_lineno = 0;
7172
7252
  const char *__pyx_filename = NULL;
7173
7253
  int __pyx_clineno = 0;
7174
- __Pyx_RefNannySetupContext("__reduce_cython__", 0);
7254
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
7175
7255
 
7176
7256
  /* "(tree fragment)":5
7177
7257
  * cdef object _dict
@@ -7408,8 +7488,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
7408
7488
  #if CYTHON_ASSUME_SAFE_MACROS
7409
7489
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
7410
7490
  #else
7411
- __pyx_nargs = PyTuple_Size(__pyx_args);
7412
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 16, __pyx_L3_error)
7491
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
7413
7492
  #endif
7414
7493
  #endif
7415
7494
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -7444,10 +7523,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
7444
7523
  }
7445
7524
  __pyx_v___pyx_state = values[0];
7446
7525
  }
7447
- goto __pyx_L4_argument_unpacking_done;
7526
+ goto __pyx_L6_skip;
7448
7527
  __pyx_L5_argtuple_error:;
7449
7528
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error)
7450
- goto __pyx_L3_error;
7529
+ __pyx_L6_skip:;
7530
+ goto __pyx_L4_argument_unpacking_done;
7451
7531
  __pyx_L3_error:;
7452
7532
  {
7453
7533
  Py_ssize_t __pyx_temp;
@@ -7479,7 +7559,7 @@ static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct __pyx_Me
7479
7559
  int __pyx_lineno = 0;
7480
7560
  const char *__pyx_filename = NULL;
7481
7561
  int __pyx_clineno = 0;
7482
- __Pyx_RefNannySetupContext("__setstate_cython__", 0);
7562
+ __Pyx_RefNannySetupContext("__setstate_cython__", 1);
7483
7563
 
7484
7564
  /* "(tree fragment)":17
7485
7565
  * return __pyx_unpickle_Enum, (type(self), 0x82a3537, state)
@@ -7537,8 +7617,7 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
7537
7617
  #if CYTHON_ASSUME_SAFE_MACROS
7538
7618
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
7539
7619
  #else
7540
- __pyx_nargs = PyTuple_Size(__pyx_args);
7541
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 349, __pyx_L3_error)
7620
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
7542
7621
  #endif
7543
7622
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
7544
7623
  {
@@ -7604,10 +7683,11 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
7604
7683
  __pyx_v_dtype_is_object = ((int)0);
7605
7684
  }
7606
7685
  }
7607
- goto __pyx_L4_argument_unpacking_done;
7686
+ goto __pyx_L6_skip;
7608
7687
  __pyx_L5_argtuple_error:;
7609
7688
  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, __pyx_nargs); __PYX_ERR(1, 349, __pyx_L3_error)
7610
- goto __pyx_L3_error;
7689
+ __pyx_L6_skip:;
7690
+ goto __pyx_L4_argument_unpacking_done;
7611
7691
  __pyx_L3_error:;
7612
7692
  {
7613
7693
  Py_ssize_t __pyx_temp;
@@ -7643,7 +7723,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
7643
7723
  int __pyx_lineno = 0;
7644
7724
  const char *__pyx_filename = NULL;
7645
7725
  int __pyx_clineno = 0;
7646
- __Pyx_RefNannySetupContext("__cinit__", 0);
7726
+ __Pyx_RefNannySetupContext("__cinit__", 1);
7647
7727
 
7648
7728
  /* "View.MemoryView":350
7649
7729
  *
@@ -7978,14 +8058,12 @@ static void __pyx_memoryview___dealloc__(PyObject *__pyx_v_self) {
7978
8058
 
7979
8059
  static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__(struct __pyx_memoryview_obj *__pyx_v_self) {
7980
8060
  int __pyx_v_i;
7981
- __Pyx_RefNannyDeclarations
7982
8061
  int __pyx_t_1;
7983
8062
  int __pyx_t_2;
7984
8063
  int __pyx_t_3;
7985
8064
  int __pyx_t_4;
7986
8065
  PyThread_type_lock __pyx_t_5;
7987
8066
  PyThread_type_lock __pyx_t_6;
7988
- __Pyx_RefNannySetupContext("__dealloc__", 0);
7989
8067
 
7990
8068
  /* "View.MemoryView":377
7991
8069
  *
@@ -8183,7 +8261,6 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
8183
8261
  */
8184
8262
 
8185
8263
  /* function exit code */
8186
- __Pyx_RefNannyFinishContext();
8187
8264
  }
8188
8265
 
8189
8266
  /* "View.MemoryView":397
@@ -8210,7 +8287,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
8210
8287
  int __pyx_lineno = 0;
8211
8288
  const char *__pyx_filename = NULL;
8212
8289
  int __pyx_clineno = 0;
8213
- __Pyx_RefNannySetupContext("get_item_pointer", 0);
8290
+ __Pyx_RefNannySetupContext("get_item_pointer", 1);
8214
8291
 
8215
8292
  /* "View.MemoryView":399
8216
8293
  * cdef char *get_item_pointer(memoryview self, object index) except NULL:
@@ -8230,7 +8307,8 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
8230
8307
  */
8231
8308
  __pyx_t_1 = 0;
8232
8309
  if (likely(PyList_CheckExact(__pyx_v_index)) || PyTuple_CheckExact(__pyx_v_index)) {
8233
- __pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2); __pyx_t_3 = 0;
8310
+ __pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2);
8311
+ __pyx_t_3 = 0;
8234
8312
  __pyx_t_4 = NULL;
8235
8313
  } else {
8236
8314
  __pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 401, __pyx_L1_error)
@@ -8240,19 +8318,31 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
8240
8318
  for (;;) {
8241
8319
  if (likely(!__pyx_t_4)) {
8242
8320
  if (likely(PyList_CheckExact(__pyx_t_2))) {
8243
- if (__pyx_t_3 >= PyList_GET_SIZE(__pyx_t_2)) break;
8321
+ {
8322
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
8323
+ #if !CYTHON_ASSUME_SAFE_MACROS
8324
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
8325
+ #endif
8326
+ if (__pyx_t_3 >= __pyx_temp) break;
8327
+ }
8244
8328
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
8245
8329
  __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)
8246
8330
  #else
8247
- __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)
8331
+ __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)
8248
8332
  __Pyx_GOTREF(__pyx_t_5);
8249
8333
  #endif
8250
8334
  } else {
8251
- if (__pyx_t_3 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
8335
+ {
8336
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
8337
+ #if !CYTHON_ASSUME_SAFE_MACROS
8338
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error)
8339
+ #endif
8340
+ if (__pyx_t_3 >= __pyx_temp) break;
8341
+ }
8252
8342
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
8253
8343
  __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)
8254
8344
  #else
8255
- __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)
8345
+ __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)
8256
8346
  __Pyx_GOTREF(__pyx_t_5);
8257
8347
  #endif
8258
8348
  }
@@ -8361,7 +8451,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
8361
8451
  int __pyx_lineno = 0;
8362
8452
  const char *__pyx_filename = NULL;
8363
8453
  int __pyx_clineno = 0;
8364
- __Pyx_RefNannySetupContext("__getitem__", 0);
8454
+ __Pyx_RefNannySetupContext("__getitem__", 1);
8365
8455
 
8366
8456
  /* "View.MemoryView":408
8367
8457
  *
@@ -8972,7 +9062,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryvi
8972
9062
  int __pyx_lineno = 0;
8973
9063
  const char *__pyx_filename = NULL;
8974
9064
  int __pyx_clineno = 0;
8975
- __Pyx_RefNannySetupContext("setitem_slice_assignment", 0);
9065
+ __Pyx_RefNannySetupContext("setitem_slice_assignment", 1);
8976
9066
 
8977
9067
  /* "View.MemoryView":448
8978
9068
  * cdef __Pyx_memviewslice dst_slice
@@ -9065,7 +9155,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
9065
9155
  int __pyx_lineno = 0;
9066
9156
  const char *__pyx_filename = NULL;
9067
9157
  int __pyx_clineno = 0;
9068
- __Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 0);
9158
+ __Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 1);
9069
9159
 
9070
9160
  /* "View.MemoryView":455
9071
9161
  * cdef setitem_slice_assign_scalar(self, memoryview dst, value):
@@ -9338,7 +9428,7 @@ static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *_
9338
9428
  int __pyx_lineno = 0;
9339
9429
  const char *__pyx_filename = NULL;
9340
9430
  int __pyx_clineno = 0;
9341
- __Pyx_RefNannySetupContext("setitem_indexed", 0);
9431
+ __Pyx_RefNannySetupContext("setitem_indexed", 1);
9342
9432
 
9343
9433
  /* "View.MemoryView":486
9344
9434
  *
@@ -9409,7 +9499,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
9409
9499
  int __pyx_lineno = 0;
9410
9500
  const char *__pyx_filename = NULL;
9411
9501
  int __pyx_clineno = 0;
9412
- __Pyx_RefNannySetupContext("convert_item_to_object", 0);
9502
+ __Pyx_RefNannySetupContext("convert_item_to_object", 1);
9413
9503
 
9414
9504
  /* "View.MemoryView":492
9415
9505
  * """Only used if instantiated manually by the user, or if Cython doesn't
@@ -9659,7 +9749,7 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
9659
9749
  int __pyx_lineno = 0;
9660
9750
  const char *__pyx_filename = NULL;
9661
9751
  int __pyx_clineno = 0;
9662
- __Pyx_RefNannySetupContext("assign_item_from_object", 0);
9752
+ __Pyx_RefNannySetupContext("assign_item_from_object", 1);
9663
9753
 
9664
9754
  /* "View.MemoryView":508
9665
9755
  * """Only used if instantiated manually by the user, or if Cython doesn't
@@ -10212,7 +10302,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
10212
10302
  int __pyx_lineno = 0;
10213
10303
  const char *__pyx_filename = NULL;
10214
10304
  int __pyx_clineno = 0;
10215
- __Pyx_RefNannySetupContext("__get__", 0);
10305
+ __Pyx_RefNannySetupContext("__get__", 1);
10216
10306
 
10217
10307
  /* "View.MemoryView":556
10218
10308
  * @property
@@ -10298,7 +10388,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
10298
10388
  int __pyx_lineno = 0;
10299
10389
  const char *__pyx_filename = NULL;
10300
10390
  int __pyx_clineno = 0;
10301
- __Pyx_RefNannySetupContext("__get__", 0);
10391
+ __Pyx_RefNannySetupContext("__get__", 1);
10302
10392
 
10303
10393
  /* "View.MemoryView":562
10304
10394
  * @property
@@ -10344,7 +10434,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
10344
10434
  static PyObject *__pyx_memoryview__get_base(struct __pyx_memoryview_obj *__pyx_v_self) {
10345
10435
  PyObject *__pyx_r = NULL;
10346
10436
  __Pyx_RefNannyDeclarations
10347
- __Pyx_RefNannySetupContext("_get_base", 0);
10437
+ __Pyx_RefNannySetupContext("_get_base", 1);
10348
10438
 
10349
10439
  /* "View.MemoryView":565
10350
10440
  *
@@ -10408,7 +10498,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
10408
10498
  int __pyx_lineno = 0;
10409
10499
  const char *__pyx_filename = NULL;
10410
10500
  int __pyx_clineno = 0;
10411
- __Pyx_RefNannySetupContext("__get__", 0);
10501
+ __Pyx_RefNannySetupContext("__get__", 1);
10412
10502
 
10413
10503
  /* "View.MemoryView":569
10414
10504
  * @property
@@ -10494,7 +10584,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
10494
10584
  int __pyx_lineno = 0;
10495
10585
  const char *__pyx_filename = NULL;
10496
10586
  int __pyx_clineno = 0;
10497
- __Pyx_RefNannySetupContext("__get__", 0);
10587
+ __Pyx_RefNannySetupContext("__get__", 1);
10498
10588
 
10499
10589
  /* "View.MemoryView":573
10500
10590
  * @property
@@ -10609,7 +10699,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
10609
10699
  int __pyx_lineno = 0;
10610
10700
  const char *__pyx_filename = NULL;
10611
10701
  int __pyx_clineno = 0;
10612
- __Pyx_RefNannySetupContext("__get__", 0);
10702
+ __Pyx_RefNannySetupContext("__get__", 1);
10613
10703
 
10614
10704
  /* "View.MemoryView":581
10615
10705
  * @property
@@ -10722,7 +10812,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
10722
10812
  int __pyx_lineno = 0;
10723
10813
  const char *__pyx_filename = NULL;
10724
10814
  int __pyx_clineno = 0;
10725
- __Pyx_RefNannySetupContext("__get__", 0);
10815
+ __Pyx_RefNannySetupContext("__get__", 1);
10726
10816
 
10727
10817
  /* "View.MemoryView":588
10728
10818
  * @property
@@ -10787,7 +10877,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
10787
10877
  int __pyx_lineno = 0;
10788
10878
  const char *__pyx_filename = NULL;
10789
10879
  int __pyx_clineno = 0;
10790
- __Pyx_RefNannySetupContext("__get__", 0);
10880
+ __Pyx_RefNannySetupContext("__get__", 1);
10791
10881
 
10792
10882
  /* "View.MemoryView":592
10793
10883
  * @property
@@ -10854,7 +10944,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
10854
10944
  int __pyx_lineno = 0;
10855
10945
  const char *__pyx_filename = NULL;
10856
10946
  int __pyx_clineno = 0;
10857
- __Pyx_RefNannySetupContext("__get__", 0);
10947
+ __Pyx_RefNannySetupContext("__get__", 1);
10858
10948
 
10859
10949
  /* "View.MemoryView":596
10860
10950
  * @property
@@ -10933,7 +11023,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
10933
11023
  int __pyx_lineno = 0;
10934
11024
  const char *__pyx_filename = NULL;
10935
11025
  int __pyx_clineno = 0;
10936
- __Pyx_RefNannySetupContext("__get__", 0);
11026
+ __Pyx_RefNannySetupContext("__get__", 1);
10937
11027
 
10938
11028
  /* "View.MemoryView":600
10939
11029
  * @property
@@ -11063,9 +11153,7 @@ static Py_ssize_t __pyx_memoryview___len__(PyObject *__pyx_v_self) {
11063
11153
 
11064
11154
  static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_10__len__(struct __pyx_memoryview_obj *__pyx_v_self) {
11065
11155
  Py_ssize_t __pyx_r;
11066
- __Pyx_RefNannyDeclarations
11067
11156
  int __pyx_t_1;
11068
- __Pyx_RefNannySetupContext("__len__", 0);
11069
11157
 
11070
11158
  /* "View.MemoryView":611
11071
11159
  *
@@ -11116,7 +11204,6 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
11116
11204
 
11117
11205
  /* function exit code */
11118
11206
  __pyx_L0:;
11119
- __Pyx_RefNannyFinishContext();
11120
11207
  return __pyx_r;
11121
11208
  }
11122
11209
 
@@ -11152,7 +11239,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
11152
11239
  int __pyx_lineno = 0;
11153
11240
  const char *__pyx_filename = NULL;
11154
11241
  int __pyx_clineno = 0;
11155
- __Pyx_RefNannySetupContext("__repr__", 0);
11242
+ __Pyx_RefNannySetupContext("__repr__", 1);
11156
11243
 
11157
11244
  /* "View.MemoryView":617
11158
11245
  *
@@ -11255,7 +11342,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
11255
11342
  int __pyx_lineno = 0;
11256
11343
  const char *__pyx_filename = NULL;
11257
11344
  int __pyx_clineno = 0;
11258
- __Pyx_RefNannySetupContext("__str__", 0);
11345
+ __Pyx_RefNannySetupContext("__str__", 1);
11259
11346
 
11260
11347
  /* "View.MemoryView":621
11261
11348
  *
@@ -11332,9 +11419,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11332
11419
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11333
11420
  #endif
11334
11421
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11335
- int __pyx_lineno = 0;
11336
- const char *__pyx_filename = NULL;
11337
- int __pyx_clineno = 0;
11338
11422
  PyObject *__pyx_r = 0;
11339
11423
  __Pyx_RefNannyDeclarations
11340
11424
  __Pyx_RefNannySetupContext("is_c_contig (wrapper)", 0);
@@ -11342,21 +11426,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11342
11426
  #if CYTHON_ASSUME_SAFE_MACROS
11343
11427
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11344
11428
  #else
11345
- __pyx_nargs = PyTuple_Size(__pyx_args);
11346
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 624, __pyx_L3_error)
11429
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11347
11430
  #endif
11348
11431
  #endif
11349
11432
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11350
11433
  if (unlikely(__pyx_nargs > 0)) {
11351
11434
  __Pyx_RaiseArgtupleInvalid("is_c_contig", 1, 0, 0, __pyx_nargs); return NULL;}
11352
11435
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_c_contig", 0))) return NULL;
11353
- goto __pyx_L4_argument_unpacking_done;
11354
- goto __pyx_L3_error;
11355
- __pyx_L3_error:;
11356
- __Pyx_AddTraceback("View.MemoryView.memoryview.is_c_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
11357
- __Pyx_RefNannyFinishContext();
11358
- return NULL;
11359
- __pyx_L4_argument_unpacking_done:;
11360
11436
  __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
11361
11437
 
11362
11438
  /* function exit code */
@@ -11374,7 +11450,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
11374
11450
  int __pyx_lineno = 0;
11375
11451
  const char *__pyx_filename = NULL;
11376
11452
  int __pyx_clineno = 0;
11377
- __Pyx_RefNannySetupContext("is_c_contig", 0);
11453
+ __Pyx_RefNannySetupContext("is_c_contig", 1);
11378
11454
 
11379
11455
  /* "View.MemoryView":627
11380
11456
  * cdef __Pyx_memviewslice *mslice
@@ -11446,9 +11522,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11446
11522
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11447
11523
  #endif
11448
11524
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11449
- int __pyx_lineno = 0;
11450
- const char *__pyx_filename = NULL;
11451
- int __pyx_clineno = 0;
11452
11525
  PyObject *__pyx_r = 0;
11453
11526
  __Pyx_RefNannyDeclarations
11454
11527
  __Pyx_RefNannySetupContext("is_f_contig (wrapper)", 0);
@@ -11456,21 +11529,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11456
11529
  #if CYTHON_ASSUME_SAFE_MACROS
11457
11530
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11458
11531
  #else
11459
- __pyx_nargs = PyTuple_Size(__pyx_args);
11460
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 630, __pyx_L3_error)
11532
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11461
11533
  #endif
11462
11534
  #endif
11463
11535
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11464
11536
  if (unlikely(__pyx_nargs > 0)) {
11465
11537
  __Pyx_RaiseArgtupleInvalid("is_f_contig", 1, 0, 0, __pyx_nargs); return NULL;}
11466
11538
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_f_contig", 0))) return NULL;
11467
- goto __pyx_L4_argument_unpacking_done;
11468
- goto __pyx_L3_error;
11469
- __pyx_L3_error:;
11470
- __Pyx_AddTraceback("View.MemoryView.memoryview.is_f_contig", __pyx_clineno, __pyx_lineno, __pyx_filename);
11471
- __Pyx_RefNannyFinishContext();
11472
- return NULL;
11473
- __pyx_L4_argument_unpacking_done:;
11474
11539
  __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig(((struct __pyx_memoryview_obj *)__pyx_v_self));
11475
11540
 
11476
11541
  /* function exit code */
@@ -11488,7 +11553,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
11488
11553
  int __pyx_lineno = 0;
11489
11554
  const char *__pyx_filename = NULL;
11490
11555
  int __pyx_clineno = 0;
11491
- __Pyx_RefNannySetupContext("is_f_contig", 0);
11556
+ __Pyx_RefNannySetupContext("is_f_contig", 1);
11492
11557
 
11493
11558
  /* "View.MemoryView":633
11494
11559
  * cdef __Pyx_memviewslice *mslice
@@ -11560,9 +11625,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11560
11625
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11561
11626
  #endif
11562
11627
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11563
- int __pyx_lineno = 0;
11564
- const char *__pyx_filename = NULL;
11565
- int __pyx_clineno = 0;
11566
11628
  PyObject *__pyx_r = 0;
11567
11629
  __Pyx_RefNannyDeclarations
11568
11630
  __Pyx_RefNannySetupContext("copy (wrapper)", 0);
@@ -11570,21 +11632,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11570
11632
  #if CYTHON_ASSUME_SAFE_MACROS
11571
11633
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11572
11634
  #else
11573
- __pyx_nargs = PyTuple_Size(__pyx_args);
11574
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 636, __pyx_L3_error)
11635
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11575
11636
  #endif
11576
11637
  #endif
11577
11638
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11578
11639
  if (unlikely(__pyx_nargs > 0)) {
11579
11640
  __Pyx_RaiseArgtupleInvalid("copy", 1, 0, 0, __pyx_nargs); return NULL;}
11580
11641
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy", 0))) return NULL;
11581
- goto __pyx_L4_argument_unpacking_done;
11582
- goto __pyx_L3_error;
11583
- __pyx_L3_error:;
11584
- __Pyx_AddTraceback("View.MemoryView.memoryview.copy", __pyx_clineno, __pyx_lineno, __pyx_filename);
11585
- __Pyx_RefNannyFinishContext();
11586
- return NULL;
11587
- __pyx_L4_argument_unpacking_done:;
11588
11642
  __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy(((struct __pyx_memoryview_obj *)__pyx_v_self));
11589
11643
 
11590
11644
  /* function exit code */
@@ -11602,7 +11656,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
11602
11656
  int __pyx_lineno = 0;
11603
11657
  const char *__pyx_filename = NULL;
11604
11658
  int __pyx_clineno = 0;
11605
- __Pyx_RefNannySetupContext("copy", 0);
11659
+ __Pyx_RefNannySetupContext("copy", 1);
11606
11660
 
11607
11661
  /* "View.MemoryView":638
11608
11662
  * def copy(self):
@@ -11692,9 +11746,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11692
11746
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11693
11747
  #endif
11694
11748
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11695
- int __pyx_lineno = 0;
11696
- const char *__pyx_filename = NULL;
11697
- int __pyx_clineno = 0;
11698
11749
  PyObject *__pyx_r = 0;
11699
11750
  __Pyx_RefNannyDeclarations
11700
11751
  __Pyx_RefNannySetupContext("copy_fortran (wrapper)", 0);
@@ -11702,21 +11753,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11702
11753
  #if CYTHON_ASSUME_SAFE_MACROS
11703
11754
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11704
11755
  #else
11705
- __pyx_nargs = PyTuple_Size(__pyx_args);
11706
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 648, __pyx_L3_error)
11756
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11707
11757
  #endif
11708
11758
  #endif
11709
11759
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11710
11760
  if (unlikely(__pyx_nargs > 0)) {
11711
11761
  __Pyx_RaiseArgtupleInvalid("copy_fortran", 1, 0, 0, __pyx_nargs); return NULL;}
11712
11762
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy_fortran", 0))) return NULL;
11713
- goto __pyx_L4_argument_unpacking_done;
11714
- goto __pyx_L3_error;
11715
- __pyx_L3_error:;
11716
- __Pyx_AddTraceback("View.MemoryView.memoryview.copy_fortran", __pyx_clineno, __pyx_lineno, __pyx_filename);
11717
- __Pyx_RefNannyFinishContext();
11718
- return NULL;
11719
- __pyx_L4_argument_unpacking_done:;
11720
11763
  __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran(((struct __pyx_memoryview_obj *)__pyx_v_self));
11721
11764
 
11722
11765
  /* function exit code */
@@ -11735,7 +11778,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
11735
11778
  int __pyx_lineno = 0;
11736
11779
  const char *__pyx_filename = NULL;
11737
11780
  int __pyx_clineno = 0;
11738
- __Pyx_RefNannySetupContext("copy_fortran", 0);
11781
+ __Pyx_RefNannySetupContext("copy_fortran", 1);
11739
11782
 
11740
11783
  /* "View.MemoryView":650
11741
11784
  * def copy_fortran(self):
@@ -11823,9 +11866,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11823
11866
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11824
11867
  #endif
11825
11868
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11826
- int __pyx_lineno = 0;
11827
- const char *__pyx_filename = NULL;
11828
- int __pyx_clineno = 0;
11829
11869
  PyObject *__pyx_r = 0;
11830
11870
  __Pyx_RefNannyDeclarations
11831
11871
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
@@ -11833,21 +11873,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11833
11873
  #if CYTHON_ASSUME_SAFE_MACROS
11834
11874
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11835
11875
  #else
11836
- __pyx_nargs = PyTuple_Size(__pyx_args);
11837
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
11876
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11838
11877
  #endif
11839
11878
  #endif
11840
11879
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11841
11880
  if (unlikely(__pyx_nargs > 0)) {
11842
11881
  __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
11843
11882
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
11844
- goto __pyx_L4_argument_unpacking_done;
11845
- goto __pyx_L3_error;
11846
- __pyx_L3_error:;
11847
- __Pyx_AddTraceback("View.MemoryView.memoryview.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
11848
- __Pyx_RefNannyFinishContext();
11849
- return NULL;
11850
- __pyx_L4_argument_unpacking_done:;
11851
11883
  __pyx_r = __pyx_pf___pyx_memoryview___reduce_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self));
11852
11884
 
11853
11885
  /* function exit code */
@@ -11861,7 +11893,7 @@ static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUSED struc
11861
11893
  int __pyx_lineno = 0;
11862
11894
  const char *__pyx_filename = NULL;
11863
11895
  int __pyx_clineno = 0;
11864
- __Pyx_RefNannySetupContext("__reduce_cython__", 0);
11896
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
11865
11897
 
11866
11898
  /* "(tree fragment)":2
11867
11899
  * def __reduce_cython__(self):
@@ -11925,8 +11957,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11925
11957
  #if CYTHON_ASSUME_SAFE_MACROS
11926
11958
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11927
11959
  #else
11928
- __pyx_nargs = PyTuple_Size(__pyx_args);
11929
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
11960
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11930
11961
  #endif
11931
11962
  #endif
11932
11963
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -11961,10 +11992,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11961
11992
  }
11962
11993
  __pyx_v___pyx_state = values[0];
11963
11994
  }
11964
- goto __pyx_L4_argument_unpacking_done;
11995
+ goto __pyx_L6_skip;
11965
11996
  __pyx_L5_argtuple_error:;
11966
11997
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
11967
- goto __pyx_L3_error;
11998
+ __pyx_L6_skip:;
11999
+ goto __pyx_L4_argument_unpacking_done;
11968
12000
  __pyx_L3_error:;
11969
12001
  {
11970
12002
  Py_ssize_t __pyx_temp;
@@ -11995,7 +12027,7 @@ static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_UNUSED st
11995
12027
  int __pyx_lineno = 0;
11996
12028
  const char *__pyx_filename = NULL;
11997
12029
  int __pyx_clineno = 0;
11998
- __Pyx_RefNannySetupContext("__setstate_cython__", 0);
12030
+ __Pyx_RefNannySetupContext("__setstate_cython__", 1);
11999
12031
 
12000
12032
  /* "(tree fragment)":4
12001
12033
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
@@ -12039,7 +12071,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
12039
12071
  int __pyx_lineno = 0;
12040
12072
  const char *__pyx_filename = NULL;
12041
12073
  int __pyx_clineno = 0;
12042
- __Pyx_RefNannySetupContext("memoryview_cwrapper", 0);
12074
+ __Pyx_RefNannySetupContext("memoryview_cwrapper", 1);
12043
12075
 
12044
12076
  /* "View.MemoryView":663
12045
12077
  * @cname('__pyx_memoryview_new')
@@ -12122,9 +12154,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
12122
12154
 
12123
12155
  static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
12124
12156
  int __pyx_r;
12125
- __Pyx_RefNannyDeclarations
12126
12157
  int __pyx_t_1;
12127
- __Pyx_RefNannySetupContext("memoryview_check", 0);
12128
12158
 
12129
12159
  /* "View.MemoryView":669
12130
12160
  * @cname('__pyx_memoryview_check')
@@ -12147,7 +12177,6 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
12147
12177
 
12148
12178
  /* function exit code */
12149
12179
  __pyx_L0:;
12150
- __Pyx_RefNannyFinishContext();
12151
12180
  return __pyx_r;
12152
12181
  }
12153
12182
 
@@ -12179,7 +12208,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
12179
12208
  int __pyx_lineno = 0;
12180
12209
  const char *__pyx_filename = NULL;
12181
12210
  int __pyx_clineno = 0;
12182
- __Pyx_RefNannySetupContext("_unellipsify", 0);
12211
+ __Pyx_RefNannySetupContext("_unellipsify", 1);
12183
12212
 
12184
12213
  /* "View.MemoryView":677
12185
12214
  * """
@@ -12261,13 +12290,20 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
12261
12290
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
12262
12291
  __PYX_ERR(1, 683, __pyx_L1_error)
12263
12292
  }
12264
- __pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1); __pyx_t_4 = 0;
12293
+ __pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1);
12294
+ __pyx_t_4 = 0;
12265
12295
  for (;;) {
12266
- if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
12296
+ {
12297
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
12298
+ #if !CYTHON_ASSUME_SAFE_MACROS
12299
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 683, __pyx_L1_error)
12300
+ #endif
12301
+ if (__pyx_t_4 >= __pyx_temp) break;
12302
+ }
12267
12303
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
12268
12304
  __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)
12269
12305
  #else
12270
- __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)
12306
+ __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)
12271
12307
  __Pyx_GOTREF(__pyx_t_3);
12272
12308
  #endif
12273
12309
  __Pyx_XDECREF_SET(__pyx_v_item, __pyx_t_3);
@@ -12536,7 +12572,6 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
12536
12572
  static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_ndim) {
12537
12573
  Py_ssize_t __pyx_v_suboffset;
12538
12574
  int __pyx_r;
12539
- __Pyx_RefNannyDeclarations
12540
12575
  Py_ssize_t *__pyx_t_1;
12541
12576
  Py_ssize_t *__pyx_t_2;
12542
12577
  Py_ssize_t *__pyx_t_3;
@@ -12544,7 +12579,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
12544
12579
  int __pyx_lineno = 0;
12545
12580
  const char *__pyx_filename = NULL;
12546
12581
  int __pyx_clineno = 0;
12547
- __Pyx_RefNannySetupContext("assert_direct_dimensions", 0);
12548
12582
 
12549
12583
  /* "View.MemoryView":701
12550
12584
  *
@@ -12611,7 +12645,6 @@ static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_
12611
12645
  __Pyx_AddTraceback("View.MemoryView.assert_direct_dimensions", __pyx_clineno, __pyx_lineno, __pyx_filename);
12612
12646
  __pyx_r = -1;
12613
12647
  __pyx_L0:;
12614
- __Pyx_RefNannyFinishContext();
12615
12648
  return __pyx_r;
12616
12649
  }
12617
12650
 
@@ -12657,7 +12690,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
12657
12690
  int __pyx_lineno = 0;
12658
12691
  const char *__pyx_filename = NULL;
12659
12692
  int __pyx_clineno = 0;
12660
- __Pyx_RefNannySetupContext("memview_slice", 0);
12693
+ __Pyx_RefNannySetupContext("memview_slice", 1);
12661
12694
 
12662
12695
  /* "View.MemoryView":712
12663
12696
  * @cname('__pyx_memview_slice')
@@ -12807,7 +12840,8 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
12807
12840
  */
12808
12841
  __pyx_t_5 = 0;
12809
12842
  if (likely(PyList_CheckExact(__pyx_v_indices)) || PyTuple_CheckExact(__pyx_v_indices)) {
12810
- __pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2); __pyx_t_6 = 0;
12843
+ __pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2);
12844
+ __pyx_t_6 = 0;
12811
12845
  __pyx_t_7 = NULL;
12812
12846
  } else {
12813
12847
  __pyx_t_6 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_indices); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 747, __pyx_L1_error)
@@ -12817,19 +12851,31 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
12817
12851
  for (;;) {
12818
12852
  if (likely(!__pyx_t_7)) {
12819
12853
  if (likely(PyList_CheckExact(__pyx_t_2))) {
12820
- if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_2)) break;
12854
+ {
12855
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
12856
+ #if !CYTHON_ASSUME_SAFE_MACROS
12857
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
12858
+ #endif
12859
+ if (__pyx_t_6 >= __pyx_temp) break;
12860
+ }
12821
12861
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
12822
12862
  __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)
12823
12863
  #else
12824
- __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)
12864
+ __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)
12825
12865
  __Pyx_GOTREF(__pyx_t_8);
12826
12866
  #endif
12827
12867
  } else {
12828
- if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
12868
+ {
12869
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
12870
+ #if !CYTHON_ASSUME_SAFE_MACROS
12871
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error)
12872
+ #endif
12873
+ if (__pyx_t_6 >= __pyx_temp) break;
12874
+ }
12829
12875
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
12830
12876
  __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)
12831
12877
  #else
12832
- __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)
12878
+ __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)
12833
12879
  __Pyx_GOTREF(__pyx_t_8);
12834
12880
  #endif
12835
12881
  }
@@ -13208,7 +13254,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
13208
13254
  Py_ssize_t __pyx_v_new_shape;
13209
13255
  int __pyx_v_negative_step;
13210
13256
  int __pyx_r;
13211
- __Pyx_RefNannyDeclarations
13212
13257
  int __pyx_t_1;
13213
13258
  int __pyx_t_2;
13214
13259
  int __pyx_t_3;
@@ -13218,7 +13263,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
13218
13263
  #ifdef WITH_THREAD
13219
13264
  PyGILState_STATE __pyx_gilstate_save;
13220
13265
  #endif
13221
- __Pyx_RefNannySetupContext("slice_memviewslice", 1);
13222
13266
 
13223
13267
  /* "View.MemoryView":813
13224
13268
  * cdef bint negative_step
@@ -13973,7 +14017,6 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
13973
14017
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
13974
14018
  #endif
13975
14019
  __pyx_L0:;
13976
- __Pyx_RefNannyFinishContextNogil()
13977
14020
  return __pyx_r;
13978
14021
  }
13979
14022
 
@@ -14001,7 +14044,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
14001
14044
  int __pyx_lineno = 0;
14002
14045
  const char *__pyx_filename = NULL;
14003
14046
  int __pyx_clineno = 0;
14004
- __Pyx_RefNannySetupContext("pybuffer_index", 0);
14047
+ __Pyx_RefNannySetupContext("pybuffer_index", 1);
14005
14048
 
14006
14049
  /* "View.MemoryView":898
14007
14050
  * cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,
@@ -14328,7 +14371,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
14328
14371
  int __pyx_v_i;
14329
14372
  int __pyx_v_j;
14330
14373
  int __pyx_r;
14331
- __Pyx_RefNannyDeclarations
14332
14374
  int __pyx_t_1;
14333
14375
  Py_ssize_t *__pyx_t_2;
14334
14376
  long __pyx_t_3;
@@ -14344,7 +14386,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
14344
14386
  #ifdef WITH_THREAD
14345
14387
  PyGILState_STATE __pyx_gilstate_save;
14346
14388
  #endif
14347
- __Pyx_RefNannySetupContext("transpose_memslice", 1);
14348
14389
 
14349
14390
  /* "View.MemoryView":930
14350
14391
  * @cname('__pyx_memslice_transpose')
@@ -14487,7 +14528,6 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
14487
14528
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
14488
14529
  #endif
14489
14530
  __pyx_L0:;
14490
- __Pyx_RefNannyFinishContextNogil()
14491
14531
  return __pyx_r;
14492
14532
  }
14493
14533
 
@@ -14513,8 +14553,6 @@ static void __pyx_memoryviewslice___dealloc__(PyObject *__pyx_v_self) {
14513
14553
  }
14514
14554
 
14515
14555
  static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewslice___dealloc__(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
14516
- __Pyx_RefNannyDeclarations
14517
- __Pyx_RefNannySetupContext("__dealloc__", 0);
14518
14556
 
14519
14557
  /* "View.MemoryView":964
14520
14558
  *
@@ -14534,7 +14572,6 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
14534
14572
  */
14535
14573
 
14536
14574
  /* function exit code */
14537
- __Pyx_RefNannyFinishContext();
14538
14575
  }
14539
14576
 
14540
14577
  /* "View.MemoryView":966
@@ -14553,7 +14590,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
14553
14590
  int __pyx_lineno = 0;
14554
14591
  const char *__pyx_filename = NULL;
14555
14592
  int __pyx_clineno = 0;
14556
- __Pyx_RefNannySetupContext("convert_item_to_object", 0);
14593
+ __Pyx_RefNannySetupContext("convert_item_to_object", 1);
14557
14594
 
14558
14595
  /* "View.MemoryView":967
14559
14596
  *
@@ -14640,7 +14677,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
14640
14677
  int __pyx_lineno = 0;
14641
14678
  const char *__pyx_filename = NULL;
14642
14679
  int __pyx_clineno = 0;
14643
- __Pyx_RefNannySetupContext("assign_item_from_object", 0);
14680
+ __Pyx_RefNannySetupContext("assign_item_from_object", 1);
14644
14681
 
14645
14682
  /* "View.MemoryView":973
14646
14683
  *
@@ -14717,7 +14754,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
14717
14754
  static PyObject *__pyx_memoryviewslice__get_base(struct __pyx_memoryviewslice_obj *__pyx_v_self) {
14718
14755
  PyObject *__pyx_r = NULL;
14719
14756
  __Pyx_RefNannyDeclarations
14720
- __Pyx_RefNannySetupContext("_get_base", 0);
14757
+ __Pyx_RefNannySetupContext("_get_base", 1);
14721
14758
 
14722
14759
  /* "View.MemoryView":979
14723
14760
  *
@@ -14771,9 +14808,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
14771
14808
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
14772
14809
  #endif
14773
14810
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
14774
- int __pyx_lineno = 0;
14775
- const char *__pyx_filename = NULL;
14776
- int __pyx_clineno = 0;
14777
14811
  PyObject *__pyx_r = 0;
14778
14812
  __Pyx_RefNannyDeclarations
14779
14813
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
@@ -14781,21 +14815,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
14781
14815
  #if CYTHON_ASSUME_SAFE_MACROS
14782
14816
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
14783
14817
  #else
14784
- __pyx_nargs = PyTuple_Size(__pyx_args);
14785
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
14818
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
14786
14819
  #endif
14787
14820
  #endif
14788
14821
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
14789
14822
  if (unlikely(__pyx_nargs > 0)) {
14790
14823
  __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
14791
14824
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
14792
- goto __pyx_L4_argument_unpacking_done;
14793
- goto __pyx_L3_error;
14794
- __pyx_L3_error:;
14795
- __Pyx_AddTraceback("View.MemoryView._memoryviewslice.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
14796
- __Pyx_RefNannyFinishContext();
14797
- return NULL;
14798
- __pyx_L4_argument_unpacking_done:;
14799
14825
  __pyx_r = __pyx_pf___pyx_memoryviewslice___reduce_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self));
14800
14826
 
14801
14827
  /* function exit code */
@@ -14809,7 +14835,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON_UNUSED
14809
14835
  int __pyx_lineno = 0;
14810
14836
  const char *__pyx_filename = NULL;
14811
14837
  int __pyx_clineno = 0;
14812
- __Pyx_RefNannySetupContext("__reduce_cython__", 0);
14838
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
14813
14839
 
14814
14840
  /* "(tree fragment)":2
14815
14841
  * def __reduce_cython__(self):
@@ -14873,8 +14899,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
14873
14899
  #if CYTHON_ASSUME_SAFE_MACROS
14874
14900
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
14875
14901
  #else
14876
- __pyx_nargs = PyTuple_Size(__pyx_args);
14877
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 3, __pyx_L3_error)
14902
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
14878
14903
  #endif
14879
14904
  #endif
14880
14905
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -14909,10 +14934,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
14909
14934
  }
14910
14935
  __pyx_v___pyx_state = values[0];
14911
14936
  }
14912
- goto __pyx_L4_argument_unpacking_done;
14937
+ goto __pyx_L6_skip;
14913
14938
  __pyx_L5_argtuple_error:;
14914
14939
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
14915
- goto __pyx_L3_error;
14940
+ __pyx_L6_skip:;
14941
+ goto __pyx_L4_argument_unpacking_done;
14916
14942
  __pyx_L3_error:;
14917
14943
  {
14918
14944
  Py_ssize_t __pyx_temp;
@@ -14943,7 +14969,7 @@ static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYTHON_UNUS
14943
14969
  int __pyx_lineno = 0;
14944
14970
  const char *__pyx_filename = NULL;
14945
14971
  int __pyx_clineno = 0;
14946
- __Pyx_RefNannySetupContext("__setstate_cython__", 0);
14972
+ __Pyx_RefNannySetupContext("__setstate_cython__", 1);
14947
14973
 
14948
14974
  /* "(tree fragment)":4
14949
14975
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
@@ -14995,7 +15021,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
14995
15021
  int __pyx_lineno = 0;
14996
15022
  const char *__pyx_filename = NULL;
14997
15023
  int __pyx_clineno = 0;
14998
- __Pyx_RefNannySetupContext("memoryview_fromslice", 0);
15024
+ __Pyx_RefNannySetupContext("memoryview_fromslice", 1);
14999
15025
 
15000
15026
  /* "View.MemoryView":1007
15001
15027
  * cdef _memoryviewslice result
@@ -15372,7 +15398,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
15372
15398
  int __pyx_lineno = 0;
15373
15399
  const char *__pyx_filename = NULL;
15374
15400
  int __pyx_clineno = 0;
15375
- __Pyx_RefNannySetupContext("get_slice_from_memview", 0);
15401
+ __Pyx_RefNannySetupContext("get_slice_from_memview", 1);
15376
15402
 
15377
15403
  /* "View.MemoryView":1055
15378
15404
  * __Pyx_memviewslice *mslice) except NULL:
@@ -15469,14 +15495,12 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
15469
15495
  Py_ssize_t *__pyx_v_shape;
15470
15496
  Py_ssize_t *__pyx_v_strides;
15471
15497
  Py_ssize_t *__pyx_v_suboffsets;
15472
- __Pyx_RefNannyDeclarations
15473
15498
  Py_ssize_t *__pyx_t_1;
15474
15499
  int __pyx_t_2;
15475
15500
  int __pyx_t_3;
15476
15501
  int __pyx_t_4;
15477
15502
  Py_ssize_t __pyx_t_5;
15478
15503
  int __pyx_t_6;
15479
- __Pyx_RefNannySetupContext("slice_copy", 0);
15480
15504
 
15481
15505
  /* "View.MemoryView":1067
15482
15506
  * cdef (Py_ssize_t*) shape, strides, suboffsets
@@ -15581,7 +15605,6 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
15581
15605
  */
15582
15606
 
15583
15607
  /* function exit code */
15584
- __Pyx_RefNannyFinishContext();
15585
15608
  }
15586
15609
 
15587
15610
  /* "View.MemoryView":1080
@@ -15600,7 +15623,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
15600
15623
  int __pyx_lineno = 0;
15601
15624
  const char *__pyx_filename = NULL;
15602
15625
  int __pyx_clineno = 0;
15603
- __Pyx_RefNannySetupContext("memoryview_copy", 0);
15626
+ __Pyx_RefNannySetupContext("memoryview_copy", 1);
15604
15627
 
15605
15628
  /* "View.MemoryView":1083
15606
15629
  * "Create a new memoryview object"
@@ -15664,7 +15687,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
15664
15687
  int __pyx_lineno = 0;
15665
15688
  const char *__pyx_filename = NULL;
15666
15689
  int __pyx_clineno = 0;
15667
- __Pyx_RefNannySetupContext("memoryview_copy_from_slice", 0);
15690
+ __Pyx_RefNannySetupContext("memoryview_copy_from_slice", 1);
15668
15691
 
15669
15692
  /* "View.MemoryView":1094
15670
15693
  * cdef int (*to_dtype_func)(char *, object) except 0
@@ -16473,7 +16496,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
16473
16496
  size_t __pyx_v_itemsize;
16474
16497
  size_t __pyx_v_size;
16475
16498
  void *__pyx_r;
16476
- __Pyx_RefNannyDeclarations
16477
16499
  Py_ssize_t __pyx_t_1;
16478
16500
  int __pyx_t_2;
16479
16501
  int __pyx_t_3;
@@ -16486,7 +16508,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
16486
16508
  #ifdef WITH_THREAD
16487
16509
  PyGILState_STATE __pyx_gilstate_save;
16488
16510
  #endif
16489
- __Pyx_RefNannySetupContext("copy_data_to_temp", 1);
16490
16511
 
16491
16512
  /* "View.MemoryView":1216
16492
16513
  * cdef void *result
@@ -16714,7 +16735,6 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
16714
16735
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
16715
16736
  #endif
16716
16737
  __pyx_L0:;
16717
- __Pyx_RefNannyFinishContextNogil()
16718
16738
  return __pyx_r;
16719
16739
  }
16720
16740
 
@@ -16934,14 +16954,12 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, PyObject *__pyx_v_msg)
16934
16954
 
16935
16955
  static int __pyx_memoryview_err_no_memory(void) {
16936
16956
  int __pyx_r;
16937
- __Pyx_RefNannyDeclarations
16938
16957
  int __pyx_lineno = 0;
16939
16958
  const char *__pyx_filename = NULL;
16940
16959
  int __pyx_clineno = 0;
16941
16960
  #ifdef WITH_THREAD
16942
16961
  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
16943
16962
  #endif
16944
- __Pyx_RefNannySetupContext("_err_no_memory", 0);
16945
16963
 
16946
16964
  /* "View.MemoryView":1261
16947
16965
  * @cname('__pyx_memoryview_err_no_memory')
@@ -16964,7 +16982,6 @@ static int __pyx_memoryview_err_no_memory(void) {
16964
16982
  __pyx_L1_error:;
16965
16983
  __Pyx_AddTraceback("View.MemoryView._err_no_memory", __pyx_clineno, __pyx_lineno, __pyx_filename);
16966
16984
  __pyx_r = -1;
16967
- __Pyx_RefNannyFinishContext();
16968
16985
  #ifdef WITH_THREAD
16969
16986
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
16970
16987
  #endif
@@ -16989,7 +17006,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
16989
17006
  __Pyx_memviewslice __pyx_v_tmp;
16990
17007
  int __pyx_v_ndim;
16991
17008
  int __pyx_r;
16992
- __Pyx_RefNannyDeclarations
16993
17009
  Py_ssize_t __pyx_t_1;
16994
17010
  int __pyx_t_2;
16995
17011
  int __pyx_t_3;
@@ -17003,7 +17019,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
17003
17019
  #ifdef WITH_THREAD
17004
17020
  PyGILState_STATE __pyx_gilstate_save;
17005
17021
  #endif
17006
- __Pyx_RefNannySetupContext("memoryview_copy_contents", 1);
17007
17022
 
17008
17023
  /* "View.MemoryView":1273
17009
17024
  * Check for overlapping memory and verify the shapes.
@@ -17548,7 +17563,6 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
17548
17563
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
17549
17564
  #endif
17550
17565
  __pyx_L0:;
17551
- __Pyx_RefNannyFinishContextNogil()
17552
17566
  return __pyx_r;
17553
17567
  }
17554
17568
 
@@ -17722,11 +17736,9 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
17722
17736
  */
17723
17737
 
17724
17738
  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) {
17725
- __Pyx_RefNannyDeclarations
17726
17739
  #ifdef WITH_THREAD
17727
17740
  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
17728
17741
  #endif
17729
- __Pyx_RefNannySetupContext("refcount_objects_in_slice_with_gil", 0);
17730
17742
 
17731
17743
  /* "View.MemoryView":1368
17732
17744
  * Py_ssize_t *strides, int ndim,
@@ -17746,7 +17758,6 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
17746
17758
  */
17747
17759
 
17748
17760
  /* function exit code */
17749
- __Pyx_RefNannyFinishContext();
17750
17761
  #ifdef WITH_THREAD
17751
17762
  __Pyx_PyGILState_Release(__pyx_gilstate_save);
17752
17763
  #endif
@@ -17763,12 +17774,10 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
17763
17774
  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) {
17764
17775
  CYTHON_UNUSED Py_ssize_t __pyx_v_i;
17765
17776
  Py_ssize_t __pyx_v_stride;
17766
- __Pyx_RefNannyDeclarations
17767
17777
  Py_ssize_t __pyx_t_1;
17768
17778
  Py_ssize_t __pyx_t_2;
17769
17779
  Py_ssize_t __pyx_t_3;
17770
17780
  int __pyx_t_4;
17771
- __Pyx_RefNannySetupContext("refcount_objects_in_slice", 0);
17772
17781
 
17773
17782
  /* "View.MemoryView":1374
17774
17783
  * Py_ssize_t *strides, int ndim, bint inc) noexcept:
@@ -17882,7 +17891,6 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
17882
17891
  */
17883
17892
 
17884
17893
  /* function exit code */
17885
- __Pyx_RefNannyFinishContext();
17886
17894
  }
17887
17895
 
17888
17896
  /* "View.MemoryView":1391
@@ -18104,8 +18112,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
18104
18112
  #if CYTHON_ASSUME_SAFE_MACROS
18105
18113
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
18106
18114
  #else
18107
- __pyx_nargs = PyTuple_Size(__pyx_args);
18108
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(1, 1, __pyx_L3_error)
18115
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
18109
18116
  #endif
18110
18117
  #endif
18111
18118
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -18168,10 +18175,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
18168
18175
  __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)
18169
18176
  __pyx_v___pyx_state = values[2];
18170
18177
  }
18171
- goto __pyx_L4_argument_unpacking_done;
18178
+ goto __pyx_L6_skip;
18172
18179
  __pyx_L5_argtuple_error:;
18173
18180
  __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 1, __pyx_L3_error)
18174
- goto __pyx_L3_error;
18181
+ __pyx_L6_skip:;
18182
+ goto __pyx_L4_argument_unpacking_done;
18175
18183
  __pyx_L3_error:;
18176
18184
  {
18177
18185
  Py_ssize_t __pyx_temp;
@@ -18209,7 +18217,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSE
18209
18217
  int __pyx_lineno = 0;
18210
18218
  const char *__pyx_filename = NULL;
18211
18219
  int __pyx_clineno = 0;
18212
- __Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 0);
18220
+ __Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 1);
18213
18221
 
18214
18222
  /* "(tree fragment)":4
18215
18223
  * cdef object __pyx_PickleError
@@ -18391,7 +18399,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
18391
18399
  int __pyx_lineno = 0;
18392
18400
  const char *__pyx_filename = NULL;
18393
18401
  int __pyx_clineno = 0;
18394
- __Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 0);
18402
+ __Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 1);
18395
18403
 
18396
18404
  /* "(tree fragment)":12
18397
18405
  * return __pyx_result
@@ -18507,7 +18515,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
18507
18515
  return __pyx_r;
18508
18516
  }
18509
18517
 
18510
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
18518
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
18511
18519
  *
18512
18520
  * @property
18513
18521
  * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@@ -18518,7 +18526,7 @@ static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__
18518
18526
  static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
18519
18527
  PyObject *__pyx_r;
18520
18528
 
18521
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":249
18529
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":249
18522
18530
  * """Returns a borrowed reference to the object owning the data/memory.
18523
18531
  * """
18524
18532
  * return PyArray_BASE(self) # <<<<<<<<<<<<<<
@@ -18528,7 +18536,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
18528
18536
  __pyx_r = PyArray_BASE(__pyx_v_self);
18529
18537
  goto __pyx_L0;
18530
18538
 
18531
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
18539
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
18532
18540
  *
18533
18541
  * @property
18534
18542
  * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@@ -18541,7 +18549,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
18541
18549
  return __pyx_r;
18542
18550
  }
18543
18551
 
18544
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
18552
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
18545
18553
  *
18546
18554
  * @property
18547
18555
  * cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@@ -18553,9 +18561,9 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
18553
18561
  PyArray_Descr *__pyx_r = NULL;
18554
18562
  __Pyx_RefNannyDeclarations
18555
18563
  PyArray_Descr *__pyx_t_1;
18556
- __Pyx_RefNannySetupContext("descr", 0);
18564
+ __Pyx_RefNannySetupContext("descr", 1);
18557
18565
 
18558
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":255
18566
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":255
18559
18567
  * """Returns an owned reference to the dtype of the array.
18560
18568
  * """
18561
18569
  * return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
@@ -18568,7 +18576,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
18568
18576
  __pyx_r = ((PyArray_Descr *)__pyx_t_1);
18569
18577
  goto __pyx_L0;
18570
18578
 
18571
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
18579
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
18572
18580
  *
18573
18581
  * @property
18574
18582
  * cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@@ -18583,7 +18591,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
18583
18591
  return __pyx_r;
18584
18592
  }
18585
18593
 
18586
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":258
18594
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":258
18587
18595
  *
18588
18596
  * @property
18589
18597
  * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@@ -18594,7 +18602,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
18594
18602
  static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
18595
18603
  int __pyx_r;
18596
18604
 
18597
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":261
18605
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":261
18598
18606
  * """Returns the number of dimensions in the array.
18599
18607
  * """
18600
18608
  * return PyArray_NDIM(self) # <<<<<<<<<<<<<<
@@ -18604,7 +18612,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
18604
18612
  __pyx_r = PyArray_NDIM(__pyx_v_self);
18605
18613
  goto __pyx_L0;
18606
18614
 
18607
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":258
18615
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":258
18608
18616
  *
18609
18617
  * @property
18610
18618
  * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@@ -18617,7 +18625,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
18617
18625
  return __pyx_r;
18618
18626
  }
18619
18627
 
18620
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":264
18628
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":264
18621
18629
  *
18622
18630
  * @property
18623
18631
  * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@@ -18628,7 +18636,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
18628
18636
  static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
18629
18637
  npy_intp *__pyx_r;
18630
18638
 
18631
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":269
18639
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":269
18632
18640
  * Can return NULL for 0-dimensional arrays.
18633
18641
  * """
18634
18642
  * return PyArray_DIMS(self) # <<<<<<<<<<<<<<
@@ -18638,7 +18646,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
18638
18646
  __pyx_r = PyArray_DIMS(__pyx_v_self);
18639
18647
  goto __pyx_L0;
18640
18648
 
18641
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":264
18649
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":264
18642
18650
  *
18643
18651
  * @property
18644
18652
  * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@@ -18651,7 +18659,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
18651
18659
  return __pyx_r;
18652
18660
  }
18653
18661
 
18654
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":272
18662
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":272
18655
18663
  *
18656
18664
  * @property
18657
18665
  * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@@ -18662,7 +18670,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
18662
18670
  static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
18663
18671
  npy_intp *__pyx_r;
18664
18672
 
18665
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":276
18673
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":276
18666
18674
  * The number of elements matches the number of dimensions of the array (ndim).
18667
18675
  * """
18668
18676
  * return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
@@ -18672,7 +18680,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
18672
18680
  __pyx_r = PyArray_STRIDES(__pyx_v_self);
18673
18681
  goto __pyx_L0;
18674
18682
 
18675
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":272
18683
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":272
18676
18684
  *
18677
18685
  * @property
18678
18686
  * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@@ -18685,7 +18693,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
18685
18693
  return __pyx_r;
18686
18694
  }
18687
18695
 
18688
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
18696
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
18689
18697
  *
18690
18698
  * @property
18691
18699
  * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@@ -18696,7 +18704,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
18696
18704
  static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
18697
18705
  npy_intp __pyx_r;
18698
18706
 
18699
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":282
18707
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":282
18700
18708
  * """Returns the total size (in number of elements) of the array.
18701
18709
  * """
18702
18710
  * return PyArray_SIZE(self) # <<<<<<<<<<<<<<
@@ -18706,7 +18714,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
18706
18714
  __pyx_r = PyArray_SIZE(__pyx_v_self);
18707
18715
  goto __pyx_L0;
18708
18716
 
18709
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
18717
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
18710
18718
  *
18711
18719
  * @property
18712
18720
  * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@@ -18719,7 +18727,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
18719
18727
  return __pyx_r;
18720
18728
  }
18721
18729
 
18722
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
18730
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
18723
18731
  *
18724
18732
  * @property
18725
18733
  * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@@ -18730,7 +18738,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
18730
18738
  static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
18731
18739
  char *__pyx_r;
18732
18740
 
18733
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":291
18741
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":291
18734
18742
  * of `PyArray_DATA()` instead, which returns a 'void*'.
18735
18743
  * """
18736
18744
  * return PyArray_BYTES(self) # <<<<<<<<<<<<<<
@@ -18740,7 +18748,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
18740
18748
  __pyx_r = PyArray_BYTES(__pyx_v_self);
18741
18749
  goto __pyx_L0;
18742
18750
 
18743
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
18751
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
18744
18752
  *
18745
18753
  * @property
18746
18754
  * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@@ -18753,7 +18761,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
18753
18761
  return __pyx_r;
18754
18762
  }
18755
18763
 
18756
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
18764
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
18757
18765
  * ctypedef npy_cdouble complex_t
18758
18766
  *
18759
18767
  * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@@ -18768,9 +18776,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
18768
18776
  int __pyx_lineno = 0;
18769
18777
  const char *__pyx_filename = NULL;
18770
18778
  int __pyx_clineno = 0;
18771
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 0);
18779
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1);
18772
18780
 
18773
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":778
18781
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":778
18774
18782
  *
18775
18783
  * cdef inline object PyArray_MultiIterNew1(a):
18776
18784
  * return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
@@ -18784,7 +18792,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
18784
18792
  __pyx_t_1 = 0;
18785
18793
  goto __pyx_L0;
18786
18794
 
18787
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
18795
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
18788
18796
  * ctypedef npy_cdouble complex_t
18789
18797
  *
18790
18798
  * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@@ -18803,7 +18811,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
18803
18811
  return __pyx_r;
18804
18812
  }
18805
18813
 
18806
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
18814
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
18807
18815
  * return PyArray_MultiIterNew(1, <void*>a)
18808
18816
  *
18809
18817
  * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@@ -18818,9 +18826,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
18818
18826
  int __pyx_lineno = 0;
18819
18827
  const char *__pyx_filename = NULL;
18820
18828
  int __pyx_clineno = 0;
18821
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 0);
18829
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1);
18822
18830
 
18823
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":781
18831
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":781
18824
18832
  *
18825
18833
  * cdef inline object PyArray_MultiIterNew2(a, b):
18826
18834
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
@@ -18834,7 +18842,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
18834
18842
  __pyx_t_1 = 0;
18835
18843
  goto __pyx_L0;
18836
18844
 
18837
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
18845
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
18838
18846
  * return PyArray_MultiIterNew(1, <void*>a)
18839
18847
  *
18840
18848
  * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@@ -18853,7 +18861,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
18853
18861
  return __pyx_r;
18854
18862
  }
18855
18863
 
18856
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
18864
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
18857
18865
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b)
18858
18866
  *
18859
18867
  * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@@ -18868,9 +18876,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
18868
18876
  int __pyx_lineno = 0;
18869
18877
  const char *__pyx_filename = NULL;
18870
18878
  int __pyx_clineno = 0;
18871
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 0);
18879
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1);
18872
18880
 
18873
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":784
18881
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":784
18874
18882
  *
18875
18883
  * cdef inline object PyArray_MultiIterNew3(a, b, c):
18876
18884
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
@@ -18884,7 +18892,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
18884
18892
  __pyx_t_1 = 0;
18885
18893
  goto __pyx_L0;
18886
18894
 
18887
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
18895
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
18888
18896
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b)
18889
18897
  *
18890
18898
  * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@@ -18903,7 +18911,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
18903
18911
  return __pyx_r;
18904
18912
  }
18905
18913
 
18906
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
18914
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
18907
18915
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
18908
18916
  *
18909
18917
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@@ -18918,9 +18926,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
18918
18926
  int __pyx_lineno = 0;
18919
18927
  const char *__pyx_filename = NULL;
18920
18928
  int __pyx_clineno = 0;
18921
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 0);
18929
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1);
18922
18930
 
18923
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":787
18931
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":787
18924
18932
  *
18925
18933
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d):
18926
18934
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
@@ -18934,7 +18942,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
18934
18942
  __pyx_t_1 = 0;
18935
18943
  goto __pyx_L0;
18936
18944
 
18937
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
18945
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
18938
18946
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
18939
18947
  *
18940
18948
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@@ -18953,7 +18961,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
18953
18961
  return __pyx_r;
18954
18962
  }
18955
18963
 
18956
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
18964
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
18957
18965
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
18958
18966
  *
18959
18967
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@@ -18968,9 +18976,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
18968
18976
  int __pyx_lineno = 0;
18969
18977
  const char *__pyx_filename = NULL;
18970
18978
  int __pyx_clineno = 0;
18971
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 0);
18979
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1);
18972
18980
 
18973
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":790
18981
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":790
18974
18982
  *
18975
18983
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
18976
18984
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
@@ -18984,7 +18992,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
18984
18992
  __pyx_t_1 = 0;
18985
18993
  goto __pyx_L0;
18986
18994
 
18987
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
18995
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
18988
18996
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
18989
18997
  *
18990
18998
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@@ -19003,7 +19011,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
19003
19011
  return __pyx_r;
19004
19012
  }
19005
19013
 
19006
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
19014
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
19007
19015
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
19008
19016
  *
19009
19017
  * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@@ -19015,9 +19023,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19015
19023
  PyObject *__pyx_r = NULL;
19016
19024
  __Pyx_RefNannyDeclarations
19017
19025
  int __pyx_t_1;
19018
- __Pyx_RefNannySetupContext("PyDataType_SHAPE", 0);
19026
+ __Pyx_RefNannySetupContext("PyDataType_SHAPE", 1);
19019
19027
 
19020
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
19028
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
19021
19029
  *
19022
19030
  * cdef inline tuple PyDataType_SHAPE(dtype d):
19023
19031
  * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@@ -19027,7 +19035,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19027
19035
  __pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
19028
19036
  if (__pyx_t_1) {
19029
19037
 
19030
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":794
19038
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":794
19031
19039
  * cdef inline tuple PyDataType_SHAPE(dtype d):
19032
19040
  * if PyDataType_HASSUBARRAY(d):
19033
19041
  * return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
@@ -19039,7 +19047,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19039
19047
  __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
19040
19048
  goto __pyx_L0;
19041
19049
 
19042
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
19050
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
19043
19051
  *
19044
19052
  * cdef inline tuple PyDataType_SHAPE(dtype d):
19045
19053
  * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@@ -19048,7 +19056,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19048
19056
  */
19049
19057
  }
19050
19058
 
19051
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":796
19059
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":796
19052
19060
  * return <tuple>d.subarray.shape
19053
19061
  * else:
19054
19062
  * return () # <<<<<<<<<<<<<<
@@ -19062,7 +19070,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19062
19070
  goto __pyx_L0;
19063
19071
  }
19064
19072
 
19065
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
19073
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
19066
19074
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
19067
19075
  *
19068
19076
  * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@@ -19077,7 +19085,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19077
19085
  return __pyx_r;
19078
19086
  }
19079
19087
 
19080
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
19088
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
19081
19089
  * int _import_umath() except -1
19082
19090
  *
19083
19091
  * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@@ -19086,10 +19094,8 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
19086
19094
  */
19087
19095
 
19088
19096
  static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
19089
- __Pyx_RefNannyDeclarations
19090
- __Pyx_RefNannySetupContext("set_array_base", 0);
19091
19097
 
19092
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":972
19098
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":972
19093
19099
  *
19094
19100
  * cdef inline void set_array_base(ndarray arr, object base):
19095
19101
  * Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
@@ -19098,7 +19104,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
19098
19104
  */
19099
19105
  Py_INCREF(__pyx_v_base);
19100
19106
 
19101
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":973
19107
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":973
19102
19108
  * cdef inline void set_array_base(ndarray arr, object base):
19103
19109
  * Py_INCREF(base) # important to do this before stealing the reference below!
19104
19110
  * PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
@@ -19107,7 +19113,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
19107
19113
  */
19108
19114
  (void)(PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base));
19109
19115
 
19110
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
19116
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
19111
19117
  * int _import_umath() except -1
19112
19118
  *
19113
19119
  * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@@ -19116,10 +19122,9 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
19116
19122
  */
19117
19123
 
19118
19124
  /* function exit code */
19119
- __Pyx_RefNannyFinishContext();
19120
19125
  }
19121
19126
 
19122
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":975
19127
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":975
19123
19128
  * PyArray_SetBaseObject(arr, base)
19124
19129
  *
19125
19130
  * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@@ -19132,9 +19137,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19132
19137
  PyObject *__pyx_r = NULL;
19133
19138
  __Pyx_RefNannyDeclarations
19134
19139
  int __pyx_t_1;
19135
- __Pyx_RefNannySetupContext("get_array_base", 0);
19140
+ __Pyx_RefNannySetupContext("get_array_base", 1);
19136
19141
 
19137
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":976
19142
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":976
19138
19143
  *
19139
19144
  * cdef inline object get_array_base(ndarray arr):
19140
19145
  * base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
@@ -19143,7 +19148,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19143
19148
  */
19144
19149
  __pyx_v_base = PyArray_BASE(__pyx_v_arr);
19145
19150
 
19146
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":977
19151
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":977
19147
19152
  * cdef inline object get_array_base(ndarray arr):
19148
19153
  * base = PyArray_BASE(arr)
19149
19154
  * if base is NULL: # <<<<<<<<<<<<<<
@@ -19153,7 +19158,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19153
19158
  __pyx_t_1 = (__pyx_v_base == NULL);
19154
19159
  if (__pyx_t_1) {
19155
19160
 
19156
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":978
19161
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":978
19157
19162
  * base = PyArray_BASE(arr)
19158
19163
  * if base is NULL:
19159
19164
  * return None # <<<<<<<<<<<<<<
@@ -19164,7 +19169,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19164
19169
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
19165
19170
  goto __pyx_L0;
19166
19171
 
19167
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":977
19172
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":977
19168
19173
  * cdef inline object get_array_base(ndarray arr):
19169
19174
  * base = PyArray_BASE(arr)
19170
19175
  * if base is NULL: # <<<<<<<<<<<<<<
@@ -19173,7 +19178,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19173
19178
  */
19174
19179
  }
19175
19180
 
19176
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":979
19181
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":979
19177
19182
  * if base is NULL:
19178
19183
  * return None
19179
19184
  * return <object>base # <<<<<<<<<<<<<<
@@ -19185,7 +19190,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19185
19190
  __pyx_r = ((PyObject *)__pyx_v_base);
19186
19191
  goto __pyx_L0;
19187
19192
 
19188
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":975
19193
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":975
19189
19194
  * PyArray_SetBaseObject(arr, base)
19190
19195
  *
19191
19196
  * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@@ -19200,7 +19205,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
19200
19205
  return __pyx_r;
19201
19206
  }
19202
19207
 
19203
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
19208
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
19204
19209
  * # Versions of the import_* functions which are more suitable for
19205
19210
  * # Cython code.
19206
19211
  * cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@@ -19222,9 +19227,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19222
19227
  int __pyx_lineno = 0;
19223
19228
  const char *__pyx_filename = NULL;
19224
19229
  int __pyx_clineno = 0;
19225
- __Pyx_RefNannySetupContext("import_array", 0);
19230
+ __Pyx_RefNannySetupContext("import_array", 1);
19226
19231
 
19227
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
19232
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
19228
19233
  * # Cython code.
19229
19234
  * cdef inline int import_array() except -1:
19230
19235
  * try: # <<<<<<<<<<<<<<
@@ -19240,7 +19245,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19240
19245
  __Pyx_XGOTREF(__pyx_t_3);
19241
19246
  /*try:*/ {
19242
19247
 
19243
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":985
19248
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":985
19244
19249
  * cdef inline int import_array() except -1:
19245
19250
  * try:
19246
19251
  * __pyx_import_array() # <<<<<<<<<<<<<<
@@ -19249,7 +19254,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19249
19254
  */
19250
19255
  __pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 985, __pyx_L3_error)
19251
19256
 
19252
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
19257
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
19253
19258
  * # Cython code.
19254
19259
  * cdef inline int import_array() except -1:
19255
19260
  * try: # <<<<<<<<<<<<<<
@@ -19263,7 +19268,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19263
19268
  goto __pyx_L8_try_end;
19264
19269
  __pyx_L3_error:;
19265
19270
 
19266
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":986
19271
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":986
19267
19272
  * try:
19268
19273
  * __pyx_import_array()
19269
19274
  * except Exception: # <<<<<<<<<<<<<<
@@ -19278,7 +19283,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19278
19283
  __Pyx_XGOTREF(__pyx_t_6);
19279
19284
  __Pyx_XGOTREF(__pyx_t_7);
19280
19285
 
19281
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":987
19286
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":987
19282
19287
  * __pyx_import_array()
19283
19288
  * except Exception:
19284
19289
  * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@@ -19293,7 +19298,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19293
19298
  }
19294
19299
  goto __pyx_L5_except_error;
19295
19300
 
19296
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
19301
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":984
19297
19302
  * # Cython code.
19298
19303
  * cdef inline int import_array() except -1:
19299
19304
  * try: # <<<<<<<<<<<<<<
@@ -19309,7 +19314,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19309
19314
  __pyx_L8_try_end:;
19310
19315
  }
19311
19316
 
19312
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
19317
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
19313
19318
  * # Versions of the import_* functions which are more suitable for
19314
19319
  * # Cython code.
19315
19320
  * cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@@ -19332,7 +19337,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
19332
19337
  return __pyx_r;
19333
19338
  }
19334
19339
 
19335
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
19340
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
19336
19341
  * raise ImportError("numpy.core.multiarray failed to import")
19337
19342
  *
19338
19343
  * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@@ -19354,9 +19359,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19354
19359
  int __pyx_lineno = 0;
19355
19360
  const char *__pyx_filename = NULL;
19356
19361
  int __pyx_clineno = 0;
19357
- __Pyx_RefNannySetupContext("import_umath", 0);
19362
+ __Pyx_RefNannySetupContext("import_umath", 1);
19358
19363
 
19359
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
19364
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
19360
19365
  *
19361
19366
  * cdef inline int import_umath() except -1:
19362
19367
  * try: # <<<<<<<<<<<<<<
@@ -19372,7 +19377,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19372
19377
  __Pyx_XGOTREF(__pyx_t_3);
19373
19378
  /*try:*/ {
19374
19379
 
19375
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":991
19380
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":991
19376
19381
  * cdef inline int import_umath() except -1:
19377
19382
  * try:
19378
19383
  * _import_umath() # <<<<<<<<<<<<<<
@@ -19381,7 +19386,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19381
19386
  */
19382
19387
  __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 991, __pyx_L3_error)
19383
19388
 
19384
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
19389
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
19385
19390
  *
19386
19391
  * cdef inline int import_umath() except -1:
19387
19392
  * try: # <<<<<<<<<<<<<<
@@ -19395,7 +19400,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19395
19400
  goto __pyx_L8_try_end;
19396
19401
  __pyx_L3_error:;
19397
19402
 
19398
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":992
19403
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":992
19399
19404
  * try:
19400
19405
  * _import_umath()
19401
19406
  * except Exception: # <<<<<<<<<<<<<<
@@ -19410,7 +19415,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19410
19415
  __Pyx_XGOTREF(__pyx_t_6);
19411
19416
  __Pyx_XGOTREF(__pyx_t_7);
19412
19417
 
19413
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":993
19418
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":993
19414
19419
  * _import_umath()
19415
19420
  * except Exception:
19416
19421
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -19425,7 +19430,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19425
19430
  }
19426
19431
  goto __pyx_L5_except_error;
19427
19432
 
19428
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
19433
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":990
19429
19434
  *
19430
19435
  * cdef inline int import_umath() except -1:
19431
19436
  * try: # <<<<<<<<<<<<<<
@@ -19441,7 +19446,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19441
19446
  __pyx_L8_try_end:;
19442
19447
  }
19443
19448
 
19444
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
19449
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
19445
19450
  * raise ImportError("numpy.core.multiarray failed to import")
19446
19451
  *
19447
19452
  * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@@ -19464,7 +19469,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
19464
19469
  return __pyx_r;
19465
19470
  }
19466
19471
 
19467
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
19472
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
19468
19473
  * raise ImportError("numpy.core.umath failed to import")
19469
19474
  *
19470
19475
  * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@@ -19486,9 +19491,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19486
19491
  int __pyx_lineno = 0;
19487
19492
  const char *__pyx_filename = NULL;
19488
19493
  int __pyx_clineno = 0;
19489
- __Pyx_RefNannySetupContext("import_ufunc", 0);
19494
+ __Pyx_RefNannySetupContext("import_ufunc", 1);
19490
19495
 
19491
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
19496
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
19492
19497
  *
19493
19498
  * cdef inline int import_ufunc() except -1:
19494
19499
  * try: # <<<<<<<<<<<<<<
@@ -19504,7 +19509,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19504
19509
  __Pyx_XGOTREF(__pyx_t_3);
19505
19510
  /*try:*/ {
19506
19511
 
19507
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":997
19512
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":997
19508
19513
  * cdef inline int import_ufunc() except -1:
19509
19514
  * try:
19510
19515
  * _import_umath() # <<<<<<<<<<<<<<
@@ -19513,7 +19518,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19513
19518
  */
19514
19519
  __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 997, __pyx_L3_error)
19515
19520
 
19516
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
19521
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
19517
19522
  *
19518
19523
  * cdef inline int import_ufunc() except -1:
19519
19524
  * try: # <<<<<<<<<<<<<<
@@ -19527,7 +19532,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19527
19532
  goto __pyx_L8_try_end;
19528
19533
  __pyx_L3_error:;
19529
19534
 
19530
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
19535
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
19531
19536
  * try:
19532
19537
  * _import_umath()
19533
19538
  * except Exception: # <<<<<<<<<<<<<<
@@ -19542,7 +19547,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19542
19547
  __Pyx_XGOTREF(__pyx_t_6);
19543
19548
  __Pyx_XGOTREF(__pyx_t_7);
19544
19549
 
19545
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":999
19550
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":999
19546
19551
  * _import_umath()
19547
19552
  * except Exception:
19548
19553
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -19557,7 +19562,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19557
19562
  }
19558
19563
  goto __pyx_L5_except_error;
19559
19564
 
19560
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
19565
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
19561
19566
  *
19562
19567
  * cdef inline int import_ufunc() except -1:
19563
19568
  * try: # <<<<<<<<<<<<<<
@@ -19573,7 +19578,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19573
19578
  __pyx_L8_try_end:;
19574
19579
  }
19575
19580
 
19576
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
19581
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
19577
19582
  * raise ImportError("numpy.core.umath failed to import")
19578
19583
  *
19579
19584
  * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@@ -19596,7 +19601,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19596
19601
  return __pyx_r;
19597
19602
  }
19598
19603
 
19599
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1002
19604
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1002
19600
19605
  *
19601
19606
  *
19602
19607
  * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@@ -19606,10 +19611,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
19606
19611
 
19607
19612
  static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
19608
19613
  int __pyx_r;
19609
- __Pyx_RefNannyDeclarations
19610
- __Pyx_RefNannySetupContext("is_timedelta64_object", 0);
19611
19614
 
19612
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1014
19615
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1014
19613
19616
  * bool
19614
19617
  * """
19615
19618
  * return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
@@ -19619,7 +19622,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
19619
19622
  __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
19620
19623
  goto __pyx_L0;
19621
19624
 
19622
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1002
19625
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1002
19623
19626
  *
19624
19627
  *
19625
19628
  * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@@ -19629,11 +19632,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
19629
19632
 
19630
19633
  /* function exit code */
19631
19634
  __pyx_L0:;
19632
- __Pyx_RefNannyFinishContext();
19633
19635
  return __pyx_r;
19634
19636
  }
19635
19637
 
19636
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1017
19638
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1017
19637
19639
  *
19638
19640
  *
19639
19641
  * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@@ -19643,10 +19645,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
19643
19645
 
19644
19646
  static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
19645
19647
  int __pyx_r;
19646
- __Pyx_RefNannyDeclarations
19647
- __Pyx_RefNannySetupContext("is_datetime64_object", 0);
19648
19648
 
19649
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1029
19649
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1029
19650
19650
  * bool
19651
19651
  * """
19652
19652
  * return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
@@ -19656,7 +19656,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
19656
19656
  __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
19657
19657
  goto __pyx_L0;
19658
19658
 
19659
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1017
19659
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1017
19660
19660
  *
19661
19661
  *
19662
19662
  * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@@ -19666,11 +19666,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
19666
19666
 
19667
19667
  /* function exit code */
19668
19668
  __pyx_L0:;
19669
- __Pyx_RefNannyFinishContext();
19670
19669
  return __pyx_r;
19671
19670
  }
19672
19671
 
19673
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1032
19672
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1032
19674
19673
  *
19675
19674
  *
19676
19675
  * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19681,7 +19680,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
19681
19680
  static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
19682
19681
  npy_datetime __pyx_r;
19683
19682
 
19684
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1039
19683
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1039
19685
19684
  * also needed. That can be found using `get_datetime64_unit`.
19686
19685
  * """
19687
19686
  * return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
@@ -19691,7 +19690,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
19691
19690
  __pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
19692
19691
  goto __pyx_L0;
19693
19692
 
19694
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1032
19693
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1032
19695
19694
  *
19696
19695
  *
19697
19696
  * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19704,7 +19703,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
19704
19703
  return __pyx_r;
19705
19704
  }
19706
19705
 
19707
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1042
19706
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1042
19708
19707
  *
19709
19708
  *
19710
19709
  * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19715,7 +19714,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
19715
19714
  static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
19716
19715
  npy_timedelta __pyx_r;
19717
19716
 
19718
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1046
19717
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1046
19719
19718
  * returns the int64 value underlying scalar numpy timedelta64 object
19720
19719
  * """
19721
19720
  * return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
@@ -19725,7 +19724,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
19725
19724
  __pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
19726
19725
  goto __pyx_L0;
19727
19726
 
19728
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1042
19727
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1042
19729
19728
  *
19730
19729
  *
19731
19730
  * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19738,7 +19737,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
19738
19737
  return __pyx_r;
19739
19738
  }
19740
19739
 
19741
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1049
19740
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1049
19742
19741
  *
19743
19742
  *
19744
19743
  * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19749,7 +19748,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
19749
19748
  static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
19750
19749
  NPY_DATETIMEUNIT __pyx_r;
19751
19750
 
19752
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1053
19751
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1053
19753
19752
  * returns the unit part of the dtype for a numpy datetime64 object.
19754
19753
  * """
19755
19754
  * return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
@@ -19757,7 +19756,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
19757
19756
  __pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
19758
19757
  goto __pyx_L0;
19759
19758
 
19760
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1049
19759
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1049
19761
19760
  *
19762
19761
  *
19763
19762
  * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@@ -19812,8 +19811,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
19812
19811
  #if CYTHON_ASSUME_SAFE_MACROS
19813
19812
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
19814
19813
  #else
19815
- __pyx_nargs = PyTuple_Size(__pyx_args);
19816
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 24, __pyx_L3_error)
19814
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
19817
19815
  #endif
19818
19816
  #endif
19819
19817
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -19876,10 +19874,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
19876
19874
  __pyx_v_raw_bytes = ((PyObject*)values[1]);
19877
19875
  __pyx_v_param = __Pyx_PyInt_As_int(values[2]); if (unlikely((__pyx_v_param == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 24, __pyx_L3_error)
19878
19876
  }
19879
- goto __pyx_L4_argument_unpacking_done;
19877
+ goto __pyx_L6_skip;
19880
19878
  __pyx_L5_argtuple_error:;
19881
19879
  __Pyx_RaiseArgtupleInvalid("decode_array", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 24, __pyx_L3_error)
19882
- goto __pyx_L3_error;
19880
+ __pyx_L6_skip:;
19881
+ goto __pyx_L4_argument_unpacking_done;
19883
19882
  __pyx_L3_error:;
19884
19883
  {
19885
19884
  Py_ssize_t __pyx_temp;
@@ -19925,7 +19924,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_decode_array(CYT
19925
19924
  int __pyx_lineno = 0;
19926
19925
  const char *__pyx_filename = NULL;
19927
19926
  int __pyx_clineno = 0;
19928
- __Pyx_RefNannySetupContext("decode_array", 0);
19927
+ __Pyx_RefNannySetupContext("decode_array", 1);
19929
19928
 
19930
19929
  /* "biotite/structure/io/mmtf/decode.pyx":27
19931
19930
  * cdef np.ndarray array
@@ -21746,8 +21745,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
21746
21745
  #if CYTHON_ASSUME_SAFE_MACROS
21747
21746
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
21748
21747
  #else
21749
- __pyx_nargs = PyTuple_Size(__pyx_args);
21750
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 97, __pyx_L3_error)
21748
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
21751
21749
  #endif
21752
21750
  #endif
21753
21751
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -21782,10 +21780,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
21782
21780
  }
21783
21781
  __pyx_v_array = ((PyArrayObject *)values[0]);
21784
21782
  }
21785
- goto __pyx_L4_argument_unpacking_done;
21783
+ goto __pyx_L6_skip;
21786
21784
  __pyx_L5_argtuple_error:;
21787
21785
  __Pyx_RaiseArgtupleInvalid("_decode_delta", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 97, __pyx_L3_error)
21788
- goto __pyx_L3_error;
21786
+ __pyx_L6_skip:;
21787
+ goto __pyx_L4_argument_unpacking_done;
21789
21788
  __pyx_L3_error:;
21790
21789
  {
21791
21790
  Py_ssize_t __pyx_temp;
@@ -21826,7 +21825,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_2_decode_delta(C
21826
21825
  int __pyx_lineno = 0;
21827
21826
  const char *__pyx_filename = NULL;
21828
21827
  int __pyx_clineno = 0;
21829
- __Pyx_RefNannySetupContext("_decode_delta", 0);
21828
+ __Pyx_RefNannySetupContext("_decode_delta", 1);
21830
21829
 
21831
21830
  /* "biotite/structure/io/mmtf/decode.pyx":98
21832
21831
  *
@@ -21927,8 +21926,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
21927
21926
  #if CYTHON_ASSUME_SAFE_MACROS
21928
21927
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
21929
21928
  #else
21930
- __pyx_nargs = PyTuple_Size(__pyx_args);
21931
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 101, __pyx_L3_error)
21929
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
21932
21930
  #endif
21933
21931
  #endif
21934
21932
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -21963,10 +21961,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
21963
21961
  }
21964
21962
  __pyx_v_array = __Pyx_PyObject_to_MemoryviewSlice_ds_nn___pyx_t_7biotite_9structure_2io_4mmtf_6decode_int32(values[0], PyBUF_WRITABLE); if (unlikely(!__pyx_v_array.memview)) __PYX_ERR(0, 101, __pyx_L3_error)
21965
21963
  }
21966
- goto __pyx_L4_argument_unpacking_done;
21964
+ goto __pyx_L6_skip;
21967
21965
  __pyx_L5_argtuple_error:;
21968
21966
  __Pyx_RaiseArgtupleInvalid("_decode_run_length", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 101, __pyx_L3_error)
21969
- goto __pyx_L3_error;
21967
+ __pyx_L6_skip:;
21968
+ goto __pyx_L4_argument_unpacking_done;
21970
21969
  __pyx_L3_error:;
21971
21970
  {
21972
21971
  Py_ssize_t __pyx_temp;
@@ -22016,7 +22015,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_4_decode_run_len
22016
22015
  int __pyx_lineno = 0;
22017
22016
  const char *__pyx_filename = NULL;
22018
22017
  int __pyx_clineno = 0;
22019
- __Pyx_RefNannySetupContext("_decode_run_length", 0);
22018
+ __Pyx_RefNannySetupContext("_decode_run_length", 1);
22020
22019
 
22021
22020
  /* "biotite/structure/io/mmtf/decode.pyx":102
22022
22021
  *
@@ -22308,8 +22307,7 @@ static PyObject *__pyx_pw_7biotite_9structure_2io_4mmtf_6decode_7_decode_packed(
22308
22307
  #if CYTHON_ASSUME_SAFE_MACROS
22309
22308
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
22310
22309
  #else
22311
- __pyx_nargs = PyTuple_Size(__pyx_args);
22312
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 122, __pyx_L3_error)
22310
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
22313
22311
  #endif
22314
22312
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
22315
22313
  {
@@ -22401,10 +22399,11 @@ static PyObject *__pyx_pw_7biotite_9structure_2io_4mmtf_6decode_7_decode_packed(
22401
22399
  __pyx_v_defaults = values[3];
22402
22400
  __pyx_v__fused_sigindex = values[4];
22403
22401
  }
22404
- goto __pyx_L4_argument_unpacking_done;
22402
+ goto __pyx_L6_skip;
22405
22403
  __pyx_L5_argtuple_error:;
22406
22404
  __Pyx_RaiseArgtupleInvalid("__pyx_fused_cpdef", 0, 4, 5, __pyx_nargs); __PYX_ERR(0, 122, __pyx_L3_error)
22407
- goto __pyx_L3_error;
22405
+ __pyx_L6_skip:;
22406
+ goto __pyx_L4_argument_unpacking_done;
22408
22407
  __pyx_L3_error:;
22409
22408
  {
22410
22409
  Py_ssize_t __pyx_temp;
@@ -22431,7 +22430,6 @@ static PyObject *__pyx_pw_7biotite_9structure_2io_4mmtf_6decode_7_decode_packed(
22431
22430
 
22432
22431
  static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_signatures, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs, CYTHON_UNUSED PyObject *__pyx_v_defaults, PyObject *__pyx_v__fused_sigindex) {
22433
22432
  PyObject *__pyx_v_search_list = 0;
22434
- PyObject *__pyx_v_sn = 0;
22435
22433
  PyObject *__pyx_v_sigindex_node = 0;
22436
22434
  PyObject *__pyx_v_dest_sig = NULL;
22437
22435
  PyTypeObject *__pyx_v_ndarray = 0;
@@ -22439,9 +22437,9 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
22439
22437
  __Pyx_memviewslice __pyx_v_memslice;
22440
22438
  Py_ssize_t __pyx_v_itemsize;
22441
22439
  int __pyx_v_dtype_signed;
22442
- char __pyx_v_kind;
22443
- int __pyx_v____pyx_int8_is_signed;
22444
- int __pyx_v____pyx_int16_is_signed;
22440
+ Py_UCS4 __pyx_v_kind;
22441
+ int __pyx_v___pyx_fused_dtype_int8_is_signed;
22442
+ int __pyx_v___pyx_fused_dtype_int16_is_signed;
22445
22443
  PyObject *__pyx_v_arg = NULL;
22446
22444
  PyObject *__pyx_v_dtype = NULL;
22447
22445
  PyObject *__pyx_v_arg_base = NULL;
@@ -22454,6 +22452,8 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
22454
22452
  PyObject *__pyx_v_dst_type = NULL;
22455
22453
  PyObject *__pyx_v_found_matches = NULL;
22456
22454
  PyObject *__pyx_v_found_candidates = NULL;
22455
+ PyObject *__pyx_v_sn = NULL;
22456
+ PyObject *__pyx_v_type_match = NULL;
22457
22457
  PyObject *__pyx_v_candidates = NULL;
22458
22458
  PyObject *__pyx_r = NULL;
22459
22459
  __Pyx_RefNannyDeclarations
@@ -22507,8 +22507,8 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
22507
22507
  __pyx_v_ndarray = ((PyTypeObject*)__pyx_t_1);
22508
22508
  __pyx_t_1 = 0;
22509
22509
  __pyx_v_itemsize = -1L;
22510
- __pyx_v____pyx_int8_is_signed = (!(((__pyx_t_7biotite_9structure_2io_4mmtf_6decode_int8)-1L) > 0));
22511
- __pyx_v____pyx_int16_is_signed = (!(((__pyx_t_7biotite_9structure_2io_4mmtf_6decode_int16)-1L) > 0));
22510
+ __pyx_v___pyx_fused_dtype_int8_is_signed = (!(((__pyx_t_7biotite_9structure_2io_4mmtf_6decode_int8)-1L) > 0));
22511
+ __pyx_v___pyx_fused_dtype_int16_is_signed = (!(((__pyx_t_7biotite_9structure_2io_4mmtf_6decode_int16)-1L) > 0));
22512
22512
  if (unlikely(__pyx_v_args == Py_None)) {
22513
22513
  PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
22514
22514
  __PYX_ERR(0, 122, __pyx_L1_error)
@@ -22630,10 +22630,10 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
22630
22630
  __pyx_t_7 = __Pyx_PyObject_Ord(__pyx_t_6); if (unlikely(__pyx_t_7 == ((long)(long)(Py_UCS4)-1))) __PYX_ERR(0, 122, __pyx_L1_error)
22631
22631
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
22632
22632
  __pyx_v_kind = __pyx_t_7;
22633
- __pyx_v_dtype_signed = (__pyx_v_kind == 'i');
22633
+ __pyx_v_dtype_signed = (__pyx_v_kind == 0x69);
22634
22634
  switch (__pyx_v_kind) {
22635
- case 'i':
22636
- case 'u':
22635
+ case 0x69:
22636
+ case 0x75:
22637
22637
  __pyx_t_4 = ((sizeof(__pyx_t_7biotite_9structure_2io_4mmtf_6decode_int8)) == __pyx_v_itemsize);
22638
22638
  if (__pyx_t_4) {
22639
22639
  } else {
@@ -22650,7 +22650,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
22650
22650
  __pyx_t_2 = __pyx_t_4;
22651
22651
  goto __pyx_L16_bool_binop_done;
22652
22652
  }
22653
- __pyx_t_4 = (!(__pyx_v____pyx_int8_is_signed ^ __pyx_v_dtype_signed));
22653
+ __pyx_t_4 = (!(__pyx_v___pyx_fused_dtype_int8_is_signed ^ __pyx_v_dtype_signed));
22654
22654
  __pyx_t_2 = __pyx_t_4;
22655
22655
  __pyx_L16_bool_binop_done:;
22656
22656
  if (__pyx_t_2) {
@@ -22673,7 +22673,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
22673
22673
  __pyx_t_2 = __pyx_t_4;
22674
22674
  goto __pyx_L20_bool_binop_done;
22675
22675
  }
22676
- __pyx_t_4 = (!(__pyx_v____pyx_int16_is_signed ^ __pyx_v_dtype_signed));
22676
+ __pyx_t_4 = (!(__pyx_v___pyx_fused_dtype_int16_is_signed ^ __pyx_v_dtype_signed));
22677
22677
  __pyx_t_2 = __pyx_t_4;
22678
22678
  __pyx_L20_bool_binop_done:;
22679
22679
  if (__pyx_t_2) {
@@ -22681,11 +22681,11 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
22681
22681
  goto __pyx_L10_break;
22682
22682
  }
22683
22683
  break;
22684
- case 'f':
22684
+ case 0x66:
22685
22685
  break;
22686
- case 'c':
22686
+ case 99:
22687
22687
  break;
22688
- case 'O':
22688
+ case 79:
22689
22689
  break;
22690
22690
  default: break;
22691
22691
  }
@@ -22846,7 +22846,6 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
22846
22846
  __Pyx_GOTREF(__pyx_t_1);
22847
22847
  __Pyx_XDECREF_SET(__pyx_v_sig, __pyx_t_1);
22848
22848
  __pyx_t_1 = 0;
22849
- if (!(likely(PyDict_CheckExact(__pyx_v__fused_sigindex))||((__pyx_v__fused_sigindex) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_v__fused_sigindex))) __PYX_ERR(0, 122, __pyx_L1_error)
22850
22849
  __pyx_t_1 = __pyx_v__fused_sigindex;
22851
22850
  __Pyx_INCREF(__pyx_t_1);
22852
22851
  __Pyx_XDECREF_SET(__pyx_v_sigindex_node, ((PyObject*)__pyx_t_1));
@@ -22926,13 +22925,20 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
22926
22925
  __pyx_t_16 = 0;
22927
22926
  __Pyx_XDECREF_SET(__pyx_v_last_type, __pyx_t_6);
22928
22927
  __pyx_t_6 = 0;
22929
- __pyx_t_1 = __pyx_v_sig_series; __Pyx_INCREF(__pyx_t_1); __pyx_t_18 = 0;
22928
+ __pyx_t_1 = __pyx_v_sig_series; __Pyx_INCREF(__pyx_t_1);
22929
+ __pyx_t_18 = 0;
22930
22930
  for (;;) {
22931
- if (__pyx_t_18 >= PyList_GET_SIZE(__pyx_t_1)) break;
22931
+ {
22932
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_1);
22933
+ #if !CYTHON_ASSUME_SAFE_MACROS
22934
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
22935
+ #endif
22936
+ if (__pyx_t_18 >= __pyx_temp) break;
22937
+ }
22932
22938
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
22933
22939
  __pyx_t_6 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_18); __Pyx_INCREF(__pyx_t_6); __pyx_t_18++; if (unlikely((0 < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
22934
22940
  #else
22935
- __pyx_t_6 = PySequence_ITEM(__pyx_t_1, __pyx_t_18); __pyx_t_18++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 122, __pyx_L1_error)
22941
+ __pyx_t_6 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_18); __pyx_t_18++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 122, __pyx_L1_error)
22936
22942
  __Pyx_GOTREF(__pyx_t_6);
22937
22943
  #endif
22938
22944
  __Pyx_XDECREF_SET(__pyx_v_sig_type, __pyx_t_6);
@@ -22962,9 +22968,11 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
22962
22968
  }
22963
22969
  __pyx_t_6 = __Pyx_PyDict_GetItem(__pyx_v_sigindex_node, __pyx_v_sig_type); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 122, __pyx_L1_error)
22964
22970
  __Pyx_GOTREF(__pyx_t_6);
22965
- if (!(likely(PyDict_CheckExact(__pyx_t_6))||((__pyx_t_6) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_6))) __PYX_ERR(0, 122, __pyx_L1_error)
22966
- __Pyx_DECREF_SET(__pyx_v_sigindex_node, ((PyObject*)__pyx_t_6));
22967
- __pyx_t_6 = 0;
22971
+ __pyx_t_16 = __pyx_t_6;
22972
+ __Pyx_INCREF(__pyx_t_16);
22973
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
22974
+ __Pyx_DECREF_SET(__pyx_v_sigindex_node, ((PyObject*)__pyx_t_16));
22975
+ __pyx_t_16 = 0;
22968
22976
  }
22969
22977
  __pyx_L51:;
22970
22978
  }
@@ -22988,13 +22996,20 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
22988
22996
  if (__Pyx_PyList_SET_ITEM(__pyx_t_13, 0, __pyx_v__fused_sigindex)) __PYX_ERR(0, 122, __pyx_L1_error);
22989
22997
  __pyx_v_sigindex_candidates = ((PyObject*)__pyx_t_13);
22990
22998
  __pyx_t_13 = 0;
22991
- __pyx_t_13 = __pyx_v_dest_sig; __Pyx_INCREF(__pyx_t_13); __pyx_t_14 = 0;
22999
+ __pyx_t_13 = __pyx_v_dest_sig; __Pyx_INCREF(__pyx_t_13);
23000
+ __pyx_t_14 = 0;
22992
23001
  for (;;) {
22993
- if (__pyx_t_14 >= PyList_GET_SIZE(__pyx_t_13)) break;
23002
+ {
23003
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_13);
23004
+ #if !CYTHON_ASSUME_SAFE_MACROS
23005
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
23006
+ #endif
23007
+ if (__pyx_t_14 >= __pyx_temp) break;
23008
+ }
22994
23009
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
22995
23010
  __pyx_t_1 = PyList_GET_ITEM(__pyx_t_13, __pyx_t_14); __Pyx_INCREF(__pyx_t_1); __pyx_t_14++; if (unlikely((0 < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
22996
23011
  #else
22997
- __pyx_t_1 = PySequence_ITEM(__pyx_t_13, __pyx_t_14); __pyx_t_14++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 122, __pyx_L1_error)
23012
+ __pyx_t_1 = __Pyx_PySequence_ITEM(__pyx_t_13, __pyx_t_14); __pyx_t_14++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 122, __pyx_L1_error)
22998
23013
  __Pyx_GOTREF(__pyx_t_1);
22999
23014
  #endif
23000
23015
  __Pyx_XDECREF_SET(__pyx_v_dst_type, __pyx_t_1);
@@ -23009,48 +23024,60 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
23009
23024
  __pyx_t_1 = 0;
23010
23025
  __pyx_t_4 = (__pyx_v_dst_type == Py_None);
23011
23026
  if (__pyx_t_4) {
23012
- __pyx_t_1 = __pyx_v_sigindex_matches; __Pyx_INCREF(__pyx_t_1); __pyx_t_5 = 0;
23027
+ __pyx_t_1 = __pyx_v_sigindex_matches; __Pyx_INCREF(__pyx_t_1);
23028
+ __pyx_t_5 = 0;
23013
23029
  for (;;) {
23014
- if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_1)) break;
23030
+ {
23031
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_1);
23032
+ #if !CYTHON_ASSUME_SAFE_MACROS
23033
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
23034
+ #endif
23035
+ if (__pyx_t_5 >= __pyx_temp) break;
23036
+ }
23015
23037
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
23016
- __pyx_t_6 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_5); __Pyx_INCREF(__pyx_t_6); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
23038
+ __pyx_t_16 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_5); __Pyx_INCREF(__pyx_t_16); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
23017
23039
  #else
23018
- __pyx_t_6 = PySequence_ITEM(__pyx_t_1, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 122, __pyx_L1_error)
23019
- __Pyx_GOTREF(__pyx_t_6);
23040
+ __pyx_t_16 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 122, __pyx_L1_error)
23041
+ __Pyx_GOTREF(__pyx_t_16);
23020
23042
  #endif
23021
- if (!(likely(PyDict_CheckExact(__pyx_t_6))||((__pyx_t_6) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_6))) __PYX_ERR(0, 122, __pyx_L1_error)
23022
- __Pyx_XDECREF_SET(__pyx_v_sn, ((PyObject*)__pyx_t_6));
23023
- __pyx_t_6 = 0;
23043
+ __Pyx_XDECREF_SET(__pyx_v_sn, __pyx_t_16);
23044
+ __pyx_t_16 = 0;
23024
23045
  if (unlikely(__pyx_v_sn == Py_None)) {
23025
23046
  PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "values");
23026
23047
  __PYX_ERR(0, 122, __pyx_L1_error)
23027
23048
  }
23028
- __pyx_t_6 = __Pyx_PyDict_Values(__pyx_v_sn); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 122, __pyx_L1_error)
23029
- __Pyx_GOTREF(__pyx_t_6);
23030
- __pyx_t_19 = __Pyx_PyList_Extend(__pyx_v_found_matches, __pyx_t_6); if (unlikely(__pyx_t_19 == ((int)-1))) __PYX_ERR(0, 122, __pyx_L1_error)
23031
- __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
23049
+ __pyx_t_16 = __Pyx_PyDict_Values(((PyObject*)__pyx_v_sn)); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 122, __pyx_L1_error)
23050
+ __Pyx_GOTREF(__pyx_t_16);
23051
+ __pyx_t_19 = __Pyx_PyList_Extend(__pyx_v_found_matches, __pyx_t_16); if (unlikely(__pyx_t_19 == ((int)-1))) __PYX_ERR(0, 122, __pyx_L1_error)
23052
+ __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0;
23032
23053
  }
23033
23054
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23034
- __pyx_t_1 = __pyx_v_sigindex_candidates; __Pyx_INCREF(__pyx_t_1); __pyx_t_5 = 0;
23055
+ __pyx_t_1 = __pyx_v_sigindex_candidates; __Pyx_INCREF(__pyx_t_1);
23056
+ __pyx_t_5 = 0;
23035
23057
  for (;;) {
23036
- if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_1)) break;
23058
+ {
23059
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_1);
23060
+ #if !CYTHON_ASSUME_SAFE_MACROS
23061
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
23062
+ #endif
23063
+ if (__pyx_t_5 >= __pyx_temp) break;
23064
+ }
23037
23065
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
23038
- __pyx_t_6 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_5); __Pyx_INCREF(__pyx_t_6); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
23066
+ __pyx_t_16 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_5); __Pyx_INCREF(__pyx_t_16); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
23039
23067
  #else
23040
- __pyx_t_6 = PySequence_ITEM(__pyx_t_1, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 122, __pyx_L1_error)
23041
- __Pyx_GOTREF(__pyx_t_6);
23068
+ __pyx_t_16 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 122, __pyx_L1_error)
23069
+ __Pyx_GOTREF(__pyx_t_16);
23042
23070
  #endif
23043
- if (!(likely(PyDict_CheckExact(__pyx_t_6))||((__pyx_t_6) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_6))) __PYX_ERR(0, 122, __pyx_L1_error)
23044
- __Pyx_XDECREF_SET(__pyx_v_sn, ((PyObject*)__pyx_t_6));
23045
- __pyx_t_6 = 0;
23071
+ __Pyx_XDECREF_SET(__pyx_v_sn, __pyx_t_16);
23072
+ __pyx_t_16 = 0;
23046
23073
  if (unlikely(__pyx_v_sn == Py_None)) {
23047
23074
  PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "values");
23048
23075
  __PYX_ERR(0, 122, __pyx_L1_error)
23049
23076
  }
23050
- __pyx_t_6 = __Pyx_PyDict_Values(__pyx_v_sn); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 122, __pyx_L1_error)
23051
- __Pyx_GOTREF(__pyx_t_6);
23052
- __pyx_t_19 = __Pyx_PyList_Extend(__pyx_v_found_candidates, __pyx_t_6); if (unlikely(__pyx_t_19 == ((int)-1))) __PYX_ERR(0, 122, __pyx_L1_error)
23053
- __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
23077
+ __pyx_t_16 = __Pyx_PyDict_Values(((PyObject*)__pyx_v_sn)); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 122, __pyx_L1_error)
23078
+ __Pyx_GOTREF(__pyx_t_16);
23079
+ __pyx_t_19 = __Pyx_PyList_Extend(__pyx_v_found_candidates, __pyx_t_16); if (unlikely(__pyx_t_19 == ((int)-1))) __PYX_ERR(0, 122, __pyx_L1_error)
23080
+ __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0;
23054
23081
  }
23055
23082
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23056
23083
  goto __pyx_L55;
@@ -23064,14 +23091,15 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
23064
23091
  __Pyx_INCREF(__pyx_v_sigindex_candidates);
23065
23092
  __Pyx_GIVEREF(__pyx_v_sigindex_candidates);
23066
23093
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_sigindex_candidates)) __PYX_ERR(0, 122, __pyx_L1_error);
23067
- __pyx_t_6 = __pyx_t_1; __Pyx_INCREF(__pyx_t_6); __pyx_t_5 = 0;
23094
+ __pyx_t_16 = __pyx_t_1; __Pyx_INCREF(__pyx_t_16);
23095
+ __pyx_t_5 = 0;
23068
23096
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23069
23097
  for (;;) {
23070
23098
  if (__pyx_t_5 >= 2) break;
23071
23099
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
23072
- __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
23100
+ __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_16, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
23073
23101
  #else
23074
- __pyx_t_1 = PySequence_ITEM(__pyx_t_6, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 122, __pyx_L1_error)
23102
+ __pyx_t_1 = __Pyx_PySequence_ITEM(__pyx_t_16, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 122, __pyx_L1_error)
23075
23103
  __Pyx_GOTREF(__pyx_t_1);
23076
23104
  #endif
23077
23105
  __Pyx_XDECREF_SET(__pyx_v_search_list, ((PyObject*)__pyx_t_1));
@@ -23080,37 +23108,40 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
23080
23108
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
23081
23109
  __PYX_ERR(0, 122, __pyx_L1_error)
23082
23110
  }
23083
- __pyx_t_1 = __pyx_v_search_list; __Pyx_INCREF(__pyx_t_1); __pyx_t_18 = 0;
23111
+ __pyx_t_1 = __pyx_v_search_list; __Pyx_INCREF(__pyx_t_1);
23112
+ __pyx_t_18 = 0;
23084
23113
  for (;;) {
23085
- if (__pyx_t_18 >= PyList_GET_SIZE(__pyx_t_1)) break;
23114
+ {
23115
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_1);
23116
+ #if !CYTHON_ASSUME_SAFE_MACROS
23117
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
23118
+ #endif
23119
+ if (__pyx_t_18 >= __pyx_temp) break;
23120
+ }
23086
23121
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
23087
- __pyx_t_16 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_18); __Pyx_INCREF(__pyx_t_16); __pyx_t_18++; if (unlikely((0 < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
23122
+ __pyx_t_6 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_18); __Pyx_INCREF(__pyx_t_6); __pyx_t_18++; if (unlikely((0 < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
23088
23123
  #else
23089
- __pyx_t_16 = PySequence_ITEM(__pyx_t_1, __pyx_t_18); __pyx_t_18++; if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 122, __pyx_L1_error)
23090
- __Pyx_GOTREF(__pyx_t_16);
23124
+ __pyx_t_6 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_18); __pyx_t_18++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 122, __pyx_L1_error)
23125
+ __Pyx_GOTREF(__pyx_t_6);
23091
23126
  #endif
23092
- if (!(likely(PyDict_CheckExact(__pyx_t_16))||((__pyx_t_16) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_16))) __PYX_ERR(0, 122, __pyx_L1_error)
23093
- __Pyx_XDECREF_SET(__pyx_v_sn, ((PyObject*)__pyx_t_16));
23094
- __pyx_t_16 = 0;
23127
+ __Pyx_XDECREF_SET(__pyx_v_sn, __pyx_t_6);
23128
+ __pyx_t_6 = 0;
23095
23129
  if (unlikely(__pyx_v_sn == Py_None)) {
23096
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
23130
+ PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get");
23097
23131
  __PYX_ERR(0, 122, __pyx_L1_error)
23098
23132
  }
23099
- __pyx_t_4 = (__Pyx_PyDict_ContainsTF(__pyx_v_dst_type, __pyx_v_sn, Py_EQ)); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 122, __pyx_L1_error)
23133
+ __pyx_t_6 = __Pyx_PyDict_GetItemDefault(((PyObject*)__pyx_v_sn), __pyx_v_dst_type, Py_None); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 122, __pyx_L1_error)
23134
+ __Pyx_GOTREF(__pyx_t_6);
23135
+ __Pyx_XDECREF_SET(__pyx_v_type_match, __pyx_t_6);
23136
+ __pyx_t_6 = 0;
23137
+ __pyx_t_4 = (__pyx_v_type_match != Py_None);
23100
23138
  if (__pyx_t_4) {
23101
- if (unlikely(__pyx_v_sn == Py_None)) {
23102
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
23103
- __PYX_ERR(0, 122, __pyx_L1_error)
23104
- }
23105
- __pyx_t_16 = __Pyx_PyDict_GetItem(__pyx_v_sn, __pyx_v_dst_type); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 122, __pyx_L1_error)
23106
- __Pyx_GOTREF(__pyx_t_16);
23107
- __pyx_t_19 = __Pyx_PyList_Append(__pyx_v_found_matches, __pyx_t_16); if (unlikely(__pyx_t_19 == ((int)-1))) __PYX_ERR(0, 122, __pyx_L1_error)
23108
- __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0;
23139
+ __pyx_t_19 = __Pyx_PyList_Append(__pyx_v_found_matches, __pyx_v_type_match); if (unlikely(__pyx_t_19 == ((int)-1))) __PYX_ERR(0, 122, __pyx_L1_error)
23109
23140
  }
23110
23141
  }
23111
23142
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23112
23143
  }
23113
- __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
23144
+ __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0;
23114
23145
  }
23115
23146
  __pyx_L55:;
23116
23147
  __Pyx_INCREF(__pyx_v_found_matches);
@@ -23165,11 +23196,11 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
23165
23196
  }
23166
23197
  __pyx_t_13 = __Pyx_GetItemInt_List(__pyx_v_candidates, 0, long, 1, __Pyx_PyInt_From_long, 1, 0, 1); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 122, __pyx_L1_error)
23167
23198
  __Pyx_GOTREF(__pyx_t_13);
23168
- __pyx_t_6 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_signatures), __pyx_t_13); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 122, __pyx_L1_error)
23169
- __Pyx_GOTREF(__pyx_t_6);
23199
+ __pyx_t_16 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_signatures), __pyx_t_13); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 122, __pyx_L1_error)
23200
+ __Pyx_GOTREF(__pyx_t_16);
23170
23201
  __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
23171
- __pyx_r = __pyx_t_6;
23172
- __pyx_t_6 = 0;
23202
+ __pyx_r = __pyx_t_16;
23203
+ __pyx_t_16 = 0;
23173
23204
  goto __pyx_L0;
23174
23205
  }
23175
23206
 
@@ -23184,7 +23215,6 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
23184
23215
  __pyx_r = NULL;
23185
23216
  __pyx_L0:;
23186
23217
  __Pyx_XDECREF(__pyx_v_search_list);
23187
- __Pyx_XDECREF(__pyx_v_sn);
23188
23218
  __Pyx_XDECREF(__pyx_v_sigindex_node);
23189
23219
  __Pyx_XDECREF(__pyx_v_dest_sig);
23190
23220
  __Pyx_XDECREF((PyObject *)__pyx_v_ndarray);
@@ -23201,6 +23231,8 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_6_decode_packed(
23201
23231
  __Pyx_XDECREF(__pyx_v_dst_type);
23202
23232
  __Pyx_XDECREF(__pyx_v_found_matches);
23203
23233
  __Pyx_XDECREF(__pyx_v_found_candidates);
23234
+ __Pyx_XDECREF(__pyx_v_sn);
23235
+ __Pyx_XDECREF(__pyx_v_type_match);
23204
23236
  __Pyx_XDECREF(__pyx_v_candidates);
23205
23237
  __Pyx_XDECREF(__pyx_v_kwargs);
23206
23238
  __Pyx_XGIVEREF(__pyx_r);
@@ -23225,8 +23257,7 @@ static PyObject *__pyx_fuse_0__pyx_pw_7biotite_9structure_2io_4mmtf_6decode_11_d
23225
23257
  #if CYTHON_ASSUME_SAFE_MACROS
23226
23258
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
23227
23259
  #else
23228
- __pyx_nargs = PyTuple_Size(__pyx_args);
23229
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 122, __pyx_L3_error)
23260
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
23230
23261
  #endif
23231
23262
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
23232
23263
  {
@@ -23260,10 +23291,11 @@ static PyObject *__pyx_fuse_0__pyx_pw_7biotite_9structure_2io_4mmtf_6decode_11_d
23260
23291
  }
23261
23292
  __pyx_v_array = __Pyx_PyObject_to_MemoryviewSlice_ds_nn___pyx_t_7biotite_9structure_2io_4mmtf_6decode_int8(values[0], PyBUF_WRITABLE); if (unlikely(!__pyx_v_array.memview)) __PYX_ERR(0, 122, __pyx_L3_error)
23262
23293
  }
23263
- goto __pyx_L4_argument_unpacking_done;
23294
+ goto __pyx_L6_skip;
23264
23295
  __pyx_L5_argtuple_error:;
23265
23296
  __Pyx_RaiseArgtupleInvalid("_decode_packed", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 122, __pyx_L3_error)
23266
- goto __pyx_L3_error;
23297
+ __pyx_L6_skip:;
23298
+ goto __pyx_L4_argument_unpacking_done;
23267
23299
  __pyx_L3_error:;
23268
23300
  {
23269
23301
  Py_ssize_t __pyx_temp;
@@ -23316,7 +23348,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_10_decode_packed
23316
23348
  int __pyx_lineno = 0;
23317
23349
  const char *__pyx_filename = NULL;
23318
23350
  int __pyx_clineno = 0;
23319
- __Pyx_RefNannySetupContext("__pyx_fuse_0_decode_packed", 0);
23351
+ __Pyx_RefNannySetupContext("__pyx_fuse_0_decode_packed", 1);
23320
23352
 
23321
23353
  /* "biotite/structure/io/mmtf/decode.pyx":125
23322
23354
  * cdef int min_val, max_val
@@ -23694,8 +23726,7 @@ static PyObject *__pyx_fuse_1__pyx_pw_7biotite_9structure_2io_4mmtf_6decode_13_d
23694
23726
  #if CYTHON_ASSUME_SAFE_MACROS
23695
23727
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
23696
23728
  #else
23697
- __pyx_nargs = PyTuple_Size(__pyx_args);
23698
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 122, __pyx_L3_error)
23729
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
23699
23730
  #endif
23700
23731
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
23701
23732
  {
@@ -23729,10 +23760,11 @@ static PyObject *__pyx_fuse_1__pyx_pw_7biotite_9structure_2io_4mmtf_6decode_13_d
23729
23760
  }
23730
23761
  __pyx_v_array = __Pyx_PyObject_to_MemoryviewSlice_ds_nn___pyx_t_7biotite_9structure_2io_4mmtf_6decode_int16(values[0], PyBUF_WRITABLE); if (unlikely(!__pyx_v_array.memview)) __PYX_ERR(0, 122, __pyx_L3_error)
23731
23762
  }
23732
- goto __pyx_L4_argument_unpacking_done;
23763
+ goto __pyx_L6_skip;
23733
23764
  __pyx_L5_argtuple_error:;
23734
23765
  __Pyx_RaiseArgtupleInvalid("_decode_packed", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 122, __pyx_L3_error)
23735
- goto __pyx_L3_error;
23766
+ __pyx_L6_skip:;
23767
+ goto __pyx_L4_argument_unpacking_done;
23736
23768
  __pyx_L3_error:;
23737
23769
  {
23738
23770
  Py_ssize_t __pyx_temp;
@@ -23785,7 +23817,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_12_decode_packed
23785
23817
  int __pyx_lineno = 0;
23786
23818
  const char *__pyx_filename = NULL;
23787
23819
  int __pyx_clineno = 0;
23788
- __Pyx_RefNannySetupContext("__pyx_fuse_1_decode_packed", 0);
23820
+ __Pyx_RefNannySetupContext("__pyx_fuse_1_decode_packed", 1);
23789
23821
 
23790
23822
  /* "biotite/structure/io/mmtf/decode.pyx":128
23791
23823
  * max_val = np.iinfo(np.int8).max
@@ -24186,8 +24218,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
24186
24218
  #if CYTHON_ASSUME_SAFE_MACROS
24187
24219
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
24188
24220
  #else
24189
- __pyx_nargs = PyTuple_Size(__pyx_args);
24190
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 151, __pyx_L3_error)
24221
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
24191
24222
  #endif
24192
24223
  #endif
24193
24224
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -24236,10 +24267,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
24236
24267
  __pyx_v_divisor = __Pyx_PyInt_As_int(values[0]); if (unlikely((__pyx_v_divisor == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 151, __pyx_L3_error)
24237
24268
  __pyx_v_array = ((PyArrayObject *)values[1]);
24238
24269
  }
24239
- goto __pyx_L4_argument_unpacking_done;
24270
+ goto __pyx_L6_skip;
24240
24271
  __pyx_L5_argtuple_error:;
24241
24272
  __Pyx_RaiseArgtupleInvalid("_decode_integer", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 151, __pyx_L3_error)
24242
- goto __pyx_L3_error;
24273
+ __pyx_L6_skip:;
24274
+ goto __pyx_L4_argument_unpacking_done;
24243
24275
  __pyx_L3_error:;
24244
24276
  {
24245
24277
  Py_ssize_t __pyx_temp;
@@ -24280,7 +24312,7 @@ static PyObject *__pyx_pf_7biotite_9structure_2io_4mmtf_6decode_8_decode_integer
24280
24312
  int __pyx_lineno = 0;
24281
24313
  const char *__pyx_filename = NULL;
24282
24314
  int __pyx_clineno = 0;
24283
- __Pyx_RefNannySetupContext("_decode_integer", 0);
24315
+ __Pyx_RefNannySetupContext("_decode_integer", 1);
24284
24316
 
24285
24317
  /* "biotite/structure/io/mmtf/decode.pyx":152
24286
24318
  *
@@ -25405,6 +25437,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
25405
25437
  {&__pyx_n_s_frombuffer, __pyx_k_frombuffer, sizeof(__pyx_k_frombuffer), 0, 0, 1, 1},
25406
25438
  {&__pyx_n_s_fused_sigindex, __pyx_k_fused_sigindex, sizeof(__pyx_k_fused_sigindex), 0, 0, 1, 1},
25407
25439
  {&__pyx_kp_u_gc, __pyx_k_gc, sizeof(__pyx_k_gc), 0, 1, 0, 0},
25440
+ {&__pyx_n_s_get, __pyx_k_get, sizeof(__pyx_k_get), 0, 0, 1, 1},
25408
25441
  {&__pyx_n_s_getstate, __pyx_k_getstate, sizeof(__pyx_k_getstate), 0, 0, 1, 1},
25409
25442
  {&__pyx_kp_u_got, __pyx_k_got, sizeof(__pyx_k_got), 0, 1, 0, 0},
25410
25443
  {&__pyx_kp_u_got_differing_extents_in_dimensi, __pyx_k_got_differing_extents_in_dimensi, sizeof(__pyx_k_got_differing_extents_in_dimensi), 0, 1, 0, 0},
@@ -25555,7 +25588,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
25555
25588
  __Pyx_GOTREF(__pyx_tuple__8);
25556
25589
  __Pyx_GIVEREF(__pyx_tuple__8);
25557
25590
 
25558
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":987
25591
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":987
25559
25592
  * __pyx_import_array()
25560
25593
  * except Exception:
25561
25594
  * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@@ -25566,7 +25599,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
25566
25599
  __Pyx_GOTREF(__pyx_tuple__9);
25567
25600
  __Pyx_GIVEREF(__pyx_tuple__9);
25568
25601
 
25569
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-yc6ddgsr/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":993
25602
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-teuzpiwx/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":993
25570
25603
  * _import_umath()
25571
25604
  * except Exception:
25572
25605
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -25770,6 +25803,8 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
25770
25803
  /* #### Code section: init_constants ### */
25771
25804
 
25772
25805
  static CYTHON_SMALL_CODE int __Pyx_InitConstants(void) {
25806
+ __pyx_umethod_PyDict_Type_get.type = (PyObject*)&PyDict_Type;
25807
+ __pyx_umethod_PyDict_Type_get.method_name = &__pyx_n_s_get;
25773
25808
  __pyx_umethod_PyDict_Type_values.type = (PyObject*)&PyDict_Type;
25774
25809
  __pyx_umethod_PyDict_Type_values.method_name = &__pyx_n_s_values;
25775
25810
  if (__Pyx_CreateStringTabAndInitStrings() < 0) __PYX_ERR(0, 1, __pyx_L1_error);
@@ -26021,33 +26056,33 @@ static int __Pyx_modinit_type_import_code(void) {
26021
26056
  /*--- Type import code ---*/
26022
26057
  __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 9, __pyx_L1_error)
26023
26058
  __Pyx_GOTREF(__pyx_t_1);
26024
- __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_2(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
26059
+ __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_10(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
26025
26060
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
26026
- sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyTypeObject),
26061
+ sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
26027
26062
  #elif CYTHON_COMPILING_IN_LIMITED_API
26028
- sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyTypeObject),
26063
+ sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
26029
26064
  #else
26030
- sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyHeapTypeObject),
26065
+ sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyHeapTypeObject),
26031
26066
  #endif
26032
- __Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
26067
+ __Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
26033
26068
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
26034
26069
  __pyx_t_1 = PyImport_ImportModule("numpy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 203, __pyx_L1_error)
26035
26070
  __Pyx_GOTREF(__pyx_t_1);
26036
- __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)
26037
- __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)
26038
- __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)
26039
- __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)
26040
- __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)
26041
- __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)
26042
- __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)
26043
- __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)
26044
- __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)
26045
- __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)
26046
- __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)
26047
- __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)
26048
- __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)
26049
- __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)
26050
- __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)
26071
+ __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)
26072
+ __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)
26073
+ __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)
26074
+ __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)
26075
+ __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)
26076
+ __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)
26077
+ __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)
26078
+ __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)
26079
+ __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)
26080
+ __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)
26081
+ __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)
26082
+ __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)
26083
+ __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)
26084
+ __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)
26085
+ __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)
26051
26086
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
26052
26087
  __Pyx_RefNannyFinishContext();
26053
26088
  return 0;
@@ -26267,7 +26302,7 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_decode(PyObject *__pyx_pyinit_modu
26267
26302
  __pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
26268
26303
  {
26269
26304
  int add_module_result = PyState_AddModule(__pyx_t_1, &__pyx_moduledef);
26270
- __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to decode pseudovariable */
26305
+ __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "decode" pseudovariable */
26271
26306
  if (unlikely((add_module_result < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
26272
26307
  pystate_addmodule_run = 1;
26273
26308
  }
@@ -26279,10 +26314,8 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_decode(PyObject *__pyx_pyinit_modu
26279
26314
  CYTHON_UNUSED_VAR(__pyx_t_1);
26280
26315
  __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
26281
26316
  Py_INCREF(__pyx_d);
26282
- __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
26283
- Py_INCREF(__pyx_b);
26284
- __pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
26285
- Py_INCREF(__pyx_cython_runtime);
26317
+ __pyx_b = __Pyx_PyImport_AddModuleRef(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
26318
+ __pyx_cython_runtime = __Pyx_PyImport_AddModuleRef((const char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
26286
26319
  if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
26287
26320
  #if CYTHON_REFNANNY
26288
26321
  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
@@ -26294,7 +26327,7 @@ if (!__Pyx_RefNanny) {
26294
26327
  }
26295
26328
  #endif
26296
26329
  __Pyx_RefNannySetupContext("__Pyx_PyMODINIT_FUNC PyInit_decode(void)", 0);
26297
- if (__Pyx_check_binary_version() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
26330
+ 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)
26298
26331
  #ifdef __Pxy_PyFrame_Initialize_Offsets
26299
26332
  __Pxy_PyFrame_Initialize_Offsets();
26300
26333
  #endif
@@ -27136,6 +27169,8 @@ static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObjec
27136
27169
  tmp_value = tstate->current_exception;
27137
27170
  tstate->current_exception = value;
27138
27171
  Py_XDECREF(tmp_value);
27172
+ Py_XDECREF(type);
27173
+ Py_XDECREF(tb);
27139
27174
  #else
27140
27175
  PyObject *tmp_type, *tmp_value, *tmp_tb;
27141
27176
  tmp_type = tstate->curexc_type;
@@ -27193,14 +27228,20 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject
27193
27228
  #endif
27194
27229
 
27195
27230
  /* PyObjectGetAttrStrNoError */
27231
+ #if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
27196
27232
  static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) {
27197
27233
  __Pyx_PyThreadState_declare
27198
27234
  __Pyx_PyThreadState_assign
27199
27235
  if (likely(__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
27200
27236
  __Pyx_PyErr_Clear();
27201
27237
  }
27238
+ #endif
27202
27239
  static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name) {
27203
27240
  PyObject *result;
27241
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
27242
+ (void) PyObject_GetOptionalAttr(obj, attr_name, &result);
27243
+ return result;
27244
+ #else
27204
27245
  #if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_TYPE_SLOTS && PY_VERSION_HEX >= 0x030700B1
27205
27246
  PyTypeObject* tp = Py_TYPE(obj);
27206
27247
  if (likely(tp->tp_getattro == PyObject_GenericGetAttr)) {
@@ -27212,6 +27253,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, P
27212
27253
  __Pyx_PyObject_GetAttrStr_ClearAttributeError();
27213
27254
  }
27214
27255
  return result;
27256
+ #endif
27215
27257
  }
27216
27258
 
27217
27259
  /* GetBuiltinName */
@@ -27427,13 +27469,31 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO
27427
27469
  {
27428
27470
  int eq = __Pyx_PyUnicode_Equals(s, PyTuple_GET_ITEM(kwnames, i), Py_EQ);
27429
27471
  if (unlikely(eq != 0)) {
27430
- if (unlikely(eq < 0)) return NULL; // error
27472
+ if (unlikely(eq < 0)) return NULL;
27431
27473
  return kwvalues[i];
27432
27474
  }
27433
27475
  }
27434
- return NULL; // not found (no exception set)
27476
+ return NULL;
27477
+ }
27478
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
27479
+ CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) {
27480
+ Py_ssize_t i, nkwargs = PyTuple_GET_SIZE(kwnames);
27481
+ PyObject *dict;
27482
+ dict = PyDict_New();
27483
+ if (unlikely(!dict))
27484
+ return NULL;
27485
+ for (i=0; i<nkwargs; i++) {
27486
+ PyObject *key = PyTuple_GET_ITEM(kwnames, i);
27487
+ if (unlikely(PyDict_SetItem(dict, key, kwvalues[i]) < 0))
27488
+ goto bad;
27489
+ }
27490
+ return dict;
27491
+ bad:
27492
+ Py_DECREF(dict);
27493
+ return NULL;
27435
27494
  }
27436
27495
  #endif
27496
+ #endif
27437
27497
 
27438
27498
  /* RaiseArgTupleInvalid */
27439
27499
  static void __Pyx_RaiseArgtupleInvalid(
@@ -27526,7 +27586,7 @@ static int __Pyx_ParseOptionalKeywords(
27526
27586
  if (*name) {
27527
27587
  values[name-argnames] = value;
27528
27588
  #if CYTHON_AVOID_BORROWED_REFS
27529
- Py_INCREF(value); // transfer ownership of value to values
27589
+ Py_INCREF(value);
27530
27590
  Py_DECREF(key);
27531
27591
  #endif
27532
27592
  key = NULL;
@@ -27545,7 +27605,7 @@ static int __Pyx_ParseOptionalKeywords(
27545
27605
  && _PyString_Eq(**name, key)) {
27546
27606
  values[name-argnames] = value;
27547
27607
  #if CYTHON_AVOID_BORROWED_REFS
27548
- value = NULL; // ownership transferred to values
27608
+ value = NULL;
27549
27609
  #endif
27550
27610
  break;
27551
27611
  }
@@ -27577,7 +27637,7 @@ static int __Pyx_ParseOptionalKeywords(
27577
27637
  if (cmp == 0) {
27578
27638
  values[name-argnames] = value;
27579
27639
  #if CYTHON_AVOID_BORROWED_REFS
27580
- value = NULL; // ownership transferred to values
27640
+ value = NULL;
27581
27641
  #endif
27582
27642
  break;
27583
27643
  }
@@ -27864,9 +27924,15 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
27864
27924
  PyObject *result;
27865
27925
  assert(kwargs == NULL || PyDict_Check(kwargs));
27866
27926
  nk = kwargs ? PyDict_Size(kwargs) : 0;
27927
+ #if PY_MAJOR_VERSION < 3
27867
27928
  if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) {
27868
27929
  return NULL;
27869
27930
  }
27931
+ #else
27932
+ if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) {
27933
+ return NULL;
27934
+ }
27935
+ #endif
27870
27936
  if (
27871
27937
  #if PY_MAJOR_VERSION >= 3
27872
27938
  co->co_kwonlyargcount == 0 &&
@@ -27943,8 +28009,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
27943
28009
  ternaryfunc call = Py_TYPE(func)->tp_call;
27944
28010
  if (unlikely(!call))
27945
28011
  return PyObject_Call(func, arg, kw);
28012
+ #if PY_MAJOR_VERSION < 3
27946
28013
  if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
27947
28014
  return NULL;
28015
+ #else
28016
+ if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
28017
+ return NULL;
28018
+ #endif
27948
28019
  result = (*call)(func, arg, kw);
27949
28020
  Py_LeaveRecursiveCall();
27950
28021
  if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
@@ -27961,10 +28032,15 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
27961
28032
  static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
27962
28033
  PyObject *self, *result;
27963
28034
  PyCFunction cfunc;
27964
- cfunc = PyCFunction_GET_FUNCTION(func);
27965
- self = PyCFunction_GET_SELF(func);
28035
+ cfunc = __Pyx_CyOrPyCFunction_GET_FUNCTION(func);
28036
+ self = __Pyx_CyOrPyCFunction_GET_SELF(func);
28037
+ #if PY_MAJOR_VERSION < 3
27966
28038
  if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
27967
28039
  return NULL;
28040
+ #else
28041
+ if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
28042
+ return NULL;
28043
+ #endif
27968
28044
  result = cfunc(self, arg);
27969
28045
  Py_LeaveRecursiveCall();
27970
28046
  if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
@@ -27977,6 +28053,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject
27977
28053
  #endif
27978
28054
 
27979
28055
  /* PyObjectFastCall */
28056
+ #if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API
27980
28057
  static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **args, size_t nargs, PyObject *kwargs) {
27981
28058
  PyObject *argstuple;
27982
28059
  PyObject *result = 0;
@@ -27992,28 +28069,17 @@ static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **arg
27992
28069
  Py_DECREF(argstuple);
27993
28070
  return result;
27994
28071
  }
28072
+ #endif
27995
28073
  static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject **args, size_t _nargs, PyObject *kwargs) {
27996
28074
  Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs);
27997
28075
  #if CYTHON_COMPILING_IN_CPYTHON
27998
28076
  if (nargs == 0 && kwargs == NULL) {
27999
- #if defined(__Pyx_CyFunction_USED) && defined(NDEBUG)
28000
- if (__Pyx_IsCyOrPyCFunction(func))
28001
- #else
28002
- if (PyCFunction_Check(func))
28003
- #endif
28004
- {
28005
- if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
28006
- return __Pyx_PyObject_CallMethO(func, NULL);
28007
- }
28008
- }
28077
+ if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS))
28078
+ return __Pyx_PyObject_CallMethO(func, NULL);
28009
28079
  }
28010
28080
  else if (nargs == 1 && kwargs == NULL) {
28011
- if (PyCFunction_Check(func))
28012
- {
28013
- if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
28014
- return __Pyx_PyObject_CallMethO(func, args[0]);
28015
- }
28016
- }
28081
+ if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_O))
28082
+ return __Pyx_PyObject_CallMethO(func, args[0]);
28017
28083
  }
28018
28084
  #endif
28019
28085
  #if PY_VERSION_HEX < 0x030800B1
@@ -28037,25 +28103,31 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj
28037
28103
  }
28038
28104
  #endif
28039
28105
  #endif
28040
- #if CYTHON_VECTORCALL
28041
- #if Py_VERSION_HEX < 0x03090000
28042
- vectorcallfunc f = _PyVectorcall_Function(func);
28043
- #else
28044
- vectorcallfunc f = PyVectorcall_Function(func);
28045
- #endif
28046
- if (f) {
28047
- return f(func, args, (size_t)nargs, kwargs);
28048
- }
28049
- #elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
28050
- if (__Pyx_CyFunction_CheckExact(func)) {
28051
- __pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
28052
- if (f) return f(func, args, (size_t)nargs, kwargs);
28106
+ if (kwargs == NULL) {
28107
+ #if CYTHON_VECTORCALL
28108
+ #if PY_VERSION_HEX < 0x03090000
28109
+ vectorcallfunc f = _PyVectorcall_Function(func);
28110
+ #else
28111
+ vectorcallfunc f = PyVectorcall_Function(func);
28112
+ #endif
28113
+ if (f) {
28114
+ return f(func, args, (size_t)nargs, NULL);
28115
+ }
28116
+ #elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
28117
+ if (__Pyx_CyFunction_CheckExact(func)) {
28118
+ __pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
28119
+ if (f) return f(func, args, (size_t)nargs, NULL);
28120
+ }
28121
+ #endif
28053
28122
  }
28054
- #endif
28055
28123
  if (nargs == 0) {
28056
28124
  return __Pyx_PyObject_Call(func, __pyx_empty_tuple, kwargs);
28057
28125
  }
28126
+ #if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API
28127
+ return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs);
28128
+ #else
28058
28129
  return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs);
28130
+ #endif
28059
28131
  }
28060
28132
 
28061
28133
  /* RaiseUnexpectedTypeError */
@@ -28358,7 +28430,7 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject* value_tuple, Py_ssize_t value_co
28358
28430
  if (!CYTHON_PEP393_ENABLED || ukind == result_ukind) {
28359
28431
  memcpy((char *)result_udata + (char_pos << kind_shift), udata, (size_t) (ulength << kind_shift));
28360
28432
  } else {
28361
- #if PY_VERSION_HEX >= 0x030D0000
28433
+ #if PY_VERSION_HEX >= 0x030d0000
28362
28434
  if (unlikely(PyUnicode_CopyCharacters(result_uval, char_pos, uval, 0, ulength) < 0)) goto bad;
28363
28435
  #elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030300F0 || defined(_PyUnicode_FastCopyCharacters)
28364
28436
  _PyUnicode_FastCopyCharacters(result_uval, char_pos, uval, 0, ulength);
@@ -28487,7 +28559,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
28487
28559
  }
28488
28560
  }
28489
28561
  #else
28490
- if (is_list || PySequence_Check(o)) {
28562
+ if (is_list || !PyMapping_Check(o)) {
28491
28563
  return PySequence_GetItem(o, i);
28492
28564
  }
28493
28565
  #endif
@@ -28522,7 +28594,9 @@ static PyObject *__Pyx_PyObject_GetItem_Slow(PyObject *obj, PyObject *key) {
28522
28594
  __Pyx_TypeName obj_type_name;
28523
28595
  if (likely(PyType_Check(obj))) {
28524
28596
  PyObject *meth = __Pyx_PyObject_GetAttrStrNoError(obj, __pyx_n_s_class_getitem);
28525
- if (meth) {
28597
+ if (!meth) {
28598
+ PyErr_Clear();
28599
+ } else {
28526
28600
  PyObject *result = __Pyx_PyObject_CallOneArg(meth, key);
28527
28601
  Py_DECREF(meth);
28528
28602
  return result;
@@ -28631,6 +28705,7 @@ static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ssize_t b)
28631
28705
  }
28632
28706
 
28633
28707
  /* GetAttr3 */
28708
+ #if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
28634
28709
  static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
28635
28710
  __Pyx_PyThreadState_declare
28636
28711
  __Pyx_PyThreadState_assign
@@ -28640,9 +28715,14 @@ static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
28640
28715
  Py_INCREF(d);
28641
28716
  return d;
28642
28717
  }
28718
+ #endif
28643
28719
  static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) {
28644
28720
  PyObject *r;
28645
- #if CYTHON_USE_TYPE_SLOTS
28721
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
28722
+ int res = PyObject_GetOptionalAttr(o, n, &r);
28723
+ return (res != 0) ? r : __Pyx_NewRef(d);
28724
+ #else
28725
+ #if CYTHON_USE_TYPE_SLOTS
28646
28726
  if (likely(PyString_Check(n))) {
28647
28727
  r = __Pyx_PyObject_GetAttrStrNoError(o, n);
28648
28728
  if (unlikely(!r) && likely(!PyErr_Occurred())) {
@@ -28650,9 +28730,10 @@ static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject
28650
28730
  }
28651
28731
  return r;
28652
28732
  }
28653
- #endif
28733
+ #endif
28654
28734
  r = PyObject_GetAttr(o, n);
28655
28735
  return (likely(r)) ? r : __Pyx_GetAttr3Default(d);
28736
+ #endif
28656
28737
  }
28657
28738
 
28658
28739
  /* PyDictVersioning */
@@ -28690,7 +28771,7 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name)
28690
28771
  {
28691
28772
  PyObject *result;
28692
28773
  #if !CYTHON_AVOID_BORROWED_REFS
28693
- #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
28774
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && PY_VERSION_HEX < 0x030d0000
28694
28775
  result = _PyDict_GetItem_KnownHash(__pyx_d, name, ((PyASCIIObject *) name)->hash);
28695
28776
  __PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
28696
28777
  if (likely(result)) {
@@ -29016,7 +29097,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
29016
29097
  {
29017
29098
  #if PY_MAJOR_VERSION >= 3
29018
29099
  if (level == -1) {
29019
- if ((1) && (strchr(__Pyx_MODULE_NAME, '.'))) {
29100
+ if (strchr(__Pyx_MODULE_NAME, '.') != NULL) {
29020
29101
  module = PyImport_ImportModuleLevelObject(
29021
29102
  name, __pyx_d, empty_dict, from_list, 1);
29022
29103
  if (unlikely(!module)) {
@@ -29179,16 +29260,6 @@ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple)
29179
29260
  return __Pyx__ImportDottedModule(name, parts_tuple);
29180
29261
  }
29181
29262
 
29182
- /* ssize_strlen */
29183
- static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
29184
- size_t len = strlen(s);
29185
- if (unlikely(len > PY_SSIZE_T_MAX)) {
29186
- PyErr_SetString(PyExc_OverflowError, "byte string is too long");
29187
- return -1;
29188
- }
29189
- return (Py_ssize_t) len;
29190
- }
29191
-
29192
29263
  /* FastTypeChecks */
29193
29264
  #if CYTHON_COMPILING_IN_CPYTHON
29194
29265
  static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
@@ -29372,11 +29443,7 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
29372
29443
  }
29373
29444
  }
29374
29445
  #else
29375
- #if CYTHON_COMPILING_IN_PYPY
29376
- if (is_list || (PySequence_Check(o) && !PyDict_Check(o)))
29377
- #else
29378
- if (is_list || PySequence_Check(o))
29379
- #endif
29446
+ if (is_list || !PyMapping_Check(o))
29380
29447
  {
29381
29448
  return PySequence_SetItem(o, i, v);
29382
29449
  }
@@ -29441,6 +29508,7 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
29441
29508
  }
29442
29509
 
29443
29510
  /* HasAttr */
29511
+ #if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
29444
29512
  static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
29445
29513
  PyObject *r;
29446
29514
  if (unlikely(!__Pyx_PyBaseString_Check(n))) {
@@ -29457,6 +29525,7 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
29457
29525
  return 1;
29458
29526
  }
29459
29527
  }
29528
+ #endif
29460
29529
 
29461
29530
  /* BufferIndexError */
29462
29531
  static void __Pyx_RaiseBufferIndexError(int axis) {
@@ -29589,9 +29658,10 @@ static int __Pyx_PyMemoryView_Get_ndim(PyObject *obj) {
29589
29658
 
29590
29659
  /* IterFinish */
29591
29660
  static CYTHON_INLINE int __Pyx_IterFinish(void) {
29661
+ PyObject* exc_type;
29592
29662
  __Pyx_PyThreadState_declare
29593
29663
  __Pyx_PyThreadState_assign
29594
- PyObject* exc_type = __Pyx_PyErr_CurrentExceptionType();
29664
+ exc_type = __Pyx_PyErr_CurrentExceptionType();
29595
29665
  if (unlikely(exc_type)) {
29596
29666
  if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration)))
29597
29667
  return -1;
@@ -29603,8 +29673,8 @@ static CYTHON_INLINE int __Pyx_IterFinish(void) {
29603
29673
 
29604
29674
  /* PyObjectCallNoArg */
29605
29675
  static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
29606
- PyObject *arg = NULL;
29607
- return __Pyx_PyObject_FastCall(func, (&arg)+1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
29676
+ PyObject *arg[2] = {NULL, NULL};
29677
+ return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
29608
29678
  }
29609
29679
 
29610
29680
  /* PyObjectGetMethod */
@@ -29798,6 +29868,9 @@ bad:
29798
29868
  }
29799
29869
 
29800
29870
  /* dict_iter */
29871
+ #if CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3
29872
+ #include <string.h>
29873
+ #endif
29801
29874
  static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* iterable, int is_dict, PyObject* method_name,
29802
29875
  Py_ssize_t* p_orig_length, int* p_source_is_dict) {
29803
29876
  is_dict = is_dict || likely(PyDict_CheckExact(iterable));
@@ -29912,9 +29985,10 @@ static CYTHON_INLINE int __Pyx_dict_iter_next(
29912
29985
 
29913
29986
  /* UnpackUnboundCMethod */
29914
29987
  static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject *args, PyObject *kwargs) {
29988
+ PyObject *result;
29915
29989
  PyObject *selfless_args = PyTuple_GetSlice(args, 1, PyTuple_Size(args));
29916
29990
  if (unlikely(!selfless_args)) return NULL;
29917
- PyObject *result = PyObject_Call(method, selfless_args, kwargs);
29991
+ result = PyObject_Call(method, selfless_args, kwargs);
29918
29992
  Py_DECREF(selfless_args);
29919
29993
  return result;
29920
29994
  }
@@ -29934,7 +30008,7 @@ static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target) {
29934
30008
  #if PY_MAJOR_VERSION >= 3
29935
30009
  if (likely(__Pyx_TypeCheck(method, &PyMethodDescr_Type)))
29936
30010
  #else
29937
- if (likely(!PyCFunction_Check(method)))
30011
+ if (likely(!__Pyx_CyOrPyCFunction_Check(method)))
29938
30012
  #endif
29939
30013
  {
29940
30014
  PyMethodDescrObject *descr = (PyMethodDescrObject*) method;
@@ -29942,9 +30016,7 @@ static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target) {
29942
30016
  target->flag = descr->d_method->ml_flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_STACKLESS);
29943
30017
  } else
29944
30018
  #endif
29945
- #if defined(CYTHON_COMPILING_IN_PYPY)
29946
- #elif PY_VERSION_HEX >= 0x03090000
29947
- if (PyCFunction_CheckExact(method))
30019
+ #if CYTHON_COMPILING_IN_PYPY
29948
30020
  #else
29949
30021
  if (PyCFunction_Check(method))
29950
30022
  #endif
@@ -30000,6 +30072,144 @@ static CYTHON_INLINE PyObject* __Pyx_PyDict_Values(PyObject* d) {
30000
30072
  return PyDict_Values(d);
30001
30073
  }
30002
30074
 
30075
+ /* CallUnboundCMethod1 */
30076
+ #if CYTHON_COMPILING_IN_CPYTHON
30077
+ static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg) {
30078
+ if (likely(cfunc->func)) {
30079
+ int flag = cfunc->flag;
30080
+ if (flag == METH_O) {
30081
+ return (*(cfunc->func))(self, arg);
30082
+ } else if ((PY_VERSION_HEX >= 0x030600B1) && flag == METH_FASTCALL) {
30083
+ #if PY_VERSION_HEX >= 0x030700A0
30084
+ return (*(__Pyx_PyCFunctionFast)(void*)(PyCFunction)cfunc->func)(self, &arg, 1);
30085
+ #else
30086
+ return (*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)cfunc->func)(self, &arg, 1, NULL);
30087
+ #endif
30088
+ } else if ((PY_VERSION_HEX >= 0x030700A0) && flag == (METH_FASTCALL | METH_KEYWORDS)) {
30089
+ return (*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)cfunc->func)(self, &arg, 1, NULL);
30090
+ }
30091
+ }
30092
+ return __Pyx__CallUnboundCMethod1(cfunc, self, arg);
30093
+ }
30094
+ #endif
30095
+ static PyObject* __Pyx__CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg){
30096
+ PyObject *args, *result = NULL;
30097
+ if (unlikely(!cfunc->func && !cfunc->method) && unlikely(__Pyx_TryUnpackUnboundCMethod(cfunc) < 0)) return NULL;
30098
+ #if CYTHON_COMPILING_IN_CPYTHON
30099
+ if (cfunc->func && (cfunc->flag & METH_VARARGS)) {
30100
+ args = PyTuple_New(1);
30101
+ if (unlikely(!args)) goto bad;
30102
+ Py_INCREF(arg);
30103
+ PyTuple_SET_ITEM(args, 0, arg);
30104
+ if (cfunc->flag & METH_KEYWORDS)
30105
+ result = (*(PyCFunctionWithKeywords)(void*)(PyCFunction)cfunc->func)(self, args, NULL);
30106
+ else
30107
+ result = (*cfunc->func)(self, args);
30108
+ } else {
30109
+ args = PyTuple_New(2);
30110
+ if (unlikely(!args)) goto bad;
30111
+ Py_INCREF(self);
30112
+ PyTuple_SET_ITEM(args, 0, self);
30113
+ Py_INCREF(arg);
30114
+ PyTuple_SET_ITEM(args, 1, arg);
30115
+ result = __Pyx_PyObject_Call(cfunc->method, args, NULL);
30116
+ }
30117
+ #else
30118
+ args = PyTuple_Pack(2, self, arg);
30119
+ if (unlikely(!args)) goto bad;
30120
+ result = __Pyx_PyObject_Call(cfunc->method, args, NULL);
30121
+ #endif
30122
+ bad:
30123
+ Py_XDECREF(args);
30124
+ return result;
30125
+ }
30126
+
30127
+ /* CallUnboundCMethod2 */
30128
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030600B1
30129
+ static CYTHON_INLINE PyObject *__Pyx_CallUnboundCMethod2(__Pyx_CachedCFunction *cfunc, PyObject *self, PyObject *arg1, PyObject *arg2) {
30130
+ if (likely(cfunc->func)) {
30131
+ PyObject *args[2] = {arg1, arg2};
30132
+ if (cfunc->flag == METH_FASTCALL) {
30133
+ #if PY_VERSION_HEX >= 0x030700A0
30134
+ return (*(__Pyx_PyCFunctionFast)(void*)(PyCFunction)cfunc->func)(self, args, 2);
30135
+ #else
30136
+ return (*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)cfunc->func)(self, args, 2, NULL);
30137
+ #endif
30138
+ }
30139
+ #if PY_VERSION_HEX >= 0x030700A0
30140
+ if (cfunc->flag == (METH_FASTCALL | METH_KEYWORDS))
30141
+ return (*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)cfunc->func)(self, args, 2, NULL);
30142
+ #endif
30143
+ }
30144
+ return __Pyx__CallUnboundCMethod2(cfunc, self, arg1, arg2);
30145
+ }
30146
+ #endif
30147
+ static PyObject* __Pyx__CallUnboundCMethod2(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg1, PyObject* arg2){
30148
+ PyObject *args, *result = NULL;
30149
+ if (unlikely(!cfunc->func && !cfunc->method) && unlikely(__Pyx_TryUnpackUnboundCMethod(cfunc) < 0)) return NULL;
30150
+ #if CYTHON_COMPILING_IN_CPYTHON
30151
+ if (cfunc->func && (cfunc->flag & METH_VARARGS)) {
30152
+ args = PyTuple_New(2);
30153
+ if (unlikely(!args)) goto bad;
30154
+ Py_INCREF(arg1);
30155
+ PyTuple_SET_ITEM(args, 0, arg1);
30156
+ Py_INCREF(arg2);
30157
+ PyTuple_SET_ITEM(args, 1, arg2);
30158
+ if (cfunc->flag & METH_KEYWORDS)
30159
+ result = (*(PyCFunctionWithKeywords)(void*)(PyCFunction)cfunc->func)(self, args, NULL);
30160
+ else
30161
+ result = (*cfunc->func)(self, args);
30162
+ } else {
30163
+ args = PyTuple_New(3);
30164
+ if (unlikely(!args)) goto bad;
30165
+ Py_INCREF(self);
30166
+ PyTuple_SET_ITEM(args, 0, self);
30167
+ Py_INCREF(arg1);
30168
+ PyTuple_SET_ITEM(args, 1, arg1);
30169
+ Py_INCREF(arg2);
30170
+ PyTuple_SET_ITEM(args, 2, arg2);
30171
+ result = __Pyx_PyObject_Call(cfunc->method, args, NULL);
30172
+ }
30173
+ #else
30174
+ args = PyTuple_Pack(3, self, arg1, arg2);
30175
+ if (unlikely(!args)) goto bad;
30176
+ result = __Pyx_PyObject_Call(cfunc->method, args, NULL);
30177
+ #endif
30178
+ bad:
30179
+ Py_XDECREF(args);
30180
+ return result;
30181
+ }
30182
+
30183
+ /* dict_getitem_default */
30184
+ static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value) {
30185
+ PyObject* value;
30186
+ #if PY_MAJOR_VERSION >= 3 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07020000)
30187
+ value = PyDict_GetItemWithError(d, key);
30188
+ if (unlikely(!value)) {
30189
+ if (unlikely(PyErr_Occurred()))
30190
+ return NULL;
30191
+ value = default_value;
30192
+ }
30193
+ Py_INCREF(value);
30194
+ if ((1));
30195
+ #else
30196
+ if (PyString_CheckExact(key) || PyUnicode_CheckExact(key) || PyInt_CheckExact(key)) {
30197
+ value = PyDict_GetItem(d, key);
30198
+ if (unlikely(!value)) {
30199
+ value = default_value;
30200
+ }
30201
+ Py_INCREF(value);
30202
+ }
30203
+ #endif
30204
+ else {
30205
+ if (default_value == Py_None)
30206
+ value = __Pyx_CallUnboundCMethod1(&__pyx_umethod_PyDict_Type_get, d, key);
30207
+ else
30208
+ value = __Pyx_CallUnboundCMethod2(&__pyx_umethod_PyDict_Type_get, d, key, default_value);
30209
+ }
30210
+ return value;
30211
+ }
30212
+
30003
30213
  /* PyObject_GenericGetAttrNoDict */
30004
30214
  #if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
30005
30215
  static PyObject *__Pyx_RaiseGenericGetAttributeError(PyTypeObject *tp, PyObject *attr_name) {
@@ -30170,38 +30380,38 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
30170
30380
  #endif
30171
30381
  return -1;
30172
30382
  }
30173
- #if !CYTHON_USE_TYPE_SLOTS
30174
- if (dictoffset == 0) {
30175
- PyErr_Format(PyExc_TypeError,
30176
- "extension type '%s.200s': "
30177
- "unable to validate whether bases have a __dict__ "
30178
- "when CYTHON_USE_TYPE_SLOTS is off "
30179
- "(likely because you are building in the limited API). "
30180
- "Therefore, all extension types with multiple bases "
30181
- "must add 'cdef dict __dict__' in this compilation mode",
30182
- type_name);
30183
- #if CYTHON_AVOID_BORROWED_REFS
30184
- Py_DECREF(b0);
30185
- #endif
30186
- return -1;
30187
- }
30188
- #else
30189
- if (dictoffset == 0 && b->tp_dictoffset)
30383
+ if (dictoffset == 0)
30190
30384
  {
30191
- __Pyx_TypeName b_name = __Pyx_PyType_GetName(b);
30192
- PyErr_Format(PyExc_TypeError,
30193
- "extension type '%.200s' has no __dict__ slot, "
30194
- "but base type '" __Pyx_FMT_TYPENAME "' has: "
30195
- "either add 'cdef dict __dict__' to the extension type "
30196
- "or add '__slots__ = [...]' to the base type",
30197
- type_name, b_name);
30198
- __Pyx_DECREF_TypeName(b_name);
30385
+ Py_ssize_t b_dictoffset = 0;
30386
+ #if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY
30387
+ b_dictoffset = b->tp_dictoffset;
30388
+ #else
30389
+ PyObject *py_b_dictoffset = PyObject_GetAttrString((PyObject*)b, "__dictoffset__");
30390
+ if (!py_b_dictoffset) goto dictoffset_return;
30391
+ b_dictoffset = PyLong_AsSsize_t(py_b_dictoffset);
30392
+ Py_DECREF(py_b_dictoffset);
30393
+ if (b_dictoffset == -1 && PyErr_Occurred()) goto dictoffset_return;
30394
+ #endif
30395
+ if (b_dictoffset) {
30396
+ {
30397
+ __Pyx_TypeName b_name = __Pyx_PyType_GetName(b);
30398
+ PyErr_Format(PyExc_TypeError,
30399
+ "extension type '%.200s' has no __dict__ slot, "
30400
+ "but base type '" __Pyx_FMT_TYPENAME "' has: "
30401
+ "either add 'cdef dict __dict__' to the extension type "
30402
+ "or add '__slots__ = [...]' to the base type",
30403
+ type_name, b_name);
30404
+ __Pyx_DECREF_TypeName(b_name);
30405
+ }
30406
+ #if !(CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY)
30407
+ dictoffset_return:
30408
+ #endif
30199
30409
  #if CYTHON_AVOID_BORROWED_REFS
30200
- Py_DECREF(b0);
30410
+ Py_DECREF(b0);
30201
30411
  #endif
30202
- return -1;
30412
+ return -1;
30413
+ }
30203
30414
  }
30204
- #endif
30205
30415
  #if CYTHON_AVOID_BORROWED_REFS
30206
30416
  Py_DECREF(b0);
30207
30417
  #endif
@@ -30495,10 +30705,10 @@ __PYX_GOOD:
30495
30705
  #endif
30496
30706
 
30497
30707
  /* TypeImport */
30498
- #ifndef __PYX_HAVE_RT_ImportType_3_0_2
30499
- #define __PYX_HAVE_RT_ImportType_3_0_2
30500
- static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module_name, const char *class_name,
30501
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_2 check_size)
30708
+ #ifndef __PYX_HAVE_RT_ImportType_3_0_10
30709
+ #define __PYX_HAVE_RT_ImportType_3_0_10
30710
+ static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject *module, const char *module_name, const char *class_name,
30711
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_10 check_size)
30502
30712
  {
30503
30713
  PyObject *result = 0;
30504
30714
  char warning[200];
@@ -30552,7 +30762,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
30552
30762
  module_name, class_name, size, basicsize+itemsize);
30553
30763
  goto bad;
30554
30764
  }
30555
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_2 &&
30765
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_10 &&
30556
30766
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
30557
30767
  PyErr_Format(PyExc_ValueError,
30558
30768
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -30560,7 +30770,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
30560
30770
  module_name, class_name, size, basicsize, basicsize+itemsize);
30561
30771
  goto bad;
30562
30772
  }
30563
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_2 && (size_t)basicsize > size) {
30773
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_10 && (size_t)basicsize > size) {
30564
30774
  PyOS_snprintf(warning, sizeof(warning),
30565
30775
  "%s.%s size changed, may indicate binary incompatibility. "
30566
30776
  "Expected %zd from C header, got %zd from PyObject",
@@ -30576,10 +30786,7 @@ bad:
30576
30786
 
30577
30787
  /* FetchSharedCythonModule */
30578
30788
  static PyObject *__Pyx_FetchSharedCythonABIModule(void) {
30579
- PyObject *abi_module = PyImport_AddModule((char*) __PYX_ABI_MODULE_NAME);
30580
- if (unlikely(!abi_module)) return NULL;
30581
- Py_INCREF(abi_module);
30582
- return abi_module;
30789
+ return __Pyx_PyImport_AddModuleRef((char*) __PYX_ABI_MODULE_NAME);
30583
30790
  }
30584
30791
 
30585
30792
  /* FetchCommonType */
@@ -30740,6 +30947,20 @@ static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, _
30740
30947
  #endif
30741
30948
 
30742
30949
  /* CythonFunctionShared */
30950
+ #if CYTHON_COMPILING_IN_LIMITED_API
30951
+ static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
30952
+ if (__Pyx_CyFunction_Check(func)) {
30953
+ return PyCFunction_GetFunction(((__pyx_CyFunctionObject*)func)->func) == (PyCFunction) cfunc;
30954
+ } else if (PyCFunction_Check(func)) {
30955
+ return PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
30956
+ }
30957
+ return 0;
30958
+ }
30959
+ #else
30960
+ static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
30961
+ return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
30962
+ }
30963
+ #endif
30743
30964
  static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) {
30744
30965
  #if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API
30745
30966
  __Pyx_Py_XDECREF_SET(
@@ -31549,7 +31770,7 @@ static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func,
31549
31770
  default:
31550
31771
  return NULL;
31551
31772
  }
31552
- return ((_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames);
31773
+ return ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames);
31553
31774
  }
31554
31775
  static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
31555
31776
  {
@@ -32246,8 +32467,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
32246
32467
  Py_DECREF(replace);
32247
32468
  return result;
32248
32469
  }
32249
- #if __PYX_LIMITED_VERSION_HEX < 0x030780000
32250
32470
  PyErr_Clear();
32471
+ #if __PYX_LIMITED_VERSION_HEX < 0x030780000
32251
32472
  {
32252
32473
  PyObject *compiled = NULL, *result = NULL;
32253
32474
  if (unlikely(PyDict_SetItemString(scratch_dict, "code", code))) return NULL;
@@ -32267,6 +32488,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
32267
32488
  if (result) Py_INCREF(result);
32268
32489
  return result;
32269
32490
  }
32491
+ #else
32492
+ return NULL;
32270
32493
  #endif
32271
32494
  }
32272
32495
  static void __Pyx_AddTraceback(const char *funcname, int c_line,
@@ -32364,7 +32587,7 @@ static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
32364
32587
  #else
32365
32588
  py_code = PyCode_NewEmpty(filename, funcname, py_line);
32366
32589
  #endif
32367
- Py_XDECREF(py_funcname); // XDECREF since it's only set on Py3 if cline
32590
+ Py_XDECREF(py_funcname);
32368
32591
  return py_code;
32369
32592
  bad:
32370
32593
  Py_XDECREF(py_funcname);
@@ -33345,6 +33568,75 @@ static CYTHON_INLINE int __pyx_memview_set_nn___pyx_t_7biotite_9structure_2io_4m
33345
33568
  return 1;
33346
33569
  }
33347
33570
 
33571
+ /* PyUCS4InUnicode */
33572
+ #if PY_VERSION_HEX < 0x03090000 || (defined(PyUnicode_WCHAR_KIND) && defined(PyUnicode_AS_UNICODE))
33573
+ #if PY_VERSION_HEX < 0x03090000
33574
+ #define __Pyx_PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(op)
33575
+ #define __Pyx_PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(op)
33576
+ #else
33577
+ #define __Pyx_PyUnicode_AS_UNICODE(op) (((PyASCIIObject *)(op))->wstr)
33578
+ #define __Pyx_PyUnicode_GET_SIZE(op) ((PyCompactUnicodeObject *)(op))->wstr_length
33579
+ #endif
33580
+ #if !defined(Py_UNICODE_SIZE) || Py_UNICODE_SIZE == 2
33581
+ static int __Pyx_PyUnicodeBufferContainsUCS4_SP(Py_UNICODE* buffer, Py_ssize_t length, Py_UCS4 character) {
33582
+ Py_UNICODE high_val, low_val;
33583
+ Py_UNICODE* pos;
33584
+ high_val = (Py_UNICODE) (0xD800 | (((character - 0x10000) >> 10) & ((1<<10)-1)));
33585
+ low_val = (Py_UNICODE) (0xDC00 | ( (character - 0x10000) & ((1<<10)-1)));
33586
+ for (pos=buffer; pos < buffer+length-1; pos++) {
33587
+ if (unlikely((high_val == pos[0]) & (low_val == pos[1]))) return 1;
33588
+ }
33589
+ return 0;
33590
+ }
33591
+ #endif
33592
+ static int __Pyx_PyUnicodeBufferContainsUCS4_BMP(Py_UNICODE* buffer, Py_ssize_t length, Py_UCS4 character) {
33593
+ Py_UNICODE uchar;
33594
+ Py_UNICODE* pos;
33595
+ uchar = (Py_UNICODE) character;
33596
+ for (pos=buffer; pos < buffer+length; pos++) {
33597
+ if (unlikely(uchar == pos[0])) return 1;
33598
+ }
33599
+ return 0;
33600
+ }
33601
+ #endif
33602
+ static CYTHON_INLINE int __Pyx_UnicodeContainsUCS4(PyObject* unicode, Py_UCS4 character) {
33603
+ #if CYTHON_PEP393_ENABLED
33604
+ const int kind = PyUnicode_KIND(unicode);
33605
+ #ifdef PyUnicode_WCHAR_KIND
33606
+ if (likely(kind != PyUnicode_WCHAR_KIND))
33607
+ #endif
33608
+ {
33609
+ Py_ssize_t i;
33610
+ const void* udata = PyUnicode_DATA(unicode);
33611
+ const Py_ssize_t length = PyUnicode_GET_LENGTH(unicode);
33612
+ for (i=0; i < length; i++) {
33613
+ if (unlikely(character == PyUnicode_READ(kind, udata, i))) return 1;
33614
+ }
33615
+ return 0;
33616
+ }
33617
+ #elif PY_VERSION_HEX >= 0x03090000
33618
+ #error Cannot use "UChar in Unicode" in Python 3.9 without PEP-393 unicode strings.
33619
+ #elif !defined(PyUnicode_AS_UNICODE)
33620
+ #error Cannot use "UChar in Unicode" in Python < 3.9 without Py_UNICODE support.
33621
+ #endif
33622
+ #if PY_VERSION_HEX < 0x03090000 || (defined(PyUnicode_WCHAR_KIND) && defined(PyUnicode_AS_UNICODE))
33623
+ #if !defined(Py_UNICODE_SIZE) || Py_UNICODE_SIZE == 2
33624
+ if ((sizeof(Py_UNICODE) == 2) && unlikely(character > 65535)) {
33625
+ return __Pyx_PyUnicodeBufferContainsUCS4_SP(
33626
+ __Pyx_PyUnicode_AS_UNICODE(unicode),
33627
+ __Pyx_PyUnicode_GET_SIZE(unicode),
33628
+ character);
33629
+ } else
33630
+ #endif
33631
+ {
33632
+ return __Pyx_PyUnicodeBufferContainsUCS4_BMP(
33633
+ __Pyx_PyUnicode_AS_UNICODE(unicode),
33634
+ __Pyx_PyUnicode_GET_SIZE(unicode),
33635
+ character);
33636
+ }
33637
+ #endif
33638
+ }
33639
+
33348
33640
  /* Declarations */
33349
33641
  #if CYTHON_CCOMPLEX && (1) && (!0 || __cplusplus)
33350
33642
  #ifdef __cplusplus
@@ -34025,7 +34317,7 @@ static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice,
34025
34317
  #endif
34026
34318
  if (likely(v)) {
34027
34319
  int ret = -1;
34028
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
34320
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
34029
34321
  int one = 1; int is_little = (int)*(unsigned char *)&one;
34030
34322
  unsigned char *bytes = (unsigned char *)&val;
34031
34323
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -34161,13 +34453,13 @@ raise_neg_overflow:
34161
34453
  {
34162
34454
  int one = 1; int little = (int)*(unsigned char *)&one;
34163
34455
  unsigned char *bytes = (unsigned char *)&value;
34164
- #if !CYTHON_COMPILING_IN_LIMITED_API
34456
+ #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
34165
34457
  return _PyLong_FromByteArray(bytes, sizeof(int),
34166
34458
  little, !is_unsigned);
34167
34459
  #else
34168
34460
  PyObject *from_bytes, *result = NULL;
34169
34461
  PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
34170
- from_bytes = PyObject_GetAttrString((PyObject*)&PyInt_Type, "from_bytes");
34462
+ from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
34171
34463
  if (!from_bytes) return NULL;
34172
34464
  py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(int));
34173
34465
  if (!py_bytes) goto limited_bad;
@@ -34175,16 +34467,18 @@ raise_neg_overflow:
34175
34467
  if (!order_str) goto limited_bad;
34176
34468
  arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
34177
34469
  if (!arg_tuple) goto limited_bad;
34178
- kwds = PyDict_New();
34179
- if (!kwds) goto limited_bad;
34180
- if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(!is_unsigned ? Py_True : Py_False))) goto limited_bad;
34470
+ if (!is_unsigned) {
34471
+ kwds = PyDict_New();
34472
+ if (!kwds) goto limited_bad;
34473
+ if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
34474
+ }
34181
34475
  result = PyObject_Call(from_bytes, arg_tuple, kwds);
34182
34476
  limited_bad:
34183
- Py_XDECREF(from_bytes);
34184
- Py_XDECREF(py_bytes);
34185
- Py_XDECREF(order_str);
34186
- Py_XDECREF(arg_tuple);
34187
34477
  Py_XDECREF(kwds);
34478
+ Py_XDECREF(arg_tuple);
34479
+ Py_XDECREF(order_str);
34480
+ Py_XDECREF(py_bytes);
34481
+ Py_XDECREF(from_bytes);
34188
34482
  return result;
34189
34483
  #endif
34190
34484
  }
@@ -34223,13 +34517,13 @@ raise_neg_overflow:
34223
34517
  {
34224
34518
  int one = 1; int little = (int)*(unsigned char *)&one;
34225
34519
  unsigned char *bytes = (unsigned char *)&value;
34226
- #if !CYTHON_COMPILING_IN_LIMITED_API
34520
+ #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
34227
34521
  return _PyLong_FromByteArray(bytes, sizeof(npy_int32),
34228
34522
  little, !is_unsigned);
34229
34523
  #else
34230
34524
  PyObject *from_bytes, *result = NULL;
34231
34525
  PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
34232
- from_bytes = PyObject_GetAttrString((PyObject*)&PyInt_Type, "from_bytes");
34526
+ from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
34233
34527
  if (!from_bytes) return NULL;
34234
34528
  py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(npy_int32));
34235
34529
  if (!py_bytes) goto limited_bad;
@@ -34237,16 +34531,18 @@ raise_neg_overflow:
34237
34531
  if (!order_str) goto limited_bad;
34238
34532
  arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
34239
34533
  if (!arg_tuple) goto limited_bad;
34240
- kwds = PyDict_New();
34241
- if (!kwds) goto limited_bad;
34242
- if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(!is_unsigned ? Py_True : Py_False))) goto limited_bad;
34534
+ if (!is_unsigned) {
34535
+ kwds = PyDict_New();
34536
+ if (!kwds) goto limited_bad;
34537
+ if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
34538
+ }
34243
34539
  result = PyObject_Call(from_bytes, arg_tuple, kwds);
34244
34540
  limited_bad:
34245
- Py_XDECREF(from_bytes);
34246
- Py_XDECREF(py_bytes);
34247
- Py_XDECREF(order_str);
34248
- Py_XDECREF(arg_tuple);
34249
34541
  Py_XDECREF(kwds);
34542
+ Py_XDECREF(arg_tuple);
34543
+ Py_XDECREF(order_str);
34544
+ Py_XDECREF(py_bytes);
34545
+ Py_XDECREF(from_bytes);
34250
34546
  return result;
34251
34547
  #endif
34252
34548
  }
@@ -34422,7 +34718,7 @@ raise_neg_overflow:
34422
34718
  #endif
34423
34719
  if (likely(v)) {
34424
34720
  int ret = -1;
34425
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
34721
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
34426
34722
  int one = 1; int is_little = (int)*(unsigned char *)&one;
34427
34723
  unsigned char *bytes = (unsigned char *)&val;
34428
34724
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -34558,13 +34854,13 @@ raise_neg_overflow:
34558
34854
  {
34559
34855
  int one = 1; int little = (int)*(unsigned char *)&one;
34560
34856
  unsigned char *bytes = (unsigned char *)&value;
34561
- #if !CYTHON_COMPILING_IN_LIMITED_API
34857
+ #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
34562
34858
  return _PyLong_FromByteArray(bytes, sizeof(long),
34563
34859
  little, !is_unsigned);
34564
34860
  #else
34565
34861
  PyObject *from_bytes, *result = NULL;
34566
34862
  PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
34567
- from_bytes = PyObject_GetAttrString((PyObject*)&PyInt_Type, "from_bytes");
34863
+ from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
34568
34864
  if (!from_bytes) return NULL;
34569
34865
  py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long));
34570
34866
  if (!py_bytes) goto limited_bad;
@@ -34572,28 +34868,23 @@ raise_neg_overflow:
34572
34868
  if (!order_str) goto limited_bad;
34573
34869
  arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
34574
34870
  if (!arg_tuple) goto limited_bad;
34575
- kwds = PyDict_New();
34576
- if (!kwds) goto limited_bad;
34577
- if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(!is_unsigned ? Py_True : Py_False))) goto limited_bad;
34871
+ if (!is_unsigned) {
34872
+ kwds = PyDict_New();
34873
+ if (!kwds) goto limited_bad;
34874
+ if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
34875
+ }
34578
34876
  result = PyObject_Call(from_bytes, arg_tuple, kwds);
34579
34877
  limited_bad:
34580
- Py_XDECREF(from_bytes);
34581
- Py_XDECREF(py_bytes);
34582
- Py_XDECREF(order_str);
34583
- Py_XDECREF(arg_tuple);
34584
34878
  Py_XDECREF(kwds);
34879
+ Py_XDECREF(arg_tuple);
34880
+ Py_XDECREF(order_str);
34881
+ Py_XDECREF(py_bytes);
34882
+ Py_XDECREF(from_bytes);
34585
34883
  return result;
34586
34884
  #endif
34587
34885
  }
34588
34886
  }
34589
34887
 
34590
- /* BytesContains */
34591
- static CYTHON_INLINE int __Pyx_BytesContains(PyObject* bytes, char character) {
34592
- const Py_ssize_t length = PyBytes_GET_SIZE(bytes);
34593
- char* char_start = PyBytes_AS_STRING(bytes);
34594
- return memchr(char_start, (unsigned char)character, (size_t)length) != NULL;
34595
- }
34596
-
34597
34888
  /* ImportNumPyArray */
34598
34889
  static PyObject* __Pyx__ImportNumPyArray(void) {
34599
34890
  PyObject *numpy_module, *ndarray_object = NULL;
@@ -34790,7 +35081,7 @@ static CYTHON_INLINE PyObject* __Pyx_ImportNumPyArrayTypeIfAvailable(void) {
34790
35081
  #endif
34791
35082
  if (likely(v)) {
34792
35083
  int ret = -1;
34793
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
35084
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
34794
35085
  int one = 1; int is_little = (int)*(unsigned char *)&one;
34795
35086
  unsigned char *bytes = (unsigned char *)&val;
34796
35087
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -35063,7 +35354,7 @@ raise_neg_overflow:
35063
35354
  #endif
35064
35355
  if (likely(v)) {
35065
35356
  int ret = -1;
35066
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
35357
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
35067
35358
  int one = 1; int is_little = (int)*(unsigned char *)&one;
35068
35359
  unsigned char *bytes = (unsigned char *)&val;
35069
35360
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -35183,41 +35474,50 @@ __Pyx_PyType_GetName(PyTypeObject* tp)
35183
35474
  #endif
35184
35475
 
35185
35476
  /* CheckBinaryVersion */
35186
- static int __Pyx_check_binary_version(void) {
35187
- char ctversion[5];
35188
- int same=1, i, found_dot;
35189
- const char* rt_from_call = Py_GetVersion();
35190
- PyOS_snprintf(ctversion, 5, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
35191
- found_dot = 0;
35192
- for (i = 0; i < 4; i++) {
35193
- if (!ctversion[i]) {
35194
- same = (rt_from_call[i] < '0' || rt_from_call[i] > '9');
35195
- break;
35477
+ static unsigned long __Pyx_get_runtime_version(void) {
35478
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030B00A4
35479
+ return Py_Version & ~0xFFUL;
35480
+ #else
35481
+ const char* rt_version = Py_GetVersion();
35482
+ unsigned long version = 0;
35483
+ unsigned long factor = 0x01000000UL;
35484
+ unsigned int digit = 0;
35485
+ int i = 0;
35486
+ while (factor) {
35487
+ while ('0' <= rt_version[i] && rt_version[i] <= '9') {
35488
+ digit = digit * 10 + (unsigned int) (rt_version[i] - '0');
35489
+ ++i;
35196
35490
  }
35197
- if (rt_from_call[i] != ctversion[i]) {
35198
- same = 0;
35491
+ version += factor * digit;
35492
+ if (rt_version[i] != '.')
35199
35493
  break;
35200
- }
35494
+ digit = 0;
35495
+ factor >>= 8;
35496
+ ++i;
35201
35497
  }
35202
- if (!same) {
35203
- char rtversion[5] = {'\0'};
35498
+ return version;
35499
+ #endif
35500
+ }
35501
+ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer) {
35502
+ const unsigned long MAJOR_MINOR = 0xFFFF0000UL;
35503
+ if ((rt_version & MAJOR_MINOR) == (ct_version & MAJOR_MINOR))
35504
+ return 0;
35505
+ if (likely(allow_newer && (rt_version & MAJOR_MINOR) > (ct_version & MAJOR_MINOR)))
35506
+ return 1;
35507
+ {
35204
35508
  char message[200];
35205
- for (i=0; i<4; ++i) {
35206
- if (rt_from_call[i] == '.') {
35207
- if (found_dot) break;
35208
- found_dot = 1;
35209
- } else if (rt_from_call[i] < '0' || rt_from_call[i] > '9') {
35210
- break;
35211
- }
35212
- rtversion[i] = rt_from_call[i];
35213
- }
35214
35509
  PyOS_snprintf(message, sizeof(message),
35215
- "compile time version %s of module '%.100s' "
35216
- "does not match runtime version %s",
35217
- ctversion, __Pyx_MODULE_NAME, rtversion);
35510
+ "compile time Python version %d.%d "
35511
+ "of module '%.100s' "
35512
+ "%s "
35513
+ "runtime version %d.%d",
35514
+ (int) (ct_version >> 24), (int) ((ct_version >> 16) & 0xFF),
35515
+ __Pyx_MODULE_NAME,
35516
+ (allow_newer) ? "was newer than" : "does not match",
35517
+ (int) (rt_version >> 24), (int) ((rt_version >> 16) & 0xFF)
35518
+ );
35218
35519
  return PyErr_WarnEx(NULL, message, 1);
35219
35520
  }
35220
- return 0;
35221
35521
  }
35222
35522
 
35223
35523
  /* InitStrings */
@@ -35263,8 +35563,24 @@ static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
35263
35563
  return 0;
35264
35564
  }
35265
35565
 
35566
+ #include <string.h>
35567
+ static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
35568
+ size_t len = strlen(s);
35569
+ if (unlikely(len > (size_t) PY_SSIZE_T_MAX)) {
35570
+ PyErr_SetString(PyExc_OverflowError, "byte string is too long");
35571
+ return -1;
35572
+ }
35573
+ return (Py_ssize_t) len;
35574
+ }
35266
35575
  static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
35267
- return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
35576
+ Py_ssize_t len = __Pyx_ssize_strlen(c_str);
35577
+ if (unlikely(len < 0)) return NULL;
35578
+ return __Pyx_PyUnicode_FromStringAndSize(c_str, len);
35579
+ }
35580
+ static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char* c_str) {
35581
+ Py_ssize_t len = __Pyx_ssize_strlen(c_str);
35582
+ if (unlikely(len < 0)) return NULL;
35583
+ return PyByteArray_FromStringAndSize(c_str, len);
35268
35584
  }
35269
35585
  static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
35270
35586
  Py_ssize_t ignore;