obliquetree 1.0.3__cp313-cp313-win_amd64.whl → 1.0.4__cp313-cp313-win_amd64.whl

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

Potentially problematic release.


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

obliquetree/src/utils.cpp CHANGED
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.2 */
1
+ /* Generated by Cython 3.1.6 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -20,7 +20,7 @@
20
20
  "/std:c++17"
21
21
  ],
22
22
  "include_dirs": [
23
- "C:\\Users\\runneradmin\\AppData\\Local\\Temp\\build-env-nvye594b\\Lib\\site-packages\\numpy\\_core\\include"
23
+ "C:\\Users\\runneradmin\\AppData\\Local\\Temp\\build-env-4bbyc87a\\Lib\\site-packages\\numpy\\_core\\include"
24
24
  ],
25
25
  "language": "c++",
26
26
  "name": "obliquetree.src.utils",
@@ -36,8 +36,16 @@ END: Cython Metadata */
36
36
  #define PY_SSIZE_T_CLEAN
37
37
  #endif /* PY_SSIZE_T_CLEAN */
38
38
  /* InitLimitedAPI */
39
- #if defined(Py_LIMITED_API) && !defined(CYTHON_LIMITED_API)
39
+ #if defined(Py_LIMITED_API)
40
+ #if !defined(CYTHON_LIMITED_API)
40
41
  #define CYTHON_LIMITED_API 1
42
+ #endif
43
+ #elif defined(CYTHON_LIMITED_API)
44
+ #ifdef _MSC_VER
45
+ #pragma message ("Limited API usage is enabled with 'CYTHON_LIMITED_API' but 'Py_LIMITED_API' does not define a Python target version. Consider setting 'Py_LIMITED_API' instead.")
46
+ #else
47
+ #warning Limited API usage is enabled with 'CYTHON_LIMITED_API' but 'Py_LIMITED_API' does not define a Python target version. Consider setting 'Py_LIMITED_API' instead.
48
+ #endif
41
49
  #endif
42
50
 
43
51
  #include "Python.h"
@@ -46,8 +54,8 @@ END: Cython Metadata */
46
54
  #elif PY_VERSION_HEX < 0x03080000
47
55
  #error Cython requires Python 3.8+.
48
56
  #else
49
- #define __PYX_ABI_VERSION "3_1_2"
50
- #define CYTHON_HEX_VERSION 0x030102F0
57
+ #define __PYX_ABI_VERSION "3_1_6"
58
+ #define CYTHON_HEX_VERSION 0x030106F0
51
59
  #define CYTHON_FUTURE_DIVISION 1
52
60
  /* CModulePreamble */
53
61
  #include <stddef.h>
@@ -410,6 +418,9 @@ END: Cython Metadata */
410
418
  enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
411
419
  #endif
412
420
  #endif
421
+ #ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
422
+ #define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
423
+ #endif
413
424
  #ifndef __has_attribute
414
425
  #define __has_attribute(x) 0
415
426
  #endif
@@ -1336,6 +1347,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
1336
1347
  typedef sdigit __Pyx_compact_pylong;
1337
1348
  typedef digit __Pyx_compact_upylong;
1338
1349
  #endif
1350
+ static CYTHON_INLINE int __Pyx_PyLong_CompactAsLong(PyObject *x, long *return_value);
1339
1351
  #if PY_VERSION_HEX >= 0x030C00A5
1340
1352
  #define __Pyx_PyLong_Digits(x) (((PyLongObject*)x)->long_value.ob_digit)
1341
1353
  #else
@@ -2695,22 +2707,22 @@ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k);
2695
2707
  static int __Pyx_setup_reduce(PyObject* type_obj);
2696
2708
 
2697
2709
  /* TypeImport.proto */
2698
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_2
2699
- #define __PYX_HAVE_RT_ImportType_proto_3_1_2
2710
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_6
2711
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_6
2700
2712
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2701
2713
  #include <stdalign.h>
2702
2714
  #endif
2703
2715
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2704
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) alignof(s)
2716
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_6(s) alignof(s)
2705
2717
  #else
2706
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) sizeof(void*)
2718
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_6(s) sizeof(void*)
2707
2719
  #endif
2708
- enum __Pyx_ImportType_CheckSize_3_1_2 {
2709
- __Pyx_ImportType_CheckSize_Error_3_1_2 = 0,
2710
- __Pyx_ImportType_CheckSize_Warn_3_1_2 = 1,
2711
- __Pyx_ImportType_CheckSize_Ignore_3_1_2 = 2
2720
+ enum __Pyx_ImportType_CheckSize_3_1_6 {
2721
+ __Pyx_ImportType_CheckSize_Error_3_1_6 = 0,
2722
+ __Pyx_ImportType_CheckSize_Warn_3_1_6 = 1,
2723
+ __Pyx_ImportType_CheckSize_Ignore_3_1_6 = 2
2712
2724
  };
2713
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size);
2725
+ static PyTypeObject *__Pyx_ImportType_3_1_6(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_6 check_size);
2714
2726
  #endif
2715
2727
 
2716
2728
  /* FetchSharedCythonModule.proto */
@@ -3925,7 +3937,7 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
3925
3937
  default: goto __pyx_L5_argtuple_error;
3926
3938
  }
3927
3939
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
3928
- if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__cinit__", 0) < 0) __PYX_ERR(1, 129, __pyx_L3_error)
3940
+ if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__cinit__", 0) < (0)) __PYX_ERR(1, 129, __pyx_L3_error)
3929
3941
  if (!values[3]) values[3] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_n_u_c));
3930
3942
  for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
3931
3943
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, i); __PYX_ERR(1, 129, __pyx_L3_error) }
@@ -5539,7 +5551,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
5539
5551
  default: goto __pyx_L5_argtuple_error;
5540
5552
  }
5541
5553
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
5542
- if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
5554
+ if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
5543
5555
  for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
5544
5556
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
5545
5557
  }
@@ -5884,7 +5896,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
5884
5896
  __pyx_t_4 = 0;
5885
5897
  __pyx_t_4 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 273, __pyx_L1_error)
5886
5898
  __Pyx_GOTREF(__pyx_t_4);
5887
- if (PyDict_SetItem(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_allocate_buffer, Py_False) < 0) __PYX_ERR(1, 273, __pyx_L1_error)
5899
+ if (PyDict_SetItem(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_allocate_buffer, Py_False) < (0)) __PYX_ERR(1, 273, __pyx_L1_error)
5888
5900
  __pyx_t_3 = ((PyObject *)__pyx_tp_new_array(((PyTypeObject *)__pyx_mstate_global->__pyx_array_type), __pyx_t_1, __pyx_t_4)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 273, __pyx_L1_error)
5889
5901
  __Pyx_GOTREF((PyObject *)__pyx_t_3);
5890
5902
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
@@ -5979,7 +5991,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
5979
5991
  default: goto __pyx_L5_argtuple_error;
5980
5992
  }
5981
5993
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
5982
- if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__init__", 0) < 0) __PYX_ERR(1, 302, __pyx_L3_error)
5994
+ if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__init__", 0) < (0)) __PYX_ERR(1, 302, __pyx_L3_error)
5983
5995
  for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
5984
5996
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, i); __PYX_ERR(1, 302, __pyx_L3_error) }
5985
5997
  }
@@ -6416,7 +6428,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6416
6428
  default: goto __pyx_L5_argtuple_error;
6417
6429
  }
6418
6430
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
6419
- if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < 0) __PYX_ERR(1, 16, __pyx_L3_error)
6431
+ if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 16, __pyx_L3_error)
6420
6432
  for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
6421
6433
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 16, __pyx_L3_error) }
6422
6434
  }
@@ -6541,7 +6553,7 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
6541
6553
  default: goto __pyx_L5_argtuple_error;
