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

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

Potentially problematic release.


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

Files changed (124) hide show
  1. biotite/__init__.py +3 -3
  2. biotite/application/application.py +33 -28
  3. biotite/application/dssp/app.py +18 -18
  4. biotite/application/sra/__init__.py +5 -0
  5. biotite/application/sra/app.py +337 -55
  6. biotite/database/entrez/__init__.py +2 -1
  7. biotite/database/entrez/check.py +14 -3
  8. biotite/database/entrez/download.py +20 -13
  9. biotite/database/entrez/key.py +44 -0
  10. biotite/database/entrez/query.py +38 -34
  11. biotite/database/pubchem/query.py +44 -44
  12. biotite/database/rcsb/download.py +19 -14
  13. biotite/database/rcsb/query.py +46 -46
  14. biotite/sequence/align/__init__.py +5 -1
  15. biotite/sequence/align/banded.c +1408 -1025
  16. biotite/sequence/align/banded.cpython-310-darwin.so +0 -0
  17. biotite/sequence/align/buckets.py +69 -0
  18. biotite/sequence/align/cigar.py +389 -0
  19. biotite/sequence/align/kmeralphabet.c +3220 -2850
  20. biotite/sequence/align/kmeralphabet.cpython-310-darwin.so +0 -0
  21. biotite/sequence/align/kmersimilarity.c +713 -663
  22. biotite/sequence/align/kmersimilarity.cpython-310-darwin.so +0 -0
  23. biotite/sequence/align/kmertable.cpp +68398 -0
  24. biotite/sequence/align/kmertable.cpython-310-darwin.so +0 -0
  25. biotite/sequence/align/localgapped.c +1507 -1074
  26. biotite/sequence/align/localgapped.cpython-310-darwin.so +0 -0
  27. biotite/sequence/align/localungapped.c +1143 -833
  28. biotite/sequence/align/localungapped.cpython-310-darwin.so +0 -0
  29. biotite/sequence/align/multiple.c +1569 -1092
  30. biotite/sequence/align/multiple.cpython-310-darwin.so +0 -0
  31. biotite/sequence/align/pairwise.c +1612 -1212
  32. biotite/sequence/align/pairwise.cpython-310-darwin.so +0 -0
  33. biotite/sequence/align/permutation.c +33259 -0
  34. biotite/sequence/align/permutation.cpython-310-darwin.so +0 -0
  35. biotite/sequence/align/primes.txt +821 -0
  36. biotite/sequence/align/{kmertable.c → selector.c} +9129 -16497
  37. biotite/sequence/align/selector.cpython-310-darwin.so +0 -0
  38. biotite/sequence/align/tracetable.c +685 -646
  39. biotite/sequence/align/tracetable.cpython-310-darwin.so +0 -0
  40. biotite/sequence/codec.c +1159 -841
  41. biotite/sequence/codec.cpython-310-darwin.so +0 -0
  42. biotite/sequence/graphics/alignment.py +212 -2
  43. biotite/sequence/io/genbank/annotation.py +11 -11
  44. biotite/sequence/phylo/nj.c +684 -636
  45. biotite/sequence/phylo/nj.cpython-310-darwin.so +0 -0
  46. biotite/sequence/phylo/tree.c +970 -673
  47. biotite/sequence/phylo/tree.cpython-310-darwin.so +0 -0
  48. biotite/sequence/phylo/upgma.c +672 -626
  49. biotite/sequence/phylo/upgma.cpython-310-darwin.so +0 -0
  50. biotite/structure/__init__.py +1 -1
  51. biotite/structure/atoms.py +1 -1
  52. biotite/structure/basepairs.py +7 -12
  53. biotite/structure/bonds.c +3861 -3749
  54. biotite/structure/bonds.cpython-310-darwin.so +0 -0
  55. biotite/structure/celllist.c +727 -707
  56. biotite/structure/celllist.cpython-310-darwin.so +0 -0
  57. biotite/structure/charges.c +1561 -1560
  58. biotite/structure/charges.cpython-310-darwin.so +0 -0
  59. biotite/structure/filter.py +30 -37
  60. biotite/structure/info/__init__.py +5 -8
  61. biotite/structure/info/atoms.py +25 -67
  62. biotite/structure/info/bonds.py +46 -100
  63. biotite/structure/info/ccd/README.rst +8 -0
  64. biotite/structure/info/ccd/amino_acids.txt +1646 -0
  65. biotite/structure/info/ccd/carbohydrates.txt +1133 -0
  66. biotite/structure/info/ccd/components.bcif +0 -0
  67. biotite/structure/info/ccd/nucleotides.txt +797 -0
  68. biotite/structure/info/ccd.py +95 -0
  69. biotite/structure/info/groups.py +90 -0
  70. biotite/structure/info/masses.py +21 -20
  71. biotite/structure/info/misc.py +11 -22
  72. biotite/structure/info/standardize.py +17 -12
  73. biotite/structure/io/__init__.py +2 -4
  74. biotite/structure/io/ctab.py +1 -1
  75. biotite/structure/io/general.py +37 -43
  76. biotite/structure/io/mmtf/__init__.py +3 -0
  77. biotite/structure/io/mmtf/convertarray.c +528 -365
  78. biotite/structure/io/mmtf/convertarray.cpython-310-darwin.so +0 -0
  79. biotite/structure/io/mmtf/convertfile.c +725 -676
  80. biotite/structure/io/mmtf/convertfile.cpython-310-darwin.so +0 -0
  81. biotite/structure/io/mmtf/decode.c +1070 -754
  82. biotite/structure/io/mmtf/decode.cpython-310-darwin.so +0 -0
  83. biotite/structure/io/mmtf/encode.c +727 -677
  84. biotite/structure/io/mmtf/encode.cpython-310-darwin.so +0 -0
  85. biotite/structure/io/mmtf/file.py +34 -26
  86. biotite/structure/io/npz/__init__.py +3 -0
  87. biotite/structure/io/npz/file.py +21 -18
  88. biotite/structure/io/pdb/__init__.py +3 -3
  89. biotite/structure/io/pdb/file.py +72 -70
  90. biotite/structure/io/pdb/hybrid36.c +540 -478
  91. biotite/structure/io/pdb/hybrid36.cpython-310-darwin.so +0 -0
  92. biotite/structure/io/pdbqt/file.py +82 -68
  93. biotite/structure/io/pdbx/__init__.py +13 -6
  94. biotite/structure/io/pdbx/bcif.py +649 -0
  95. biotite/structure/io/pdbx/cif.py +1028 -0
  96. biotite/structure/io/pdbx/component.py +243 -0
  97. biotite/structure/io/pdbx/convert.py +707 -359
  98. biotite/structure/io/pdbx/encoding.c +112813 -0
  99. biotite/structure/io/pdbx/encoding.cpython-310-darwin.so +0 -0
  100. biotite/structure/io/pdbx/error.py +14 -0
  101. biotite/structure/io/pdbx/legacy.py +267 -0
  102. biotite/structure/molecules.py +151 -151
  103. biotite/structure/residues.py +40 -40
  104. biotite/structure/sasa.c +713 -644
  105. biotite/structure/sasa.cpython-310-darwin.so +0 -0
  106. biotite/structure/superimpose.py +158 -115
  107. biotite/visualize.py +9 -11
  108. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/METADATA +2 -2
  109. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/RECORD +112 -102
  110. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/WHEEL +1 -1
  111. biotite/structure/info/amino_acids.json +0 -1556
  112. biotite/structure/info/amino_acids.py +0 -42
  113. biotite/structure/info/carbohydrates.json +0 -1122
  114. biotite/structure/info/carbohydrates.py +0 -39
  115. biotite/structure/info/intra_bonds.msgpack +0 -0
  116. biotite/structure/info/link_types.msgpack +0 -1
  117. biotite/structure/info/nucleotides.json +0 -772
  118. biotite/structure/info/nucleotides.py +0 -39
  119. biotite/structure/info/residue_masses.msgpack +0 -0
  120. biotite/structure/info/residue_names.msgpack +0 -3
  121. biotite/structure/info/residues.msgpack +0 -0
  122. biotite/structure/io/pdbx/file.py +0 -652
  123. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/LICENSE.rst +0 -0
  124. {biotite-0.38.0.dist-info → biotite-0.40.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.0.2 */
1
+ /* Generated by Cython 3.0.10 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -32,15 +32,15 @@ END: Cython Metadata */
32
32
  #elif PY_VERSION_HEX < 0x02070000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
33
33
  #error Cython requires Python 2.7+ or Python 3.3+.
34
34
  #else
35
- #if CYTHON_LIMITED_API
35
+ #if defined(CYTHON_LIMITED_API) && CYTHON_LIMITED_API
36
36
  #define __PYX_EXTRA_ABI_MODULE_NAME "limited"
37
37
  #else
38
38
  #define __PYX_EXTRA_ABI_MODULE_NAME ""
39
39
  #endif
40
- #define CYTHON_ABI "3_0_2" __PYX_EXTRA_ABI_MODULE_NAME
40
+ #define CYTHON_ABI "3_0_10" __PYX_EXTRA_ABI_MODULE_NAME
41
41
  #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
42
42
  #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
43
- #define CYTHON_HEX_VERSION 0x030002F0
43
+ #define CYTHON_HEX_VERSION 0x03000AF0
44
44
  #define CYTHON_FUTURE_DIVISION 1
45
45
  #include <stddef.h>
46
46
  #ifndef offsetof
@@ -132,6 +132,8 @@ END: Cython Metadata */
132
132
  #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
133
133
  #define CYTHON_UPDATE_DESCRIPTOR_DOC 0
134
134
  #endif
135
+ #undef CYTHON_USE_FREELISTS
136
+ #define CYTHON_USE_FREELISTS 0
135
137
  #elif defined(PYPY_VERSION)
136
138
  #define CYTHON_COMPILING_IN_PYPY 1
137
139
  #define CYTHON_COMPILING_IN_CPYTHON 0
@@ -193,6 +195,8 @@ END: Cython Metadata */
193
195
  #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
194
196
  #define CYTHON_UPDATE_DESCRIPTOR_DOC 0
195
197
  #endif
198
+ #undef CYTHON_USE_FREELISTS
199
+ #define CYTHON_USE_FREELISTS 0
196
200
  #elif defined(CYTHON_LIMITED_API)
197
201
  #ifdef Py_LIMITED_API
198
202
  #undef __PYX_LIMITED_VERSION_HEX
@@ -254,7 +258,9 @@ END: Cython Metadata */
254
258
  #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
255
259
  #define CYTHON_UPDATE_DESCRIPTOR_DOC 0
256
260
  #endif
257
- #elif defined(PY_NOGIL)
261
+ #undef CYTHON_USE_FREELISTS
262
+ #define CYTHON_USE_FREELISTS 0
263
+ #elif defined(Py_GIL_DISABLED) || defined(Py_NOGIL)
258
264
  #define CYTHON_COMPILING_IN_PYPY 0
259
265
  #define CYTHON_COMPILING_IN_CPYTHON 0
260
266
  #define CYTHON_COMPILING_IN_LIMITED_API 0
@@ -263,11 +269,17 @@ END: Cython Metadata */
263
269
  #ifndef CYTHON_USE_TYPE_SLOTS
264
270
  #define CYTHON_USE_TYPE_SLOTS 1
265
271
  #endif
272
+ #ifndef CYTHON_USE_TYPE_SPECS
273
+ #define CYTHON_USE_TYPE_SPECS 0
274
+ #endif
266
275
  #undef CYTHON_USE_PYTYPE_LOOKUP
267
276
  #define CYTHON_USE_PYTYPE_LOOKUP 0
268
277
  #ifndef CYTHON_USE_ASYNC_SLOTS
269
278
  #define CYTHON_USE_ASYNC_SLOTS 1
270
279
  #endif
280
+ #ifndef CYTHON_USE_PYLONG_INTERNALS
281
+ #define CYTHON_USE_PYLONG_INTERNALS 0
282
+ #endif
271
283
  #undef CYTHON_USE_PYLIST_INTERNALS
272
284
  #define CYTHON_USE_PYLIST_INTERNALS 0
273
285
  #ifndef CYTHON_USE_UNICODE_INTERNALS
@@ -275,8 +287,6 @@ END: Cython Metadata */
275
287
  #endif
276
288
  #undef CYTHON_USE_UNICODE_WRITER
277
289
  #define CYTHON_USE_UNICODE_WRITER 0
278
- #undef CYTHON_USE_PYLONG_INTERNALS
279
- #define CYTHON_USE_PYLONG_INTERNALS 0
280
290
  #ifndef CYTHON_AVOID_BORROWED_REFS
281
291
  #define CYTHON_AVOID_BORROWED_REFS 0
282
292
  #endif
@@ -288,11 +298,22 @@ END: Cython Metadata */
288
298
  #endif
289
299
  #undef CYTHON_FAST_THREAD_STATE
290
300
  #define CYTHON_FAST_THREAD_STATE 0
301
+ #undef CYTHON_FAST_GIL
302
+ #define CYTHON_FAST_GIL 0
303
+ #ifndef CYTHON_METH_FASTCALL
304
+ #define CYTHON_METH_FASTCALL 1
305
+ #endif
291
306
  #undef CYTHON_FAST_PYCALL
292
307
  #define CYTHON_FAST_PYCALL 0
308
+ #ifndef CYTHON_PEP487_INIT_SUBCLASS
309
+ #define CYTHON_PEP487_INIT_SUBCLASS 1
310
+ #endif
293
311
  #ifndef CYTHON_PEP489_MULTI_PHASE_INIT
294
312
  #define CYTHON_PEP489_MULTI_PHASE_INIT 1
295
313
  #endif
314
+ #ifndef CYTHON_USE_MODULE_STATE
315
+ #define CYTHON_USE_MODULE_STATE 0
316
+ #endif
296
317
  #ifndef CYTHON_USE_TP_FINALIZE
297
318
  #define CYTHON_USE_TP_FINALIZE 1
298
319
  #endif
@@ -300,6 +321,12 @@ END: Cython Metadata */
300
321
  #define CYTHON_USE_DICT_VERSIONS 0
301
322
  #undef CYTHON_USE_EXC_INFO_STACK
302
323
  #define CYTHON_USE_EXC_INFO_STACK 0
324
+ #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
325
+ #define CYTHON_UPDATE_DESCRIPTOR_DOC 1
326
+ #endif
327
+ #ifndef CYTHON_USE_FREELISTS
328
+ #define CYTHON_USE_FREELISTS 0
329
+ #endif
303
330
  #else
304
331
  #define CYTHON_COMPILING_IN_PYPY 0
305
332
  #define CYTHON_COMPILING_IN_CPYTHON 1
@@ -390,6 +417,9 @@ END: Cython Metadata */
390
417
  #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
391
418
  #define CYTHON_UPDATE_DESCRIPTOR_DOC 1
392
419
  #endif
420
+ #ifndef CYTHON_USE_FREELISTS
421
+ #define CYTHON_USE_FREELISTS 1
422
+ #endif
393
423
  #endif
394
424
  #if !defined(CYTHON_FAST_PYCCALL)
395
425
  #define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
@@ -581,17 +611,20 @@ END: Cython Metadata */
581
611
  PyObject *name, int fline, PyObject *lnos) {
582
612
  PyObject *exception_table = NULL;
583
613
  PyObject *types_module=NULL, *code_type=NULL, *result=NULL;
584
- PyObject *version_info; // borrowed
614
+ #if __PYX_LIMITED_VERSION_HEX < 0x030B0000
615
+ PyObject *version_info;
585
616
  PyObject *py_minor_version = NULL;
617
+ #endif
586
618
  long minor_version = 0;
587
619
  PyObject *type, *value, *traceback;
588
620
  PyErr_Fetch(&type, &value, &traceback);
589
621
  #if __PYX_LIMITED_VERSION_HEX >= 0x030B0000
590
- minor_version = 11; // we don't yet need to distinguish between versions > 11
622
+ minor_version = 11;
591
623
  #else
592
624
  if (!(version_info = PySys_GetObject("version_info"))) goto end;
593
625
  if (!(py_minor_version = PySequence_GetItem(version_info, 1))) goto end;
594
626
  minor_version = PyLong_AsLong(py_minor_version);
627
+ Py_DECREF(py_minor_version);
595
628
  if (minor_version == -1 && PyErr_Occurred()) goto end;
596
629
  #endif
597
630
  if (!(types_module = PyImport_ImportModule("types"))) goto end;
@@ -612,7 +645,6 @@ END: Cython Metadata */
612
645
  Py_XDECREF(code_type);
613
646
  Py_XDECREF(exception_table);
614
647
  Py_XDECREF(types_module);
615
- Py_XDECREF(py_minor_version);
616
648
  if (type) {
617
649
  PyErr_Restore(type, value, traceback);
618
650
  }
@@ -645,7 +677,7 @@ END: Cython Metadata */
645
677
  PyObject *fv, PyObject *cell, PyObject* fn,
646
678
  PyObject *name, int fline, PyObject *lnos) {
647
679
  PyCodeObject *result;
648
- PyObject *empty_bytes = PyBytes_FromStringAndSize("", 0); // we don't have access to __pyx_empty_bytes here
680
+ PyObject *empty_bytes = PyBytes_FromStringAndSize("", 0);
649
681
  if (!empty_bytes) return NULL;
650
682
  result =
651
683
  #if PY_VERSION_HEX >= 0x030C0000
@@ -731,8 +763,13 @@ END: Cython Metadata */
731
763
  typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args,
732
764
  Py_ssize_t nargs, PyObject *kwnames);
733
765
  #else
734
- #define __Pyx_PyCFunctionFast _PyCFunctionFast
735
- #define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
766
+ #if PY_VERSION_HEX >= 0x030d00A4
767
+ # define __Pyx_PyCFunctionFast PyCFunctionFast
768
+ # define __Pyx_PyCFunctionFastWithKeywords PyCFunctionFastWithKeywords
769
+ #else
770
+ # define __Pyx_PyCFunctionFast _PyCFunctionFast
771
+ # define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
772
+ #endif
736
773
  #endif
737
774
  #if CYTHON_METH_FASTCALL
738
775
  #define __Pyx_METH_FASTCALL METH_FASTCALL
@@ -756,6 +793,31 @@ END: Cython Metadata */
756
793
  #define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET 0
757
794
  #define __Pyx_PyVectorcall_NARGS(n) ((Py_ssize_t)(n))
758
795
  #endif
796
+ #if PY_MAJOR_VERSION >= 0x030900B1
797
+ #define __Pyx_PyCFunction_CheckExact(func) PyCFunction_CheckExact(func)
798
+ #else
799
+ #define __Pyx_PyCFunction_CheckExact(func) PyCFunction_Check(func)
800
+ #endif
801
+ #define __Pyx_CyOrPyCFunction_Check(func) PyCFunction_Check(func)
802
+ #if CYTHON_COMPILING_IN_CPYTHON
803
+ #define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) (((PyCFunctionObject*)(func))->m_ml->ml_meth)
804
+ #elif !CYTHON_COMPILING_IN_LIMITED_API
805
+ #define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(func)
806
+ #endif
807
+ #if CYTHON_COMPILING_IN_CPYTHON
808
+ #define __Pyx_CyOrPyCFunction_GET_FLAGS(func) (((PyCFunctionObject*)(func))->m_ml->ml_flags)
809
+ static CYTHON_INLINE PyObject* __Pyx_CyOrPyCFunction_GET_SELF(PyObject *func) {
810
+ return (__Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_STATIC) ? NULL : ((PyCFunctionObject*)func)->m_self;
811
+ }
812
+ #endif
813
+ static CYTHON_INLINE int __Pyx__IsSameCFunction(PyObject *func, void *cfunc) {
814
+ #if CYTHON_COMPILING_IN_LIMITED_API
815
+ return PyCFunction_Check(func) && PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
816
+ #else
817
+ return PyCFunction_Check(func) && PyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
818
+ #endif
819
+ }
820
+ #define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCFunction(func, cfunc)
759
821
  #if __PYX_LIMITED_VERSION_HEX < 0x030900B1
760
822
  #define __Pyx_PyType_FromModuleAndSpec(m, s, b) ((void)m, PyType_FromSpecWithBases(s, b))
761
823
  typedef PyObject *(*__Pyx_PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, size_t, PyObject *);
@@ -782,6 +844,8 @@ END: Cython Metadata */
782
844
  #define __Pyx_PyThreadState_Current PyThreadState_Get()
783
845
  #elif !CYTHON_FAST_THREAD_STATE
784
846
  #define __Pyx_PyThreadState_Current PyThreadState_GET()
847
+ #elif PY_VERSION_HEX >= 0x030d00A1
848
+ #define __Pyx_PyThreadState_Current PyThreadState_GetUnchecked()
785
849
  #elif PY_VERSION_HEX >= 0x03060000
786
850
  #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
787
851
  #elif PY_VERSION_HEX >= 0x03000000
@@ -857,7 +921,7 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
857
921
  }
858
922
  #endif
859
923
  #endif
860
- #if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized)
924
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030d0000 || defined(_PyDict_NewPresized)
861
925
  #define __Pyx_PyDict_NewPresized(n) ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n))
862
926
  #else
863
927
  #define __Pyx_PyDict_NewPresized(n) PyDict_New()
@@ -869,7 +933,7 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
869
933
  #define __Pyx_PyNumber_Divide(x,y) PyNumber_Divide(x,y)
870
934
  #define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceDivide(x,y)
871
935
  #endif
872
- #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX > 0x030600B4 && CYTHON_USE_UNICODE_INTERNALS
936
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX > 0x030600B4 && PY_VERSION_HEX < 0x030d0000 && CYTHON_USE_UNICODE_INTERNALS
873
937
  #define __Pyx_PyDict_GetItemStrWithError(dict, name) _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash)
874
938
  static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStr(PyObject *dict, PyObject *name) {
875
939
  PyObject *res = __Pyx_PyDict_GetItemStrWithError(dict, name);
@@ -913,7 +977,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict,
913
977
  #endif
914
978
  #if CYTHON_USE_TYPE_SPECS && PY_VERSION_HEX >= 0x03080000
915
979
  #define __Pyx_PyHeapTypeObject_GC_Del(obj) {\
916
- PyTypeObject *type = Py_TYPE(obj);\
980
+ PyTypeObject *type = Py_TYPE((PyObject*)obj);\
917
981
  assert(__Pyx_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE));\
918
982
  PyObject_GC_Del(obj);\
919
983
  Py_DECREF(type);\
@@ -1057,6 +1121,15 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict,
1057
1121
  #define __Pyx_PyBytes_GET_SIZE(o) PyBytes_Size(o)
1058
1122
  #define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_Size(o)
1059
1123
  #endif
1124
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
1125
+ #define __Pyx_PyImport_AddModuleRef(name) PyImport_AddModuleRef(name)
1126
+ #else
1127
+ static CYTHON_INLINE PyObject *__Pyx_PyImport_AddModuleRef(const char *name) {
1128
+ PyObject *module = PyImport_AddModule(name);
1129
+ Py_XINCREF(module);
1130
+ return module;
1131
+ }
1132
+ #endif
1060
1133
  #if PY_MAJOR_VERSION >= 3
1061
1134
  #define PyIntObject PyLongObject
1062
1135
  #define PyInt_Type PyLong_Type
@@ -1135,7 +1208,7 @@ static CYTHON_INLINE float __PYX_NAN() {
1135
1208
  #endif
1136
1209
 
1137
1210
  #define __PYX_MARK_ERR_POS(f_index, lineno) \
1138
- { __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__; (void)__pyx_clineno; }
1211
+ { __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__; (void)__pyx_clineno; }
1139
1212
  #define __PYX_ERR(f_index, lineno, Ln_error) \
1140
1213
  { __PYX_MARK_ERR_POS(f_index, lineno) goto Ln_error; }
1141
1214
 
@@ -1217,9 +1290,10 @@ static CYTHON_INLINE int __Pyx_is_valid_index(Py_ssize_t i, Py_ssize_t limit) {
1217
1290
  #else
1218
1291
  #define __Pyx_sst_abs(value) ((value<0) ? -value : value)
1219
1292
  #endif
1293
+ static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s);
1220
1294
  static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*);
1221
1295
  static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
1222
- #define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
1296
+ static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char*);
1223
1297
  #define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
1224
1298
  #define __Pyx_PyBytes_FromString PyBytes_FromString
1225
1299
  #define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize
@@ -1247,24 +1321,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*);
1247
1321
  #define __Pyx_PyByteArray_FromCString(s) __Pyx_PyByteArray_FromString((const char*)s)
1248
1322
  #define __Pyx_PyStr_FromCString(s) __Pyx_PyStr_FromString((const char*)s)
1249
1323
  #define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
1250
- #if CYTHON_COMPILING_IN_LIMITED_API
1251
- static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const wchar_t *u)
1252
- {
1253
- const wchar_t *u_end = u;
1254
- while (*u_end++) ;
1255
- return (size_t)(u_end - u - 1);
1256
- }
1257
- #else
1258
- static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
1259
- {
1260
- const Py_UNICODE *u_end = u;
1261
- while (*u_end++) ;
1262
- return (size_t)(u_end - u - 1);
1263
- }
1264
- #endif
1265
1324
  #define __Pyx_PyUnicode_FromOrdinal(o) PyUnicode_FromOrdinal((int)o)
1266
- #define __Pyx_PyUnicode_FromUnicode(u) PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
1267
- #define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
1268
1325
  #define __Pyx_PyUnicode_AsUnicode PyUnicode_AsUnicode
1269
1326
  #define __Pyx_NewRef(obj) (Py_INCREF(obj), obj)
1270
1327
  #define __Pyx_Owned_Py_None(b) __Pyx_NewRef(Py_None)
@@ -1314,7 +1371,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
1314
1371
  #endif
1315
1372
  typedef Py_ssize_t __Pyx_compact_pylong;
1316
1373
  typedef size_t __Pyx_compact_upylong;
1317
- #else // Py < 3.12
1374
+ #else
1318
1375
  #define __Pyx_PyLong_IsNeg(x) (Py_SIZE(x) < 0)
1319
1376
  #define __Pyx_PyLong_IsNonNeg(x) (Py_SIZE(x) >= 0)
1320
1377
  #define __Pyx_PyLong_IsZero(x) (Py_SIZE(x) == 0)
@@ -1335,6 +1392,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
1335
1392
  #endif
1336
1393
  #endif
1337
1394
  #if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
1395
+ #include <string.h>
1338
1396
  static int __Pyx_sys_getdefaultencoding_not_ascii;
1339
1397
  static int __Pyx_init_sys_getdefaultencoding_params(void) {
1340
1398
  PyObject* sys;
@@ -1385,6 +1443,7 @@ bad:
1385
1443
  #else
1386
1444
  #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
1387
1445
  #if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
1446
+ #include <string.h>
1388
1447
  static char* __PYX_DEFAULT_STRING_ENCODING;
1389
1448
  static int __Pyx_init_sys_getdefaultencoding_params(void) {
1390
1449
  PyObject* sys;
@@ -1432,7 +1491,7 @@ static const char *__pyx_filename;
1432
1491
  #if !defined(CYTHON_CCOMPLEX)
1433
1492
  #if defined(__cplusplus)
1434
1493
  #define CYTHON_CCOMPLEX 1
1435
- #elif (defined(_Complex_I) && !defined(_MSC_VER)) || ((defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_COMPLEX__))
1494
+ #elif (defined(_Complex_I) && !defined(_MSC_VER)) || ((defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_COMPLEX__) && !defined(_MSC_VER))
1436
1495
  #define CYTHON_CCOMPLEX 1
1437
1496
  #else
1438
1497
  #define CYTHON_CCOMPLEX 0
@@ -1459,9 +1518,14 @@ static const char *__pyx_f[] = {
1459
1518
  "type.pxd",
1460
1519
  };
1461
1520
  /* #### Code section: utility_code_proto_before_types ### */
1521
+ /* ForceInitThreads.proto */
1522
+ #ifndef __PYX_FORCE_INIT_THREADS
1523
+ #define __PYX_FORCE_INIT_THREADS 0
1524
+ #endif
1525
+
1462
1526
  /* #### Code section: numeric_typedefs ### */
1463
1527
 
1464
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":732
1528
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":732
1465
1529
  * # in Cython to enable them only on the right systems.
1466
1530
  *
1467
1531
  * ctypedef npy_int8 int8_t # <<<<<<<<<<<<<<
@@ -1470,7 +1534,7 @@ static const char *__pyx_f[] = {
1470
1534
  */
1471
1535
  typedef npy_int8 __pyx_t_5numpy_int8_t;
1472
1536
 
1473
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":733
1537
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":733
1474
1538
  *
1475
1539
  * ctypedef npy_int8 int8_t
1476
1540
  * ctypedef npy_int16 int16_t # <<<<<<<<<<<<<<
@@ -1479,7 +1543,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t;
1479
1543
  */
1480
1544
  typedef npy_int16 __pyx_t_5numpy_int16_t;
1481
1545
 
1482
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":734
1546
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":734
1483
1547
  * ctypedef npy_int8 int8_t
1484
1548
  * ctypedef npy_int16 int16_t
1485
1549
  * ctypedef npy_int32 int32_t # <<<<<<<<<<<<<<
@@ -1488,7 +1552,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t;
1488
1552
  */
1489
1553
  typedef npy_int32 __pyx_t_5numpy_int32_t;
1490
1554
 
1491
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":735
1555
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":735
1492
1556
  * ctypedef npy_int16 int16_t
1493
1557
  * ctypedef npy_int32 int32_t
1494
1558
  * ctypedef npy_int64 int64_t # <<<<<<<<<<<<<<
@@ -1497,7 +1561,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t;
1497
1561
  */
1498
1562
  typedef npy_int64 __pyx_t_5numpy_int64_t;
1499
1563
 
1500
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":739
1564
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":739
1501
1565
  * #ctypedef npy_int128 int128_t
1502
1566
  *
1503
1567
  * ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<<
@@ -1506,7 +1570,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t;
1506
1570
  */
1507
1571
  typedef npy_uint8 __pyx_t_5numpy_uint8_t;
1508
1572
 
1509
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":740
1573
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":740
1510
1574
  *
1511
1575
  * ctypedef npy_uint8 uint8_t
1512
1576
  * ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<<
@@ -1515,7 +1579,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
1515
1579
  */
1516
1580
  typedef npy_uint16 __pyx_t_5numpy_uint16_t;
1517
1581
 
1518
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":741
1582
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":741
1519
1583
  * ctypedef npy_uint8 uint8_t
1520
1584
  * ctypedef npy_uint16 uint16_t
1521
1585
  * ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<<
@@ -1524,7 +1588,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
1524
1588
  */
1525
1589
  typedef npy_uint32 __pyx_t_5numpy_uint32_t;
1526
1590
 
1527
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":742
1591
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":742
1528
1592
  * ctypedef npy_uint16 uint16_t
1529
1593
  * ctypedef npy_uint32 uint32_t
1530
1594
  * ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<<
@@ -1533,7 +1597,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
1533
1597
  */
1534
1598
  typedef npy_uint64 __pyx_t_5numpy_uint64_t;
1535
1599
 
1536
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":746
1600
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":746
1537
1601
  * #ctypedef npy_uint128 uint128_t
1538
1602
  *
1539
1603
  * ctypedef npy_float32 float32_t # <<<<<<<<<<<<<<
@@ -1542,7 +1606,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
1542
1606
  */
1543
1607
  typedef npy_float32 __pyx_t_5numpy_float32_t;
1544
1608
 
1545
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":747
1609
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":747
1546
1610
  *
1547
1611
  * ctypedef npy_float32 float32_t
1548
1612
  * ctypedef npy_float64 float64_t # <<<<<<<<<<<<<<
@@ -1551,7 +1615,7 @@ typedef npy_float32 __pyx_t_5numpy_float32_t;
1551
1615
  */
1552
1616
  typedef npy_float64 __pyx_t_5numpy_float64_t;
1553
1617
 
1554
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":756
1618
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":756
1555
1619
  * # The int types are mapped a bit surprising --
1556
1620
  * # numpy.int corresponds to 'l' and numpy.long to 'q'
1557
1621
  * ctypedef npy_long int_t # <<<<<<<<<<<<<<
@@ -1560,7 +1624,7 @@ typedef npy_float64 __pyx_t_5numpy_float64_t;
1560
1624
  */
1561
1625
  typedef npy_long __pyx_t_5numpy_int_t;
1562
1626
 
1563
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":757
1627
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":757
1564
1628
  * # numpy.int corresponds to 'l' and numpy.long to 'q'
1565
1629
  * ctypedef npy_long int_t
1566
1630
  * ctypedef npy_longlong long_t # <<<<<<<<<<<<<<
@@ -1569,7 +1633,7 @@ typedef npy_long __pyx_t_5numpy_int_t;
1569
1633
  */
1570
1634
  typedef npy_longlong __pyx_t_5numpy_long_t;
1571
1635
 
1572
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":758
1636
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":758
1573
1637
  * ctypedef npy_long int_t
1574
1638
  * ctypedef npy_longlong long_t
1575
1639
  * ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<<
@@ -1578,7 +1642,7 @@ typedef npy_longlong __pyx_t_5numpy_long_t;
1578
1642
  */
1579
1643
  typedef npy_longlong __pyx_t_5numpy_longlong_t;
1580
1644
 
1581
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":760
1645
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":760
1582
1646
  * ctypedef npy_longlong longlong_t
1583
1647
  *
1584
1648
  * ctypedef npy_ulong uint_t # <<<<<<<<<<<<<<
@@ -1587,7 +1651,7 @@ typedef npy_longlong __pyx_t_5numpy_longlong_t;
1587
1651
  */
1588
1652
  typedef npy_ulong __pyx_t_5numpy_uint_t;
1589
1653
 
1590
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":761
1654
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":761
1591
1655
  *
1592
1656
  * ctypedef npy_ulong uint_t
1593
1657
  * ctypedef npy_ulonglong ulong_t # <<<<<<<<<<<<<<
@@ -1596,7 +1660,7 @@ typedef npy_ulong __pyx_t_5numpy_uint_t;
1596
1660
  */
1597
1661
  typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
1598
1662
 
1599
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":762
1663
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":762
1600
1664
  * ctypedef npy_ulong uint_t
1601
1665
  * ctypedef npy_ulonglong ulong_t
1602
1666
  * ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<<
@@ -1605,7 +1669,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
1605
1669
  */
1606
1670
  typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
1607
1671
 
1608
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":764
1672
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":764
1609
1673
  * ctypedef npy_ulonglong ulonglong_t
1610
1674
  *
1611
1675
  * ctypedef npy_intp intp_t # <<<<<<<<<<<<<<
@@ -1614,7 +1678,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
1614
1678
  */
1615
1679
  typedef npy_intp __pyx_t_5numpy_intp_t;
1616
1680
 
1617
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":765
1681
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":765
1618
1682
  *
1619
1683
  * ctypedef npy_intp intp_t
1620
1684
  * ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<<
@@ -1623,7 +1687,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t;
1623
1687
  */
1624
1688
  typedef npy_uintp __pyx_t_5numpy_uintp_t;
1625
1689
 
1626
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":767
1690
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":767
1627
1691
  * ctypedef npy_uintp uintp_t
1628
1692
  *
1629
1693
  * ctypedef npy_double float_t # <<<<<<<<<<<<<<
@@ -1632,7 +1696,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t;
1632
1696
  */
1633
1697
  typedef npy_double __pyx_t_5numpy_float_t;
1634
1698
 
1635
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":768
1699
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":768
1636
1700
  *
1637
1701
  * ctypedef npy_double float_t
1638
1702
  * ctypedef npy_double double_t # <<<<<<<<<<<<<<
@@ -1641,7 +1705,7 @@ typedef npy_double __pyx_t_5numpy_float_t;
1641
1705
  */
1642
1706
  typedef npy_double __pyx_t_5numpy_double_t;
1643
1707
 
1644
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":769
1708
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":769
1645
1709
  * ctypedef npy_double float_t
1646
1710
  * ctypedef npy_double double_t
1647
1711
  * ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<<
@@ -1681,7 +1745,7 @@ struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode;
1681
1745
  struct __pyx_obj_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph;
1682
1746
  struct __pyx_obj_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr;
1683
1747
 
1684
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":771
1748
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":771
1685
1749
  * ctypedef npy_longdouble longdouble_t
1686
1750
  *
1687
1751
  * ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<<
@@ -1690,7 +1754,7 @@ struct __pyx_obj_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr;
1690
1754
  */
1691
1755
  typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
1692
1756
 
1693
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":772
1757
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":772
1694
1758
  *
1695
1759
  * ctypedef npy_cfloat cfloat_t
1696
1760
  * ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<<
@@ -1699,7 +1763,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
1699
1763
  */
1700
1764
  typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
1701
1765
 
1702
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":773
1766
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":773
1703
1767
  * ctypedef npy_cfloat cfloat_t
1704
1768
  * ctypedef npy_cdouble cdouble_t
1705
1769
  * ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<<
@@ -1708,7 +1772,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
1708
1772
  */
1709
1773
  typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
1710
1774
 
1711
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":775
1775
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":775
1712
1776
  * ctypedef npy_clongdouble clongdouble_t
1713
1777
  *
1714
1778
  * ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<<
@@ -1970,8 +2034,8 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
1970
2034
  #define __Pyx_Arg_NewRef_VARARGS(arg) __Pyx_NewRef(arg)
1971
2035
  #define __Pyx_Arg_XDECREF_VARARGS(arg) Py_XDECREF(arg)
1972
2036
  #else
1973
- #define __Pyx_Arg_NewRef_VARARGS(arg) arg // no-op
1974
- #define __Pyx_Arg_XDECREF_VARARGS(arg) // no-op - arg is borrowed
2037
+ #define __Pyx_Arg_NewRef_VARARGS(arg) arg
2038
+ #define __Pyx_Arg_XDECREF_VARARGS(arg)
1975
2039
  #endif
1976
2040
  #define __Pyx_NumKwargs_VARARGS(kwds) PyDict_Size(kwds)
1977
2041
  #define __Pyx_KwValues_VARARGS(args, nargs) NULL
@@ -1982,9 +2046,14 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
1982
2046
  #define __Pyx_NumKwargs_FASTCALL(kwds) PyTuple_GET_SIZE(kwds)
1983
2047
  #define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs))
1984
2048
  static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s);
2049
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
2050
+ CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);
2051
+ #else
1985
2052
  #define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw)
1986
- #define __Pyx_Arg_NewRef_FASTCALL(arg) arg // no-op, __Pyx_Arg_FASTCALL is direct and this needs
1987
- #define __Pyx_Arg_XDECREF_FASTCALL(arg) // no-op - arg was returned from array
2053
+ #endif
2054
+ #define __Pyx_Arg_NewRef_FASTCALL(arg) arg /* no-op, __Pyx_Arg_FASTCALL is direct and this needs
2055
+ to have the same reference counting */
2056
+ #define __Pyx_Arg_XDECREF_FASTCALL(arg)
1988
2057
  #else
1989
2058
  #define __Pyx_Arg_FASTCALL __Pyx_Arg_VARARGS
1990
2059
  #define __Pyx_NumKwargs_FASTCALL __Pyx_NumKwargs_VARARGS
@@ -2131,7 +2200,11 @@ static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
2131
2200
  Py_ssize_t len = Py_SIZE(list);
2132
2201
  if (likely(L->allocated > len)) {
2133
2202
  Py_INCREF(x);
2203
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
2204
+ L->ob_item[len] = x;
2205
+ #else
2134
2206
  PyList_SET_ITEM(list, len, x);
2207
+ #endif
2135
2208
  __Pyx_SET_SIZE(list, len + 1);
2136
2209
  return 0;
2137
2210
  }
@@ -2244,7 +2317,11 @@ static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) {
2244
2317
  Py_ssize_t len = Py_SIZE(list);
2245
2318
  if (likely(L->allocated > len) & likely(len > (L->allocated >> 1))) {
2246
2319
  Py_INCREF(x);
2320
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
2321
+ L->ob_item[len] = x;
2322
+ #else
2247
2323
  PyList_SET_ITEM(list, len, x);
2324
+ #endif
2248
2325
  __Pyx_SET_SIZE(list, len + 1);
2249
2326
  return 0;
2250
2327
  }
@@ -2373,14 +2450,36 @@ static PyObject* __Pyx_PyObject_Format(PyObject* s, PyObject* f);
2373
2450
  static double __Pyx_SlowPyString_AsDouble(PyObject *obj);
2374
2451
  static double __Pyx__PyBytes_AsDouble(PyObject *obj, const char* start, Py_ssize_t length);
2375
2452
  static CYTHON_INLINE double __Pyx_PyBytes_AsDouble(PyObject *obj) {
2376
- return __Pyx__PyBytes_AsDouble(obj, PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj));
2453
+ char* as_c_string;
2454
+ Py_ssize_t size;
2455
+ #if CYTHON_ASSUME_SAFE_MACROS
2456
+ as_c_string = PyBytes_AS_STRING(obj);
2457
+ size = PyBytes_GET_SIZE(obj);
2458
+ #else
2459
+ if (PyBytes_AsStringAndSize(obj, &as_c_string, &size) < 0) {
2460
+ return (double)-1;
2461
+ }
2462
+ #endif
2463
+ return __Pyx__PyBytes_AsDouble(obj, as_c_string, size);
2377
2464
  }
2378
2465
  static CYTHON_INLINE double __Pyx_PyByteArray_AsDouble(PyObject *obj) {
2379
- return __Pyx__PyBytes_AsDouble(obj, PyByteArray_AS_STRING(obj), PyByteArray_GET_SIZE(obj));
2466
+ char* as_c_string;
2467
+ Py_ssize_t size;
2468
+ #if CYTHON_ASSUME_SAFE_MACROS
2469
+ as_c_string = PyByteArray_AS_STRING(obj);
2470
+ size = PyByteArray_GET_SIZE(obj);
2471
+ #else
2472
+ as_c_string = PyByteArray_AsString(obj);
2473
+ if (as_c_string == NULL) {
2474
+ return (double)-1;
2475
+ }
2476
+ size = PyByteArray_Size(obj);
2477
+ #endif
2478
+ return __Pyx__PyBytes_AsDouble(obj, as_c_string, size);
2380
2479
  }
2381
2480
 
2382
2481
  /* pyunicode_as_double.proto */
2383
- #if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
2482
+ #if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY && CYTHON_ASSUME_SAFE_MACROS
2384
2483
  static const char* __Pyx__PyUnicode_AsDouble_Copy(const void* data, const int kind, char* buffer, Py_ssize_t start, Py_ssize_t end) {
2385
2484
  int last_was_punctuation;
2386
2485
  Py_ssize_t i;
@@ -2491,7 +2590,7 @@ fallback:
2491
2590
  }
2492
2591
  #endif
2493
2592
  static CYTHON_INLINE double __Pyx_PyUnicode_AsDouble(PyObject *obj) {
2494
- #if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
2593
+ #if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY && CYTHON_ASSUME_SAFE_MACROS
2495
2594
  if (unlikely(__Pyx_PyUnicode_READY(obj) == -1))
2496
2595
  return (double)-1;
2497
2596
  if (likely(PyUnicode_IS_ASCII(obj))) {
@@ -2581,22 +2680,22 @@ static int __Pyx_setup_reduce(PyObject* type_obj);
2581
2680
  #endif
2582
2681
 
2583
2682
  /* TypeImport.proto */
2584
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_0_2
2585
- #define __PYX_HAVE_RT_ImportType_proto_3_0_2
2683
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_0_10
2684
+ #define __PYX_HAVE_RT_ImportType_proto_3_0_10
2586
2685
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2587
2686
  #include <stdalign.h>
2588
2687
  #endif
2589
2688
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2590
- #define __PYX_GET_STRUCT_ALIGNMENT_3_0_2(s) alignof(s)
2689
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) alignof(s)
2591
2690
  #else
2592
- #define __PYX_GET_STRUCT_ALIGNMENT_3_0_2(s) sizeof(void*)
2691
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) sizeof(void*)
2593
2692
  #endif
2594
- enum __Pyx_ImportType_CheckSize_3_0_2 {
2595
- __Pyx_ImportType_CheckSize_Error_3_0_2 = 0,
2596
- __Pyx_ImportType_CheckSize_Warn_3_0_2 = 1,
2597
- __Pyx_ImportType_CheckSize_Ignore_3_0_2 = 2
2693
+ enum __Pyx_ImportType_CheckSize_3_0_10 {
2694
+ __Pyx_ImportType_CheckSize_Error_3_0_10 = 0,
2695
+ __Pyx_ImportType_CheckSize_Warn_3_0_10 = 1,
2696
+ __Pyx_ImportType_CheckSize_Ignore_3_0_10 = 2
2598
2697
  };
2599
- 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);
2698
+ 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);
2600
2699
  #endif
2601
2700
 
2602
2701
  /* Import.proto */
@@ -2707,7 +2806,7 @@ typedef struct {
2707
2806
  #endif
2708
2807
  void *defaults;
2709
2808
  int defaults_pyobjects;
2710
- size_t defaults_size; // used by FusedFunction for copying defaults
2809
+ size_t defaults_size;
2711
2810
  int flags;
2712
2811
  PyObject *defaults_tuple;
2713
2812
  PyObject *defaults_kwdict;
@@ -2715,9 +2814,13 @@ typedef struct {
2715
2814
  PyObject *func_annotations;
2716
2815
  PyObject *func_is_coroutine;
2717
2816
  } __pyx_CyFunctionObject;
2817
+ #undef __Pyx_CyOrPyCFunction_Check
2718
2818
  #define __Pyx_CyFunction_Check(obj) __Pyx_TypeCheck(obj, __pyx_CyFunctionType)
2719
- #define __Pyx_IsCyOrPyCFunction(obj) __Pyx_TypeCheck2(obj, __pyx_CyFunctionType, &PyCFunction_Type)
2819
+ #define __Pyx_CyOrPyCFunction_Check(obj) __Pyx_TypeCheck2(obj, __pyx_CyFunctionType, &PyCFunction_Type)
2720
2820
  #define __Pyx_CyFunction_CheckExact(obj) __Pyx_IS_TYPE(obj, __pyx_CyFunctionType)
2821
+ static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc);
2822
+ #undef __Pyx_IsSameCFunction
2823
+ #define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCyOrCFunction(func, cfunc)
2721
2824
  static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject* op, PyMethodDef *ml,
2722
2825
  int flags, PyObject* qualname,
2723
2826
  PyObject *closure,
@@ -2754,7 +2857,7 @@ static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml,
2754
2857
  PyObject* code);
2755
2858
 
2756
2859
  /* SetNameInClass.proto */
2757
- #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
2860
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && PY_VERSION_HEX < 0x030d0000
2758
2861
  #define __Pyx_SetNameInClass(ns, name, value)\
2759
2862
  (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, value))
2760
2863
  #elif CYTHON_COMPILING_IN_CPYTHON
@@ -3042,7 +3145,8 @@ static PyObject *__Pyx_Generator_Next(PyObject *self);
3042
3145
  static int __pyx_Generator_init(PyObject *module);
3043
3146
 
3044
3147
  /* CheckBinaryVersion.proto */
3045
- static int __Pyx_check_binary_version(void);
3148
+ static unsigned long __Pyx_get_runtime_version(void);
3149
+ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
3046
3150
 
3047
3151
  /* InitStrings.proto */
3048
3152
  static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
@@ -4728,7 +4832,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
4728
4832
  #define __pyx_codeobj__64 __pyx_mstate_global->__pyx_codeobj__64
4729
4833
  /* #### Code section: module_code ### */
4730
4834
 
4731
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":246
4835
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":246
4732
4836
  *
4733
4837
  * @property
4734
4838
  * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@@ -4739,7 +4843,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
4739
4843
  static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
4740
4844
  PyObject *__pyx_r;
4741
4845
 
4742
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":249
4846
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":249
4743
4847
  * """Returns a borrowed reference to the object owning the data/memory.
4744
4848
  * """
4745
4849
  * return PyArray_BASE(self) # <<<<<<<<<<<<<<
@@ -4749,7 +4853,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
4749
4853
  __pyx_r = PyArray_BASE(__pyx_v_self);
4750
4854
  goto __pyx_L0;
4751
4855
 
4752
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":246
4856
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":246
4753
4857
  *
4754
4858
  * @property
4755
4859
  * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@@ -4762,7 +4866,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
4762
4866
  return __pyx_r;
4763
4867
  }
4764
4868
 
4765
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":252
4869
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":252
4766
4870
  *
4767
4871
  * @property
4768
4872
  * cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@@ -4774,9 +4878,9 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
4774
4878
  PyArray_Descr *__pyx_r = NULL;
4775
4879
  __Pyx_RefNannyDeclarations
4776
4880
  PyArray_Descr *__pyx_t_1;
4777
- __Pyx_RefNannySetupContext("descr", 0);
4881
+ __Pyx_RefNannySetupContext("descr", 1);
4778
4882
 
4779
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":255
4883
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":255
4780
4884
  * """Returns an owned reference to the dtype of the array.
4781
4885
  * """
4782
4886
  * return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
@@ -4789,7 +4893,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
4789
4893
  __pyx_r = ((PyArray_Descr *)__pyx_t_1);
4790
4894
  goto __pyx_L0;
4791
4895
 
4792
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":252
4896
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":252
4793
4897
  *
4794
4898
  * @property
4795
4899
  * cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@@ -4804,7 +4908,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
4804
4908
  return __pyx_r;
4805
4909
  }
4806
4910
 
4807
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":258
4911
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":258
4808
4912
  *
4809
4913
  * @property
4810
4914
  * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@@ -4815,7 +4919,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
4815
4919
  static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
4816
4920
  int __pyx_r;
4817
4921
 
4818
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":261
4922
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":261
4819
4923
  * """Returns the number of dimensions in the array.
4820
4924
  * """
4821
4925
  * return PyArray_NDIM(self) # <<<<<<<<<<<<<<
@@ -4825,7 +4929,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
4825
4929
  __pyx_r = PyArray_NDIM(__pyx_v_self);
4826
4930
  goto __pyx_L0;
4827
4931
 
4828
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":258
4932
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":258
4829
4933
  *
4830
4934
  * @property
4831
4935
  * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@@ -4838,7 +4942,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
4838
4942
  return __pyx_r;
4839
4943
  }
4840
4944
 
4841
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":264
4945
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":264
4842
4946
  *
4843
4947
  * @property
4844
4948
  * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@@ -4849,7 +4953,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
4849
4953
  static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
4850
4954
  npy_intp *__pyx_r;
4851
4955
 
4852
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":269
4956
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":269
4853
4957
  * Can return NULL for 0-dimensional arrays.
4854
4958
  * """
4855
4959
  * return PyArray_DIMS(self) # <<<<<<<<<<<<<<
@@ -4859,7 +4963,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
4859
4963
  __pyx_r = PyArray_DIMS(__pyx_v_self);
4860
4964
  goto __pyx_L0;
4861
4965
 
4862
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":264
4966
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":264
4863
4967
  *
4864
4968
  * @property
4865
4969
  * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@@ -4872,7 +4976,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
4872
4976
  return __pyx_r;
4873
4977
  }
4874
4978
 
4875
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":272
4979
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":272
4876
4980
  *
4877
4981
  * @property
4878
4982
  * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@@ -4883,7 +4987,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
4883
4987
  static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
4884
4988
  npy_intp *__pyx_r;
4885
4989
 
4886
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":276
4990
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":276
4887
4991
  * The number of elements matches the number of dimensions of the array (ndim).
4888
4992
  * """
4889
4993
  * return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
@@ -4893,7 +4997,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
4893
4997
  __pyx_r = PyArray_STRIDES(__pyx_v_self);
4894
4998
  goto __pyx_L0;
4895
4999
 
4896
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":272
5000
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":272
4897
5001
  *
4898
5002
  * @property
4899
5003
  * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@@ -4906,7 +5010,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
4906
5010
  return __pyx_r;
4907
5011
  }
4908
5012
 
4909
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":279
5013
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":279
4910
5014
  *
4911
5015
  * @property
4912
5016
  * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@@ -4917,7 +5021,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
4917
5021
  static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
4918
5022
  npy_intp __pyx_r;
4919
5023
 
4920
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":282
5024
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":282
4921
5025
  * """Returns the total size (in number of elements) of the array.
4922
5026
  * """
4923
5027
  * return PyArray_SIZE(self) # <<<<<<<<<<<<<<
@@ -4927,7 +5031,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
4927
5031
  __pyx_r = PyArray_SIZE(__pyx_v_self);
4928
5032
  goto __pyx_L0;
4929
5033
 
4930
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":279
5034
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":279
4931
5035
  *
4932
5036
  * @property
4933
5037
  * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@@ -4940,7 +5044,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
4940
5044
  return __pyx_r;
4941
5045
  }
4942
5046
 
4943
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":285
5047
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":285
4944
5048
  *
4945
5049
  * @property
4946
5050
  * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@@ -4951,7 +5055,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
4951
5055
  static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
4952
5056
  char *__pyx_r;
4953
5057
 
4954
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":291
5058
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":291
4955
5059
  * of `PyArray_DATA()` instead, which returns a 'void*'.