6542
6554
  }
6543
6555
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
6544
- if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__cinit__", 0) < 0) __PYX_ERR(1, 347, __pyx_L3_error)
6556
+ if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__cinit__", 0) < (0)) __PYX_ERR(1, 347, __pyx_L3_error)
6545
6557
  for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
6546
6558
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, i); __PYX_ERR(1, 347, __pyx_L3_error) }
6547
6559
  }
@@ -10858,7 +10870,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
10858
10870
  default: goto __pyx_L5_argtuple_error;
10859
10871
  }
10860
10872
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
10861
- if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
10873
+ if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
10862
10874
  for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
10863
10875
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
10864
10876
  }
@@ -13745,7 +13757,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
13745
13757
  default: goto __pyx_L5_argtuple_error;
13746
13758
  }
13747
13759
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
13748
- if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
13760
+ if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
13749
13761
  for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
13750
13762
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
13751
13763
  }
@@ -16904,7 +16916,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
16904
16916
  default: goto __pyx_L5_argtuple_error;
16905
16917
  }
16906
16918
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
16907
- if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__pyx_unpickle_Enum", 0) < 0) __PYX_ERR(1, 1, __pyx_L3_error)
16919
+ if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__pyx_unpickle_Enum", 0) < (0)) __PYX_ERR(1, 1, __pyx_L3_error)
16908
16920
  for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
16909
16921
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, i); __PYX_ERR(1, 1, __pyx_L3_error) }
16910
16922
  }
@@ -17377,7 +17389,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17377
17389
  __Pyx_GOTREF(__pyx_t_1);
17378
17390
  __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_cur_scope->__pyx_v_node->n_samples); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 8, __pyx_L1_error)
17379
17391
  __Pyx_GOTREF(__pyx_t_2);
17380
- if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_n_samples, __pyx_t_2) < 0) __PYX_ERR(0, 8, __pyx_L1_error)
17392
+ if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_n_samples, __pyx_t_2) < (0)) __PYX_ERR(0, 8, __pyx_L1_error)
17381
17393
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
17382
17394
 
17383
17395
  /* "obliquetree/src/utils.pyx":9
@@ -17389,7 +17401,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17389
17401
  */
17390
17402
  __pyx_t_2 = PyFloat_FromDouble(__pyx_cur_scope->__pyx_v_node->impurity); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 9, __pyx_L1_error)
17391
17403
  __Pyx_GOTREF(__pyx_t_2);
17392
- if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_impurity, __pyx_t_2) < 0) __PYX_ERR(0, 8, __pyx_L1_error)
17404
+ if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_impurity, __pyx_t_2) < (0)) __PYX_ERR(0, 8, __pyx_L1_error)
17393
17405
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
17394
17406
 
17395
17407
  /* "obliquetree/src/utils.pyx":10
@@ -17401,7 +17413,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17401
17413
  */
17402
17414
  __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_cur_scope->__pyx_v_node->is_leaf); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 10, __pyx_L1_error)
17403
17415
  __Pyx_GOTREF(__pyx_t_2);
17404
- if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_is_leaf, __pyx_t_2) < 0) __PYX_ERR(0, 8, __pyx_L1_error)
17416
+ if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_is_leaf, __pyx_t_2) < (0)) __PYX_ERR(0, 8, __pyx_L1_error)
17405
17417
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
17406
17418
  __pyx_v_base = ((PyObject*)__pyx_t_1);
17407
17419
  __pyx_t_1 = 0;
@@ -17448,7 +17460,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17448
17460
  __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
17449
17461
  }
17450
17462
  } /* exit inner scope */
17451
- if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_values, __pyx_t_2) < 0) __PYX_ERR(0, 17, __pyx_L1_error)
17463
+ if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_values, __pyx_t_2) < (0)) __PYX_ERR(0, 17, __pyx_L1_error)
17452
17464
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
17453
17465
 
17454
17466
  /* "obliquetree/src/utils.pyx":16
@@ -17493,7 +17505,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17493
17505
  __Pyx_GOTREF(__pyx_t_2);
17494
17506
  __pyx_t_1 = PyFloat_FromDouble(__pyx_cur_scope->__pyx_v_node->value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 21, __pyx_L1_error)
17495
17507
  __Pyx_GOTREF(__pyx_t_1);
17496
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_value, __pyx_t_1) < 0) __PYX_ERR(0, 21, __pyx_L1_error)
17508
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_value, __pyx_t_1) < (0)) __PYX_ERR(0, 21, __pyx_L1_error)
17497
17509
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
17498
17510
 
17499
17511
  /* "obliquetree/src/utils.pyx":20
@@ -17542,7 +17554,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17542
17554
  __Pyx_GOTREF(__pyx_t_1);
17543
17555
  __pyx_t_2 = __Pyx_PyBool_FromLong((__pyx_cur_scope->__pyx_v_node->feature_idx == -2L)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 27, __pyx_L1_error)
17544
17556
  __Pyx_GOTREF(__pyx_t_2);
17545
- if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_is_oblique, __pyx_t_2) < 0) __PYX_ERR(0, 27, __pyx_L1_error)
17557
+ if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_is_oblique, __pyx_t_2) < (0)) __PYX_ERR(0, 27, __pyx_L1_error)
17546
17558
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
17547
17559
 
17548
17560
  /* "obliquetree/src/utils.pyx":26
@@ -17589,7 +17601,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17589
17601
  __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
17590
17602
  }
17591
17603
  } /* exit inner scope */
17592
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_weights, __pyx_t_1) < 0) __PYX_ERR(0, 33, __pyx_L1_error)
17604
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_weights, __pyx_t_1) < (0)) __PYX_ERR(0, 33, __pyx_L1_error)
17593
17605
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
17594
17606
  { /* enter inner scope */
17595
17607
 
@@ -17612,7 +17624,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17612
17624
  __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
17613
17625
  }
17614
17626
  } /* exit inner scope */
17615
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_features, __pyx_t_1) < 0) __PYX_ERR(0, 33, __pyx_L1_error)
17627
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_features, __pyx_t_1) < (0)) __PYX_ERR(0, 33, __pyx_L1_error)
17616
17628
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
17617
17629
 
17618
17630
  /* "obliquetree/src/utils.pyx":35
@@ -17624,7 +17636,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17624
17636
  */
17625
17637
  __pyx_t_1 = PyFloat_FromDouble(__pyx_cur_scope->__pyx_v_node->threshold); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 35, __pyx_L1_error)
17626
17638
  __Pyx_GOTREF(__pyx_t_1);
17627
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_threshold, __pyx_t_1) < 0) __PYX_ERR(0, 33, __pyx_L1_error)
17639
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_threshold, __pyx_t_1) < (0)) __PYX_ERR(0, 33, __pyx_L1_error)
17628
17640
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
17629
17641
 
17630
17642
  /* "obliquetree/src/utils.pyx":32
@@ -17671,7 +17683,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17671
17683
  __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
17672
17684
  }
17673
17685
  } /* exit inner scope */
17674
- if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_values, __pyx_t_2) < 0) __PYX_ERR(0, 40, __pyx_L1_error)
17686
+ if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_values, __pyx_t_2) < (0)) __PYX_ERR(0, 40, __pyx_L1_error)
17675
17687
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
17676
17688
 
17677
17689
  /* "obliquetree/src/utils.pyx":39
@@ -17716,7 +17728,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17716
17728
  __Pyx_GOTREF(__pyx_t_2);
17717
17729
  __pyx_t_1 = PyFloat_FromDouble(__pyx_cur_scope->__pyx_v_node->value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 44, __pyx_L1_error)
17718
17730
  __Pyx_GOTREF(__pyx_t_1);
17719
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_value, __pyx_t_1) < 0) __PYX_ERR(0, 44, __pyx_L1_error)
17731
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_value, __pyx_t_1) < (0)) __PYX_ERR(0, 44, __pyx_L1_error)
17720
17732
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
17721
17733
 
17722
17734
  /* "obliquetree/src/utils.pyx":43
@@ -17763,7 +17775,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17763
17775
  __Pyx_GOTREF(__pyx_t_1);
17764
17776
  __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_cur_scope->__pyx_v_node->feature_idx); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 50, __pyx_L1_error)
17765
17777
  __Pyx_GOTREF(__pyx_t_2);
17766
- if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_feature_idx, __pyx_t_2) < 0) __PYX_ERR(0, 50, __pyx_L1_error)
17778
+ if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_feature_idx, __pyx_t_2) < (0)) __PYX_ERR(0, 50, __pyx_L1_error)
17767
17779
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
17768
17780
 
17769
17781
  /* "obliquetree/src/utils.pyx":51
@@ -17779,7 +17791,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17779
17791
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
17780
17792
  __pyx_t_2 = __Pyx_PyBool_FromLong((!(!__pyx_t_3))); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 51, __pyx_L1_error)
17781
17793
  __Pyx_GOTREF(__pyx_t_2);
17782
- if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_missing_go_left, __pyx_t_2) < 0) __PYX_ERR(0, 50, __pyx_L1_error)
17794
+ if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_missing_go_left, __pyx_t_2) < (0)) __PYX_ERR(0, 50, __pyx_L1_error)
17783
17795
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
17784
17796
 
17785
17797
  /* "obliquetree/src/utils.pyx":49
@@ -17826,7 +17838,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17826
17838
  __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
17827
17839
  }
17828
17840
  } /* exit inner scope */
17829
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_values, __pyx_t_1) < 0) __PYX_ERR(0, 57, __pyx_L1_error)
17841
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_values, __pyx_t_1) < (0)) __PYX_ERR(0, 57, __pyx_L1_error)
17830
17842
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
17831
17843
 
17832
17844
  /* "obliquetree/src/utils.pyx":56
@@ -17871,7 +17883,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17871
17883
  __Pyx_GOTREF(__pyx_t_1);
17872
17884
  __pyx_t_2 = PyFloat_FromDouble(__pyx_cur_scope->__pyx_v_node->value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 61, __pyx_L1_error)
17873
17885
  __Pyx_GOTREF(__pyx_t_2);
17874
- if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_value, __pyx_t_2) < 0) __PYX_ERR(0, 61, __pyx_L1_error)
17886
+ if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_value, __pyx_t_2) < (0)) __PYX_ERR(0, 61, __pyx_L1_error)
17875
17887
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
17876
17888
 
17877
17889
  /* "obliquetree/src/utils.pyx":60
@@ -17909,7 +17921,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17909
17921
  __Pyx_GOTREF(__pyx_t_2);
17910
17922
  __pyx_t_1 = PyFloat_FromDouble(__pyx_cur_scope->__pyx_v_node->threshold); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 67, __pyx_L1_error)
17911
17923
  __Pyx_GOTREF(__pyx_t_1);
17912
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_threshold, __pyx_t_1) < 0) __PYX_ERR(0, 67, __pyx_L1_error)
17924
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_threshold, __pyx_t_1) < (0)) __PYX_ERR(0, 67, __pyx_L1_error)
17913
17925
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
17914
17926
 
17915
17927
  /* "obliquetree/src/utils.pyx":66
@@ -17958,7 +17970,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17958
17970
  __Pyx_GOTREF(__pyx_t_7);
17959
17971
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
17960
17972
  if (unlikely((PyList_Sort(__pyx_t_7) < 0))) __PYX_ERR(0, 71, __pyx_L1_error)
17961
- if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_category_left, __pyx_t_7) < 0) __PYX_ERR(0, 71, __pyx_L1_error)
17973
+ if (PyDict_SetItem(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_category_left, __pyx_t_7) < (0)) __PYX_ERR(0, 71, __pyx_L1_error)
17962
17974
  __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
17963
17975
 
17964
17976
  /* "obliquetree/src/utils.pyx":70
@@ -17988,7 +18000,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
17988
18000
  __Pyx_GOTREF(__pyx_t_7);
17989
18001
  __pyx_t_1 = __pyx_f_11obliquetree_3src_5utils__recurse(__pyx_cur_scope->__pyx_v_node->left); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 76, __pyx_L1_error)
17990
18002
  __Pyx_GOTREF(__pyx_t_1);
17991
- if (PyDict_SetItem(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_left, __pyx_t_1) < 0) __PYX_ERR(0, 76, __pyx_L1_error)
18003
+ if (PyDict_SetItem(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_left, __pyx_t_1) < (0)) __PYX_ERR(0, 76, __pyx_L1_error)
17992
18004
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
17993
18005
 
17994
18006
  /* "obliquetree/src/utils.pyx":77
@@ -18000,7 +18012,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils__recurse(struct __pyx_t_11obl
18000
18012
  */
18001
18013
  __pyx_t_1 = __pyx_f_11obliquetree_3src_5utils__recurse(__pyx_cur_scope->__pyx_v_node->right); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 77, __pyx_L1_error)
18002
18014
  __Pyx_GOTREF(__pyx_t_1);
18003
- if (PyDict_SetItem(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_right, __pyx_t_1) < 0) __PYX_ERR(0, 76, __pyx_L1_error)
18015
+ if (PyDict_SetItem(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_right, __pyx_t_1) < (0)) __PYX_ERR(0, 76, __pyx_L1_error)
18004
18016
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
18005
18017
 
18006
18018
  /* "obliquetree/src/utils.pyx":75
@@ -18133,7 +18145,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18133
18145
  __Pyx_GOTREF(__pyx_t_2);
18134
18146
  __pyx_t_4 = __Pyx_PyLong_From_unsigned_char(__pyx_v_tree->max_depth); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 102, __pyx_L1_error)
18135
18147
  __Pyx_GOTREF(__pyx_t_4);
18136
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_max_depth, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18148
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_max_depth, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18137
18149
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18138
18150
 
18139
18151
  /* "obliquetree/src/utils.pyx":103
@@ -18145,7 +18157,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18145
18157
  */
18146
18158
  __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_tree->min_samples_leaf); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 103, __pyx_L1_error)
18147
18159
  __Pyx_GOTREF(__pyx_t_4);
18148
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_min_samples_leaf, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18160
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_min_samples_leaf, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18149
18161
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18150
18162
 
18151
18163
  /* "obliquetree/src/utils.pyx":104
@@ -18157,7 +18169,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18157
18169
  */
18158
18170
  __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_tree->min_samples_split); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 104, __pyx_L1_error)
18159
18171
  __Pyx_GOTREF(__pyx_t_4);
18160
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_min_samples_split, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18172
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_min_samples_split, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18161
18173
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18162
18174
 
18163
18175
  /* "obliquetree/src/utils.pyx":105
@@ -18169,7 +18181,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18169
18181
  */
18170
18182
  __pyx_t_4 = PyFloat_FromDouble(__pyx_v_tree->min_impurity_decrease); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 105, __pyx_L1_error)
18171
18183
  __Pyx_GOTREF(__pyx_t_4);
18172
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_min_impurity_decrease, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18184
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_min_impurity_decrease, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18173
18185
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18174
18186
 
18175
18187
  /* "obliquetree/src/utils.pyx":106
@@ -18181,7 +18193,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18181
18193
  */
18182
18194
  __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_tree->random_state); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 106, __pyx_L1_error)
18183
18195
  __Pyx_GOTREF(__pyx_t_4);
18184
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_random_state, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18196
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_random_state, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18185
18197
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18186
18198
 