4956
5060
  * """
4957
5061
  * return PyArray_BYTES(self) # <<<<<<<<<<<<<<
@@ -4961,7 +5065,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
4961
5065
  __pyx_r = PyArray_BYTES(__pyx_v_self);
4962
5066
  goto __pyx_L0;
4963
5067
 
4964
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":285
5068
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":285
4965
5069
  *
4966
5070
  * @property
4967
5071
  * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@@ -4974,7 +5078,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
4974
5078
  return __pyx_r;
4975
5079
  }
4976
5080
 
4977
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":777
5081
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":777
4978
5082
  * ctypedef npy_cdouble complex_t
4979
5083
  *
4980
5084
  * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@@ -4989,9 +5093,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
4989
5093
  int __pyx_lineno = 0;
4990
5094
  const char *__pyx_filename = NULL;
4991
5095
  int __pyx_clineno = 0;
4992
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 0);
5096
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1);
4993
5097
 
4994
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":778
5098
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":778
4995
5099
  *
4996
5100
  * cdef inline object PyArray_MultiIterNew1(a):
4997
5101
  * return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
@@ -5005,7 +5109,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
5005
5109
  __pyx_t_1 = 0;
5006
5110
  goto __pyx_L0;
5007
5111
 
5008
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":777
5112
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":777
5009
5113
  * ctypedef npy_cdouble complex_t
5010
5114
  *
5011
5115
  * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@@ -5024,7 +5128,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
5024
5128
  return __pyx_r;
5025
5129
  }
5026
5130
 
5027
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":780
5131
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":780
5028
5132
  * return PyArray_MultiIterNew(1, <void*>a)
5029
5133
  *
5030
5134
  * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@@ -5039,9 +5143,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
5039
5143
  int __pyx_lineno = 0;
5040
5144
  const char *__pyx_filename = NULL;
5041
5145
  int __pyx_clineno = 0;
5042
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 0);
5146
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1);
5043
5147
 
5044
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":781
5148
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":781
5045
5149
  *
5046
5150
  * cdef inline object PyArray_MultiIterNew2(a, b):
5047
5151
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
@@ -5055,7 +5159,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
5055
5159
  __pyx_t_1 = 0;
5056
5160
  goto __pyx_L0;
5057
5161
 
5058
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":780
5162
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":780
5059
5163
  * return PyArray_MultiIterNew(1, <void*>a)
5060
5164
  *
5061
5165
  * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@@ -5074,7 +5178,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
5074
5178
  return __pyx_r;
5075
5179
  }
5076
5180
 
5077
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":783
5181
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":783
5078
5182
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b)
5079
5183
  *
5080
5184
  * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@@ -5089,9 +5193,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
5089
5193
  int __pyx_lineno = 0;
5090
5194
  const char *__pyx_filename = NULL;
5091
5195
  int __pyx_clineno = 0;
5092
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 0);
5196
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1);
5093
5197
 
5094
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":784
5198
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":784
5095
5199
  *
5096
5200
  * cdef inline object PyArray_MultiIterNew3(a, b, c):
5097
5201
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
@@ -5105,7 +5209,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
5105
5209
  __pyx_t_1 = 0;
5106
5210
  goto __pyx_L0;
5107
5211
 
5108
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":783
5212
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":783
5109
5213
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b)
5110
5214
  *
5111
5215
  * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@@ -5124,7 +5228,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
5124
5228
  return __pyx_r;
5125
5229
  }
5126
5230
 
5127
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":786
5231
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":786
5128
5232
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
5129
5233
  *
5130
5234
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@@ -5139,9 +5243,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
5139
5243
  int __pyx_lineno = 0;
5140
5244
  const char *__pyx_filename = NULL;
5141
5245
  int __pyx_clineno = 0;
5142
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 0);
5246
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1);
5143
5247
 
5144
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":787
5248
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":787
5145
5249
  *
5146
5250
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d):
5147
5251
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
@@ -5155,7 +5259,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
5155
5259
  __pyx_t_1 = 0;
5156
5260
  goto __pyx_L0;
5157
5261
 
5158
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":786
5262
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":786
5159
5263
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
5160
5264
  *
5161
5265
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@@ -5174,7 +5278,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
5174
5278
  return __pyx_r;
5175
5279
  }
5176
5280
 
5177
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789
5281
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789
5178
5282
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
5179
5283
  *
5180
5284
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@@ -5189,9 +5293,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
5189
5293
  int __pyx_lineno = 0;
5190
5294
  const char *__pyx_filename = NULL;
5191
5295
  int __pyx_clineno = 0;
5192
- __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 0);
5296
+ __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1);
5193
5297
 
5194
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":790
5298
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":790
5195
5299
  *
5196
5300
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
5197
5301
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
@@ -5205,7 +5309,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
5205
5309
  __pyx_t_1 = 0;
5206
5310
  goto __pyx_L0;
5207
5311
 
5208
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789
5312
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789
5209
5313
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
5210
5314
  *
5211
5315
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@@ -5224,7 +5328,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
5224
5328
  return __pyx_r;
5225
5329
  }
5226
5330
 
5227
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":792
5331
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":792
5228
5332
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
5229
5333
  *
5230
5334
  * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@@ -5236,9 +5340,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
5236
5340
  PyObject *__pyx_r = NULL;
5237
5341
  __Pyx_RefNannyDeclarations
5238
5342
  int __pyx_t_1;
5239
- __Pyx_RefNannySetupContext("PyDataType_SHAPE", 0);
5343
+ __Pyx_RefNannySetupContext("PyDataType_SHAPE", 1);
5240
5344
 
5241
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":793
5345
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":793
5242
5346
  *
5243
5347
  * cdef inline tuple PyDataType_SHAPE(dtype d):
5244
5348
  * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@@ -5248,7 +5352,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
5248
5352
  __pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
5249
5353
  if (__pyx_t_1) {
5250
5354
 
5251
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":794
5355
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":794
5252
5356
  * cdef inline tuple PyDataType_SHAPE(dtype d):
5253
5357
  * if PyDataType_HASSUBARRAY(d):
5254
5358
  * return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
@@ -5260,7 +5364,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
5260
5364
  __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
5261
5365
  goto __pyx_L0;
5262
5366
 
5263
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":793
5367
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":793
5264
5368
  *
5265
5369
  * cdef inline tuple PyDataType_SHAPE(dtype d):
5266
5370
  * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@@ -5269,7 +5373,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
5269
5373
  */
5270
5374
  }
5271
5375
 
5272
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":796
5376
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":796
5273
5377
  * return <tuple>d.subarray.shape
5274
5378
  * else:
5275
5379
  * return () # <<<<<<<<<<<<<<
@@ -5283,7 +5387,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
5283
5387
  goto __pyx_L0;
5284
5388
  }
5285
5389
 
5286
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":792
5390
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":792
5287
5391
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
5288
5392
  *
5289
5393
  * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@@ -5298,7 +5402,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
5298
5402
  return __pyx_r;
5299
5403
  }
5300
5404
 
5301
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":971
5405
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":971
5302
5406
  * int _import_umath() except -1
5303
5407
  *
5304
5408
  * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@@ -5307,10 +5411,8 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
5307
5411
  */
5308
5412
 
5309
5413
  static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
5310
- __Pyx_RefNannyDeclarations
5311
- __Pyx_RefNannySetupContext("set_array_base", 0);
5312
5414
 
5313
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":972
5415
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":972
5314
5416
  *
5315
5417
  * cdef inline void set_array_base(ndarray arr, object base):
5316
5418
  * Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
@@ -5319,7 +5421,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
5319
5421
  */
5320
5422
  Py_INCREF(__pyx_v_base);
5321
5423
 
5322
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":973
5424
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":973
5323
5425
  * cdef inline void set_array_base(ndarray arr, object base):
5324
5426
  * Py_INCREF(base) # important to do this before stealing the reference below!
5325
5427
  * PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
@@ -5328,7 +5430,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
5328
5430
  */
5329
5431
  (void)(PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base));
5330
5432
 
5331
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":971
5433
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":971
5332
5434
  * int _import_umath() except -1
5333
5435
  *
5334
5436
  * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@@ -5337,10 +5439,9 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
5337
5439
  */
5338
5440
 
5339
5441
  /* function exit code */
5340
- __Pyx_RefNannyFinishContext();
5341
5442
  }
5342
5443
 
5343
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":975
5444
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":975
5344
5445
  * PyArray_SetBaseObject(arr, base)
5345
5446
  *
5346
5447
  * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@@ -5353,9 +5454,9 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5353
5454
  PyObject *__pyx_r = NULL;
5354
5455
  __Pyx_RefNannyDeclarations
5355
5456
  int __pyx_t_1;
5356
- __Pyx_RefNannySetupContext("get_array_base", 0);
5457
+ __Pyx_RefNannySetupContext("get_array_base", 1);
5357
5458
 
5358
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":976
5459
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":976
5359
5460
  *
5360
5461
  * cdef inline object get_array_base(ndarray arr):
5361
5462
  * base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
@@ -5364,7 +5465,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5364
5465
  */
5365
5466
  __pyx_v_base = PyArray_BASE(__pyx_v_arr);
5366
5467
 
5367
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":977
5468
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":977
5368
5469
  * cdef inline object get_array_base(ndarray arr):
5369
5470
  * base = PyArray_BASE(arr)
5370
5471
  * if base is NULL: # <<<<<<<<<<<<<<
@@ -5374,7 +5475,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5374
5475
  __pyx_t_1 = (__pyx_v_base == NULL);
5375
5476
  if (__pyx_t_1) {
5376
5477
 
5377
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":978
5478
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":978
5378
5479
  * base = PyArray_BASE(arr)
5379
5480
  * if base is NULL:
5380
5481
  * return None # <<<<<<<<<<<<<<
@@ -5385,7 +5486,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5385
5486
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5386
5487
  goto __pyx_L0;
5387
5488
 
5388
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":977
5489
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":977
5389
5490
  * cdef inline object get_array_base(ndarray arr):
5390
5491
  * base = PyArray_BASE(arr)
5391
5492
  * if base is NULL: # <<<<<<<<<<<<<<
@@ -5394,7 +5495,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5394
5495
  */
5395
5496
  }
5396
5497
 
5397
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":979
5498
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":979
5398
5499
  * if base is NULL:
5399
5500
  * return None
5400
5501
  * return <object>base # <<<<<<<<<<<<<<
@@ -5406,7 +5507,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5406
5507
  __pyx_r = ((PyObject *)__pyx_v_base);
5407
5508
  goto __pyx_L0;
5408
5509
 
5409
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":975
5510
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":975
5410
5511
  * PyArray_SetBaseObject(arr, base)
5411
5512
  *
5412
5513
  * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@@ -5421,7 +5522,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5421
5522
  return __pyx_r;
5422
5523
  }
5423
5524
 
5424
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":983
5525
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":983
5425
5526
  * # Versions of the import_* functions which are more suitable for
5426
5527
  * # Cython code.
5427
5528
  * cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@@ -5443,9 +5544,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
5443
5544
  int __pyx_lineno = 0;
5444
5545
  const char *__pyx_filename = NULL;
5445
5546
  int __pyx_clineno = 0;
5446
- __Pyx_RefNannySetupContext("import_array", 0);
5547
+ __Pyx_RefNannySetupContext("import_array", 1);
5447
5548
 
5448
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
5549
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
5449
5550
  * # Cython code.
5450
5551
  * cdef inline int import_array() except -1:
5451
5552
  * try: # <<<<<<<<<<<<<<
@@ -5461,7 +5562,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
5461
5562
  __Pyx_XGOTREF(__pyx_t_3);
5462
5563
  /*try:*/ {
5463
5564
 
5464
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":985
5565
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":985
5465
5566
  * cdef inline int import_array() except -1:
5466
5567
  * try:
5467
5568
  * __pyx_import_array() # <<<<<<<<<<<<<<
@@ -5470,7 +5571,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
5470
5571
  */
5471
5572
  __pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 985, __pyx_L3_error)
5472
5573
 
5473
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
5574
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
5474
5575
  * # Cython code.
5475
5576
  * cdef inline int import_array() except -1:
5476
5577
  * try: # <<<<<<<<<<<<<<
@@ -5484,7 +5585,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
5484
5585
  goto __pyx_L8_try_end;
5485
5586
  __pyx_L3_error:;
5486
5587
 
5487
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":986
5588
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":986
5488
5589
  * try:
5489
5590
  * __pyx_import_array()
5490
5591
  * except Exception: # <<<<<<<<<<<<<<
@@ -5499,7 +5600,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
5499
5600
  __Pyx_XGOTREF(__pyx_t_6);
5500
5601
  __Pyx_XGOTREF(__pyx_t_7);
5501
5602
 
5502
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987
5603
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987
5503
5604
  * __pyx_import_array()
5504
5605
  * except Exception:
5505
5606
  * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@@ -5514,7 +5615,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
5514
5615
  }
5515
5616
  goto __pyx_L5_except_error;
5516
5617
 
5517
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
5618
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984
5518
5619
  * # Cython code.
5519
5620
  * cdef inline int import_array() except -1:
5520
5621
  * try: # <<<<<<<<<<<<<<
@@ -5530,7 +5631,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
5530
5631
  __pyx_L8_try_end:;
5531
5632
  }
5532
5633
 
5533
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":983
5634
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":983
5534
5635
  * # Versions of the import_* functions which are more suitable for
5535
5636
  * # Cython code.
5536
5637
  * cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@@ -5553,7 +5654,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
5553
5654
  return __pyx_r;
5554
5655
  }
5555
5656
 
5556
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":989
5657
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":989
5557
5658
  * raise ImportError("numpy.core.multiarray failed to import")
5558
5659
  *
5559
5660
  * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@@ -5575,9 +5676,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
5575
5676
  int __pyx_lineno = 0;
5576
5677
  const char *__pyx_filename = NULL;
5577
5678
  int __pyx_clineno = 0;
5578
- __Pyx_RefNannySetupContext("import_umath", 0);
5679
+ __Pyx_RefNannySetupContext("import_umath", 1);
5579
5680
 
5580
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
5681
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
5581
5682
  *
5582
5683
  * cdef inline int import_umath() except -1:
5583
5684
  * try: # <<<<<<<<<<<<<<
@@ -5593,7 +5694,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
5593
5694
  __Pyx_XGOTREF(__pyx_t_3);
5594
5695
  /*try:*/ {
5595
5696
 
5596
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":991
5697
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":991
5597
5698
  * cdef inline int import_umath() except -1:
5598
5699
  * try:
5599
5700
  * _import_umath() # <<<<<<<<<<<<<<
@@ -5602,7 +5703,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
5602
5703
  */
5603
5704
  __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 991, __pyx_L3_error)
5604
5705
 
5605
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
5706
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
5606
5707
  *
5607
5708
  * cdef inline int import_umath() except -1:
5608
5709
  * try: # <<<<<<<<<<<<<<
@@ -5616,7 +5717,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
5616
5717
  goto __pyx_L8_try_end;
5617
5718
  __pyx_L3_error:;
5618
5719
 
5619
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":992
5720
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":992
5620
5721
  * try:
5621
5722
  * _import_umath()
5622
5723
  * except Exception: # <<<<<<<<<<<<<<
@@ -5631,7 +5732,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
5631
5732
  __Pyx_XGOTREF(__pyx_t_6);
5632
5733
  __Pyx_XGOTREF(__pyx_t_7);
5633
5734
 
5634
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993
5735
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993
5635
5736
  * _import_umath()
5636
5737
  * except Exception:
5637
5738
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -5646,7 +5747,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
5646
5747
  }
5647
5748
  goto __pyx_L5_except_error;
5648
5749
 
5649
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
5750
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990
5650
5751
  *
5651
5752
  * cdef inline int import_umath() except -1:
5652
5753
  * try: # <<<<<<<<<<<<<<
@@ -5662,7 +5763,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
5662
5763
  __pyx_L8_try_end:;
5663
5764
  }
5664
5765
 
5665
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":989
5766
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":989
5666
5767
  * raise ImportError("numpy.core.multiarray failed to import")
5667
5768
  *
5668
5769
  * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@@ -5685,7 +5786,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
5685
5786
  return __pyx_r;
5686
5787
  }
5687
5788
 
5688
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":995
5789
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":995
5689
5790
  * raise ImportError("numpy.core.umath failed to import")
5690
5791
  *
5691
5792
  * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@@ -5707,9 +5808,9 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
5707
5808
  int __pyx_lineno = 0;
5708
5809
  const char *__pyx_filename = NULL;
5709
5810
  int __pyx_clineno = 0;
5710
- __Pyx_RefNannySetupContext("import_ufunc", 0);
5811
+ __Pyx_RefNannySetupContext("import_ufunc", 1);
5711
5812
 
5712
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
5813
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
5713
5814
  *
5714
5815
  * cdef inline int import_ufunc() except -1:
5715
5816
  * try: # <<<<<<<<<<<<<<
@@ -5725,7 +5826,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
5725
5826
  __Pyx_XGOTREF(__pyx_t_3);
5726
5827
  /*try:*/ {
5727
5828
 
5728
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":997
5829
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":997
5729
5830
  * cdef inline int import_ufunc() except -1:
5730
5831
  * try:
5731
5832
  * _import_umath() # <<<<<<<<<<<<<<
@@ -5734,7 +5835,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
5734
5835
  */
5735
5836
  __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 997, __pyx_L3_error)
5736
5837
 
5737
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
5838
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
5738
5839
  *
5739
5840
  * cdef inline int import_ufunc() except -1:
5740
5841
  * try: # <<<<<<<<<<<<<<
@@ -5748,7 +5849,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
5748
5849
  goto __pyx_L8_try_end;
5749
5850
  __pyx_L3_error:;
5750
5851
 
5751
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":998
5852
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":998
5752
5853
  * try:
5753
5854
  * _import_umath()
5754
5855
  * except Exception: # <<<<<<<<<<<<<<
@@ -5763,7 +5864,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
5763
5864
  __Pyx_XGOTREF(__pyx_t_6);
5764
5865
  __Pyx_XGOTREF(__pyx_t_7);
5765
5866
 
5766
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":999
5867
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":999
5767
5868
  * _import_umath()
5768
5869
  * except Exception:
5769
5870
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -5778,7 +5879,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
5778
5879
  }
5779
5880
  goto __pyx_L5_except_error;
5780
5881
 
5781
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
5882
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996
5782
5883
  *
5783
5884
  * cdef inline int import_ufunc() except -1:
5784
5885
  * try: # <<<<<<<<<<<<<<
@@ -5794,7 +5895,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
5794
5895
  __pyx_L8_try_end:;
5795
5896
  }
5796
5897
 
5797
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":995
5898
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":995
5798
5899
  * raise ImportError("numpy.core.umath failed to import")
5799
5900
  *
5800
5901
  * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@@ -5817,7 +5918,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
5817
5918
  return __pyx_r;
5818
5919
  }
5819
5920
 
5820
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1002
5921
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1002
5821
5922
  *
5822
5923
  *
5823
5924
  * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@@ -5827,10 +5928,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
5827
5928
 
5828
5929
  static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
5829
5930
  int __pyx_r;
5830
- __Pyx_RefNannyDeclarations
5831
- __Pyx_RefNannySetupContext("is_timedelta64_object", 0);
5832
5931
 
5833
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1014
5932
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1014
5834
5933
  * bool
5835
5934
  * """
5836
5935
  * return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
@@ -5840,7 +5939,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
5840
5939
  __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
5841
5940
  goto __pyx_L0;
5842
5941
 
5843
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1002
5942
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1002
5844
5943
  *
5845
5944
  *
5846
5945
  * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@@ -5850,11 +5949,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
5850
5949
 
5851
5950
  /* function exit code */
5852
5951
  __pyx_L0:;
5853
- __Pyx_RefNannyFinishContext();
5854
5952
  return __pyx_r;
5855
5953
  }
5856
5954
 
5857
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1017
5955
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1017
5858
5956
  *
5859
5957
  *
5860
5958
  * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@@ -5864,10 +5962,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
5864
5962
 
5865
5963
  static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
5866
5964
  int __pyx_r;
5867
- __Pyx_RefNannyDeclarations
5868
- __Pyx_RefNannySetupContext("is_datetime64_object", 0);
5869
5965
 
5870
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1029
5966
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1029
5871
5967
  * bool
5872
5968
  * """
5873
5969
  * return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
@@ -5877,7 +5973,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
5877
5973
  __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
5878
5974
  goto __pyx_L0;
5879
5975
 
5880
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1017
5976
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1017
5881
5977
  *
5882
5978
  *
5883
5979
  * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@@ -5887,11 +5983,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
5887
5983
 
5888
5984
  /* function exit code */
5889
5985
  __pyx_L0:;
5890
- __Pyx_RefNannyFinishContext();
5891
5986
  return __pyx_r;
5892
5987
  }
5893
5988
 
5894
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1032
5989
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1032
5895
5990
  *
5896
5991
  *
5897
5992
  * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -5902,7 +5997,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
5902
5997
  static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
5903
5998
  npy_datetime __pyx_r;
5904
5999
 
5905
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1039
6000
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1039
5906
6001
  * also needed. That can be found using `get_datetime64_unit`.
5907
6002
  * """
5908
6003
  * return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
@@ -5912,7 +6007,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
5912
6007
  __pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
5913
6008
  goto __pyx_L0;
5914
6009
 
5915
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1032
6010
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1032
5916
6011
  *
5917
6012
  *
5918
6013
  * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -5925,7 +6020,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
5925
6020
  return __pyx_r;
5926
6021
  }
5927
6022
 
5928
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1042
6023
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1042
5929
6024
  *
5930
6025
  *
5931
6026
  * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -5936,7 +6031,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
5936
6031
  static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
5937
6032
  npy_timedelta __pyx_r;
5938
6033
 
5939
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1046
6034
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1046
5940
6035
  * returns the int64 value underlying scalar numpy timedelta64 object
5941
6036
  * """
5942
6037
  * return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
@@ -5946,7 +6041,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
5946
6041
  __pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
5947
6042
  goto __pyx_L0;
5948
6043
 
5949
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1042
6044
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1042
5950
6045
  *
5951
6046
  *
5952
6047
  * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -5959,7 +6054,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
5959
6054
  return __pyx_r;
5960
6055
  }
5961
6056
 
5962
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049
6057
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049
5963
6058
  *
5964
6059
  *
5965
6060
  * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@@ -5970,7 +6065,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
5970
6065
  static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
5971
6066
  NPY_DATETIMEUNIT __pyx_r;
5972
6067
 
5973
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1053
6068
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1053
5974
6069
  * returns the unit part of the dtype for a numpy datetime64 object.
5975
6070
  * """
5976
6071
  * return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
@@ -5978,7 +6073,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
5978
6073
  __pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
5979
6074
  goto __pyx_L0;
5980
6075
 
5981
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049
6076
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049
5982
6077
  *
5983
6078
  *
5984
6079
  * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@@ -6032,8 +6127,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6032
6127
  #if CYTHON_ASSUME_SAFE_MACROS
6033
6128
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6034
6129
  #else
6035
- __pyx_nargs = PyTuple_Size(__pyx_args);
6036
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 79, __pyx_L3_error)
6130
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
6037
6131
  #endif
6038
6132
  #endif
6039
6133
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -6082,10 +6176,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6082
6176
  __pyx_v_self = values[0];
6083
6177
  __pyx_v_root = ((struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode *)values[1]);
6084
6178
  }
6085
- goto __pyx_L4_argument_unpacking_done;
6179
+ goto __pyx_L6_skip;
6086
6180
  __pyx_L5_argtuple_error:;
6087
6181
  __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 79, __pyx_L3_error)
6088
- goto __pyx_L3_error;
6182
+ __pyx_L6_skip:;
6183
+ goto __pyx_L4_argument_unpacking_done;
6089
6184
  __pyx_L3_error:;
6090
6185
  {
6091
6186
  Py_ssize_t __pyx_temp;
@@ -6138,7 +6233,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree___init__(CYTHON_
6138
6233
  int __pyx_lineno = 0;
6139
6234
  const char *__pyx_filename = NULL;
6140
6235
  int __pyx_clineno = 0;
6141
- __Pyx_RefNannySetupContext("__init__", 0);
6236
+ __Pyx_RefNannySetupContext("__init__", 1);
6142
6237
 
6143
6238
  /* "biotite/sequence/phylo/tree.pyx":80
6144
6239
  *
@@ -6164,7 +6259,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree___init__(CYTHON_
6164
6259
  }
6165
6260
  #endif
6166
6261
  {
6167
- PyObject *__pyx_callargs[1] = {__pyx_t_3, };
6262
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
6168
6263
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4);
6169
6264
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
6170
6265
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 80, __pyx_L1_error)
@@ -6209,7 +6304,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree___init__(CYTHON_
6209
6304
  }
6210
6305
  #endif
6211
6306
  {
6212
- PyObject *__pyx_callargs[1] = {__pyx_t_2, };
6307
+ PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL};
6213
6308
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4);
6214
6309
  __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
6215
6310
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 83, __pyx_L1_error)
@@ -6261,13 +6356,20 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree___init__(CYTHON_
6261
6356
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
6262
6357
  __PYX_ERR(0, 86, __pyx_L5_error)
6263
6358
  }
6264
- __pyx_t_6 = __pyx_v_leaves_unsorted; __Pyx_INCREF(__pyx_t_6); __pyx_t_5 = 0;
6359
+ __pyx_t_6 = __pyx_v_leaves_unsorted; __Pyx_INCREF(__pyx_t_6);
6360
+ __pyx_t_5 = 0;
6265
6361
  for (;;) {
6266
- if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_6)) break;
6362
+ {
6363
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_6);
6364
+ #if !CYTHON_ASSUME_SAFE_MACROS
6365
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 86, __pyx_L5_error)
6366
+ #endif
6367
+ if (__pyx_t_5 >= __pyx_temp) break;
6368
+ }
6267
6369
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
6268
6370
  __pyx_t_7 = PyList_GET_ITEM(__pyx_t_6, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 86, __pyx_L5_error)
6269
6371
  #else
6270
- __pyx_t_7 = PySequence_ITEM(__pyx_t_6, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 86, __pyx_L5_error)
6372
+ __pyx_t_7 = __Pyx_PySequence_ITEM(__pyx_t_6, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 86, __pyx_L5_error)
6271
6373
  __Pyx_GOTREF(__pyx_t_7);
6272
6374
  #endif
6273
6375
  __Pyx_XDECREF_SET(__pyx_7genexpr__pyx_v_leaf, __pyx_t_7);
@@ -6514,8 +6616,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6514
6616
  #if CYTHON_ASSUME_SAFE_MACROS
6515
6617
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6516
6618
  #else
6517
- __pyx_nargs = PyTuple_Size(__pyx_args);
6518
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 97, __pyx_L3_error)
6619
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
6519
6620
  #endif
6520
6621
  #endif
6521
6622
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -6550,10 +6651,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6550
6651
  }
6551
6652
  __pyx_v_self = values[0];
6552
6653
  }
6553
- goto __pyx_L4_argument_unpacking_done;
6654
+ goto __pyx_L6_skip;
6554
6655
  __pyx_L5_argtuple_error:;
6555
6656
  __Pyx_RaiseArgtupleInvalid("__copy_create__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 97, __pyx_L3_error)
6556
- goto __pyx_L3_error;
6657
+ __pyx_L6_skip:;
6658
+ goto __pyx_L4_argument_unpacking_done;
6557
6659
  __pyx_L3_error:;
6558
6660
  {
6559
6661
  Py_ssize_t __pyx_temp;
@@ -6590,7 +6692,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_2__copy_create__
6590
6692
  int __pyx_lineno = 0;
6591
6693
  const char *__pyx_filename = NULL;
6592
6694
  int __pyx_clineno = 0;
6593
- __Pyx_RefNannySetupContext("__copy_create__", 0);
6695
+ __Pyx_RefNannySetupContext("__copy_create__", 1);
6594
6696
 
6595
6697
  /* "biotite/sequence/phylo/tree.pyx":98
6596
6698
  *
@@ -6622,7 +6724,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_2__copy_create__
6622
6724
  }
6623
6725
  #endif
6624
6726
  {
6625
- PyObject *__pyx_callargs[1] = {__pyx_t_4, };
6727
+ PyObject *__pyx_callargs[2] = {__pyx_t_4, NULL};
6626
6728
  __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_6, 0+__pyx_t_6);
6627
6729
  __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
6628
6730
  if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 98, __pyx_L1_error)
@@ -6719,8 +6821,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6719
6821
  #if CYTHON_ASSUME_SAFE_MACROS
6720
6822
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6721
6823
  #else
6722
- __pyx_nargs = PyTuple_Size(__pyx_args);
6723
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 100, __pyx_L3_error)
6824
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
6724
6825
  #endif
6725
6826
  #endif
6726
6827
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -6755,10 +6856,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6755
6856
  }
6756
6857
  __pyx_v_self = values[0];
6757
6858
  }
6758
- goto __pyx_L4_argument_unpacking_done;
6859
+ goto __pyx_L6_skip;
6759
6860
  __pyx_L5_argtuple_error:;
6760
6861
  __Pyx_RaiseArgtupleInvalid("root", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 100, __pyx_L3_error)
6761
- goto __pyx_L3_error;
6862
+ __pyx_L6_skip:;
6863
+ goto __pyx_L4_argument_unpacking_done;
6762
6864
  __pyx_L3_error:;
6763
6865
  {
6764
6866
  Py_ssize_t __pyx_temp;
@@ -6790,7 +6892,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_4root(CYTHON_UNU
6790
6892
  int __pyx_lineno = 0;
6791
6893
  const char *__pyx_filename = NULL;
6792
6894
  int __pyx_clineno = 0;
6793
- __Pyx_RefNannySetupContext("root", 0);
6895
+ __Pyx_RefNannySetupContext("root", 1);
6794
6896
 
6795
6897
  /* "biotite/sequence/phylo/tree.pyx":102
6796
6898
  * @property
@@ -6865,8 +6967,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6865
6967
  #if CYTHON_ASSUME_SAFE_MACROS
6866
6968
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6867
6969
  #else
6868
- __pyx_nargs = PyTuple_Size(__pyx_args);
6869
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 104, __pyx_L3_error)
6970
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
6870
6971
  #endif
6871
6972
  #endif
6872
6973
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -6901,10 +7002,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6901
7002
  }
6902
7003
  __pyx_v_self = values[0];
6903
7004
  }
6904
- goto __pyx_L4_argument_unpacking_done;
7005
+ goto __pyx_L6_skip;
6905
7006
  __pyx_L5_argtuple_error:;
6906
7007
  __Pyx_RaiseArgtupleInvalid("leaves", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 104, __pyx_L3_error)
6907
- goto __pyx_L3_error;
7008
+ __pyx_L6_skip:;
7009
+ goto __pyx_L4_argument_unpacking_done;
6908
7010
  __pyx_L3_error:;
6909
7011
  {
6910
7012
  Py_ssize_t __pyx_temp;
@@ -6940,7 +7042,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_6leaves(CYTHON_U
6940
7042
  int __pyx_lineno = 0;
6941
7043
  const char *__pyx_filename = NULL;
6942
7044
  int __pyx_clineno = 0;
6943
- __Pyx_RefNannySetupContext("leaves", 0);
7045
+ __Pyx_RefNannySetupContext("leaves", 1);
6944
7046
 
6945
7047
  /* "biotite/sequence/phylo/tree.pyx":106
6946
7048
  * @property
@@ -7047,8 +7149,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
7047
7149
  #if CYTHON_ASSUME_SAFE_MACROS
7048
7150
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
7049
7151
  #else
7050
- __pyx_nargs = PyTuple_Size(__pyx_args);
7051
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 108, __pyx_L3_error)
7152
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
7052
7153
  #endif
7053
7154
  #endif
7054
7155
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -7083,10 +7184,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
7083
7184
  }
7084
7185
  __pyx_v_self = values[0];
7085
7186
  }
7086
- goto __pyx_L4_argument_unpacking_done;
7187
+ goto __pyx_L6_skip;
7087
7188
  __pyx_L5_argtuple_error:;
7088
7189
  __Pyx_RaiseArgtupleInvalid("as_graph", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 108, __pyx_L3_error)
7089
- goto __pyx_L3_error;
7190
+ __pyx_L6_skip:;
7191
+ goto __pyx_L4_argument_unpacking_done;
7090
7192
  __pyx_L3_error:;
7091
7193
  {
7092
7194
  Py_ssize_t __pyx_temp;
@@ -7185,13 +7287,20 @@ static PyObject *__pyx_gb_7biotite_8sequence_5phylo_4tree_4Tree_8as_graph_2gener
7185
7287
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
7186
7288
  __PYX_ERR(0, 173, __pyx_L1_error)
7187
7289
  }
7188
- __pyx_t_1 = __pyx_cur_scope->__pyx_genexpr_arg_0; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
7290
+ __pyx_t_1 = __pyx_cur_scope->__pyx_genexpr_arg_0; __Pyx_INCREF(__pyx_t_1);
7291
+ __pyx_t_2 = 0;
7189
7292
  for (;;) {
7190
- if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
7293
+ {
7294
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
7295
+ #if !CYTHON_ASSUME_SAFE_MACROS
7296
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 173, __pyx_L1_error)
7297
+ #endif
7298
+ if (__pyx_t_2 >= __pyx_temp) break;
7299
+ }
7191
7300
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
7192
7301
  __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely((0 < 0))) __PYX_ERR(0, 173, __pyx_L1_error)
7193
7302
  #else
7194
- __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 173, __pyx_L1_error)
7303
+ __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 173, __pyx_L1_error)
7195
7304
  __Pyx_GOTREF(__pyx_t_3);
7196
7305
  #endif
7197
7306
  __Pyx_XGOTREF(__pyx_cur_scope->__pyx_v_child);
@@ -7317,7 +7426,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_8as_graph(CYTHON
7317
7426
  }
7318
7427
  #endif
7319
7428
  {
7320
- PyObject *__pyx_callargs[1] = {__pyx_t_2, };
7429
+ PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL};
7321
7430
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4);
7322
7431
  __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
7323
7432
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 144, __pyx_L1_error)
@@ -7453,7 +7562,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_8as_graph(CYTHON
7453
7562
  }
7454
7563
  #endif
7455
7564
  {
7456
- PyObject *__pyx_callargs[1] = {__pyx_t_3, };
7565
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
7457
7566
  __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4);
7458
7567
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
7459
7568
  if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 158, __pyx_L1_error)
@@ -7520,13 +7629,20 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_8as_graph(CYTHON
7520
7629
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
7521
7630
  __PYX_ERR(0, 163, __pyx_L1_error)
7522
7631
  }
7523
- __pyx_t_2 = __pyx_v_children; __Pyx_INCREF(__pyx_t_2); __pyx_t_6 = 0;
7632
+ __pyx_t_2 = __pyx_v_children; __Pyx_INCREF(__pyx_t_2);
7633
+ __pyx_t_6 = 0;
7524
7634
  for (;;) {
7525
- if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
7635
+ {
7636
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
7637
+ #if !CYTHON_ASSUME_SAFE_MACROS
7638
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 163, __pyx_L1_error)
7639
+ #endif
7640
+ if (__pyx_t_6 >= __pyx_temp) break;
7641
+ }
7526
7642
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
7527
7643
  __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_6); __Pyx_INCREF(__pyx_t_1); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(0, 163, __pyx_L1_error)
7528
7644
  #else
7529
- __pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 163, __pyx_L1_error)
7645
+ __pyx_t_1 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 163, __pyx_L1_error)
7530
7646
  __Pyx_GOTREF(__pyx_t_1);
7531
7647
  #endif
7532
7648
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_7biotite_8sequence_5phylo_4tree_TreeNode))))) __PYX_ERR(0, 163, __pyx_L1_error)
@@ -7648,13 +7764,20 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_8as_graph(CYTHON
7648
7764
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
7649
7765
  __PYX_ERR(0, 176, __pyx_L1_error)
7650
7766
  }
7651
- __pyx_t_1 = __pyx_v_children; __Pyx_INCREF(__pyx_t_1); __pyx_t_6 = 0;
7767
+ __pyx_t_1 = __pyx_v_children; __Pyx_INCREF(__pyx_t_1);
7768
+ __pyx_t_6 = 0;
7652
7769
  for (;;) {
7653
- if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
7770
+ {
7771
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
7772
+ #if !CYTHON_ASSUME_SAFE_MACROS
7773
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 176, __pyx_L1_error)
7774
+ #endif
7775
+ if (__pyx_t_6 >= __pyx_temp) break;
7776
+ }
7654
7777
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
7655
7778
  __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_2); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(0, 176, __pyx_L1_error)
7656
7779
  #else
7657
- __pyx_t_2 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 176, __pyx_L1_error)
7780
+ __pyx_t_2 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 176, __pyx_L1_error)
7658
7781
  __Pyx_GOTREF(__pyx_t_2);
7659
7782
  #endif
7660
7783
  if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_7biotite_8sequence_5phylo_4tree_TreeNode))))) __PYX_ERR(0, 176, __pyx_L1_error)
@@ -7762,7 +7885,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_8as_graph(CYTHON
7762
7885
  }
7763
7886
  #endif
7764
7887
  {
7765
- PyObject *__pyx_callargs[1] = {__pyx_t_3, };
7888
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
7766
7889
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_9, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4);
7767
7890
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
7768
7891
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 184, __pyx_L1_error)
@@ -7937,8 +8060,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
7937
8060
  #if CYTHON_ASSUME_SAFE_MACROS
7938
8061
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
7939
8062
  #else
7940
- __pyx_nargs = PyTuple_Size(__pyx_args);
7941
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 201, __pyx_L3_error)
8063
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
7942
8064
  #endif
7943
8065
  #endif
7944
8066
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -8019,10 +8141,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
8019
8141
  __pyx_v_topological = ((int)((int)0));
8020
8142
  }
8021
8143
  }
8022
- goto __pyx_L4_argument_unpacking_done;
8144
+ goto __pyx_L6_skip;
8023
8145
  __pyx_L5_argtuple_error:;
8024
8146
  __Pyx_RaiseArgtupleInvalid("get_distance", 0, 3, 4, __pyx_nargs); __PYX_ERR(0, 201, __pyx_L3_error)
8025
- goto __pyx_L3_error;
8147
+ __pyx_L6_skip:;
8148
+ goto __pyx_L4_argument_unpacking_done;
8026
8149
  __pyx_L3_error:;
8027
8150
  {
8028
8151
  Py_ssize_t __pyx_temp;
@@ -8059,7 +8182,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_10get_distance(C
8059
8182
  int __pyx_lineno = 0;
8060
8183
  const char *__pyx_filename = NULL;
8061
8184
  int __pyx_clineno = 0;
8062
- __Pyx_RefNannySetupContext("get_distance", 0);
8185
+ __Pyx_RefNannySetupContext("get_distance", 1);
8063
8186
 
8064
8187
  /* "biotite/sequence/phylo/tree.pyx":242
8065
8188
  * 20.0
@@ -8187,8 +8310,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
8187
8310
  #if CYTHON_ASSUME_SAFE_MACROS
8188
8311
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
8189
8312
  #else
8190
- __pyx_nargs = PyTuple_Size(__pyx_args);
8191
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 246, __pyx_L3_error)
8313
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
8192
8314
  #endif
8193
8315
  #endif
8194
8316
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -8283,10 +8405,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
8283
8405
  }
8284
8406
  __pyx_v_round_distance = values[3];
8285
8407
  }
8286
- goto __pyx_L4_argument_unpacking_done;
8408
+ goto __pyx_L6_skip;
8287
8409
  __pyx_L5_argtuple_error:;
8288
8410
  __Pyx_RaiseArgtupleInvalid("to_newick", 0, 1, 4, __pyx_nargs); __PYX_ERR(0, 246, __pyx_L3_error)
8289
- goto __pyx_L3_error;
8411
+ __pyx_L6_skip:;
8412
+ goto __pyx_L4_argument_unpacking_done;
8290
8413
  __pyx_L3_error:;
8291
8414
  {
8292
8415
  Py_ssize_t __pyx_temp;
@@ -8322,7 +8445,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_12to_newick(CYTH
8322
8445
  int __pyx_lineno = 0;
8323
8446
  const char *__pyx_filename = NULL;
8324
8447
  int __pyx_clineno = 0;
8325
- __Pyx_RefNannySetupContext("to_newick", 0);
8448
+ __Pyx_RefNannySetupContext("to_newick", 1);
8326
8449
 
8327
8450
  /* "biotite/sequence/phylo/tree.pyx":286
8328
8451
  * ((foo,bar),foobar);
@@ -8449,8 +8572,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
8449
8572
  #if CYTHON_ASSUME_SAFE_MACROS
8450
8573
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
8451
8574
  #else
8452
- __pyx_nargs = PyTuple_Size(__pyx_args);
8453
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 290, __pyx_L3_error)
8575
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
8454
8576
  #endif
8455
8577
  #endif
8456
8578
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -8508,10 +8630,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
8508
8630
  __pyx_v_newick = ((PyObject*)values[0]);
8509
8631
  __pyx_v_labels = ((PyObject*)values[1]);
8510
8632
  }
8511
- goto __pyx_L4_argument_unpacking_done;
8633
+ goto __pyx_L6_skip;
8512
8634
  __pyx_L5_argtuple_error:;
8513
8635
  __Pyx_RaiseArgtupleInvalid("from_newick", 0, 1, 2, __pyx_nargs); __PYX_ERR(0, 290, __pyx_L3_error)
8514
- goto __pyx_L3_error;
8636
+ __pyx_L6_skip:;
8637
+ goto __pyx_L4_argument_unpacking_done;
8515
8638
  __pyx_L3_error:;
8516
8639
  {
8517
8640
  Py_ssize_t __pyx_temp;
@@ -8861,8 +8984,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
8861
8984
  #if CYTHON_ASSUME_SAFE_MACROS
8862
8985
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
8863
8986
  #else
8864
- __pyx_nargs = PyTuple_Size(__pyx_args);
8865
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 332, __pyx_L3_error)
8987
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
8866
8988
  #endif
8867
8989
  #endif
8868
8990
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -8897,10 +9019,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
8897
9019
  }
8898
9020
  __pyx_v_self = values[0];
8899
9021
  }
8900
- goto __pyx_L4_argument_unpacking_done;
9022
+ goto __pyx_L6_skip;
8901
9023
  __pyx_L5_argtuple_error:;
8902
9024
  __Pyx_RaiseArgtupleInvalid("__str__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 332, __pyx_L3_error)
8903
- goto __pyx_L3_error;
9025
+ __pyx_L6_skip:;
9026
+ goto __pyx_L4_argument_unpacking_done;
8904
9027
  __pyx_L3_error:;
8905
9028
  {
8906
9029
  Py_ssize_t __pyx_temp;
@@ -8935,7 +9058,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_16__str__(CYTHON
8935
9058
  int __pyx_lineno = 0;
8936
9059
  const char *__pyx_filename = NULL;
8937
9060
  int __pyx_clineno = 0;
8938
- __Pyx_RefNannySetupContext("__str__", 0);
9061
+ __Pyx_RefNannySetupContext("__str__", 1);
8939
9062
 
8940
9063
  /* "biotite/sequence/phylo/tree.pyx":333
8941
9064
  *
@@ -8962,7 +9085,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_16__str__(CYTHON
8962
9085
  }
8963
9086
  #endif
8964
9087
  {
8965
- PyObject *__pyx_callargs[1] = {__pyx_t_3, };
9088
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
8966
9089
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4);
8967
9090
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
8968
9091
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 333, __pyx_L1_error)
@@ -9034,8 +9157,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
9034
9157
  #if CYTHON_ASSUME_SAFE_MACROS
9035
9158
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
9036
9159
  #else
9037
- __pyx_nargs = PyTuple_Size(__pyx_args);
9038
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 335, __pyx_L3_error)
9160
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
9039
9161
  #endif
9040
9162
  #endif
9041
9163
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -9070,10 +9192,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
9070
9192
  }
9071
9193
  __pyx_v_self = values[0];
9072
9194
  }
9073
- goto __pyx_L4_argument_unpacking_done;
9195
+ goto __pyx_L6_skip;
9074
9196
  __pyx_L5_argtuple_error:;
9075
9197
  __Pyx_RaiseArgtupleInvalid("__len__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 335, __pyx_L3_error)
9076
- goto __pyx_L3_error;
9198
+ __pyx_L6_skip:;
9199
+ goto __pyx_L4_argument_unpacking_done;
9077
9200
  __pyx_L3_error:;
9078
9201
  {
9079
9202
  Py_ssize_t __pyx_temp;
@@ -9106,7 +9229,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_18__len__(CYTHON
9106
9229
  int __pyx_lineno = 0;
9107
9230
  const char *__pyx_filename = NULL;
9108
9231
  int __pyx_clineno = 0;
9109
- __Pyx_RefNannySetupContext("__len__", 0);
9232
+ __Pyx_RefNannySetupContext("__len__", 1);
9110
9233
 
9111
9234
  /* "biotite/sequence/phylo/tree.pyx":336
9112
9235
  *
@@ -9186,8 +9309,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
9186
9309
  #if CYTHON_ASSUME_SAFE_MACROS
9187
9310
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
9188
9311
  #else
9189
- __pyx_nargs = PyTuple_Size(__pyx_args);
9190
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 338, __pyx_L3_error)
9312
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
9191
9313
  #endif
9192
9314
  #endif
9193
9315
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -9236,10 +9358,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
9236
9358
  __pyx_v_self = values[0];
9237
9359
  __pyx_v_item = values[1];
9238
9360
  }
9239
- goto __pyx_L4_argument_unpacking_done;
9361
+ goto __pyx_L6_skip;
9240
9362
  __pyx_L5_argtuple_error:;
9241
9363
  __Pyx_RaiseArgtupleInvalid("__eq__", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 338, __pyx_L3_error)
9242
- goto __pyx_L3_error;
9364
+ __pyx_L6_skip:;
9365
+ goto __pyx_L4_argument_unpacking_done;
9243
9366
  __pyx_L3_error:;
9244
9367
  {
9245
9368
  Py_ssize_t __pyx_temp;
@@ -9275,7 +9398,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_20__eq__(CYTHON_
9275
9398
  int __pyx_lineno = 0;
9276
9399
  const char *__pyx_filename = NULL;
9277
9400
  int __pyx_clineno = 0;
9278
- __Pyx_RefNannySetupContext("__eq__", 0);
9401
+ __Pyx_RefNannySetupContext("__eq__", 1);
9279
9402
 
9280
9403
  /* "biotite/sequence/phylo/tree.pyx":339
9281
9404
  *
@@ -9392,8 +9515,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
9392
9515
  #if CYTHON_ASSUME_SAFE_MACROS
9393
9516
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
9394
9517
  #else
9395
- __pyx_nargs = PyTuple_Size(__pyx_args);
9396
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 343, __pyx_L3_error)
9518
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
9397
9519
  #endif
9398
9520
  #endif
9399
9521
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -9428,10 +9550,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
9428
9550
  }
9429
9551
  __pyx_v_self = values[0];
9430
9552
  }
9431
- goto __pyx_L4_argument_unpacking_done;
9553
+ goto __pyx_L6_skip;
9432
9554
  __pyx_L5_argtuple_error:;
9433
9555
  __Pyx_RaiseArgtupleInvalid("__hash__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 343, __pyx_L3_error)
9434
- goto __pyx_L3_error;
9556
+ __pyx_L6_skip:;
9557
+ goto __pyx_L4_argument_unpacking_done;
9435
9558
  __pyx_L3_error:;
9436
9559
  {
9437
9560
  Py_ssize_t __pyx_temp;
@@ -9464,7 +9587,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_4Tree_22__hash__(CYTHO
9464
9587
  int __pyx_lineno = 0;
9465
9588
  const char *__pyx_filename = NULL;
9466
9589
  int __pyx_clineno = 0;
9467
- __Pyx_RefNannySetupContext("__hash__", 0);
9590
+ __Pyx_RefNannySetupContext("__hash__", 1);
9468
9591
 
9469
9592
  /* "biotite/sequence/phylo/tree.pyx":344
9470
9593
  *
@@ -9529,8 +9652,7 @@ static int __pyx_pw_7biotite_8sequence_5phylo_4tree_8TreeNode_1__cinit__(PyObjec
9529
9652
  #if CYTHON_ASSUME_SAFE_MACROS
9530
9653
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
9531
9654
  #else
9532
- __pyx_nargs = PyTuple_Size(__pyx_args);
9533
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 430, __pyx_L3_error)
9655
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
9534
9656
  #endif
9535
9657
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
9536
9658
  {
@@ -9593,10 +9715,11 @@ static int __pyx_pw_7biotite_8sequence_5phylo_4tree_8TreeNode_1__cinit__(PyObjec
9593
9715
  __pyx_v_distances = values[1];
9594
9716
  __pyx_v_index = values[2];
9595
9717
  }
9596
- goto __pyx_L4_argument_unpacking_done;
9718
+ goto __pyx_L6_skip;
9597
9719
  __pyx_L5_argtuple_error:;
9598
9720
  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 0, 3, __pyx_nargs); __PYX_ERR(0, 430, __pyx_L3_error)
9599
- goto __pyx_L3_error;
9721
+ __pyx_L6_skip:;
9722
+ goto __pyx_L4_argument_unpacking_done;
9600
9723
  __pyx_L3_error:;
9601
9724
  {
9602
9725
  Py_ssize_t __pyx_temp;
@@ -9651,7 +9774,7 @@ static int __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode___cinit__(struct _
9651
9774
  int __pyx_lineno = 0;
9652
9775
  const char *__pyx_filename = NULL;
9653
9776
  int __pyx_clineno = 0;
9654
- __Pyx_RefNannySetupContext("__cinit__", 0);
9777
+ __Pyx_RefNannySetupContext("__cinit__", 1);
9655
9778
 
9656
9779
  /* "biotite/sequence/phylo/tree.pyx":431
9657
9780
  *
@@ -9742,7 +9865,8 @@ static int __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode___cinit__(struct _
9742
9865
  * raise TypeError(
9743
9866
  */
9744
9867
  if (likely(PyList_CheckExact(__pyx_v_children)) || PyTuple_CheckExact(__pyx_v_children)) {
9745
- __pyx_t_3 = __pyx_v_children; __Pyx_INCREF(__pyx_t_3); __pyx_t_4 = 0;
9868
+ __pyx_t_3 = __pyx_v_children; __Pyx_INCREF(__pyx_t_3);
9869
+ __pyx_t_4 = 0;
9746
9870
  __pyx_t_5 = NULL;
9747
9871
  } else {
9748
9872
  __pyx_t_4 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_v_children); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 444, __pyx_L1_error)
@@ -9752,19 +9876,31 @@ static int __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode___cinit__(struct _
9752
9876
  for (;;) {
9753
9877
  if (likely(!__pyx_t_5)) {
9754
9878
  if (likely(PyList_CheckExact(__pyx_t_3))) {
9755
- if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_3)) break;
9879
+ {
9880
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_3);
9881
+ #if !CYTHON_ASSUME_SAFE_MACROS
9882
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 444, __pyx_L1_error)
9883
+ #endif
9884
+ if (__pyx_t_4 >= __pyx_temp) break;
9885
+ }
9756
9886
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
9757
9887
  __pyx_t_6 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_6); __pyx_t_4++; if (unlikely((0 < 0))) __PYX_ERR(0, 444, __pyx_L1_error)
9758
9888
  #else
9759
- __pyx_t_6 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 444, __pyx_L1_error)
9889
+ __pyx_t_6 = __Pyx_PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 444, __pyx_L1_error)
9760
9890
  __Pyx_GOTREF(__pyx_t_6);
9761
9891
  #endif
9762
9892
  } else {
9763
- if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_3)) break;
9893
+ {
9894
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_3);
9895
+ #if !CYTHON_ASSUME_SAFE_MACROS
9896
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 444, __pyx_L1_error)
9897
+ #endif
9898
+ if (__pyx_t_4 >= __pyx_temp) break;
9899
+ }
9764
9900
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
9765
9901
  __pyx_t_6 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_6); __pyx_t_4++; if (unlikely((0 < 0))) __PYX_ERR(0, 444, __pyx_L1_error)
9766
9902
  #else
9767
- __pyx_t_6 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 444, __pyx_L1_error)
9903
+ __pyx_t_6 = __Pyx_PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 444, __pyx_L1_error)
9768
9904
  __Pyx_GOTREF(__pyx_t_6);
9769
9905
  #endif
9770
9906
  }
@@ -9868,7 +10004,8 @@ static int __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode___cinit__(struct _
9868
10004
  * raise TypeError(
9869
10005
  */
9870
10006
  if (likely(PyList_CheckExact(__pyx_v_distances)) || PyTuple_CheckExact(__pyx_v_distances)) {
9871
- __pyx_t_3 = __pyx_v_distances; __Pyx_INCREF(__pyx_t_3); __pyx_t_4 = 0;
10007
+ __pyx_t_3 = __pyx_v_distances; __Pyx_INCREF(__pyx_t_3);
10008
+ __pyx_t_4 = 0;
9872
10009
  __pyx_t_5 = NULL;
9873
10010
  } else {
9874
10011
  __pyx_t_4 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_v_distances); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 449, __pyx_L1_error)
@@ -9878,19 +10015,31 @@ static int __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode___cinit__(struct _
9878
10015
  for (;;) {
9879
10016
  if (likely(!__pyx_t_5)) {
9880
10017
  if (likely(PyList_CheckExact(__pyx_t_3))) {
9881
- if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_3)) break;
10018
+ {
10019
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_3);
10020
+ #if !CYTHON_ASSUME_SAFE_MACROS
10021
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 449, __pyx_L1_error)
10022
+ #endif
10023
+ if (__pyx_t_4 >= __pyx_temp) break;
10024
+ }
9882
10025
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
9883
10026
  __pyx_t_6 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_6); __pyx_t_4++; if (unlikely((0 < 0))) __PYX_ERR(0, 449, __pyx_L1_error)
9884
10027
  #else
9885
- __pyx_t_6 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 449, __pyx_L1_error)
10028
+ __pyx_t_6 = __Pyx_PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 449, __pyx_L1_error)
9886
10029
  __Pyx_GOTREF(__pyx_t_6);
9887
10030
  #endif
9888
10031
  } else {
9889
- if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_3)) break;
10032
+ {
10033
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_3);
10034
+ #if !CYTHON_ASSUME_SAFE_MACROS
10035
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 449, __pyx_L1_error)
10036
+ #endif
10037
+ if (__pyx_t_4 >= __pyx_temp) break;
10038
+ }
9890
10039
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
9891
10040
  __pyx_t_6 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_6); __pyx_t_4++; if (unlikely((0 < 0))) __PYX_ERR(0, 449, __pyx_L1_error)