18187
18199
  /* "obliquetree/src/utils.pyx":107
@@ -18193,7 +18205,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18193
18205
  */
18194
18206
  __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_tree->n_pair); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 107, __pyx_L1_error)
18195
18207
  __Pyx_GOTREF(__pyx_t_4);
18196
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_n_pair, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18208
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_n_pair, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18197
18209
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18198
18210
 
18199
18211
  /* "obliquetree/src/utils.pyx":108
@@ -18205,7 +18217,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18205
18217
  */
18206
18218
  __pyx_t_4 = PyFloat_FromDouble(__pyx_v_tree->gamma); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 108, __pyx_L1_error)
18207
18219
  __Pyx_GOTREF(__pyx_t_4);
18208
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_gamma, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18220
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_gamma, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18209
18221
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18210
18222
 
18211
18223
  /* "obliquetree/src/utils.pyx":109
@@ -18217,7 +18229,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18217
18229
  */
18218
18230
  __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_tree->max_iter); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 109, __pyx_L1_error)
18219
18231
  __Pyx_GOTREF(__pyx_t_4);
18220
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_max_iter, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18232
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_max_iter, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18221
18233
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18222
18234
 
18223
18235
  /* "obliquetree/src/utils.pyx":110
@@ -18229,7 +18241,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18229
18241
  */
18230
18242
  __pyx_t_4 = PyFloat_FromDouble(__pyx_v_tree->relative_change); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 110, __pyx_L1_error)
18231
18243
  __Pyx_GOTREF(__pyx_t_4);
18232
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_relative_change, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18244
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_relative_change, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18233
18245
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18234
18246
 
18235
18247
  /* "obliquetree/src/utils.pyx":111
@@ -18241,7 +18253,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18241
18253
  */
18242
18254
  __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_tree->use_oblique); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 111, __pyx_L1_error)
18243
18255
  __Pyx_GOTREF(__pyx_t_4);
18244
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_use_oblique, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18256
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_use_oblique, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18245
18257
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18246
18258
 
18247
18259
  /* "obliquetree/src/utils.pyx":112
@@ -18251,7 +18263,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18251
18263
  * 'ccp_alpha': tree.ccp_alpha,
18252
18264
  * 'task': tree.task,
18253
18265
  */
18254
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_categories, __pyx_v_tree->categories) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18266
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_categories, __pyx_v_tree->categories) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18255
18267
 
18256
18268
  /* "obliquetree/src/utils.pyx":113
18257
18269
  * 'use_oblique': tree.use_oblique,
@@ -18262,7 +18274,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18262
18274
  */
18263
18275
  __pyx_t_4 = PyFloat_FromDouble(__pyx_v_tree->ccp_alpha); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 113, __pyx_L1_error)
18264
18276
  __Pyx_GOTREF(__pyx_t_4);
18265
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_ccp_alpha, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18277
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_ccp_alpha, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18266
18278
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18267
18279
 
18268
18280
  /* "obliquetree/src/utils.pyx":114
@@ -18274,7 +18286,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18274
18286
  */
18275
18287
  __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_tree->task); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 114, __pyx_L1_error)
18276
18288
  __Pyx_GOTREF(__pyx_t_4);
18277
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_task, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18289
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_task, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18278
18290
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18279
18291
 
18280
18292
  /* "obliquetree/src/utils.pyx":115
@@ -18286,7 +18298,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18286
18298
  */
18287
18299
  __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_tree->n_classes); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 115, __pyx_L1_error)
18288
18300
  __Pyx_GOTREF(__pyx_t_4);
18289
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_n_classes, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18301
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_n_classes, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18290
18302
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18291
18303
 
18292
18304
  /* "obliquetree/src/utils.pyx":116
@@ -18298,7 +18310,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18298
18310
  */
18299
18311
  __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_tree->n_features); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 116, __pyx_L1_error)
18300
18312
  __Pyx_GOTREF(__pyx_t_4);
18301
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_n_features, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18313
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_n_features, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18302
18314
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18303
18315
 
18304
18316
  /* "obliquetree/src/utils.pyx":117
@@ -18310,7 +18322,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18310
18322
  */
18311
18323
  __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_tree->cat_); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 117, __pyx_L1_error)
18312
18324
  __Pyx_GOTREF(__pyx_t_4);
18313
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_cat, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error)
18325
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_cat, __pyx_t_4) < (0)) __PYX_ERR(0, 102, __pyx_L1_error)
18314
18326
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18315
18327
  __pyx_v_params = ((PyObject*)__pyx_t_2);
18316
18328
  __pyx_t_2 = 0;
@@ -18333,7 +18345,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18333
18345
  */
18334
18346
  __pyx_t_2 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 122, __pyx_L1_error)
18335
18347
  __Pyx_GOTREF(__pyx_t_2);
18336
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_params, __pyx_v_params) < 0) __PYX_ERR(0, 122, __pyx_L1_error)
18348
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_params, __pyx_v_params) < (0)) __PYX_ERR(0, 122, __pyx_L1_error)
18337
18349
 
18338
18350
  /* "obliquetree/src/utils.pyx":123
18339
18351
  * return {
@@ -18352,7 +18364,7 @@ static PyObject *__pyx_f_11obliquetree_3src_5utils_export_tree(struct __pyx_obj_
18352
18364
  __Pyx_INCREF(Py_None);
18353
18365
  __pyx_t_4 = Py_None;
18354
18366
  }
18355
- if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_tree, __pyx_t_4) < 0) __PYX_ERR(0, 122, __pyx_L1_error)
18367
+ if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_tree, __pyx_t_4) < (0)) __PYX_ERR(0, 122, __pyx_L1_error)
18356
18368
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18357
18369
  __pyx_r = ((PyObject*)__pyx_t_2);
18358
18370
  __pyx_t_2 = 0;
@@ -18431,7 +18443,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
18431
18443
  default: goto __pyx_L5_argtuple_error;
18432
18444
  }
18433
18445
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
18434
- if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "export_tree", 0) < 0) __PYX_ERR(0, 83, __pyx_L3_error)
18446
+ if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "export_tree", 0) < (0)) __PYX_ERR(0, 83, __pyx_L3_error)
18435
18447
  for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
18436
18448
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("export_tree", 1, 1, 1, i); __PYX_ERR(0, 83, __pyx_L3_error) }
18437
18449
  }
@@ -22572,14 +22584,14 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
22572
22584
  /*--- Type init code ---*/
22573
22585
  #if CYTHON_USE_TYPE_SPECS
22574
22586
  __pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct____pyx_f_11obliquetree_3src_5utils__recurse = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_11obliquetree_3src_5utils___pyx_scope_struct____pyx_f_11obliquetree_3src_5utils__recurse_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct____pyx_f_11obliquetree_3src_5utils__recurse)) __PYX_ERR(0, 6, __pyx_L1_error)
22575
- if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_11obliquetree_3src_5utils___pyx_scope_struct____pyx_f_11obliquetree_3src_5utils__recurse_spec, __pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct____pyx_f_11obliquetree_3src_5utils__recurse) < 0) __PYX_ERR(0, 6, __pyx_L1_error)
22587
+ if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_11obliquetree_3src_5utils___pyx_scope_struct____pyx_f_11obliquetree_3src_5utils__recurse_spec, __pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct____pyx_f_11obliquetree_3src_5utils__recurse) < (0)) __PYX_ERR(0, 6, __pyx_L1_error)
22576
22588
  #else
22577
22589
  __pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct____pyx_f_11obliquetree_3src_5utils__recurse = &__pyx_type_11obliquetree_3src_5utils___pyx_scope_struct____pyx_f_11obliquetree_3src_5utils__recurse;
22578
22590
  #endif
22579
22591
  #if !CYTHON_COMPILING_IN_LIMITED_API
22580
22592
  #endif