9892
10041
  #else
9893
- __pyx_t_6 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 449, __pyx_L1_error)
10042
+ __pyx_t_6 = __Pyx_PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 449, __pyx_L1_error)
9894
10043
  __Pyx_GOTREF(__pyx_t_6);
9895
10044
  #endif
9896
10045
  }
@@ -10237,7 +10386,8 @@ static int __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode___cinit__(struct _
10237
10386
  __Pyx_GOTREF(__pyx_t_3);
10238
10387
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
10239
10388
  if (likely(PyList_CheckExact(__pyx_t_3)) || PyTuple_CheckExact(__pyx_t_3)) {
10240
- __pyx_t_6 = __pyx_t_3; __Pyx_INCREF(__pyx_t_6); __pyx_t_7 = 0;
10389
+ __pyx_t_6 = __pyx_t_3; __Pyx_INCREF(__pyx_t_6);
10390
+ __pyx_t_7 = 0;
10241
10391
  __pyx_t_5 = NULL;
10242
10392
  } else {
10243
10393
  __pyx_t_7 = -1; __pyx_t_6 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 471, __pyx_L1_error)
@@ -10248,19 +10398,31 @@ static int __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode___cinit__(struct _
10248
10398
  for (;;) {
10249
10399
  if (likely(!__pyx_t_5)) {
10250
10400
  if (likely(PyList_CheckExact(__pyx_t_6))) {
10251
- if (__pyx_t_7 >= PyList_GET_SIZE(__pyx_t_6)) break;
10401
+ {
10402
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_6);
10403
+ #if !CYTHON_ASSUME_SAFE_MACROS
10404
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 471, __pyx_L1_error)
10405
+ #endif
10406
+ if (__pyx_t_7 >= __pyx_temp) break;
10407
+ }
10252
10408
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
10253
10409
  __pyx_t_3 = PyList_GET_ITEM(__pyx_t_6, __pyx_t_7); __Pyx_INCREF(__pyx_t_3); __pyx_t_7++; if (unlikely((0 < 0))) __PYX_ERR(0, 471, __pyx_L1_error)
10254
10410
  #else
10255
- __pyx_t_3 = PySequence_ITEM(__pyx_t_6, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 471, __pyx_L1_error)
10411
+ __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_6, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 471, __pyx_L1_error)
10256
10412
  __Pyx_GOTREF(__pyx_t_3);
10257
10413
  #endif
10258
10414
  } else {
10259
- if (__pyx_t_7 >= PyTuple_GET_SIZE(__pyx_t_6)) break;
10415
+ {
10416
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_6);
10417
+ #if !CYTHON_ASSUME_SAFE_MACROS
10418
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 471, __pyx_L1_error)
10419
+ #endif
10420
+ if (__pyx_t_7 >= __pyx_temp) break;
10421
+ }
10260
10422
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
10261
10423
  __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_7); __Pyx_INCREF(__pyx_t_3); __pyx_t_7++; if (unlikely((0 < 0))) __PYX_ERR(0, 471, __pyx_L1_error)
10262
10424
  #else
10263
- __pyx_t_3 = PySequence_ITEM(__pyx_t_6, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 471, __pyx_L1_error)
10425
+ __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_6, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 471, __pyx_L1_error)
10264
10426
  __Pyx_GOTREF(__pyx_t_3);
10265
10427
  #endif
10266
10428
  }
@@ -10552,8 +10714,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
10552
10714
  #if CYTHON_ASSUME_SAFE_MACROS
10553
10715
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
10554
10716
  #else
10555
- __pyx_nargs = PyTuple_Size(__pyx_args);
10556
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 484, __pyx_L3_error)
10717
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
10557
10718
  #endif
10558
10719
  #endif
10559
10720
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -10602,10 +10763,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
10602
10763
  __pyx_v_parent = ((struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode *)values[0]);
10603
10764
  __pyx_v_distance = __pyx_PyFloat_AsFloat(values[1]); if (unlikely((__pyx_v_distance == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 484, __pyx_L3_error)
10604
10765
  }
10605
- goto __pyx_L4_argument_unpacking_done;
10766
+ goto __pyx_L6_skip;
10606
10767
  __pyx_L5_argtuple_error:;
10607
10768
  __Pyx_RaiseArgtupleInvalid("_set_parent", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 484, __pyx_L3_error)
10608
- goto __pyx_L3_error;
10769
+ __pyx_L6_skip:;
10770
+ goto __pyx_L4_argument_unpacking_done;
10609
10771
  __pyx_L3_error:;
10610
10772
  {
10611
10773
  Py_ssize_t __pyx_temp;
@@ -10647,7 +10809,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_2_set_parent
10647
10809
  int __pyx_lineno = 0;
10648
10810
  const char *__pyx_filename = NULL;
10649
10811
  int __pyx_clineno = 0;
10650
- __Pyx_RefNannySetupContext("_set_parent", 0);
10812
+ __Pyx_RefNannySetupContext("_set_parent", 1);
10651
10813
 
10652
10814
  /* "biotite/sequence/phylo/tree.pyx":485
10653
10815
  *
@@ -10784,9 +10946,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
10784
10946
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
10785
10947
  #endif
10786
10948
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
10787
- int __pyx_lineno = 0;
10788
- const char *__pyx_filename = NULL;
10789
- int __pyx_clineno = 0;
10790
10949
  PyObject *__pyx_r = 0;
10791
10950
  __Pyx_RefNannyDeclarations
10792
10951
  __Pyx_RefNannySetupContext("copy (wrapper)", 0);
@@ -10794,21 +10953,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
10794
10953
  #if CYTHON_ASSUME_SAFE_MACROS
10795
10954
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
10796
10955
  #else
10797
- __pyx_nargs = PyTuple_Size(__pyx_args);
10798
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 490, __pyx_L3_error)
10956
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
10799
10957
  #endif
10800
10958
  #endif
10801
10959
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
10802
10960
  if (unlikely(__pyx_nargs > 0)) {
10803
10961
  __Pyx_RaiseArgtupleInvalid("copy", 1, 0, 0, __pyx_nargs); return NULL;}
10804
10962
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy", 0))) return NULL;
10805
- goto __pyx_L4_argument_unpacking_done;
10806
- goto __pyx_L3_error;
10807
- __pyx_L3_error:;
10808
- __Pyx_AddTraceback("biotite.sequence.phylo.tree.TreeNode.copy", __pyx_clineno, __pyx_lineno, __pyx_filename);
10809
- __Pyx_RefNannyFinishContext();
10810
- return NULL;
10811
- __pyx_L4_argument_unpacking_done:;
10812
10963
  __pyx_r = __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_4copy(((struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode *)__pyx_v_self));
10813
10964
 
10814
10965
  /* function exit code */
@@ -10834,7 +10985,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_4copy(struct
10834
10985
  int __pyx_lineno = 0;
10835
10986
  const char *__pyx_filename = NULL;
10836
10987
  int __pyx_clineno = 0;
10837
- __Pyx_RefNannySetupContext("copy", 0);
10988
+ __Pyx_RefNannySetupContext("copy", 1);
10838
10989
 
10839
10990
  /* "biotite/sequence/phylo/tree.pyx":500
10840
10991
  * The parent node and the distance to it is not included.
@@ -10860,7 +11011,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_4copy(struct
10860
11011
  }
10861
11012
  #endif
10862
11013
  {
10863
- PyObject *__pyx_callargs[1] = {__pyx_t_3, };
11014
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
10864
11015
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4);
10865
11016
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
10866
11017
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 500, __pyx_L1_error)
@@ -10916,13 +11067,20 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_4copy(struct
10916
11067
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
10917
11068
  __PYX_ERR(0, 503, __pyx_L6_error)
10918
11069
  }
10919
- __pyx_t_1 = __pyx_v_self->_children; __Pyx_INCREF(__pyx_t_1); __pyx_t_6 = 0;
11070
+ __pyx_t_1 = __pyx_v_self->_children; __Pyx_INCREF(__pyx_t_1);
11071
+ __pyx_t_6 = 0;
10920
11072
  for (;;) {
10921
- if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
11073
+ {
11074
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
11075
+ #if !CYTHON_ASSUME_SAFE_MACROS
11076
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 503, __pyx_L6_error)
11077
+ #endif
11078
+ if (__pyx_t_6 >= __pyx_temp) break;
11079
+ }
10922
11080
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
10923
11081
  __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_3); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(0, 503, __pyx_L6_error)
10924
11082
  #else
10925
- __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 503, __pyx_L6_error)
11083
+ __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 503, __pyx_L6_error)
10926
11084
  __Pyx_GOTREF(__pyx_t_3);
10927
11085
  #endif
10928
11086
  __Pyx_XDECREF_SET(__pyx_8genexpr2__pyx_v_child, __pyx_t_3);
@@ -10957,13 +11115,20 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_4copy(struct
10957
11115
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
10958
11116
  __PYX_ERR(0, 504, __pyx_L13_error)
10959
11117
  }
10960
- __pyx_t_1 = __pyx_v_self->_children; __Pyx_INCREF(__pyx_t_1); __pyx_t_6 = 0;
11118
+ __pyx_t_1 = __pyx_v_self->_children; __Pyx_INCREF(__pyx_t_1);
11119
+ __pyx_t_6 = 0;
10961
11120
  for (;;) {
10962
- if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
11121
+ {
11122
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
11123
+ #if !CYTHON_ASSUME_SAFE_MACROS
11124
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 504, __pyx_L13_error)
11125
+ #endif
11126
+ if (__pyx_t_6 >= __pyx_temp) break;
11127
+ }
10963
11128
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
10964
11129
  __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_3); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(0, 504, __pyx_L13_error)
10965
11130
  #else
10966
- __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 504, __pyx_L13_error)
11131
+ __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 504, __pyx_L13_error)
10967
11132
  __Pyx_GOTREF(__pyx_t_3);
10968
11133
  #endif
10969
11134
  __Pyx_XDECREF_SET(__pyx_8genexpr3__pyx_v_child, __pyx_t_3);
@@ -10985,7 +11150,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_4copy(struct
10985
11150
  }
10986
11151
  #endif
10987
11152
  {
10988
- PyObject *__pyx_callargs[1] = {__pyx_t_8, };
11153
+ PyObject *__pyx_callargs[2] = {__pyx_t_8, NULL};
10989
11154
  __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4);
10990
11155
  __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
10991
11156
  if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 504, __pyx_L13_error)
@@ -11089,7 +11254,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_5index___get
11089
11254
  int __pyx_lineno = 0;
11090
11255
  const char *__pyx_filename = NULL;
11091
11256
  int __pyx_clineno = 0;
11092
- __Pyx_RefNannySetupContext("__get__", 0);
11257
+ __Pyx_RefNannySetupContext("__get__", 1);
11093
11258
 
11094
11259
  /* "biotite/sequence/phylo/tree.pyx":509
11095
11260
  * @property
@@ -11159,7 +11324,7 @@ static PyObject *__pyx_pw_7biotite_8sequence_5phylo_4tree_8TreeNode_8children_1_
11159
11324
  static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_8children___get__(struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode *__pyx_v_self) {
11160
11325
  PyObject *__pyx_r = NULL;
11161
11326
  __Pyx_RefNannyDeclarations
11162
- __Pyx_RefNannySetupContext("__get__", 0);
11327
+ __Pyx_RefNannySetupContext("__get__", 1);
11163
11328
 
11164
11329
  /* "biotite/sequence/phylo/tree.pyx":513
11165
11330
  * @property
@@ -11214,7 +11379,7 @@ static PyObject *__pyx_pw_7biotite_8sequence_5phylo_4tree_8TreeNode_6parent_1__g
11214
11379
  static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_6parent___get__(struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode *__pyx_v_self) {
11215
11380
  PyObject *__pyx_r = NULL;
11216
11381
  __Pyx_RefNannyDeclarations
11217
- __Pyx_RefNannySetupContext("__get__", 0);
11382
+ __Pyx_RefNannySetupContext("__get__", 1);
11218
11383
 
11219
11384
  /* "biotite/sequence/phylo/tree.pyx":517
11220
11385
  * @property
@@ -11275,7 +11440,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_8distance___
11275
11440
  int __pyx_lineno = 0;
11276
11441
  const char *__pyx_filename = NULL;
11277
11442
  int __pyx_clineno = 0;
11278
- __Pyx_RefNannySetupContext("__get__", 0);
11443
+ __Pyx_RefNannySetupContext("__get__", 1);
11279
11444
 
11280
11445
  /* "biotite/sequence/phylo/tree.pyx":521
11281
11446
  * @property
@@ -11348,9 +11513,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11348
11513
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11349
11514
  #endif
11350
11515
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11351
- int __pyx_lineno = 0;
11352
- const char *__pyx_filename = NULL;
11353
- int __pyx_clineno = 0;
11354
11516
  PyObject *__pyx_r = 0;
11355
11517
  __Pyx_RefNannyDeclarations
11356
11518
  __Pyx_RefNannySetupContext("is_leaf (wrapper)", 0);
@@ -11358,21 +11520,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11358
11520
  #if CYTHON_ASSUME_SAFE_MACROS
11359
11521
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11360
11522
  #else
11361
- __pyx_nargs = PyTuple_Size(__pyx_args);
11362
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 523, __pyx_L3_error)
11523
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11363
11524
  #endif
11364
11525
  #endif
11365
11526
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11366
11527
  if (unlikely(__pyx_nargs > 0)) {
11367
11528
  __Pyx_RaiseArgtupleInvalid("is_leaf", 1, 0, 0, __pyx_nargs); return NULL;}
11368
11529
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_leaf", 0))) return NULL;
11369
- goto __pyx_L4_argument_unpacking_done;
11370
- goto __pyx_L3_error;
11371
- __pyx_L3_error:;
11372
- __Pyx_AddTraceback("biotite.sequence.phylo.tree.TreeNode.is_leaf", __pyx_clineno, __pyx_lineno, __pyx_filename);
11373
- __Pyx_RefNannyFinishContext();
11374
- return NULL;
11375
- __pyx_L4_argument_unpacking_done:;
11376
11530
  __pyx_r = __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_6is_leaf(((struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode *)__pyx_v_self));
11377
11531
 
11378
11532
  /* function exit code */
@@ -11385,7 +11539,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_6is_leaf(str
11385
11539
  __Pyx_RefNannyDeclarations
11386
11540
  PyObject *__pyx_t_1 = NULL;
11387
11541
  int __pyx_t_2;
11388
- __Pyx_RefNannySetupContext("is_leaf", 0);
11542
+ __Pyx_RefNannySetupContext("is_leaf", 1);
11389
11543
 
11390
11544
  /* "biotite/sequence/phylo/tree.pyx":534
11391
11545
  * True if the node is a leaf node, false otherwise.
@@ -11451,9 +11605,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11451
11605
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11452
11606
  #endif
11453
11607
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11454
- int __pyx_lineno = 0;
11455
- const char *__pyx_filename = NULL;
11456
- int __pyx_clineno = 0;
11457
11608
  PyObject *__pyx_r = 0;
11458
11609
  __Pyx_RefNannyDeclarations
11459
11610
  __Pyx_RefNannySetupContext("is_root (wrapper)", 0);
@@ -11461,21 +11612,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11461
11612
  #if CYTHON_ASSUME_SAFE_MACROS
11462
11613
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11463
11614
  #else
11464
- __pyx_nargs = PyTuple_Size(__pyx_args);
11465
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 536, __pyx_L3_error)
11615
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11466
11616
  #endif
11467
11617
  #endif
11468
11618
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11469
11619
  if (unlikely(__pyx_nargs > 0)) {
11470
11620
  __Pyx_RaiseArgtupleInvalid("is_root", 1, 0, 0, __pyx_nargs); return NULL;}
11471
11621
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_root", 0))) return NULL;
11472
- goto __pyx_L4_argument_unpacking_done;
11473
- goto __pyx_L3_error;
11474
- __pyx_L3_error:;
11475
- __Pyx_AddTraceback("biotite.sequence.phylo.tree.TreeNode.is_root", __pyx_clineno, __pyx_lineno, __pyx_filename);
11476
- __Pyx_RefNannyFinishContext();
11477
- return NULL;
11478
- __pyx_L4_argument_unpacking_done:;
11479
11622
  __pyx_r = __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_8is_root(((struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode *)__pyx_v_self));
11480
11623
 
11481
11624
  /* function exit code */
@@ -11491,7 +11634,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_8is_root(str
11491
11634
  int __pyx_lineno = 0;
11492
11635
  const char *__pyx_filename = NULL;
11493
11636
  int __pyx_clineno = 0;
11494
- __Pyx_RefNannySetupContext("is_root", 0);
11637
+ __Pyx_RefNannySetupContext("is_root", 1);
11495
11638
 
11496
11639
  /* "biotite/sequence/phylo/tree.pyx":547
11497
11640
  * True if the node is a root node, false otherwise.
@@ -11556,9 +11699,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11556
11699
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
11557
11700
  #endif
11558
11701
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
11559
- int __pyx_lineno = 0;
11560
- const char *__pyx_filename = NULL;
11561
- int __pyx_clineno = 0;
11562
11702
  PyObject *__pyx_r = 0;
11563
11703
  __Pyx_RefNannyDeclarations
11564
11704
  __Pyx_RefNannySetupContext("as_root (wrapper)", 0);
@@ -11566,21 +11706,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11566
11706
  #if CYTHON_ASSUME_SAFE_MACROS
11567
11707
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11568
11708
  #else
11569
- __pyx_nargs = PyTuple_Size(__pyx_args);
11570
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 549, __pyx_L3_error)
11709
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11571
11710
  #endif
11572
11711
  #endif
11573
11712
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
11574
11713
  if (unlikely(__pyx_nargs > 0)) {
11575
11714
  __Pyx_RaiseArgtupleInvalid("as_root", 1, 0, 0, __pyx_nargs); return NULL;}
11576
11715
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "as_root", 0))) return NULL;
11577
- goto __pyx_L4_argument_unpacking_done;
11578
- goto __pyx_L3_error;
11579
- __pyx_L3_error:;
11580
- __Pyx_AddTraceback("biotite.sequence.phylo.tree.TreeNode.as_root", __pyx_clineno, __pyx_lineno, __pyx_filename);
11581
- __Pyx_RefNannyFinishContext();
11582
- return NULL;
11583
- __pyx_L4_argument_unpacking_done:;
11584
11716
  __pyx_r = __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_10as_root(((struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode *)__pyx_v_self));
11585
11717
 
11586
11718
  /* function exit code */
@@ -11599,7 +11731,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_10as_root(st
11599
11731
  int __pyx_lineno = 0;
11600
11732
  const char *__pyx_filename = NULL;
11601
11733
  int __pyx_clineno = 0;
11602
- __Pyx_RefNannySetupContext("as_root", 0);
11734
+ __Pyx_RefNannySetupContext("as_root", 1);
11603
11735
 
11604
11736
  /* "biotite/sequence/phylo/tree.pyx":559
11605
11737
  * raised.
@@ -11729,8 +11861,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11729
11861
  #if CYTHON_ASSUME_SAFE_MACROS
11730
11862
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
11731
11863
  #else
11732
- __pyx_nargs = PyTuple_Size(__pyx_args);
11733
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 563, __pyx_L3_error)
11864
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
11734
11865
  #endif
11735
11866
  #endif
11736
11867
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -11783,10 +11914,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
11783
11914
  __pyx_v_topological = ((int)0);
11784
11915
  }
11785
11916
  }
11786
- goto __pyx_L4_argument_unpacking_done;
11917
+ goto __pyx_L6_skip;
11787
11918
  __pyx_L5_argtuple_error:;
11788
11919
  __Pyx_RaiseArgtupleInvalid("distance_to", 0, 1, 2, __pyx_nargs); __PYX_ERR(0, 563, __pyx_L3_error)
11789
- goto __pyx_L3_error;
11920
+ __pyx_L6_skip:;
11921
+ goto __pyx_L4_argument_unpacking_done;
11790
11922
  __pyx_L3_error:;
11791
11923
  {
11792
11924
  Py_ssize_t __pyx_temp;
@@ -11830,7 +11962,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_12distance_t
11830
11962
  int __pyx_lineno = 0;
11831
11963
  const char *__pyx_filename = NULL;
11832
11964
  int __pyx_clineno = 0;
11833
- __Pyx_RefNannySetupContext("distance_to", 0);
11965
+ __Pyx_RefNannySetupContext("distance_to", 1);
11834
11966
 
11835
11967
  /* "biotite/sequence/phylo/tree.pyx":602
11836
11968
  * """
@@ -12166,8 +12298,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
12166
12298
  #if CYTHON_ASSUME_SAFE_MACROS
12167
12299
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
12168
12300
  #else
12169
- __pyx_nargs = PyTuple_Size(__pyx_args);
12170
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 623, __pyx_L3_error)
12301
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
12171
12302
  #endif
12172
12303
  #endif
12173
12304
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -12202,10 +12333,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
12202
12333
  }
12203
12334
  __pyx_v_node = ((struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode *)values[0]);
12204
12335
  }
12205
- goto __pyx_L4_argument_unpacking_done;
12336
+ goto __pyx_L6_skip;
12206
12337
  __pyx_L5_argtuple_error:;
12207
12338
  __Pyx_RaiseArgtupleInvalid("lowest_common_ancestor", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 623, __pyx_L3_error)
12208
- goto __pyx_L3_error;
12339
+ __pyx_L6_skip:;
12340
+ goto __pyx_L4_argument_unpacking_done;
12209
12341
  __pyx_L3_error:;
12210
12342
  {
12211
12343
  Py_ssize_t __pyx_temp;
@@ -12252,7 +12384,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_14lowest_com
12252
12384
  int __pyx_lineno = 0;
12253
12385
  const char *__pyx_filename = NULL;
12254
12386
  int __pyx_clineno = 0;
12255
- __Pyx_RefNannySetupContext("lowest_common_ancestor", 0);
12387
+ __Pyx_RefNannySetupContext("lowest_common_ancestor", 1);
12256
12388
 
12257
12389
  /* "biotite/sequence/phylo/tree.pyx":641
12258
12390
  * """
@@ -12445,9 +12577,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
12445
12577
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
12446
12578
  #endif
12447
12579
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
12448
- int __pyx_lineno = 0;
12449
- const char *__pyx_filename = NULL;
12450
- int __pyx_clineno = 0;
12451
12580
  PyObject *__pyx_r = 0;
12452
12581
  __Pyx_RefNannyDeclarations
12453
12582
  __Pyx_RefNannySetupContext("get_indices (wrapper)", 0);
@@ -12455,21 +12584,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
12455
12584
  #if CYTHON_ASSUME_SAFE_MACROS
12456
12585
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
12457
12586
  #else
12458
- __pyx_nargs = PyTuple_Size(__pyx_args);
12459
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 657, __pyx_L3_error)
12587
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
12460
12588
  #endif
12461
12589
  #endif
12462
12590
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
12463
12591
  if (unlikely(__pyx_nargs > 0)) {
12464
12592
  __Pyx_RaiseArgtupleInvalid("get_indices", 1, 0, 0, __pyx_nargs); return NULL;}
12465
12593
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "get_indices", 0))) return NULL;
12466
- goto __pyx_L4_argument_unpacking_done;
12467
- goto __pyx_L3_error;
12468
- __pyx_L3_error:;
12469
- __Pyx_AddTraceback("biotite.sequence.phylo.tree.TreeNode.get_indices", __pyx_clineno, __pyx_lineno, __pyx_filename);
12470
- __Pyx_RefNannyFinishContext();
12471
- return NULL;
12472
- __pyx_L4_argument_unpacking_done:;
12473
12594
  __pyx_r = __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_16get_indices(((struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode *)__pyx_v_self));
12474
12595
 
12475
12596
  /* function exit code */
@@ -12492,7 +12613,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_16get_indice
12492
12613
  int __pyx_lineno = 0;
12493
12614
  const char *__pyx_filename = NULL;
12494
12615
  int __pyx_clineno = 0;
12495
- __Pyx_RefNannySetupContext("get_indices", 0);
12616
+ __Pyx_RefNannySetupContext("get_indices", 1);
12496
12617
 
12497
12618
  /* "biotite/sequence/phylo/tree.pyx":695
12498
12619
  * """
@@ -12535,7 +12656,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_16get_indice
12535
12656
  }
12536
12657
  #endif
12537
12658
  {
12538
- PyObject *__pyx_callargs[1] = {__pyx_t_5, };
12659
+ PyObject *__pyx_callargs[2] = {__pyx_t_5, NULL};
12539
12660
  __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_6, 0+__pyx_t_6);
12540
12661
  __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
12541
12662
  if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 696, __pyx_L5_error)
@@ -12543,7 +12664,8 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_16get_indice
12543
12664
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
12544
12665
  }
12545
12666
  if (likely(PyList_CheckExact(__pyx_t_3)) || PyTuple_CheckExact(__pyx_t_3)) {
12546
- __pyx_t_4 = __pyx_t_3; __Pyx_INCREF(__pyx_t_4); __pyx_t_7 = 0;
12667
+ __pyx_t_4 = __pyx_t_3; __Pyx_INCREF(__pyx_t_4);
12668
+ __pyx_t_7 = 0;
12547
12669
  __pyx_t_8 = NULL;
12548
12670
  } else {
12549
12671
  __pyx_t_7 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 696, __pyx_L5_error)
@@ -12554,19 +12676,31 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_16get_indice
12554
12676
  for (;;) {
12555
12677
  if (likely(!__pyx_t_8)) {
12556
12678
  if (likely(PyList_CheckExact(__pyx_t_4))) {
12557
- if (__pyx_t_7 >= PyList_GET_SIZE(__pyx_t_4)) break;
12679
+ {
12680
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_4);
12681
+ #if !CYTHON_ASSUME_SAFE_MACROS
12682
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 696, __pyx_L5_error)
12683
+ #endif
12684
+ if (__pyx_t_7 >= __pyx_temp) break;
12685
+ }
12558
12686
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
12559
12687
  __pyx_t_3 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_7); __Pyx_INCREF(__pyx_t_3); __pyx_t_7++; if (unlikely((0 < 0))) __PYX_ERR(0, 696, __pyx_L5_error)
12560
12688
  #else
12561
- __pyx_t_3 = PySequence_ITEM(__pyx_t_4, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 696, __pyx_L5_error)
12689
+ __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 696, __pyx_L5_error)
12562
12690
  __Pyx_GOTREF(__pyx_t_3);
12563
12691
  #endif
12564
12692
  } else {
12565
- if (__pyx_t_7 >= PyTuple_GET_SIZE(__pyx_t_4)) break;
12693
+ {
12694
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
12695
+ #if !CYTHON_ASSUME_SAFE_MACROS
12696
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 696, __pyx_L5_error)
12697
+ #endif
12698
+ if (__pyx_t_7 >= __pyx_temp) break;
12699
+ }
12566
12700
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
12567
12701
  __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_7); __Pyx_INCREF(__pyx_t_3); __pyx_t_7++; if (unlikely((0 < 0))) __PYX_ERR(0, 696, __pyx_L5_error)
12568
12702
  #else
12569
- __pyx_t_3 = PySequence_ITEM(__pyx_t_4, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 696, __pyx_L5_error)
12703
+ __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 696, __pyx_L5_error)
12570
12704
  __Pyx_GOTREF(__pyx_t_3);
12571
12705
  #endif
12572
12706
  }
@@ -12698,9 +12832,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
12698
12832
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
12699
12833
  #endif
12700
12834
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
12701
- int __pyx_lineno = 0;
12702
- const char *__pyx_filename = NULL;
12703
- int __pyx_clineno = 0;
12704
12835
  PyObject *__pyx_r = 0;
12705
12836
  __Pyx_RefNannyDeclarations
12706
12837
  __Pyx_RefNannySetupContext("get_leaves (wrapper)", 0);
@@ -12708,21 +12839,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
12708
12839
  #if CYTHON_ASSUME_SAFE_MACROS
12709
12840
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
12710
12841
  #else
12711
- __pyx_nargs = PyTuple_Size(__pyx_args);
12712
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 699, __pyx_L3_error)
12842
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
12713
12843
  #endif
12714
12844
  #endif
12715
12845
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
12716
12846
  if (unlikely(__pyx_nargs > 0)) {
12717
12847
  __Pyx_RaiseArgtupleInvalid("get_leaves", 1, 0, 0, __pyx_nargs); return NULL;}
12718
12848
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "get_leaves", 0))) return NULL;
12719
- goto __pyx_L4_argument_unpacking_done;
12720
- goto __pyx_L3_error;
12721
- __pyx_L3_error:;
12722
- __Pyx_AddTraceback("biotite.sequence.phylo.tree.TreeNode.get_leaves", __pyx_clineno, __pyx_lineno, __pyx_filename);
12723
- __Pyx_RefNannyFinishContext();
12724
- return NULL;
12725
- __pyx_L4_argument_unpacking_done:;
12726
12849
  __pyx_r = __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_18get_leaves(((struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode *)__pyx_v_self));
12727
12850
 
12728
12851
  /* function exit code */
@@ -12738,7 +12861,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_18get_leaves
12738
12861
  int __pyx_lineno = 0;
12739
12862
  const char *__pyx_filename = NULL;
12740
12863
  int __pyx_clineno = 0;
12741
- __Pyx_RefNannySetupContext("get_leaves", 0);
12864
+ __Pyx_RefNannySetupContext("get_leaves", 1);
12742
12865
 
12743
12866
  /* "biotite/sequence/phylo/tree.pyx":717
12744
12867
  * of this node.
@@ -12824,9 +12947,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
12824
12947
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
12825
12948
  #endif
12826
12949
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
12827
- int __pyx_lineno = 0;
12828
- const char *__pyx_filename = NULL;
12829
- int __pyx_clineno = 0;
12830
12950
  PyObject *__pyx_r = 0;
12831
12951
  __Pyx_RefNannyDeclarations
12832
12952
  __Pyx_RefNannySetupContext("get_leaf_count (wrapper)", 0);
@@ -12834,21 +12954,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
12834
12954
  #if CYTHON_ASSUME_SAFE_MACROS
12835
12955
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
12836
12956
  #else
12837
- __pyx_nargs = PyTuple_Size(__pyx_args);
12838
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 723, __pyx_L3_error)
12957
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
12839
12958
  #endif
12840
12959
  #endif
12841
12960
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
12842
12961
  if (unlikely(__pyx_nargs > 0)) {
12843
12962
  __Pyx_RaiseArgtupleInvalid("get_leaf_count", 1, 0, 0, __pyx_nargs); return NULL;}
12844
12963
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "get_leaf_count", 0))) return NULL;
12845
- goto __pyx_L4_argument_unpacking_done;
12846
- goto __pyx_L3_error;
12847
- __pyx_L3_error:;
12848
- __Pyx_AddTraceback("biotite.sequence.phylo.tree.TreeNode.get_leaf_count", __pyx_clineno, __pyx_lineno, __pyx_filename);
12849
- __Pyx_RefNannyFinishContext();
12850
- return NULL;
12851
- __pyx_L4_argument_unpacking_done:;
12852
12964
  __pyx_r = __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_20get_leaf_count(((struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode *)__pyx_v_self));
12853
12965
 
12854
12966
  /* function exit code */
@@ -12864,7 +12976,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_20get_leaf_c
12864
12976
  int __pyx_lineno = 0;
12865
12977
  const char *__pyx_filename = NULL;
12866
12978
  int __pyx_clineno = 0;
12867
- __Pyx_RefNannySetupContext("get_leaf_count", 0);
12979
+ __Pyx_RefNannySetupContext("get_leaf_count", 1);
12868
12980
 
12869
12981
  /* "biotite/sequence/phylo/tree.pyx":733
12870
12982
  * If this node is a leaf node itself, 1 is returned.
@@ -12943,8 +13055,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
12943
13055
  #if CYTHON_ASSUME_SAFE_MACROS
12944
13056
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
12945
13057
  #else
12946
- __pyx_nargs = PyTuple_Size(__pyx_args);
12947
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 735, __pyx_L3_error)
13058
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
12948
13059
  #endif
12949
13060
  #endif
12950
13061
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -13027,10 +13138,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
13027
13138
  }
13028
13139
  __pyx_v_round_distance = values[2];
13029
13140
  }
13030
- goto __pyx_L4_argument_unpacking_done;
13141
+ goto __pyx_L6_skip;
13031
13142
  __pyx_L5_argtuple_error:;
13032
13143
  __Pyx_RaiseArgtupleInvalid("to_newick", 0, 0, 3, __pyx_nargs); __PYX_ERR(0, 735, __pyx_L3_error)
13033
- goto __pyx_L3_error;
13144
+ __pyx_L6_skip:;
13145
+ goto __pyx_L4_argument_unpacking_done;
13034
13146
  __pyx_L3_error:;
13035
13147
  {
13036
13148
  Py_ssize_t __pyx_temp;
@@ -13080,7 +13192,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_22to_newick(
13080
13192
  int __pyx_lineno = 0;
13081
13193
  const char *__pyx_filename = NULL;
13082
13194
  int __pyx_clineno = 0;
13083
- __Pyx_RefNannySetupContext("to_newick", 0);
13195
+ __Pyx_RefNannySetupContext("to_newick", 1);
13084
13196
 
13085
13197
  /* "biotite/sequence/phylo/tree.pyx":776
13086
13198
  * ((foo,bar),foobar)
@@ -13106,7 +13218,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_22to_newick(
13106
13218
  }
13107
13219
  #endif
13108
13220
  {
13109
- PyObject *__pyx_callargs[1] = {__pyx_t_3, };
13221
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
13110
13222
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4);
13111
13223
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
13112
13224
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 776, __pyx_L1_error)
@@ -13135,7 +13247,8 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_22to_newick(
13135
13247
  * # Characters that are part of the Newick syntax
13136
13248
  */
13137
13249
  if (likely(PyList_CheckExact(__pyx_v_labels)) || PyTuple_CheckExact(__pyx_v_labels)) {
13138
- __pyx_t_1 = __pyx_v_labels; __Pyx_INCREF(__pyx_t_1); __pyx_t_6 = 0;
13250
+ __pyx_t_1 = __pyx_v_labels; __Pyx_INCREF(__pyx_t_1);
13251
+ __pyx_t_6 = 0;
13139
13252
  __pyx_t_7 = NULL;
13140
13253
  } else {
13141
13254
  __pyx_t_6 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_labels); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 778, __pyx_L1_error)
@@ -13145,19 +13258,31 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_22to_newick(
13145
13258
  for (;;) {
13146
13259
  if (likely(!__pyx_t_7)) {
13147
13260
  if (likely(PyList_CheckExact(__pyx_t_1))) {
13148
- if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_1)) break;
13261
+ {
13262
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_1);
13263
+ #if !CYTHON_ASSUME_SAFE_MACROS
13264
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 778, __pyx_L1_error)
13265
+ #endif
13266
+ if (__pyx_t_6 >= __pyx_temp) break;
13267
+ }
13149
13268
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
13150
13269
  __pyx_t_2 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_2); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(0, 778, __pyx_L1_error)
13151
13270
  #else
13152
- __pyx_t_2 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 778, __pyx_L1_error)
13271
+ __pyx_t_2 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 778, __pyx_L1_error)
13153
13272
  __Pyx_GOTREF(__pyx_t_2);
13154
13273
  #endif
13155
13274
  } else {
13156
- if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
13275
+ {
13276
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
13277
+ #if !CYTHON_ASSUME_SAFE_MACROS
13278
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 778, __pyx_L1_error)
13279
+ #endif
13280
+ if (__pyx_t_6 >= __pyx_temp) break;
13281
+ }
13157
13282
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
13158
13283
  __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_2); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(0, 778, __pyx_L1_error)
13159
13284
  #else
13160
- __pyx_t_2 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 778, __pyx_L1_error)
13285
+ __pyx_t_2 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 778, __pyx_L1_error)
13161
13286
  __Pyx_GOTREF(__pyx_t_2);
13162
13287
  #endif
13163
13288
  }
@@ -13222,13 +13347,20 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_22to_newick(
13222
13347
  * if char in label:
13223
13348
  * raise ValueError(
13224
13349
  */
13225
- __pyx_t_2 = __pyx_v_illegal_chars; __Pyx_INCREF(__pyx_t_2); __pyx_t_8 = 0;
13350
+ __pyx_t_2 = __pyx_v_illegal_chars; __Pyx_INCREF(__pyx_t_2);
13351
+ __pyx_t_8 = 0;
13226
13352
  for (;;) {
13227
- if (__pyx_t_8 >= PyList_GET_SIZE(__pyx_t_2)) break;
13353
+ {
13354
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2);
13355
+ #if !CYTHON_ASSUME_SAFE_MACROS
13356
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 783, __pyx_L1_error)
13357
+ #endif
13358
+ if (__pyx_t_8 >= __pyx_temp) break;
13359
+ }
13228
13360
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
13229
13361
  __pyx_t_3 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_8); __Pyx_INCREF(__pyx_t_3); __pyx_t_8++; if (unlikely((0 < 0))) __PYX_ERR(0, 783, __pyx_L1_error)
13230
13362
  #else
13231
- __pyx_t_3 = PySequence_ITEM(__pyx_t_2, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 783, __pyx_L1_error)
13363
+ __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 783, __pyx_L1_error)
13232
13364
  __Pyx_GOTREF(__pyx_t_3);
13233
13365
  #endif
13234
13366
  __Pyx_XDECREF_SET(__pyx_v_char, __pyx_t_3);
@@ -13565,13 +13697,20 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_22to_newick(
13565
13697
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
13566
13698
  __PYX_ERR(0, 802, __pyx_L16_error)
13567
13699
  }
13568
- __pyx_t_3 = __pyx_v_self->_children; __Pyx_INCREF(__pyx_t_3); __pyx_t_6 = 0;
13700
+ __pyx_t_3 = __pyx_v_self->_children; __Pyx_INCREF(__pyx_t_3);
13701
+ __pyx_t_6 = 0;
13569
13702
  for (;;) {
13570
- if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_3)) break;
13703
+ {
13704
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_3);
13705
+ #if !CYTHON_ASSUME_SAFE_MACROS
13706
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 802, __pyx_L16_error)
13707
+ #endif
13708
+ if (__pyx_t_6 >= __pyx_temp) break;
13709
+ }
13571
13710
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
13572
13711
  __pyx_t_11 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_6); __Pyx_INCREF(__pyx_t_11); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(0, 802, __pyx_L16_error)
13573
13712
  #else
13574
- __pyx_t_11 = PySequence_ITEM(__pyx_t_3, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 802, __pyx_L16_error)
13713
+ __pyx_t_11 = __Pyx_PySequence_ITEM(__pyx_t_3, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 802, __pyx_L16_error)
13575
13714
  __Pyx_GOTREF(__pyx_t_11);
13576
13715
  #endif
13577
13716
  __Pyx_XDECREF_SET(__pyx_8genexpr5__pyx_v_child, __pyx_t_11);
@@ -13923,8 +14062,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
13923
14062
  #if CYTHON_ASSUME_SAFE_MACROS
13924
14063
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
13925
14064
  #else
13926
- __pyx_nargs = PyTuple_Size(__pyx_args);
13927
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 814, __pyx_L3_error)
14065
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
13928
14066
  #endif
13929
14067
  #endif
13930
14068
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -13982,10 +14120,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
13982
14120
  __pyx_v_newick = ((PyObject*)values[0]);
13983
14121
  __pyx_v_labels = ((PyObject*)values[1]);
13984
14122
  }
13985
- goto __pyx_L4_argument_unpacking_done;
14123
+ goto __pyx_L6_skip;
13986
14124
  __pyx_L5_argtuple_error:;
13987
14125
  __Pyx_RaiseArgtupleInvalid("from_newick", 0, 1, 2, __pyx_nargs); __PYX_ERR(0, 814, __pyx_L3_error)
13988
- goto __pyx_L3_error;
14126
+ __pyx_L6_skip:;
14127
+ goto __pyx_L4_argument_unpacking_done;
13989
14128
  __pyx_L3_error:;
13990
14129
  {
13991
14130
  Py_ssize_t __pyx_temp;
@@ -15127,13 +15266,20 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_24from_newic
15127
15266
  * # (A,B),(C,D),(E,F)
15128
15267
  */
15129
15268
  __pyx_t_5 = 0;
15130
- __pyx_t_8 = __pyx_v_comma_pos; __Pyx_INCREF(__pyx_t_8); __pyx_t_4 = 0;
15269
+ __pyx_t_8 = __pyx_v_comma_pos; __Pyx_INCREF(__pyx_t_8);
15270
+ __pyx_t_4 = 0;
15131
15271
  for (;;) {
15132
- if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_8)) break;
15272
+ {
15273
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_8);
15274
+ #if !CYTHON_ASSUME_SAFE_MACROS
15275
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 937, __pyx_L1_error)
15276
+ #endif
15277
+ if (__pyx_t_4 >= __pyx_temp) break;
15278
+ }
15133
15279
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
15134
15280
  __pyx_t_2 = PyList_GET_ITEM(__pyx_t_8, __pyx_t_4); __Pyx_INCREF(__pyx_t_2); __pyx_t_4++; if (unlikely((0 < 0))) __PYX_ERR(0, 937, __pyx_L1_error)
15135
15281
  #else
15136
- __pyx_t_2 = PySequence_ITEM(__pyx_t_8, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 937, __pyx_L1_error)
15282
+ __pyx_t_2 = __Pyx_PySequence_ITEM(__pyx_t_8, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 937, __pyx_L1_error)
15137
15283
  __Pyx_GOTREF(__pyx_t_2);
15138
15284
  #endif
15139
15285
  __pyx_t_9 = __Pyx_PyInt_As_int(__pyx_t_2); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 937, __pyx_L1_error)