22581
22593
  #if !CYTHON_USE_TYPE_SPECS
22582
- if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct____pyx_f_11obliquetree_3src_5utils__recurse) < 0) __PYX_ERR(0, 6, __pyx_L1_error)
22594
+ if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct____pyx_f_11obliquetree_3src_5utils__recurse) < (0)) __PYX_ERR(0, 6, __pyx_L1_error)
22583
22595
  #endif
22584
22596
  #if !CYTHON_COMPILING_IN_LIMITED_API
22585
22597
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct____pyx_f_11obliquetree_3src_5utils__recurse->tp_dictoffset && __pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct____pyx_f_11obliquetree_3src_5utils__recurse->tp_getattro == PyObject_GenericGetAttr)) {
@@ -22588,14 +22600,14 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
22588
22600
  #endif
22589
22601
  #if CYTHON_USE_TYPE_SPECS
22590
22602
  __pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct_1_genexpr = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_11obliquetree_3src_5utils___pyx_scope_struct_1_genexpr_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct_1_genexpr)) __PYX_ERR(0, 71, __pyx_L1_error)
22591
- if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_11obliquetree_3src_5utils___pyx_scope_struct_1_genexpr_spec, __pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct_1_genexpr) < 0) __PYX_ERR(0, 71, __pyx_L1_error)
22603
+ if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_11obliquetree_3src_5utils___pyx_scope_struct_1_genexpr_spec, __pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct_1_genexpr) < (0)) __PYX_ERR(0, 71, __pyx_L1_error)
22592
22604
  #else
22593
22605
  __pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct_1_genexpr = &__pyx_type_11obliquetree_3src_5utils___pyx_scope_struct_1_genexpr;
22594
22606
  #endif
22595
22607
  #if !CYTHON_COMPILING_IN_LIMITED_API
22596
22608
  #endif
22597
22609
  #if !CYTHON_USE_TYPE_SPECS
22598
- if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct_1_genexpr) < 0) __PYX_ERR(0, 71, __pyx_L1_error)
22610
+ if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct_1_genexpr) < (0)) __PYX_ERR(0, 71, __pyx_L1_error)
22599
22611
  #endif
22600
22612
  #if !CYTHON_COMPILING_IN_LIMITED_API
22601
22613
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct_1_genexpr->tp_dictoffset && __pyx_mstate->__pyx_ptype_11obliquetree_3src_5utils___pyx_scope_struct_1_genexpr->tp_getattro == PyObject_GenericGetAttr)) {
@@ -22618,35 +22630,35 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
22618
22630
  #else
22619
22631
  #warning "The buffer protocol is not supported in the Limited C-API < 3.11."
22620
22632
  #endif
22621
- if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type___pyx_array_spec, __pyx_mstate->__pyx_array_type) < 0) __PYX_ERR(1, 110, __pyx_L1_error)
22633
+ if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type___pyx_array_spec, __pyx_mstate->__pyx_array_type) < (0)) __PYX_ERR(1, 110, __pyx_L1_error)
22622
22634
  #else
22623
22635
  __pyx_mstate->__pyx_array_type = &__pyx_type___pyx_array;
22624
22636
  #endif
22625
22637
  #if !CYTHON_COMPILING_IN_LIMITED_API
22626
22638
  #endif
22627
22639
  #if !CYTHON_USE_TYPE_SPECS
22628
- if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_array_type) < 0) __PYX_ERR(1, 110, __pyx_L1_error)
22640
+ if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_array_type) < (0)) __PYX_ERR(1, 110, __pyx_L1_error)
22629
22641
  #endif
22630
- if (__Pyx_SetVtable(__pyx_mstate->__pyx_array_type, __pyx_vtabptr_array) < 0) __PYX_ERR(1, 110, __pyx_L1_error)
22631
- if (__Pyx_MergeVtables(__pyx_mstate->__pyx_array_type) < 0) __PYX_ERR(1, 110, __pyx_L1_error)
22632
- if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_array_type) < 0) __PYX_ERR(1, 110, __pyx_L1_error)
22642
+ if (__Pyx_SetVtable(__pyx_mstate->__pyx_array_type, __pyx_vtabptr_array) < (0)) __PYX_ERR(1, 110, __pyx_L1_error)
22643
+ if (__Pyx_MergeVtables(__pyx_mstate->__pyx_array_type) < (0)) __PYX_ERR(1, 110, __pyx_L1_error)
22644
+ if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_array_type) < (0)) __PYX_ERR(1, 110, __pyx_L1_error)
22633
22645
  #if CYTHON_USE_TYPE_SPECS
22634
22646
  __pyx_mstate->__pyx_MemviewEnum_type = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type___pyx_MemviewEnum_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_MemviewEnum_type)) __PYX_ERR(1, 299, __pyx_L1_error)
22635
- if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type___pyx_MemviewEnum_spec, __pyx_mstate->__pyx_MemviewEnum_type) < 0) __PYX_ERR(1, 299, __pyx_L1_error)
22647
+ if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type___pyx_MemviewEnum_spec, __pyx_mstate->__pyx_MemviewEnum_type) < (0)) __PYX_ERR(1, 299, __pyx_L1_error)
22636
22648
  #else
22637
22649
  __pyx_mstate->__pyx_MemviewEnum_type = &__pyx_type___pyx_MemviewEnum;
22638
22650
  #endif
22639
22651
  #if !CYTHON_COMPILING_IN_LIMITED_API
22640
22652
  #endif
22641
22653
  #if !CYTHON_USE_TYPE_SPECS
22642
- if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_MemviewEnum_type) < 0) __PYX_ERR(1, 299, __pyx_L1_error)
22654
+ if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_MemviewEnum_type) < (0)) __PYX_ERR(1, 299, __pyx_L1_error)
22643
22655
  #endif
22644
22656
  #if !CYTHON_COMPILING_IN_LIMITED_API
22645
22657
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_MemviewEnum_type->tp_dictoffset && __pyx_mstate->__pyx_MemviewEnum_type->tp_getattro == PyObject_GenericGetAttr)) {
22646
22658
  __pyx_mstate->__pyx_MemviewEnum_type->tp_getattro = PyObject_GenericGetAttr;
22647
22659
  }
22648
22660
  #endif
22649
- if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_MemviewEnum_type) < 0) __PYX_ERR(1, 299, __pyx_L1_error)
22661
+ if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_MemviewEnum_type) < (0)) __PYX_ERR(1, 299, __pyx_L1_error)
22650
22662
  __pyx_vtabptr_memoryview = &__pyx_vtable_memoryview;
22651
22663
  __pyx_vtable_memoryview.get_item_pointer = (char *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_get_item_pointer;
22652
22664
  __pyx_vtable_memoryview.is_slice = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_is_slice;
@@ -22670,23 +22682,23 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
22670
22682
  #else
22671
22683
  #warning "The buffer protocol is not supported in the Limited C-API < 3.11."
22672
22684
  #endif
22673
- if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type___pyx_memoryview_spec, __pyx_mstate->__pyx_memoryview_type) < 0) __PYX_ERR(1, 334, __pyx_L1_error)
22685
+ if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type___pyx_memoryview_spec, __pyx_mstate->__pyx_memoryview_type) < (0)) __PYX_ERR(1, 334, __pyx_L1_error)
22674
22686
  #else
22675
22687
  __pyx_mstate->__pyx_memoryview_type = &__pyx_type___pyx_memoryview;
22676
22688
  #endif
22677
22689
  #if !CYTHON_COMPILING_IN_LIMITED_API
22678
22690
  #endif
22679
22691
  #if !CYTHON_USE_TYPE_SPECS