@@ -15783,7 +15929,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_26__str__(st
15783
15929
  int __pyx_lineno = 0;
15784
15930
  const char *__pyx_filename = NULL;
15785
15931
  int __pyx_clineno = 0;
15786
- __Pyx_RefNannySetupContext("__str__", 0);
15932
+ __Pyx_RefNannySetupContext("__str__", 1);
15787
15933
 
15788
15934
  /* "biotite/sequence/phylo/tree.pyx":970
15789
15935
  *
@@ -15810,7 +15956,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_26__str__(st
15810
15956
  }
15811
15957
  #endif
15812
15958
  {
15813
- PyObject *__pyx_callargs[1] = {__pyx_t_3, };
15959
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
15814
15960
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4);
15815
15961
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
15816
15962
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 970, __pyx_L1_error)
@@ -15877,7 +16023,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_28__eq__(str
15877
16023
  int __pyx_lineno = 0;
15878
16024
  const char *__pyx_filename = NULL;
15879
16025
  int __pyx_clineno = 0;
15880
- __Pyx_RefNannySetupContext("__eq__", 0);
16026
+ __Pyx_RefNannySetupContext("__eq__", 1);
15881
16027
 
15882
16028
  /* "biotite/sequence/phylo/tree.pyx":973
15883
16029
  *
@@ -16117,7 +16263,7 @@ static Py_hash_t __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_30__hash__(s
16117
16263
  int __pyx_lineno = 0;
16118
16264
  const char *__pyx_filename = NULL;
16119
16265
  int __pyx_clineno = 0;
16120
- __Pyx_RefNannySetupContext("__hash__", 0);
16266
+ __Pyx_RefNannySetupContext("__hash__", 1);
16121
16267
 
16122
16268
  /* "biotite/sequence/phylo/tree.pyx":989
16123
16269
  * # Order of children is not important -> set
@@ -16230,9 +16376,6 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
16230
16376
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
16231
16377
  #endif
16232
16378
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
16233
- int __pyx_lineno = 0;
16234
- const char *__pyx_filename = NULL;
16235
- int __pyx_clineno = 0;
16236
16379
  PyObject *__pyx_r = 0;
16237
16380
  __Pyx_RefNannyDeclarations
16238
16381
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
@@ -16240,21 +16383,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
16240
16383
  #if CYTHON_ASSUME_SAFE_MACROS
16241
16384
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
16242
16385
  #else
16243
- __pyx_nargs = PyTuple_Size(__pyx_args);
16244
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(2, 1, __pyx_L3_error)
16386
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
16245
16387
  #endif
16246
16388
  #endif
16247
16389
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
16248
16390
  if (unlikely(__pyx_nargs > 0)) {
16249
16391
  __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
16250
16392
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
16251
- goto __pyx_L4_argument_unpacking_done;
16252
- goto __pyx_L3_error;
16253
- __pyx_L3_error:;
16254
- __Pyx_AddTraceback("biotite.sequence.phylo.tree.TreeNode.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
16255
- __Pyx_RefNannyFinishContext();
16256
- return NULL;
16257
- __pyx_L4_argument_unpacking_done:;
16258
16393
  __pyx_r = __pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_32__reduce_cython__(((struct __pyx_obj_7biotite_8sequence_5phylo_4tree_TreeNode *)__pyx_v_self));
16259
16394
 
16260
16395
  /* function exit code */
@@ -16268,7 +16403,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_32__reduce_c
16268
16403
  int __pyx_lineno = 0;
16269
16404
  const char *__pyx_filename = NULL;
16270
16405
  int __pyx_clineno = 0;
16271
- __Pyx_RefNannySetupContext("__reduce_cython__", 0);
16406
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
16272
16407
 
16273
16408
  /* "(tree fragment)":2
16274
16409
  * def __reduce_cython__(self):
@@ -16333,8 +16468,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
16333
16468
  #if CYTHON_ASSUME_SAFE_MACROS
16334
16469
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
16335
16470
  #else
16336
- __pyx_nargs = PyTuple_Size(__pyx_args);
16337
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(2, 3, __pyx_L3_error)
16471
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
16338
16472
  #endif
16339
16473
  #endif
16340
16474
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -16369,10 +16503,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
16369
16503
  }
16370
16504
  __pyx_v___pyx_state = values[0];
16371
16505
  }
16372
- goto __pyx_L4_argument_unpacking_done;
16506
+ goto __pyx_L6_skip;
16373
16507
  __pyx_L5_argtuple_error:;
16374
16508
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 3, __pyx_L3_error)
16375
- goto __pyx_L3_error;
16509
+ __pyx_L6_skip:;
16510
+ goto __pyx_L4_argument_unpacking_done;
16376
16511
  __pyx_L3_error:;
16377
16512
  {
16378
16513
  Py_ssize_t __pyx_temp;
@@ -16403,7 +16538,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_8TreeNode_34__setstate
16403
16538
  int __pyx_lineno = 0;
16404
16539
  const char *__pyx_filename = NULL;
16405
16540
  int __pyx_clineno = 0;
16406
- __Pyx_RefNannySetupContext("__setstate_cython__", 0);
16541
+ __Pyx_RefNannySetupContext("__setstate_cython__", 1);
16407
16542
 
16408
16543
  /* "(tree fragment)":4
16409
16544
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
@@ -16449,7 +16584,7 @@ static PyObject *__pyx_f_7biotite_8sequence_5phylo_4tree__get_leaves(struct __py
16449
16584
  int __pyx_lineno = 0;
16450
16585
  const char *__pyx_filename = NULL;
16451
16586
  int __pyx_clineno = 0;
16452
- __Pyx_RefNannySetupContext("_get_leaves", 0);
16587
+ __Pyx_RefNannySetupContext("_get_leaves", 1);
16453
16588
 
16454
16589
  /* "biotite/sequence/phylo/tree.pyx":995
16455
16590
  * cdef _get_leaves(TreeNode node, list leaf_list):
@@ -16472,13 +16607,20 @@ static PyObject *__pyx_f_7biotite_8sequence_5phylo_4tree__get_leaves(struct __py
16472
16607
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
16473
16608
  __PYX_ERR(0, 997, __pyx_L1_error)
16474
16609
  }
16475
- __pyx_t_2 = __pyx_v_node->_children; __Pyx_INCREF(__pyx_t_2); __pyx_t_3 = 0;
16610
+ __pyx_t_2 = __pyx_v_node->_children; __Pyx_INCREF(__pyx_t_2);
16611
+ __pyx_t_3 = 0;
16476
16612
  for (;;) {
16477
- if (__pyx_t_3 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
16613
+ {
16614
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
16615
+ #if !CYTHON_ASSUME_SAFE_MACROS
16616
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 997, __pyx_L1_error)
16617
+ #endif
16618
+ if (__pyx_t_3 >= __pyx_temp) break;
16619
+ }
16478
16620
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
16479
16621
  __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_4); __pyx_t_3++; if (unlikely((0 < 0))) __PYX_ERR(0, 997, __pyx_L1_error)
16480
16622
  #else
16481
- __pyx_t_4 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 997, __pyx_L1_error)
16623
+ __pyx_t_4 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 997, __pyx_L1_error)
16482
16624
  __Pyx_GOTREF(__pyx_t_4);
16483
16625
  #endif
16484
16626
  if (!(likely(((__pyx_t_4) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_4, __pyx_ptype_7biotite_8sequence_5phylo_4tree_TreeNode))))) __PYX_ERR(0, 997, __pyx_L1_error)
@@ -16576,7 +16718,7 @@ static int __pyx_f_7biotite_8sequence_5phylo_4tree__get_leaf_count(struct __pyx_
16576
16718
  int __pyx_lineno = 0;
16577
16719
  const char *__pyx_filename = NULL;
16578
16720
  int __pyx_clineno = 0;
16579
- __Pyx_RefNannySetupContext("_get_leaf_count", 0);
16721
+ __Pyx_RefNannySetupContext("_get_leaf_count", 1);
16580
16722
 
16581
16723
  /* "biotite/sequence/phylo/tree.pyx":1006
16582
16724
  * cdef int _get_leaf_count(TreeNode node):
@@ -16608,13 +16750,20 @@ static int __pyx_f_7biotite_8sequence_5phylo_4tree__get_leaf_count(struct __pyx_
16608
16750
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
16609
16751
  __PYX_ERR(0, 1009, __pyx_L1_error)
16610
16752
  }
16611
- __pyx_t_2 = __pyx_v_node->_children; __Pyx_INCREF(__pyx_t_2); __pyx_t_3 = 0;
16753
+ __pyx_t_2 = __pyx_v_node->_children; __Pyx_INCREF(__pyx_t_2);
16754
+ __pyx_t_3 = 0;
16612
16755
  for (;;) {
16613
- if (__pyx_t_3 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
16756
+ {
16757
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2);
16758
+ #if !CYTHON_ASSUME_SAFE_MACROS
16759
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1009, __pyx_L1_error)
16760
+ #endif
16761
+ if (__pyx_t_3 >= __pyx_temp) break;
16762
+ }
16614
16763
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
16615
16764
  __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_4); __pyx_t_3++; if (unlikely((0 < 0))) __PYX_ERR(0, 1009, __pyx_L1_error)
16616
16765
  #else
16617
- __pyx_t_4 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1009, __pyx_L1_error)
16766
+ __pyx_t_4 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1009, __pyx_L1_error)
16618
16767
  __Pyx_GOTREF(__pyx_t_4);
16619
16768
  #endif
16620
16769
  if (!(likely(((__pyx_t_4) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_4, __pyx_ptype_7biotite_8sequence_5phylo_4tree_TreeNode))))) __PYX_ERR(0, 1009, __pyx_L1_error)
@@ -16711,7 +16860,7 @@ static PyObject *__pyx_f_7biotite_8sequence_5phylo_4tree__create_path_to_root(st
16711
16860
  int __pyx_lineno = 0;
16712
16861
  const char *__pyx_filename = NULL;
16713
16862
  int __pyx_clineno = 0;
16714
- __Pyx_RefNannySetupContext("_create_path_to_root", 0);
16863
+ __Pyx_RefNannySetupContext("_create_path_to_root", 1);
16715
16864
 
16716
16865
  /* "biotite/sequence/phylo/tree.pyx":1022
16717
16866
  * specified node
@@ -16842,8 +16991,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
16842
16991
  #if CYTHON_ASSUME_SAFE_MACROS
16843
16992
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
16844
16993
  #else
16845
- __pyx_nargs = PyTuple_Size(__pyx_args);
16846
- if (unlikely((__pyx_nargs < 0))) __PYX_ERR(0, 1031, __pyx_L3_error)
16994
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
16847
16995
  #endif
16848
16996
  #endif
16849
16997
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
@@ -16878,10 +17026,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
16878
17026
  }
16879
17027
  __pyx_v_tree_or_node = values[0];
16880
17028
  }
16881
- goto __pyx_L4_argument_unpacking_done;
17029
+ goto __pyx_L6_skip;
16882
17030
  __pyx_L5_argtuple_error:;
16883
17031
  __Pyx_RaiseArgtupleInvalid("as_binary", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 1031, __pyx_L3_error)
16884
- goto __pyx_L3_error;
17032
+ __pyx_L6_skip:;
17033
+ goto __pyx_L4_argument_unpacking_done;
16885
17034
  __pyx_L3_error:;
16886
17035
  {
16887
17036
  Py_ssize_t __pyx_temp;
@@ -16921,7 +17070,7 @@ static PyObject *__pyx_pf_7biotite_8sequence_5phylo_4tree_as_binary(CYTHON_UNUSE
16921
17070
  int __pyx_lineno = 0;
16922
17071
  const char *__pyx_filename = NULL;
16923
17072
  int __pyx_clineno = 0;
16924
- __Pyx_RefNannySetupContext("as_binary", 0);
17073
+ __Pyx_RefNannySetupContext("as_binary", 1);
16925
17074
 
16926
17075
  /* "biotite/sequence/phylo/tree.pyx":1058
16927
17076
  * The converted tree or node.
@@ -17239,7 +17388,7 @@ static PyObject *__pyx_f_7biotite_8sequence_5phylo_4tree__as_binary(struct __pyx
17239
17388
  int __pyx_lineno = 0;
17240
17389
  const char *__pyx_filename = NULL;
17241
17390
  int __pyx_clineno = 0;
17242
- __Pyx_RefNannySetupContext("_as_binary", 0);
17391
+ __Pyx_RefNannySetupContext("_as_binary", 1);
17243
17392
 
17244
17393
  /* "biotite/sequence/phylo/tree.pyx":1092
17245
17394
  * cdef float distance
@@ -17412,7 +17561,7 @@ static PyObject *__pyx_f_7biotite_8sequence_5phylo_4tree__as_binary(struct __pyx
17412
17561
  }
17413
17562
  #endif
17414
17563
  {
17415
- PyObject *__pyx_callargs[1] = {__pyx_t_1, };
17564
+ PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL};
17416
17565
  __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_9, 0+__pyx_t_9);
17417
17566
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
17418
17567
  if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1108, __pyx_L1_error)
@@ -17531,13 +17680,20 @@ static PyObject *__pyx_f_7biotite_8sequence_5phylo_4tree__as_binary(struct __pyx
17531
17680
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
17532
17681
  __PYX_ERR(0, 1128, __pyx_L14_error)
17533
17682
  }
17534
- __pyx_t_4 = __pyx_v_children; __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = 0;
17683
+ __pyx_t_4 = __pyx_v_children; __Pyx_INCREF(__pyx_t_4);
17684
+ __pyx_t_5 = 0;
17535
17685
  for (;;) {
17536
- if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_4)) break;
17686
+ {
17687
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
17688
+ #if !CYTHON_ASSUME_SAFE_MACROS
17689
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1128, __pyx_L14_error)
17690
+ #endif
17691
+ if (__pyx_t_5 >= __pyx_temp) break;
17692
+ }
17537
17693
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
17538
17694
  __pyx_t_6 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_6); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 1128, __pyx_L14_error)
17539
17695
  #else
17540
- __pyx_t_6 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1128, __pyx_L14_error)
17696
+ __pyx_t_6 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1128, __pyx_L14_error)
17541
17697
  __Pyx_GOTREF(__pyx_t_6);
17542
17698
  #endif
17543
17699
  if (!(likely(((__pyx_t_6) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_6, __pyx_ptype_7biotite_8sequence_5phylo_4tree_TreeNode))))) __PYX_ERR(0, 1128, __pyx_L14_error)
@@ -17571,7 +17727,8 @@ static PyObject *__pyx_f_7biotite_8sequence_5phylo_4tree__as_binary(struct __pyx
17571
17727
  __Pyx_GOTREF(__pyx_t_1);
17572
17728
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
17573
17729
  if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) {
17574
- __pyx_t_4 = __pyx_t_1; __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = 0;
17730
+ __pyx_t_4 = __pyx_t_1; __Pyx_INCREF(__pyx_t_4);
17731
+ __pyx_t_5 = 0;
17575
17732
  __pyx_t_10 = NULL;
17576
17733
  } else {
17577
17734
  __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1127, __pyx_L9_error)
@@ -17582,19 +17739,31 @@ static PyObject *__pyx_f_7biotite_8sequence_5phylo_4tree__as_binary(struct __pyx
17582
17739
  for (;;) {
17583
17740
  if (likely(!__pyx_t_10)) {
17584
17741
  if (likely(PyList_CheckExact(__pyx_t_4))) {
17585
- if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_4)) break;
17742
+ {
17743
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_4);
17744
+ #if !CYTHON_ASSUME_SAFE_MACROS
17745
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1127, __pyx_L9_error)
17746
+ #endif
17747
+ if (__pyx_t_5 >= __pyx_temp) break;
17748
+ }
17586
17749
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
17587
17750
  __pyx_t_1 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 1127, __pyx_L9_error)
17588
17751
  #else
17589
- __pyx_t_1 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1127, __pyx_L9_error)
17752
+ __pyx_t_1 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1127, __pyx_L9_error)
17590
17753
  __Pyx_GOTREF(__pyx_t_1);
17591
17754
  #endif
17592
17755
  } else {
17593
- if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_4)) break;
17756
+ {
17757
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
17758
+ #if !CYTHON_ASSUME_SAFE_MACROS
17759
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1127, __pyx_L9_error)
17760
+ #endif
17761
+ if (__pyx_t_5 >= __pyx_temp) break;
17762
+ }
17594
17763
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
17595
17764
  __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 1127, __pyx_L9_error)
17596
17765
  #else
17597
- __pyx_t_1 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1127, __pyx_L9_error)
17766
+ __pyx_t_1 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1127, __pyx_L9_error)
17598
17767
  __Pyx_GOTREF(__pyx_t_1);
17599
17768
  #endif
17600
17769
  }
@@ -17972,13 +18141,20 @@ static PyObject *__pyx_f_7biotite_8sequence_5phylo_4tree__as_binary(struct __pyx
17972
18141
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
17973
18142
  __PYX_ERR(0, 1159, __pyx_L31_error)
17974
18143
  }
17975
- __pyx_t_4 = __pyx_v_children; __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = 0;
18144
+ __pyx_t_4 = __pyx_v_children; __Pyx_INCREF(__pyx_t_4);
18145
+ __pyx_t_5 = 0;
17976
18146
  for (;;) {
17977
- if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_4)) break;
18147
+ {
18148
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
18149
+ #if !CYTHON_ASSUME_SAFE_MACROS
18150
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1159, __pyx_L31_error)
18151
+ #endif
18152
+ if (__pyx_t_5 >= __pyx_temp) break;
18153
+ }
17978
18154
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
17979
18155
  __pyx_t_6 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_6); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 1159, __pyx_L31_error)
17980
18156
  #else
17981
- __pyx_t_6 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1159, __pyx_L31_error)
18157
+ __pyx_t_6 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1159, __pyx_L31_error)
17982
18158
  __Pyx_GOTREF(__pyx_t_6);
17983
18159
  #endif
17984
18160
  if (!(likely(((__pyx_t_6) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_6, __pyx_ptype_7biotite_8sequence_5phylo_4tree_TreeNode))))) __PYX_ERR(0, 1159, __pyx_L31_error)
@@ -18012,7 +18188,8 @@ static PyObject *__pyx_f_7biotite_8sequence_5phylo_4tree__as_binary(struct __pyx
18012
18188
  __Pyx_GOTREF(__pyx_t_3);
18013
18189
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18014
18190
  if (likely(PyList_CheckExact(__pyx_t_3)) || PyTuple_CheckExact(__pyx_t_3)) {
18015
- __pyx_t_4 = __pyx_t_3; __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = 0;
18191
+ __pyx_t_4 = __pyx_t_3; __Pyx_INCREF(__pyx_t_4);
18192
+ __pyx_t_5 = 0;
18016
18193
  __pyx_t_10 = NULL;
18017
18194
  } else {
18018
18195
  __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1158, __pyx_L26_error)
@@ -18023,19 +18200,31 @@ static PyObject *__pyx_f_7biotite_8sequence_5phylo_4tree__as_binary(struct __pyx
18023
18200
  for (;;) {
18024
18201
  if (likely(!__pyx_t_10)) {
18025
18202
  if (likely(PyList_CheckExact(__pyx_t_4))) {
18026
- if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_4)) break;
18203
+ {
18204
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_4);
18205
+ #if !CYTHON_ASSUME_SAFE_MACROS
18206
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1158, __pyx_L26_error)
18207
+ #endif
18208
+ if (__pyx_t_5 >= __pyx_temp) break;
18209
+ }
18027
18210
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
18028
18211
  __pyx_t_3 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_3); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 1158, __pyx_L26_error)
18029
18212
  #else
18030
- __pyx_t_3 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1158, __pyx_L26_error)
18213
+ __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1158, __pyx_L26_error)
18031
18214
  __Pyx_GOTREF(__pyx_t_3);
18032
18215
  #endif
18033
18216
  } else {
18034
- if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_4)) break;
18217
+ {
18218
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
18219
+ #if !CYTHON_ASSUME_SAFE_MACROS
18220
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1158, __pyx_L26_error)
18221
+ #endif
18222
+ if (__pyx_t_5 >= __pyx_temp) break;
18223
+ }
18035
18224
  #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
18036
18225
  __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_3); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 1158, __pyx_L26_error)
18037
18226
  #else
18038
- __pyx_t_3 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1158, __pyx_L26_error)
18227
+ __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1158, __pyx_L26_error)
18039
18228
  __Pyx_GOTREF(__pyx_t_3);
18040
18229
  #endif
18041
18230
  }
@@ -18398,8 +18587,10 @@ static PyTypeObject __pyx_type_7biotite_8sequence_5phylo_4tree_TreeNode = {
18398
18587
  };
18399
18588
  #endif
18400
18589
 
18590
+ #if CYTHON_USE_FREELISTS
18401
18591
  static struct __pyx_obj_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph *__pyx_freelist_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph[8];
18402
18592
  static int __pyx_freecount_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph = 0;
18593
+ #endif
18403
18594
 
18404
18595
  static PyObject *__pyx_tp_new_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
18405
18596
  PyObject *o;
@@ -18407,7 +18598,7 @@ static PyObject *__pyx_tp_new_7biotite_8sequence_5phylo_4tree___pyx_scope_struct
18407
18598
  allocfunc alloc_func = (allocfunc)PyType_GetSlot(t, Py_tp_alloc);
18408
18599
  o = alloc_func(t, 0);
18409
18600
  #else
18410
- #if CYTHON_COMPILING_IN_CPYTHON
18601
+ #if CYTHON_USE_FREELISTS
18411
18602
  if (likely((int)(__pyx_freecount_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph > 0) & (int)(t->tp_basicsize == sizeof(struct __pyx_obj_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph)))) {
18412
18603
  o = (PyObject*)__pyx_freelist_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph[--__pyx_freecount_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph];
18413
18604
  memset(o, 0, sizeof(struct __pyx_obj_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph));
@@ -18434,7 +18625,7 @@ static void __pyx_tp_dealloc_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_
18434
18625
  #endif
18435
18626
  PyObject_GC_UnTrack(o);
18436
18627
  Py_CLEAR(p->__pyx_v_node_repr);
18437
- #if CYTHON_COMPILING_IN_CPYTHON
18628
+ #if CYTHON_USE_FREELISTS
18438
18629
  if (((int)(__pyx_freecount_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph < 8) & (int)(Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph)))) {
18439
18630
  __pyx_freelist_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph[__pyx_freecount_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph++] = ((struct __pyx_obj_7biotite_8sequence_5phylo_4tree___pyx_scope_struct__as_graph *)o);
18440
18631
  } else
@@ -18567,8 +18758,10 @@ static PyTypeObject __pyx_type_7biotite_8sequence_5phylo_4tree___pyx_scope_struc
18567
18758
  };
18568
18759
  #endif
18569
18760
 
18761
+ #if CYTHON_USE_FREELISTS
18570
18762
  static struct __pyx_obj_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr *__pyx_freelist_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr[8];
18571
18763
  static int __pyx_freecount_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr = 0;
18764
+ #endif
18572
18765
 
18573
18766
  static PyObject *__pyx_tp_new_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
18574
18767
  PyObject *o;
@@ -18576,7 +18769,7 @@ static PyObject *__pyx_tp_new_7biotite_8sequence_5phylo_4tree___pyx_scope_struct
18576
18769
  allocfunc alloc_func = (allocfunc)PyType_GetSlot(t, Py_tp_alloc);
18577
18770
  o = alloc_func(t, 0);
18578
18771
  #else
18579
- #if CYTHON_COMPILING_IN_CPYTHON
18772
+ #if CYTHON_USE_FREELISTS
18580
18773
  if (likely((int)(__pyx_freecount_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr > 0) & (int)(t->tp_basicsize == sizeof(struct __pyx_obj_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr)))) {
18581
18774
  o = (PyObject*)__pyx_freelist_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr[--__pyx_freecount_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr];
18582
18775
  memset(o, 0, sizeof(struct __pyx_obj_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr));
@@ -18606,7 +18799,7 @@ static void __pyx_tp_dealloc_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_
18606
18799
  Py_CLEAR(p->__pyx_genexpr_arg_0);
18607
18800
  Py_CLEAR(p->__pyx_v_child);
18608
18801
  Py_CLEAR(p->__pyx_t_0);
18609
- #if CYTHON_COMPILING_IN_CPYTHON
18802
+ #if CYTHON_USE_FREELISTS
18610
18803
  if (((int)(__pyx_freecount_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr < 8) & (int)(Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr)))) {
18611
18804
  __pyx_freelist_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr[__pyx_freecount_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr++] = ((struct __pyx_obj_7biotite_8sequence_5phylo_4tree___pyx_scope_struct_1_genexpr *)o);
18612
18805
  } else
@@ -19003,7 +19196,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
19003
19196
  __Pyx_RefNannyDeclarations
19004
19197
  __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);
19005
19198
 
19006
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987
19199
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987
19007
19200
  * __pyx_import_array()
19008
19201
  * except Exception:
19009
19202
  * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@@ -19014,7 +19207,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
19014
19207
  __Pyx_GOTREF(__pyx_tuple_);
19015
19208
  __Pyx_GIVEREF(__pyx_tuple_);
19016
19209
 
19017
- /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-q868mev_/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993
19210
+ /* "../../../../../private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-920dofd5/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993
19018
19211
  * _import_umath()
19019
19212
  * except Exception:
19020
19213
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -19533,33 +19726,33 @@ static int __Pyx_modinit_type_import_code(void) {
19533
19726
  /*--- Type import code ---*/
19534
19727
  __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 9, __pyx_L1_error)
19535
19728
  __Pyx_GOTREF(__pyx_t_1);
19536
- __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_2(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
19729
+ __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_10(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
19537
19730
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
19538
- sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyTypeObject),
19731
+ sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
19539
19732
  #elif CYTHON_COMPILING_IN_LIMITED_API
19540
- sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyTypeObject),
19733
+ sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyTypeObject),
19541
19734
  #else
19542
- sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_2(PyHeapTypeObject),
19735
+ sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(PyHeapTypeObject),
19543
19736
  #endif
19544
- __Pyx_ImportType_CheckSize_Warn_3_0_2); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
19737
+ __Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
19545
19738
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
19546
19739
  __pyx_t_1 = PyImport_ImportModule("numpy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 203, __pyx_L1_error)
19547
19740
  __Pyx_GOTREF(__pyx_t_1);
19548
- __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(1, 203, __pyx_L1_error)
19549
- __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(1, 226, __pyx_L1_error)
19550
- __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(1, 230, __pyx_L1_error)
19551
- __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(1, 239, __pyx_L1_error)
19552
- __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(1, 813, __pyx_L1_error)
19553
- __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(1, 815, __pyx_L1_error)
19554
- __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(1, 817, __pyx_L1_error)
19555
- __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(1, 819, __pyx_L1_error)
19556
- __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(1, 821, __pyx_L1_error)
19557
- __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(1, 823, __pyx_L1_error)
19558
- __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(1, 825, __pyx_L1_error)
19559
- __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(1, 827, __pyx_L1_error)
19560
- __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(1, 829, __pyx_L1_error)
19561
- __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(1, 831, __pyx_L1_error)
19562
- __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(1, 869, __pyx_L1_error)
19741
+ __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(1, 203, __pyx_L1_error)
19742
+ __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(1, 226, __pyx_L1_error)
19743
+ __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(1, 230, __pyx_L1_error)
19744
+ __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(1, 239, __pyx_L1_error)
19745
+ __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(1, 813, __pyx_L1_error)
19746
+ __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(1, 815, __pyx_L1_error)
19747
+ __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(1, 817, __pyx_L1_error)
19748
+ __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(1, 819, __pyx_L1_error)
19749
+ __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(1, 821, __pyx_L1_error)
19750
+ __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(1, 823, __pyx_L1_error)
19751
+ __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(1, 825, __pyx_L1_error)
19752
+ __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(1, 827, __pyx_L1_error)
19753
+ __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(1, 829, __pyx_L1_error)
19754
+ __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(1, 831, __pyx_L1_error)
19755
+ __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(1, 869, __pyx_L1_error)
19563
19756
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
19564
19757
  __Pyx_RefNannyFinishContext();
19565
19758
  return 0;
@@ -19777,7 +19970,7 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_tree(PyObject *__pyx_pyinit_module
19777
19970
  __pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
19778
19971
  {
19779
19972
  int add_module_result = PyState_AddModule(__pyx_t_1, &__pyx_moduledef);
19780
- __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to tree pseudovariable */
19973
+ __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "tree" pseudovariable */
19781
19974
  if (unlikely((add_module_result < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
19782
19975
  pystate_addmodule_run = 1;
19783
19976
  }
@@ -19789,10 +19982,8 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_tree(PyObject *__pyx_pyinit_module
19789
19982
  CYTHON_UNUSED_VAR(__pyx_t_1);
19790
19983
  __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
19791
19984
  Py_INCREF(__pyx_d);
19792
- __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
19793
- Py_INCREF(__pyx_b);
19794
- __pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
19795
- Py_INCREF(__pyx_cython_runtime);
19985
+ __pyx_b = __Pyx_PyImport_AddModuleRef(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
19986
+ __pyx_cython_runtime = __Pyx_PyImport_AddModuleRef((const char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
19796
19987
  if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
19797
19988
  #if CYTHON_REFNANNY
19798
19989
  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
@@ -19804,7 +19995,7 @@ if (!__Pyx_RefNanny) {
19804
19995
  }
19805
19996
  #endif
19806
19997
  __Pyx_RefNannySetupContext("__Pyx_PyMODINIT_FUNC PyInit_tree(void)", 0);
19807
- if (__Pyx_check_binary_version() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
19998
+ 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)
19808
19999
  #ifdef __Pxy_PyFrame_Initialize_Offsets
19809
20000
  __Pxy_PyFrame_Initialize_Offsets();
19810
20001
  #endif
@@ -20599,6 +20790,8 @@ static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObjec
20599
20790
  tmp_value = tstate->current_exception;
20600
20791
  tstate->current_exception = value;
20601
20792
  Py_XDECREF(tmp_value);
20793
+ Py_XDECREF(type);
20794
+ Py_XDECREF(tb);
20602
20795
  #else
20603
20796
  PyObject *tmp_type, *tmp_value, *tmp_tb;
20604
20797
  tmp_type = tstate->curexc_type;
@@ -20656,14 +20849,20 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject
20656
20849
  #endif
20657
20850
 
20658
20851
  /* PyObjectGetAttrStrNoError */
20852
+ #if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
20659
20853
  static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) {
20660
20854
  __Pyx_PyThreadState_declare
20661
20855
  __Pyx_PyThreadState_assign
20662
20856
  if (likely(__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
20663
20857
  __Pyx_PyErr_Clear();
20664
20858
  }
20859
+ #endif
20665
20860
  static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name) {
20666
20861
  PyObject *result;
20862
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
20863
+ (void) PyObject_GetOptionalAttr(obj, attr_name, &result);
20864
+ return result;
20865
+ #else
20667
20866
  #if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_TYPE_SLOTS && PY_VERSION_HEX >= 0x030700B1
20668
20867
  PyTypeObject* tp = Py_TYPE(obj);
20669
20868
  if (likely(tp->tp_getattro == PyObject_GenericGetAttr)) {
@@ -20675,6 +20874,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, P
20675
20874
  __Pyx_PyObject_GetAttrStr_ClearAttributeError();
20676
20875
  }
20677
20876
  return result;
20877
+ #endif
20678
20878
  }
20679
20879
 
20680
20880
  /* GetBuiltinName */
@@ -20875,8 +21075,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
20875
21075
  ternaryfunc call = Py_TYPE(func)->tp_call;
20876
21076
  if (unlikely(!call))
20877
21077
  return PyObject_Call(func, arg, kw);
21078
+ #if PY_MAJOR_VERSION < 3
20878
21079
  if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
20879
21080
  return NULL;
21081
+ #else
21082
+ if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
21083
+ return NULL;
21084
+ #endif
20880
21085
  result = (*call)(func, arg, kw);
20881
21086
  Py_LeaveRecursiveCall();
20882
21087
  if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
@@ -21248,12 +21453,30 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO
21248
21453
  {
21249
21454
  int eq = __Pyx_PyUnicode_Equals(s, PyTuple_GET_ITEM(kwnames, i), Py_EQ);
21250
21455
  if (unlikely(eq != 0)) {
21251
- if (unlikely(eq < 0)) return NULL; // error
21456
+ if (unlikely(eq < 0)) return NULL;
21252
21457
  return kwvalues[i];
21253
21458
  }
21254
21459
  }
21255
- return NULL; // not found (no exception set)
21460
+ return NULL;
21256
21461
  }
21462
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
21463
+ CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) {
21464
+ Py_ssize_t i, nkwargs = PyTuple_GET_SIZE(kwnames);
21465
+ PyObject *dict;
21466
+ dict = PyDict_New();
21467
+ if (unlikely(!dict))
21468
+ return NULL;
21469
+ for (i=0; i<nkwargs; i++) {
21470
+ PyObject *key = PyTuple_GET_ITEM(kwnames, i);
21471
+ if (unlikely(PyDict_SetItem(dict, key, kwvalues[i]) < 0))
21472
+ goto bad;
21473
+ }
21474
+ return dict;
21475
+ bad:
21476
+ Py_DECREF(dict);
21477
+ return NULL;
21478
+ }
21479
+ #endif
21257
21480
  #endif
21258
21481
 
21259
21482
  /* RaiseArgTupleInvalid */
@@ -21347,7 +21570,7 @@ static int __Pyx_ParseOptionalKeywords(
21347
21570
  if (*name) {
21348
21571
  values[name-argnames] = value;
21349
21572
  #if CYTHON_AVOID_BORROWED_REFS
21350
- Py_INCREF(value); // transfer ownership of value to values
21573
+ Py_INCREF(value);
21351
21574
  Py_DECREF(key);
21352
21575
  #endif
21353
21576
  key = NULL;
@@ -21366,7 +21589,7 @@ static int __Pyx_ParseOptionalKeywords(
21366
21589
  && _PyString_Eq(**name, key)) {
21367
21590
  values[name-argnames] = value;
21368
21591
  #if CYTHON_AVOID_BORROWED_REFS
21369
- value = NULL; // ownership transferred to values
21592
+ value = NULL;
21370
21593
  #endif
21371
21594
  break;
21372
21595
  }
@@ -21398,7 +21621,7 @@ static int __Pyx_ParseOptionalKeywords(
21398
21621
  if (cmp == 0) {
21399
21622
  values[name-argnames] = value;
21400
21623
  #if CYTHON_AVOID_BORROWED_REFS
21401
- value = NULL; // ownership transferred to values
21624
+ value = NULL;
21402
21625
  #endif
21403
21626
  break;
21404
21627
  }
@@ -21524,9 +21747,15 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
21524
21747
  PyObject *result;
21525
21748
  assert(kwargs == NULL || PyDict_Check(kwargs));
21526
21749
  nk = kwargs ? PyDict_Size(kwargs) : 0;
21750
+ #if PY_MAJOR_VERSION < 3
21527
21751
  if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) {
21528
21752
  return NULL;
21529
21753
  }
21754
+ #else
21755
+ if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) {
21756
+ return NULL;
21757
+ }
21758
+ #endif
21530
21759
  if (
21531
21760
  #if PY_MAJOR_VERSION >= 3
21532
21761
  co->co_kwonlyargcount == 0 &&
@@ -21601,10 +21830,15 @@ done:
21601
21830
  static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
21602
21831
  PyObject *self, *result;
21603
21832
  PyCFunction cfunc;
21604
- cfunc = PyCFunction_GET_FUNCTION(func);
21605
- self = PyCFunction_GET_SELF(func);
21833
+ cfunc = __Pyx_CyOrPyCFunction_GET_FUNCTION(func);
21834
+ self = __Pyx_CyOrPyCFunction_GET_SELF(func);
21835
+ #if PY_MAJOR_VERSION < 3
21606
21836
  if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
21607
21837
  return NULL;
21838
+ #else
21839
+ if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
21840
+ return NULL;
21841
+ #endif
21608
21842
  result = cfunc(self, arg);
21609
21843
  Py_LeaveRecursiveCall();
21610
21844
  if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
@@ -21617,6 +21851,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject
21617
21851
  #endif
21618
21852
 
21619
21853
  /* PyObjectFastCall */
21854
+ #if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API
21620
21855
  static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **args, size_t nargs, PyObject *kwargs) {
21621
21856
  PyObject *argstuple;
21622
21857
  PyObject *result = 0;
@@ -21632,28 +21867,17 @@ static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **arg
21632
21867
  Py_DECREF(argstuple);
21633
21868
  return result;
21634
21869
  }
21870
+ #endif
21635
21871
  static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject **args, size_t _nargs, PyObject *kwargs) {
21636
21872
  Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs);
21637
21873
  #if CYTHON_COMPILING_IN_CPYTHON
21638
21874
  if (nargs == 0 && kwargs == NULL) {
21639
- #if defined(__Pyx_CyFunction_USED) && defined(NDEBUG)
21640
- if (__Pyx_IsCyOrPyCFunction(func))
21641
- #else
21642
- if (PyCFunction_Check(func))
21643
- #endif
21644
- {
21645
- if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
21646
- return __Pyx_PyObject_CallMethO(func, NULL);
21647
- }
21648
- }
21875
+ if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS))
21876
+ return __Pyx_PyObject_CallMethO(func, NULL);
21649
21877
  }
21650
21878
  else if (nargs == 1 && kwargs == NULL) {
21651
- if (PyCFunction_Check(func))
21652
- {
21653
- if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
21654
- return __Pyx_PyObject_CallMethO(func, args[0]);
21655
- }
21656
- }
21879
+ if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_O))
21880
+ return __Pyx_PyObject_CallMethO(func, args[0]);
21657
21881
  }
21658
21882
  #endif
21659
21883
  #if PY_VERSION_HEX < 0x030800B1
@@ -21677,25 +21901,31 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj
21677
21901
  }
21678
21902
  #endif
21679
21903
  #endif
21680
- #if CYTHON_VECTORCALL
21681
- #if Py_VERSION_HEX < 0x03090000
21682
- vectorcallfunc f = _PyVectorcall_Function(func);
21683
- #else
21684
- vectorcallfunc f = PyVectorcall_Function(func);
21685
- #endif
21686
- if (f) {
21687
- return f(func, args, (size_t)nargs, kwargs);
21688
- }
21689
- #elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
21690
- if (__Pyx_CyFunction_CheckExact(func)) {
21691
- __pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
21692
- if (f) return f(func, args, (size_t)nargs, kwargs);
21904
+ if (kwargs == NULL) {
21905
+ #if CYTHON_VECTORCALL
21906
+ #if PY_VERSION_HEX < 0x03090000
21907
+ vectorcallfunc f = _PyVectorcall_Function(func);
21908
+ #else
21909
+ vectorcallfunc f = PyVectorcall_Function(func);
21910
+ #endif
21911
+ if (f) {
21912
+ return f(func, args, (size_t)nargs, NULL);
21913
+ }
21914
+ #elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
21915
+ if (__Pyx_CyFunction_CheckExact(func)) {
21916
+ __pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
21917
+ if (f) return f(func, args, (size_t)nargs, NULL);
21918
+ }
21919
+ #endif
21693
21920
  }
21694
- #endif
21695
21921
  if (nargs == 0) {
21696
21922
  return __Pyx_PyObject_Call(func, __pyx_empty_tuple, kwargs);
21697
21923
  }
21924
+ #if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API
21925
+ return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs);
21926
+ #else
21698
21927
  return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs);
21928
+ #endif
21699
21929
  }
21700
21930
 
21701
21931
  /* PyObjectSetAttrStr */
@@ -21758,7 +21988,7 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name)
21758
21988
  {
21759
21989
  PyObject *result;
21760
21990
  #if !CYTHON_AVOID_BORROWED_REFS
21761
- #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
21991
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && PY_VERSION_HEX < 0x030d0000
21762
21992
  result = _PyDict_GetItem_KnownHash(__pyx_d, name, ((PyASCIIObject *) name)->hash);
21763
21993
  __PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
21764
21994
  if (likely(result)) {
@@ -21900,7 +22130,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
21900
22130
  }
21901
22131
  }
21902
22132
  #else
21903
- if (is_list || PySequence_Check(o)) {
22133
+ if (is_list || !PyMapping_Check(o)) {
21904
22134
  return PySequence_GetItem(o, i);
21905
22135
  }
21906
22136
  #endif
@@ -21953,11 +22183,7 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
21953
22183
  }
21954
22184
  }
21955
22185
  #else
21956
- #if CYTHON_COMPILING_IN_PYPY
21957
- if (is_list || (PySequence_Check(o) && !PyDict_Check(o)))
21958
- #else
21959
- if (is_list || PySequence_Check(o))
21960
- #endif
22186
+ if (is_list || !PyMapping_Check(o))
21961
22187
  {
21962
22188
  return PySequence_SetItem(o, i, v);
21963
22189
  }
@@ -22143,12 +22369,21 @@ try_unpack:
22143
22369
  }
22144
22370
 
22145
22371
  /* PyObjectCallMethod1 */
22372
+ #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C00A2)
22146
22373
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
22147
22374
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
22148
22375
  Py_DECREF(method);
22149
22376
  return result;
22150
22377
  }
22378
+ #endif
22151
22379
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
22380
+ #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C00A2
22381
+ PyObject *args[2] = {obj, arg};
22382
+ (void) __Pyx_PyObject_GetMethod;
22383
+ (void) __Pyx_PyObject_CallOneArg;
22384
+ (void) __Pyx_PyObject_Call2Args;
22385
+ return PyObject_VectorcallMethod(method_name, args, 2 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
22386
+ #else
22152
22387
  PyObject *method = NULL, *result;
22153
22388
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
22154
22389
  if (likely(is_method)) {
@@ -22158,6 +22393,7 @@ static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name
22158
22393
  }
22159
22394
  if (unlikely(!method)) return NULL;
22160
22395
  return __Pyx__PyObject_CallMethod1(method, arg);
22396
+ #endif
22161
22397
  }
22162
22398
 
22163
22399
  /* pop_index */
@@ -22310,7 +22546,9 @@ static PyObject *__Pyx_PyObject_GetItem_Slow(PyObject *obj, PyObject *key) {
22310
22546
  __Pyx_TypeName obj_type_name;
22311
22547
  if (likely(PyType_Check(obj))) {
22312
22548
  PyObject *meth = __Pyx_PyObject_GetAttrStrNoError(obj, __pyx_n_s_class_getitem);
22313
- if (meth) {
22549
+ if (!meth) {
22550
+ PyErr_Clear();
22551
+ } else {
22314
22552
  PyObject *result = __Pyx_PyObject_CallOneArg(meth, key);
22315
22553
  Py_DECREF(meth);
22316
22554
  return result;
@@ -22338,9 +22576,10 @@ static PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject *key) {
22338
22576
 
22339
22577
  /* UnpackUnboundCMethod */
22340
22578
  static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject *args, PyObject *kwargs) {
22579
+ PyObject *result;
22341
22580
  PyObject *selfless_args = PyTuple_GetSlice(args, 1, PyTuple_Size(args));
22342
22581
  if (unlikely(!selfless_args)) return NULL;
22343
- PyObject *result = PyObject_Call(method, selfless_args, kwargs);
22582
+ result = PyObject_Call(method, selfless_args, kwargs);
22344
22583
  Py_DECREF(selfless_args);
22345
22584
  return result;
22346
22585
  }
@@ -22360,7 +22599,7 @@ static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target) {
22360
22599
  #if PY_MAJOR_VERSION >= 3
22361
22600
  if (likely(__Pyx_TypeCheck(method, &PyMethodDescr_Type)))
22362
22601
  #else
22363
- if (likely(!PyCFunction_Check(method)))
22602
+ if (likely(!__Pyx_CyOrPyCFunction_Check(method)))
22364
22603
  #endif
22365
22604
  {
22366
22605
  PyMethodDescrObject *descr = (PyMethodDescrObject*) method;
@@ -22368,9 +22607,7 @@ static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target) {
22368
22607
  target->flag = descr->d_method->ml_flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_STACKLESS);
22369
22608
  } else
22370
22609
  #endif
22371
- #if defined(CYTHON_COMPILING_IN_PYPY)
22372
- #elif PY_VERSION_HEX >= 0x03090000
22373
- if (PyCFunction_CheckExact(method))
22610
+ #if CYTHON_COMPILING_IN_PYPY
22374
22611
  #else
22375
22612
  if (PyCFunction_Check(method))
22376
22613
  #endif
@@ -22479,9 +22716,10 @@ static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) {
22479
22716
 
22480
22717
  /* IterFinish */
22481
22718
  static CYTHON_INLINE int __Pyx_IterFinish(void) {
22719
+ PyObject* exc_type;
22482
22720
  __Pyx_PyThreadState_declare
22483
22721
  __Pyx_PyThreadState_assign
22484
- PyObject* exc_type = __Pyx_PyErr_CurrentExceptionType();
22722
+ exc_type = __Pyx_PyErr_CurrentExceptionType();
22485
22723
  if (unlikely(exc_type)) {
22486
22724
  if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration)))
22487
22725
  return -1;
@@ -22542,7 +22780,7 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject* value_tuple, Py_ssize_t value_co
22542
22780
  if (!CYTHON_PEP393_ENABLED || ukind == result_ukind) {
22543
22781
  memcpy((char *)result_udata + (char_pos << kind_shift), udata, (size_t) (ulength << kind_shift));
22544
22782
  } else {
22545
- #if PY_VERSION_HEX >= 0x030D0000
22783
+ #if PY_VERSION_HEX >= 0x030d0000
22546
22784
  if (unlikely(PyUnicode_CopyCharacters(result_uval, char_pos, uval, 0, ulength) < 0)) goto bad;
22547
22785
  #elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030300F0 || defined(_PyUnicode_FastCopyCharacters)
22548
22786
  _PyUnicode_FastCopyCharacters(result_uval, char_pos, uval, 0, ulength);
@@ -22689,7 +22927,11 @@ static double __Pyx_SlowPyString_AsDouble(PyObject *obj) {
22689
22927
  float_value = PyFloat_FromString(obj, 0);
22690
22928
  #endif
22691
22929
  if (likely(float_value)) {
22930
+ #if CYTHON_ASSUME_SAFE_MACROS
22692
22931
  double value = PyFloat_AS_DOUBLE(float_value);
22932
+ #else
22933
+ double value = PyFloat_AsDouble(float_value);
22934
+ #endif
22693
22935
  Py_DECREF(float_value);
22694
22936
  return value;
22695
22937
  }
@@ -23139,8 +23381,8 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
23139
23381
 
23140
23382
  /* PyObjectCallNoArg */
23141
23383
  static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
23142
- PyObject *arg = NULL;
23143
- return __Pyx_PyObject_FastCall(func, (&arg)+1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
23384
+ PyObject *arg[2] = {NULL, NULL};
23385
+ return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
23144
23386
  }
23145
23387
 
23146
23388
  /* PyObjectCallMethod0 */
@@ -23204,38 +23446,38 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
23204
23446
  #endif
23205
23447
  return -1;
23206
23448
  }
23207
- #if !CYTHON_USE_TYPE_SLOTS
23208
- if (dictoffset == 0) {
23209
- PyErr_Format(PyExc_TypeError,
23210
- "extension type '%s.200s': "
23211
- "unable to validate whether bases have a __dict__ "
23212
- "when CYTHON_USE_TYPE_SLOTS is off "
23213
- "(likely because you are building in the limited API). "
23214
- "Therefore, all extension types with multiple bases "
23215
- "must add 'cdef dict __dict__' in this compilation mode",
23216
- type_name);
23217
- #if CYTHON_AVOID_BORROWED_REFS
23218
- Py_DECREF(b0);
23219
- #endif
23220
- return -1;
23221
- }
23222
- #else
23223
- if (dictoffset == 0 && b->tp_dictoffset)
23449
+ if (dictoffset == 0)
23224
23450
  {
23225
- __Pyx_TypeName b_name = __Pyx_PyType_GetName(b);
23226
- PyErr_Format(PyExc_TypeError,
23227
- "extension type '%.200s' has no __dict__ slot, "
23228
- "but base type '" __Pyx_FMT_TYPENAME "' has: "
23229
- "either add 'cdef dict __dict__' to the extension type "
23230
- "or add '__slots__ = [...]' to the base type",
23231
- type_name, b_name);
23232
- __Pyx_DECREF_TypeName(b_name);
23451
+ Py_ssize_t b_dictoffset = 0;
23452
+ #if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY
23453
+ b_dictoffset = b->tp_dictoffset;
23454
+ #else
23455
+ PyObject *py_b_dictoffset = PyObject_GetAttrString((PyObject*)b, "__dictoffset__");
23456
+ if (!py_b_dictoffset) goto dictoffset_return;
23457
+ b_dictoffset = PyLong_AsSsize_t(py_b_dictoffset);
23458
+ Py_DECREF(py_b_dictoffset);
23459
+ if (b_dictoffset == -1 && PyErr_Occurred()) goto dictoffset_return;
23460
+ #endif
23461
+ if (b_dictoffset) {
23462
+ {
23463
+ __Pyx_TypeName b_name = __Pyx_PyType_GetName(b);
23464
+ PyErr_Format(PyExc_TypeError,
23465
+ "extension type '%.200s' has no __dict__ slot, "
23466
+ "but base type '" __Pyx_FMT_TYPENAME "' has: "
23467
+ "either add 'cdef dict __dict__' to the extension type "
23468
+ "or add '__slots__ = [...]' to the base type",
23469
+ type_name, b_name);
23470
+ __Pyx_DECREF_TypeName(b_name);
23471
+ }
23472
+ #if !(CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY)
23473
+ dictoffset_return:
23474
+ #endif
23233
23475
  #if CYTHON_AVOID_BORROWED_REFS
23234
- Py_DECREF(b0);
23476
+ Py_DECREF(b0);
23235
23477
  #endif
23236
- return -1;
23478
+ return -1;
23479
+ }
23237
23480
  }
23238
- #endif
23239
23481
  #if CYTHON_AVOID_BORROWED_REFS
23240
23482
  Py_DECREF(b0);
23241
23483
  #endif
@@ -23490,10 +23732,10 @@ __PYX_GOOD:
23490
23732
  #endif
23491
23733
 
23492
23734
  /* TypeImport */
23493
- #ifndef __PYX_HAVE_RT_ImportType_3_0_2
23494
- #define __PYX_HAVE_RT_ImportType_3_0_2
23495
- static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module_name, const char *class_name,
23496
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_2 check_size)
23735
+ #ifndef __PYX_HAVE_RT_ImportType_3_0_10
23736
+ #define __PYX_HAVE_RT_ImportType_3_0_10
23737
+ static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject *module, const char *module_name, const char *class_name,
23738
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_10 check_size)
23497
23739
  {
23498
23740
  PyObject *result = 0;
23499
23741
  char warning[200];
@@ -23547,7 +23789,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
23547
23789
  module_name, class_name, size, basicsize+itemsize);
23548
23790
  goto bad;
23549
23791
  }
23550
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_2 &&
23792
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_10 &&
23551
23793
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
23552
23794
  PyErr_Format(PyExc_ValueError,
23553
23795
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -23555,7 +23797,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_2(PyObject *module, const char *module
23555
23797
  module_name, class_name, size, basicsize, basicsize+itemsize);
23556
23798
  goto bad;
23557
23799
  }
23558
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_2 && (size_t)basicsize > size) {
23800
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_10 && (size_t)basicsize > size) {
23559
23801
  PyOS_snprintf(warning, sizeof(warning),
23560
23802
  "%s.%s size changed, may indicate binary incompatibility. "
23561
23803
  "Expected %zd from C header, got %zd from PyObject",
@@ -23592,7 +23834,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
23592
23834
  {
23593
23835
  #if PY_MAJOR_VERSION >= 3
23594
23836
  if (level == -1) {
23595
- if ((1) && (strchr(__Pyx_MODULE_NAME, '.'))) {
23837
+ if (strchr(__Pyx_MODULE_NAME, '.') != NULL) {
23596
23838
  module = PyImport_ImportModuleLevelObject(
23597
23839
  name, __pyx_d, empty_dict, from_list, 1);
23598
23840
  if (unlikely(!module)) {
@@ -23918,10 +24160,7 @@ static PyObject *__Pyx_CalculateMetaclass(PyTypeObject *metaclass, PyObject *bas
23918
24160
 
23919
24161
  /* FetchSharedCythonModule */
23920
24162
  static PyObject *__Pyx_FetchSharedCythonABIModule(void) {
23921
- PyObject *abi_module = PyImport_AddModule((char*) __PYX_ABI_MODULE_NAME);
23922
- if (unlikely(!abi_module)) return NULL;
23923
- Py_INCREF(abi_module);
23924
- return abi_module;
24163
+ return __Pyx_PyImport_AddModuleRef((char*) __PYX_ABI_MODULE_NAME);
23925
24164
  }
23926
24165
 
23927
24166
  /* FetchCommonType */
@@ -24082,6 +24321,20 @@ static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, _
24082
24321
  #endif
24083
24322
 
24084
24323
  /* CythonFunctionShared */
24324
+ #if CYTHON_COMPILING_IN_LIMITED_API
24325
+ static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
24326
+ if (__Pyx_CyFunction_Check(func)) {
24327
+ return PyCFunction_GetFunction(((__pyx_CyFunctionObject*)func)->func) == (PyCFunction) cfunc;
24328
+ } else if (PyCFunction_Check(func)) {
24329
+ return PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
24330
+ }
24331
+ return 0;
24332
+ }
24333
+ #else
24334
+ static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) {
24335
+ return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
24336
+ }
24337
+ #endif
24085
24338
  static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) {
24086
24339
  #if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API
24087
24340
  __Pyx_Py_XDECREF_SET(
@@ -24891,7 +25144,7 @@ static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func,
24891
25144
  default:
24892
25145
  return NULL;
24893
25146
  }
24894
- return ((_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames);
25147
+ return ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames);
24895
25148
  }
24896
25149
  static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
24897
25150
  {
@@ -25484,8 +25737,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
25484
25737
  Py_DECREF(replace);
25485
25738
  return result;
25486
25739
  }
25487
- #if __PYX_LIMITED_VERSION_HEX < 0x030780000
25488
25740
  PyErr_Clear();
25741
+ #if __PYX_LIMITED_VERSION_HEX < 0x030780000
25489
25742
  {
25490
25743
  PyObject *compiled = NULL, *result = NULL;
25491
25744
  if (unlikely(PyDict_SetItemString(scratch_dict, "code", code))) return NULL;
@@ -25505,6 +25758,8 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject
25505
25758
  if (result) Py_INCREF(result);
25506
25759
  return result;
25507
25760
  }
25761
+ #else
25762
+ return NULL;
25508
25763
  #endif
25509
25764
  }
25510
25765
  static void __Pyx_AddTraceback(const char *funcname, int c_line,
@@ -25602,7 +25857,7 @@ static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
25602
25857
  #else
25603
25858
  py_code = PyCode_NewEmpty(filename, funcname, py_line);
25604
25859
  #endif
25605
- Py_XDECREF(py_funcname); // XDECREF since it's only set on Py3 if cline
25860
+ Py_XDECREF(py_funcname);
25606
25861
  return py_code;
25607
25862
  bad:
25608
25863
  Py_XDECREF(py_funcname);
@@ -26151,7 +26406,7 @@ static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
26151
26406
  #endif
26152
26407
  if (likely(v)) {
26153
26408
  int ret = -1;
26154
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
26409
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
26155
26410
  int one = 1; int is_little = (int)*(unsigned char *)&one;
26156
26411
  unsigned char *bytes = (unsigned char *)&val;
26157
26412
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -26287,13 +26542,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) {
26287
26542
  {
26288
26543
  int one = 1; int little = (int)*(unsigned char *)&one;
26289
26544
  unsigned char *bytes = (unsigned char *)&value;
26290
- #if !CYTHON_COMPILING_IN_LIMITED_API
26545
+ #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
26291
26546
  return _PyLong_FromByteArray(bytes, sizeof(int),
26292
26547
  little, !is_unsigned);
26293
26548
  #else
26294
26549
  PyObject *from_bytes, *result = NULL;
26295
26550
  PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
26296
- from_bytes = PyObject_GetAttrString((PyObject*)&PyInt_Type, "from_bytes");
26551
+ from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
26297
26552
  if (!from_bytes) return NULL;
26298
26553
  py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(int));
26299
26554
  if (!py_bytes) goto limited_bad;
@@ -26301,16 +26556,18 @@ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) {
26301
26556
  if (!order_str) goto limited_bad;
26302
26557
  arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
26303
26558
  if (!arg_tuple) goto limited_bad;
26304
- kwds = PyDict_New();
26305
- if (!kwds) goto limited_bad;
26306
- if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(!is_unsigned ? Py_True : Py_False))) goto limited_bad;
26559
+ if (!is_unsigned) {
26560
+ kwds = PyDict_New();
26561
+ if (!kwds) goto limited_bad;
26562
+ if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
26563
+ }
26307
26564
  result = PyObject_Call(from_bytes, arg_tuple, kwds);
26308
26565
  limited_bad:
26309
- Py_XDECREF(from_bytes);
26310
- Py_XDECREF(py_bytes);
26311
- Py_XDECREF(order_str);
26312
- Py_XDECREF(arg_tuple);
26313
26566
  Py_XDECREF(kwds);
26567
+ Py_XDECREF(arg_tuple);
26568
+ Py_XDECREF(order_str);
26569
+ Py_XDECREF(py_bytes);
26570
+ Py_XDECREF(from_bytes);
26314
26571
  return result;
26315
26572
  #endif
26316
26573
  }
@@ -26349,13 +26606,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
26349
26606
  {
26350
26607
  int one = 1; int little = (int)*(unsigned char *)&one;
26351
26608
  unsigned char *bytes = (unsigned char *)&value;
26352
- #if !CYTHON_COMPILING_IN_LIMITED_API
26609
+ #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
26353
26610
  return _PyLong_FromByteArray(bytes, sizeof(long),
26354
26611
  little, !is_unsigned);
26355
26612
  #else
26356
26613
  PyObject *from_bytes, *result = NULL;
26357
26614
  PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
26358
- from_bytes = PyObject_GetAttrString((PyObject*)&PyInt_Type, "from_bytes");
26615
+ from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
26359
26616
  if (!from_bytes) return NULL;
26360
26617
  py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long));
26361
26618
  if (!py_bytes) goto limited_bad;
@@ -26363,16 +26620,18 @@ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
26363
26620
  if (!order_str) goto limited_bad;
26364
26621
  arg_tuple = PyTuple_Pack(2, py_bytes, order_str);
26365
26622
  if (!arg_tuple) goto limited_bad;
26366
- kwds = PyDict_New();
26367
- if (!kwds) goto limited_bad;
26368
- if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(!is_unsigned ? Py_True : Py_False))) goto limited_bad;
26623
+ if (!is_unsigned) {
26624
+ kwds = PyDict_New();
26625
+ if (!kwds) goto limited_bad;
26626
+ if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad;
26627
+ }
26369
26628
  result = PyObject_Call(from_bytes, arg_tuple, kwds);
26370
26629
  limited_bad:
26371
- Py_XDECREF(from_bytes);
26372
- Py_XDECREF(py_bytes);
26373
- Py_XDECREF(order_str);
26374
- Py_XDECREF(arg_tuple);
26375
26630
  Py_XDECREF(kwds);
26631
+ Py_XDECREF(arg_tuple);
26632
+ Py_XDECREF(order_str);
26633
+ Py_XDECREF(py_bytes);
26634
+ Py_XDECREF(from_bytes);
26376
26635
  return result;
26377
26636
  #endif
26378
26637
  }
@@ -26564,7 +26823,7 @@ static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
26564
26823
  #endif
26565
26824
  if (likely(v)) {
26566
26825
  int ret = -1;
26567
- #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
26826
+ #if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
26568
26827
  int one = 1; int is_little = (int)*(unsigned char *)&one;
26569
26828
  unsigned char *bytes = (unsigned char *)&val;
26570
26829
  ret = _PyLong_AsByteArray((PyLongObject *)v,
@@ -27122,9 +27381,22 @@ PyObject *__Pyx_PyGen_Send(PyGenObject *gen, PyObject *arg) {
27122
27381
  PyErr_SetNone(PyExc_StopIteration);
27123
27382
  }
27124
27383
  else {
27384
+ #if PY_VERSION_HEX < 0x030d00A1
27125
27385
  _PyGen_SetStopIterationValue(result);
27386
+ #else
27387
+ if (!PyTuple_Check(result) && !PyExceptionInstance_Check(result)) {
27388
+ PyErr_SetObject(PyExc_StopIteration, result);
27389
+ } else {
27390
+ PyObject *exc = __Pyx_PyObject_CallOneArg(PyExc_StopIteration, result);
27391
+ if (likely(exc != NULL)) {
27392
+ PyErr_SetObject(PyExc_StopIteration, exc);
27393
+ Py_DECREF(exc);
27394
+ }
27395
+ }
27396
+ #endif
27126
27397
  }
27127
- Py_CLEAR(result);
27398
+ Py_DECREF(result);
27399
+ result = NULL;
27128
27400
  }
27129
27401
  return result;
27130
27402
  #endif
@@ -27905,41 +28177,50 @@ static int __pyx_Generator_init(PyObject *module) {
27905
28177
  }
27906
28178
 
27907
28179
  /* CheckBinaryVersion */
27908
- static int __Pyx_check_binary_version(void) {
27909
- char ctversion[5];
27910
- int same=1, i, found_dot;
27911
- const char* rt_from_call = Py_GetVersion();
27912
- PyOS_snprintf(ctversion, 5, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
27913
- found_dot = 0;
27914
- for (i = 0; i < 4; i++) {
27915
- if (!ctversion[i]) {
27916
- same = (rt_from_call[i] < '0' || rt_from_call[i] > '9');
27917
- break;
27918
- }
27919
- if (rt_from_call[i] != ctversion[i]) {
27920
- same = 0;
28180
+ static unsigned long __Pyx_get_runtime_version(void) {
28181
+ #if __PYX_LIMITED_VERSION_HEX >= 0x030B00A4
28182
+ return Py_Version & ~0xFFUL;
28183
+ #else
28184
+ const char* rt_version = Py_GetVersion();
28185
+ unsigned long version = 0;
28186
+ unsigned long factor = 0x01000000UL;
28187
+ unsigned int digit = 0;
28188
+ int i = 0;
28189
+ while (factor) {
28190
+ while ('0' <= rt_version[i] && rt_version[i] <= '9') {
28191
+ digit = digit * 10 + (unsigned int) (rt_version[i] - '0');
28192
+ ++i;
28193
+ }
28194
+ version += factor * digit;
28195
+ if (rt_version[i] != '.')
27921
28196
  break;
27922
- }
28197
+ digit = 0;
28198
+ factor >>= 8;
28199
+ ++i;
27923
28200
  }
27924
- if (!same) {
27925
- char rtversion[5] = {'\0'};
28201
+ return version;
28202
+ #endif
28203
+ }
28204
+ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer) {
28205
+ const unsigned long MAJOR_MINOR = 0xFFFF0000UL;
28206
+ if ((rt_version & MAJOR_MINOR) == (ct_version & MAJOR_MINOR))
28207
+ return 0;
28208
+ if (likely(allow_newer && (rt_version & MAJOR_MINOR) > (ct_version & MAJOR_MINOR)))
28209
+ return 1;
28210
+ {
27926
28211
  char message[200];
27927
- for (i=0; i<4; ++i) {
27928
- if (rt_from_call[i] == '.') {
27929
- if (found_dot) break;
27930
- found_dot = 1;
27931
- } else if (rt_from_call[i] < '0' || rt_from_call[i] > '9') {
27932
- break;
27933
- }
27934
- rtversion[i] = rt_from_call[i];
27935
- }
27936
28212
  PyOS_snprintf(message, sizeof(message),
27937
- "compile time version %s of module '%.100s' "
27938
- "does not match runtime version %s",
27939
- ctversion, __Pyx_MODULE_NAME, rtversion);
28213
+ "compile time Python version %d.%d "
28214
+ "of module '%.100s' "
28215
+ "%s "
28216
+ "runtime version %d.%d",
28217
+ (int) (ct_version >> 24), (int) ((ct_version >> 16) & 0xFF),
28218
+ __Pyx_MODULE_NAME,
28219
+ (allow_newer) ? "was newer than" : "does not match",
28220
+ (int) (rt_version >> 24), (int) ((rt_version >> 16) & 0xFF)
28221
+ );
27940
28222
  return PyErr_WarnEx(NULL, message, 1);
27941
28223
  }
27942
- return 0;
27943
28224
  }
27944
28225
 
27945
28226
  /* InitStrings */
@@ -27985,8 +28266,24 @@ static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
27985
28266
  return 0;
27986
28267
  }
27987
28268
 
28269
+ #include <string.h>
28270
+ static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
28271
+ size_t len = strlen(s);
28272
+ if (unlikely(len > (size_t) PY_SSIZE_T_MAX)) {
28273
+ PyErr_SetString(PyExc_OverflowError, "byte string is too long");
28274
+ return -1;
28275
+ }
28276
+ return (Py_ssize_t) len;
28277
+ }
27988
28278
  static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
27989
- return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
28279
+ Py_ssize_t len = __Pyx_ssize_strlen(c_str);
28280
+ if (unlikely(len < 0)) return NULL;
28281
+ return __Pyx_PyUnicode_FromStringAndSize(c_str, len);
28282
+ }
28283
+ static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char* c_str) {
28284
+ Py_ssize_t len = __Pyx_ssize_strlen(c_str);
28285
+ if (unlikely(len < 0)) return NULL;
28286
+ return PyByteArray_FromStringAndSize(c_str, len);
27990
28287
  }
27991
28288
  static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
27992
28289
  Py_ssize_t ignore;