22680
- if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_memoryview_type) < 0) __PYX_ERR(1, 334, __pyx_L1_error)
22692
+ if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_memoryview_type) < (0)) __PYX_ERR(1, 334, __pyx_L1_error)
22681
22693
  #endif
22682
22694
  #if !CYTHON_COMPILING_IN_LIMITED_API
22683
22695
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_memoryview_type->tp_dictoffset && __pyx_mstate->__pyx_memoryview_type->tp_getattro == PyObject_GenericGetAttr)) {
22684
22696
  __pyx_mstate->__pyx_memoryview_type->tp_getattro = PyObject_GenericGetAttr;
22685
22697
  }
22686
22698
  #endif
22687
- if (__Pyx_SetVtable(__pyx_mstate->__pyx_memoryview_type, __pyx_vtabptr_memoryview) < 0) __PYX_ERR(1, 334, __pyx_L1_error)
22688
- if (__Pyx_MergeVtables(__pyx_mstate->__pyx_memoryview_type) < 0) __PYX_ERR(1, 334, __pyx_L1_error)
22689
- if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_memoryview_type) < 0) __PYX_ERR(1, 334, __pyx_L1_error)
22699
+ if (__Pyx_SetVtable(__pyx_mstate->__pyx_memoryview_type, __pyx_vtabptr_memoryview) < (0)) __PYX_ERR(1, 334, __pyx_L1_error)
22700
+ if (__Pyx_MergeVtables(__pyx_mstate->__pyx_memoryview_type) < (0)) __PYX_ERR(1, 334, __pyx_L1_error)
22701
+ if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_memoryview_type) < (0)) __PYX_ERR(1, 334, __pyx_L1_error)
22690
22702
  __pyx_vtabptr__memoryviewslice = &__pyx_vtable__memoryviewslice;
22691
22703
  __pyx_vtable__memoryviewslice.__pyx_base = *__pyx_vtabptr_memoryview;
22692
22704
  __pyx_vtable__memoryviewslice.__pyx_base.convert_item_to_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *))__pyx_memoryviewslice_convert_item_to_object;
@@ -22698,7 +22710,7 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
22698
22710
  __pyx_mstate->__pyx_memoryviewslice_type = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type___pyx_memoryviewslice_spec, __pyx_t_1);
22699
22711
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
22700
22712
  if (unlikely(!__pyx_mstate->__pyx_memoryviewslice_type)) __PYX_ERR(1, 950, __pyx_L1_error)
22701
- if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type___pyx_memoryviewslice_spec, __pyx_mstate->__pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
22713
+ if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type___pyx_memoryviewslice_spec, __pyx_mstate->__pyx_memoryviewslice_type) < (0)) __PYX_ERR(1, 950, __pyx_L1_error)
22702
22714
  #else
22703
22715
  __pyx_mstate->__pyx_memoryviewslice_type = &__pyx_type___pyx_memoryviewslice;
22704
22716
  #endif
@@ -22706,16 +22718,16 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
22706
22718
  __pyx_mstate_global->__pyx_memoryviewslice_type->tp_base = __pyx_mstate_global->__pyx_memoryview_type;
22707
22719
  #endif
22708
22720
  #if !CYTHON_USE_TYPE_SPECS
22709
- if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
22721
+ if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_memoryviewslice_type) < (0)) __PYX_ERR(1, 950, __pyx_L1_error)
22710
22722
  #endif
22711
22723
  #if !CYTHON_COMPILING_IN_LIMITED_API
22712
22724
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_memoryviewslice_type->tp_dictoffset && __pyx_mstate->__pyx_memoryviewslice_type->tp_getattro == PyObject_GenericGetAttr)) {
22713
22725
  __pyx_mstate->__pyx_memoryviewslice_type->tp_getattro = PyObject_GenericGetAttr;
22714
22726
  }
22715
22727
  #endif
22716
- if (__Pyx_SetVtable(__pyx_mstate->__pyx_memoryviewslice_type, __pyx_vtabptr__memoryviewslice) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
22717
- if (__Pyx_MergeVtables(__pyx_mstate->__pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
22718
- if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
22728
+ if (__Pyx_SetVtable(__pyx_mstate->__pyx_memoryviewslice_type, __pyx_vtabptr__memoryviewslice) < (0)) __PYX_ERR(1, 950, __pyx_L1_error)
22729
+ if (__Pyx_MergeVtables(__pyx_mstate->__pyx_memoryviewslice_type) < (0)) __PYX_ERR(1, 950, __pyx_L1_error)
22730
+ if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_memoryviewslice_type) < (0)) __PYX_ERR(1, 950, __pyx_L1_error)
22719
22731
  __Pyx_RefNannyFinishContext();
22720
22732
  return 0;
22721
22733
  __pyx_L1_error:;
@@ -22735,15 +22747,15 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
22735
22747
  /*--- Type import code ---*/
22736
22748
  __pyx_t_1 = PyImport_ImportModule("obliquetree.src.base"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 4, __pyx_L1_error)
22737
22749
  __Pyx_GOTREF(__pyx_t_1);
22738
- __pyx_mstate->__pyx_ptype_11obliquetree_3src_4base_TreeClassifier = __Pyx_ImportType_3_1_2(__pyx_t_1, "obliquetree.src.base", "TreeClassifier",
22750
+ __pyx_mstate->__pyx_ptype_11obliquetree_3src_4base_TreeClassifier = __Pyx_ImportType_3_1_6(__pyx_t_1, "obliquetree.src.base", "TreeClassifier",
22739
22751
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
22740
- sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
22752
+ sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_6(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
22741
22753
  #elif CYTHON_COMPILING_IN_LIMITED_API
22742
- sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
22754
+ sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_6(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
22743
22755
  #else
22744
- sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
22756
+ sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_6(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
22745
22757
  #endif
22746
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_11obliquetree_3src_4base_TreeClassifier) __PYX_ERR(2, 4, __pyx_L1_error)
22758
+ __Pyx_ImportType_CheckSize_Warn_3_1_6); if (!__pyx_mstate->__pyx_ptype_11obliquetree_3src_4base_TreeClassifier) __PYX_ERR(2, 4, __pyx_L1_error)
22747
22759
  __pyx_vtabptr_11obliquetree_3src_4base_TreeClassifier = (struct __pyx_vtabstruct_11obliquetree_3src_4base_TreeClassifier*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_11obliquetree_3src_4base_TreeClassifier); if (unlikely(!__pyx_vtabptr_11obliquetree_3src_4base_TreeClassifier)) __PYX_ERR(2, 4, __pyx_L1_error)
22748
22760
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
22749
22761
  __Pyx_RefNannyFinishContext();
@@ -23007,7 +23019,7 @@ if (!__Pyx_RefNanny) {
23007
23019
  #endif
23008
23020
 
23009
23021
  __Pyx_RefNannySetupContext("PyInit_utils", 0);
23010
- 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)
23022
+ 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)
23011
23023
  #ifdef __Pxy_PyFrame_Initialize_Offsets
23012
23024
  __Pxy_PyFrame_Initialize_Offsets();
23013
23025
  #endif
@@ -23015,30 +23027,30 @@ __Pyx_RefNannySetupContext("PyInit_utils", 0);
23015
23027
  __pyx_mstate->__pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_mstate->__pyx_empty_bytes)) __PYX_ERR(0, 1, __pyx_L1_error)
23016
23028
  __pyx_mstate->__pyx_empty_unicode = PyUnicode_FromStringAndSize("", 0); if (unlikely(!__pyx_mstate->__pyx_empty_unicode)) __PYX_ERR(0, 1, __pyx_L1_error)
23017
23029
  /*--- Initialize various global constants etc. ---*/
23018
- if (__Pyx_InitConstants(__pyx_mstate) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23030
+ if (__Pyx_InitConstants(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
23019
23031
  stringtab_initialized = 1;
23020
- if (__Pyx_InitGlobals() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23032
+ if (__Pyx_InitGlobals() < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
23021
23033
  #if 0 || defined(__Pyx_CyFunction_USED) || defined(__Pyx_FusedFunction_USED) || defined(__Pyx_Coroutine_USED) || defined(__Pyx_Generator_USED) || defined(__Pyx_AsyncGen_USED)
23022
- if (__pyx_CommonTypesMetaclass_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23034
+ if (__pyx_CommonTypesMetaclass_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
23023
23035
  #endif
23024
23036
  #ifdef __Pyx_CyFunction_USED
23025
- if (__pyx_CyFunction_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23037
+ if (__pyx_CyFunction_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
23026
23038
  #endif
23027
23039
  #ifdef __Pyx_FusedFunction_USED
23028
- if (__pyx_FusedFunction_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23040
+ if (__pyx_FusedFunction_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
23029
23041
  #endif
23030
23042
  #ifdef __Pyx_Coroutine_USED
23031
- if (__pyx_Coroutine_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23043
+ if (__pyx_Coroutine_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
23032
23044
  #endif
23033
23045
  #ifdef __Pyx_Generator_USED
23034
- if (__pyx_Generator_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23046
+ if (__pyx_Generator_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
23035
23047
  #endif
23036
23048
  #ifdef __Pyx_AsyncGen_USED
23037
- if (__pyx_AsyncGen_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23049
+ if (__pyx_AsyncGen_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
23038
23050
  #endif
23039
23051
  /*--- Library function declarations ---*/
23040
23052
  if (__pyx_module_is_main_obliquetree__src__utils) {
23041
- if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_name_2, __pyx_mstate_global->__pyx_n_u_main) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23053
+ if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_name_2, __pyx_mstate_global->__pyx_n_u_main) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
23042
23054
  }
23043
23055
  {
23044
23056
  PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) __PYX_ERR(0, 1, __pyx_L1_error)
@@ -23047,10 +23059,10 @@ __Pyx_RefNannySetupContext("PyInit_utils", 0);
23047
23059
  }
23048
23060
  }
23049
23061
  /*--- Builtin init code ---*/
23050
- if (__Pyx_InitCachedBuiltins(__pyx_mstate) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23062
+ if (__Pyx_InitCachedBuiltins(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
23051
23063
  /*--- Constants init code ---*/
23052
- if (__Pyx_InitCachedConstants(__pyx_mstate) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23053
- if (__Pyx_CreateCodeObjects(__pyx_mstate) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23064
+ if (__Pyx_InitCachedConstants(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
23065
+ if (__Pyx_CreateCodeObjects(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
23054
23066
  /*--- Global type/function init code ---*/
23055
23067
  (void)__Pyx_modinit_global_init_code(__pyx_mstate);
23056
23068
  (void)__Pyx_modinit_variable_export_code(__pyx_mstate);
@@ -23201,7 +23213,7 @@ __Pyx_RefNannySetupContext("PyInit_utils", 0);
23201
23213
  */
23202
23214
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_collections_abc_Sequence, __pyx_mstate_global->__pyx_n_u_count); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 240, __pyx_L10_error)
23203
23215
  __Pyx_GOTREF(__pyx_t_5);
23204
- if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_array_type, __pyx_mstate_global->__pyx_n_u_count, __pyx_t_5) < 0) __PYX_ERR(1, 240, __pyx_L10_error)
23216
+ if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_array_type, __pyx_mstate_global->__pyx_n_u_count, __pyx_t_5) < (0)) __PYX_ERR(1, 240, __pyx_L10_error)
23205
23217
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
23206
23218
 
23207
23219
  /* "View.MemoryView":241
@@ -23213,7 +23225,7 @@ __Pyx_RefNannySetupContext("PyInit_utils", 0);
23213
23225
  */
23214
23226
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_collections_abc_Sequence, __pyx_mstate_global->__pyx_n_u_index); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 241, __pyx_L10_error)
23215
23227
  __Pyx_GOTREF(__pyx_t_5);
23216
- if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_array_type, __pyx_mstate_global->__pyx_n_u_index, __pyx_t_5) < 0) __PYX_ERR(1, 241, __pyx_L10_error)
23228
+ if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_array_type, __pyx_mstate_global->__pyx_n_u_index, __pyx_t_5) < (0)) __PYX_ERR(1, 241, __pyx_L10_error)
23217
23229
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
23218
23230
 
23219
23231
  /* "View.MemoryView":239
@@ -23423,7 +23435,7 @@ __Pyx_RefNannySetupContext("PyInit_utils", 0);
23423
23435
  */
23424
23436
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_collections_abc_Sequence, __pyx_mstate_global->__pyx_n_u_count); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 983, __pyx_L18_error)
23425
23437
  __Pyx_GOTREF(__pyx_t_5);
23426
- if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_memoryviewslice_type, __pyx_mstate_global->__pyx_n_u_count, __pyx_t_5) < 0) __PYX_ERR(1, 983, __pyx_L18_error)
23438
+ if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_memoryviewslice_type, __pyx_mstate_global->__pyx_n_u_count, __pyx_t_5) < (0)) __PYX_ERR(1, 983, __pyx_L18_error)
23427
23439
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
23428
23440
 
23429
23441
  /* "View.MemoryView":984
@@ -23435,7 +23447,7 @@ __Pyx_RefNannySetupContext("PyInit_utils", 0);
23435
23447
  */
23436
23448
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_collections_abc_Sequence, __pyx_mstate_global->__pyx_n_u_index); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 984, __pyx_L18_error)
23437
23449
  __Pyx_GOTREF(__pyx_t_5);
23438
- if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_memoryviewslice_type, __pyx_mstate_global->__pyx_n_u_index, __pyx_t_5) < 0) __PYX_ERR(1, 984, __pyx_L18_error)
23450
+ if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_memoryviewslice_type, __pyx_mstate_global->__pyx_n_u_index, __pyx_t_5) < (0)) __PYX_ERR(1, 984, __pyx_L18_error)
23439
23451
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
23440
23452
 
23441
23453
  /* "View.MemoryView":982
@@ -23590,7 +23602,7 @@ __Pyx_RefNannySetupContext("PyInit_utils", 0);
23590
23602
  */
23591
23603
  __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_15View_dot_MemoryView_1__pyx_unpickle_Enum, NULL, __pyx_mstate_global->__pyx_n_u_View_MemoryView); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
23592
23604
  __Pyx_GOTREF(__pyx_t_5);
23593
- if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_Enum, __pyx_t_5) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
23605
+ if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_Enum, __pyx_t_5) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
23594
23606
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
23595
23607
 
23596
23608
  /* "obliquetree/src/utils.pyx":83
@@ -23602,7 +23614,7 @@ __Pyx_RefNannySetupContext("PyInit_utils", 0);
23602
23614
  */
23603
23615
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_11obliquetree_3src_5utils_1export_tree, 0, __pyx_mstate_global->__pyx_n_u_export_tree, NULL, __pyx_mstate_global->__pyx_n_u_obliquetree_src_utils, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[1])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 83, __pyx_L1_error)
23604
23616
  __Pyx_GOTREF(__pyx_t_5);
23605
- if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_export_tree, __pyx_t_5) < 0) __PYX_ERR(0, 83, __pyx_L1_error)
23617
+ if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_export_tree, __pyx_t_5) < (0)) __PYX_ERR(0, 83, __pyx_L1_error)
23606
23618
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
23607
23619
 
23608
23620
  /* "obliquetree/src/utils.pyx":1
@@ -23612,7 +23624,7 @@ __Pyx_RefNannySetupContext("PyInit_utils", 0);
23612
23624
  */
23613
23625
  __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1, __pyx_L1_error)
23614
23626
  __Pyx_GOTREF(__pyx_t_5);
23615
- if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_5) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
23627
+ if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_5) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
23616
23628
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
23617
23629
 
23618
23630
  /*--- Wrapped vars code ---*/
@@ -24205,7 +24217,7 @@ __Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n)
24205
24217
  res = PyTuple_New(n);
24206
24218
  if (unlikely(res == NULL)) return NULL;
24207
24219
  for (i = 0; i < n; i++) {
24208
- if (unlikely(__Pyx_PyTuple_SET_ITEM(res, i, src[i]) < 0)) {
24220
+ if (unlikely(__Pyx_PyTuple_SET_ITEM(res, i, src[i]) < (0))) {
24209
24221
  Py_DECREF(res);
24210
24222
  return NULL;
24211
24223
  }
@@ -27081,6 +27093,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
27081
27093
  changed = 1;
27082
27094
  }
27083
27095
  #endif // CYTHON_METH_FASTCALL
27096
+ #if !CYTHON_COMPILING_IN_PYPY
27084
27097
  else if (strcmp(memb->name, "__module__") == 0) {
27085
27098
  PyObject *descr;
27086
27099
  assert(memb->type == T_OBJECT);
@@ -27095,11 +27108,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
27095
27108
  }
27096
27109
  changed = 1;
27097
27110
  }
27111
+ #endif // !CYTHON_COMPILING_IN_PYPY
27098
27112
  }
27099
27113
  memb++;
27100
27114
  }
27101
27115
  }
27102
27116
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
27117
+ #if !CYTHON_COMPILING_IN_PYPY
27103
27118
  slot = spec->slots;
27104
27119
  while (slot && slot->slot && slot->slot != Py_tp_getset)
27105
27120
  slot++;
@@ -27131,6 +27146,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
27131
27146
  ++getset;
27132
27147
  }
27133
27148
  }
27149
+ #endif // !CYTHON_COMPILING_IN_PYPY
27134
27150
  if (changed)
27135
27151
  PyType_Modified(type);
27136
27152
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -27235,6 +27251,13 @@ try_unpack:
27235
27251
 
27236
27252
  /* PyObjectCallMethod0 */
27237
27253
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
27254
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
27255
+ PyObject *args[1] = {obj};
27256
+ (void) __Pyx_PyObject_GetMethod;
27257
+ (void) __Pyx_PyObject_CallOneArg;
27258
+ (void) __Pyx_PyObject_CallNoArg;
27259
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
27260
+ #else
27238
27261
  PyObject *method = NULL, *result = NULL;
27239
27262
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
27240
27263
  if (likely(is_method)) {
@@ -27247,6 +27270,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
27247
27270
  Py_DECREF(method);
27248
27271
  bad:
27249
27272
  return result;
27273
+ #endif
27250
27274
  }
27251
27275
 
27252
27276
  /* ValidateBasesTuple */
@@ -27676,15 +27700,15 @@ __PYX_GOOD:
27676
27700
  }
27677
27701
 
27678
27702
  /* TypeImport */
27679
- #ifndef __PYX_HAVE_RT_ImportType_3_1_2
27680
- #define __PYX_HAVE_RT_ImportType_3_1_2
27681
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module_name, const char *class_name,
27682
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size)
27703
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_6
27704
+ #define __PYX_HAVE_RT_ImportType_3_1_6
27705
+ static PyTypeObject *__Pyx_ImportType_3_1_6(PyObject *module, const char *module_name, const char *class_name,
27706
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_6 check_size)
27683
27707
  {
27684
27708
  PyObject *result = 0;
27685
27709
  Py_ssize_t basicsize;
27686
27710
  Py_ssize_t itemsize;
27687
- #if CYTHON_COMPILING_IN_LIMITED_API
27711
+ #if defined(Py_LIMITED_API) || (defined(CYTHON_COMPILING_IN_LIMITED_API) && CYTHON_COMPILING_IN_LIMITED_API)
27688
27712
  PyObject *py_basicsize;
27689
27713
  PyObject *py_itemsize;
27690
27714
  #endif
@@ -27697,7 +27721,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
27697
27721
  module_name, class_name);
27698
27722
  goto bad;
27699
27723
  }
27700
- #if !CYTHON_COMPILING_IN_LIMITED_API
27724
+ #if !( defined(Py_LIMITED_API) || (defined(CYTHON_COMPILING_IN_LIMITED_API) && CYTHON_COMPILING_IN_LIMITED_API) )
27701
27725
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
27702
27726
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
27703
27727
  #else
@@ -27735,7 +27759,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
27735
27759
  module_name, class_name, size, basicsize+itemsize);
27736
27760
  goto bad;
27737
27761
  }
27738
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_2 &&
27762
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_6 &&
27739
27763
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
27740
27764
  PyErr_Format(PyExc_ValueError,
27741
27765
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -27743,7 +27767,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
27743
27767
  module_name, class_name, size, basicsize, basicsize+itemsize);
27744
27768
  goto bad;
27745
27769
  }
27746
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_2 && (size_t)basicsize > size) {
27770
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_6 && (size_t)basicsize > size) {
27747
27771
  if (PyErr_WarnFormat(NULL, 0,
27748
27772
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
27749
27773
  "Expected %zd from C header, got %zd from PyObject",
@@ -27884,7 +27908,7 @@ bad:
27884
27908
  }
27885
27909
 
27886
27910
  /* CommonTypesMetaclass */
27887
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
27911
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
27888
27912
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
27889
27913
  }
27890
27914
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -27913,6 +27937,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
27913
27937
  return -1;
27914
27938
  }
27915
27939
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
27940
+ Py_DECREF(bases);
27916
27941
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
27917
27942
  return -1;
27918
27943
  }
@@ -30719,7 +30744,7 @@ static CYTHON_INLINE PyObject *__Pyx_PyIter_Next_Plain(PyObject *iterator) {
30719
30744
  }
30720
30745
 
30721
30746
  /* PyObjectCallMethod1 */
30722
- #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
30747
+ #if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
30723
30748
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
30724
30749
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
30725
30750
  Py_DECREF(method);
@@ -30727,7 +30752,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
30727
30752
  }
30728
30753
  #endif
30729
30754
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
30730
- #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
30755
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
30731
30756
  PyObject *args[2] = {obj, arg};
30732
30757
  (void) __Pyx_PyObject_GetMethod;
30733
30758
  (void) __Pyx_PyObject_CallOneArg;
@@ -31988,6 +32013,10 @@ bad:
31988
32013
  PyCode_NewWithPosOnlyArgs
31989
32014
  #endif
31990
32015
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
32016
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
32017
+ if (likely(result))
32018
+ result->_co_firsttraceable = 0;
32019
+ #endif
31991
32020
  return result;
31992
32021
  }
31993
32022
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
@@ -32315,6 +32344,17 @@ static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b) {
32315
32344
  static CYTHON_INLINE PyObject * __Pyx_PyLong_FromSize_t(size_t ival) {
32316
32345
  return PyLong_FromSize_t(ival);
32317
32346
  }
32347
+ #if CYTHON_USE_PYLONG_INTERNALS
32348
+ static CYTHON_INLINE int __Pyx_PyLong_CompactAsLong(PyObject *x, long *return_value) {
32349
+ if (unlikely(!__Pyx_PyLong_IsCompact(x)))
32350
+ return 0;
32351
+ Py_ssize_t value = __Pyx_PyLong_CompactValue(x);
32352
+ if ((sizeof(long) < sizeof(Py_ssize_t)) && unlikely(value != (long) value))
32353
+ return 0;
32354
+ *return_value = (long) value;
32355
+ return 1;
32356
+ }
32357
+ #endif
32318
32358
 
32319
32359
 
32320
32360
  /* MultiPhaseInitModuleState */