obliquetree 1.0.3__cp312-cp312-macosx_11_0_arm64.whl → 1.0.4__cp312-cp312-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 obliquetree might be problematic. Click here for more details.

Binary file
obliquetree/src/ccp.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
  {
@@ -19,7 +19,7 @@
19
19
  "-std=c++17"
20
20
  ],
21
21
  "include_dirs": [
22
- "/private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/build-env-iedk3oda/lib/python3.12/site-packages/numpy/_core/include"
22
+ "/private/var/folders/xc/cl1fyykn2pj4ryhdw6r1mqtc0000gn/T/build-env-ddeujurx/lib/python3.12/site-packages/numpy/_core/include"
23
23
  ],
24
24
  "language": "c++",
25
25
  "name": "obliquetree.src.ccp",
@@ -35,8 +35,16 @@ END: Cython Metadata */
35
35
  #define PY_SSIZE_T_CLEAN
36
36
  #endif /* PY_SSIZE_T_CLEAN */
37
37
  /* InitLimitedAPI */
38
- #if defined(Py_LIMITED_API) && !defined(CYTHON_LIMITED_API)
38
+ #if defined(Py_LIMITED_API)
39
+ #if !defined(CYTHON_LIMITED_API)
39
40
  #define CYTHON_LIMITED_API 1
41
+ #endif
42
+ #elif defined(CYTHON_LIMITED_API)
43
+ #ifdef _MSC_VER
44
+ #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.")
45
+ #else
46
+ #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.
47
+ #endif
40
48
  #endif
41
49
 
42
50
  #include "Python.h"
@@ -45,8 +53,8 @@ END: Cython Metadata */
45
53
  #elif PY_VERSION_HEX < 0x03080000
46
54
  #error Cython requires Python 3.8+.
47
55
  #else
48
- #define __PYX_ABI_VERSION "3_1_2"
49
- #define CYTHON_HEX_VERSION 0x030102F0
56
+ #define __PYX_ABI_VERSION "3_1_6"
57
+ #define CYTHON_HEX_VERSION 0x030106F0
50
58
  #define CYTHON_FUTURE_DIVISION 1
51
59
  /* CModulePreamble */
52
60
  #include <stddef.h>
@@ -409,6 +417,9 @@ END: Cython Metadata */
409
417
  enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
410
418
  #endif
411
419
  #endif
420
+ #ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
421
+ #define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
422
+ #endif
412
423
  #ifndef __has_attribute
413
424
  #define __has_attribute(x) 0
414
425
  #endif
@@ -1317,6 +1328,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
1317
1328
  typedef sdigit __Pyx_compact_pylong;
1318
1329
  typedef digit __Pyx_compact_upylong;
1319
1330
  #endif
1331
+ static CYTHON_INLINE int __Pyx_PyLong_CompactAsLong(PyObject *x, long *return_value);
1320
1332
  #if PY_VERSION_HEX >= 0x030C00A5
1321
1333
  #define __Pyx_PyLong_Digits(x) (((PyLongObject*)x)->long_value.ob_digit)
1322
1334
  #else
@@ -2620,22 +2632,22 @@ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k);
2620
2632
  static int __Pyx_setup_reduce(PyObject* type_obj);
2621
2633
 
2622
2634
  /* TypeImport.proto */
2623
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_2
2624
- #define __PYX_HAVE_RT_ImportType_proto_3_1_2
2635
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_6
2636
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_6
2625
2637
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2626
2638
  #include <stdalign.h>
2627
2639
  #endif
2628
2640
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2629
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) alignof(s)
2641
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_6(s) alignof(s)
2630
2642
  #else
2631
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) sizeof(void*)
2643
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_6(s) sizeof(void*)
2632
2644
  #endif
2633
- enum __Pyx_ImportType_CheckSize_3_1_2 {
2634
- __Pyx_ImportType_CheckSize_Error_3_1_2 = 0,
2635
- __Pyx_ImportType_CheckSize_Warn_3_1_2 = 1,
2636
- __Pyx_ImportType_CheckSize_Ignore_3_1_2 = 2
2645
+ enum __Pyx_ImportType_CheckSize_3_1_6 {
2646
+ __Pyx_ImportType_CheckSize_Error_3_1_6 = 0,
2647
+ __Pyx_ImportType_CheckSize_Warn_3_1_6 = 1,
2648
+ __Pyx_ImportType_CheckSize_Ignore_3_1_6 = 2
2637
2649
  };
2638
- 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);
2650
+ 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);
2639
2651
  #endif
2640
2652
 
2641
2653
  /* CLineInTraceback.proto */
@@ -3428,7 +3440,7 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
3428
3440
  default: goto __pyx_L5_argtuple_error;
3429
3441
  }
3430
3442
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
3431
- 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)
3443
+ 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)
3432
3444
  if (!values[3]) values[3] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_n_u_c));
3433
3445
  for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
3434
3446
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, i); __PYX_ERR(1, 129, __pyx_L3_error) }
@@ -5042,7 +5054,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
5042
5054
  default: goto __pyx_L5_argtuple_error;
5043
5055
  }
5044
5056
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
5045
- 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)
5057
+ 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)
5046
5058
  for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
5047
5059
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
5048
5060
  }
@@ -5387,7 +5399,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
5387
5399
  __pyx_t_4 = 0;
5388
5400
  __pyx_t_4 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 273, __pyx_L1_error)
5389
5401
  __Pyx_GOTREF(__pyx_t_4);
5390
- if (PyDict_SetItem(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_allocate_buffer, Py_False) < 0) __PYX_ERR(1, 273, __pyx_L1_error)
5402
+ if (PyDict_SetItem(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_allocate_buffer, Py_False) < (0)) __PYX_ERR(1, 273, __pyx_L1_error)
5391
5403
  __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)
5392
5404
  __Pyx_GOTREF((PyObject *)__pyx_t_3);
5393
5405
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
@@ -5482,7 +5494,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
5482
5494
  default: goto __pyx_L5_argtuple_error;
5483
5495
  }
5484
5496
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
5485
- 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)
5497
+ 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)
5486
5498
  for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
5487
5499
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, i); __PYX_ERR(1, 302, __pyx_L3_error) }
5488
5500
  }
@@ -5919,7 +5931,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
5919
5931
  default: goto __pyx_L5_argtuple_error;
5920
5932
  }
5921
5933
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
5922
- 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)
5934
+ 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)
5923
5935
  for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
5924
5936
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 16, __pyx_L3_error) }
5925
5937
  }
@@ -6044,7 +6056,7 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
6044
6056
  default: goto __pyx_L5_argtuple_error;
6045
6057
  }
6046
6058
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
6047
- 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)
6059
+ 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)
6048
6060
  for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
6049
6061
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, i); __PYX_ERR(1, 347, __pyx_L3_error) }
6050
6062
  }
@@ -10361,7 +10373,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
10361
10373
  default: goto __pyx_L5_argtuple_error;
10362
10374
  }
10363
10375
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
10364
- 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)
10376
+ 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)
10365
10377
  for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
10366
10378
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
10367
10379
  }
@@ -13248,7 +13260,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
13248
13260
  default: goto __pyx_L5_argtuple_error;
13249
13261
  }
13250
13262
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
13251
- 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)
13263
+ 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)
13252
13264
  for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
13253
13265
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
13254
13266
  }
@@ -16407,7 +16419,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
16407
16419
  default: goto __pyx_L5_argtuple_error;
16408
16420
  }
16409
16421
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
16410
- 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)
16422
+ 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)
16411
16423
  for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
16412
16424
  if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, i); __PYX_ERR(1, 1, __pyx_L3_error) }
16413
16425
  }
@@ -18602,35 +18614,35 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
18602
18614
  #else
18603
18615
  #warning "The buffer protocol is not supported in the Limited C-API < 3.11."
18604
18616
  #endif
18605
- 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)
18617
+ 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)
18606
18618
  #else
18607
18619
  __pyx_mstate->__pyx_array_type = &__pyx_type___pyx_array;
18608
18620
  #endif
18609
18621
  #if !CYTHON_COMPILING_IN_LIMITED_API
18610
18622
  #endif
18611
18623
  #if !CYTHON_USE_TYPE_SPECS
18612
- if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_array_type) < 0) __PYX_ERR(1, 110, __pyx_L1_error)
18624
+ if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_array_type) < (0)) __PYX_ERR(1, 110, __pyx_L1_error)
18613
18625
  #endif
18614
- if (__Pyx_SetVtable(__pyx_mstate->__pyx_array_type, __pyx_vtabptr_array) < 0) __PYX_ERR(1, 110, __pyx_L1_error)
18615
- if (__Pyx_MergeVtables(__pyx_mstate->__pyx_array_type) < 0) __PYX_ERR(1, 110, __pyx_L1_error)
18616
- if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_array_type) < 0) __PYX_ERR(1, 110, __pyx_L1_error)
18626
+ if (__Pyx_SetVtable(__pyx_mstate->__pyx_array_type, __pyx_vtabptr_array) < (0)) __PYX_ERR(1, 110, __pyx_L1_error)
18627
+ if (__Pyx_MergeVtables(__pyx_mstate->__pyx_array_type) < (0)) __PYX_ERR(1, 110, __pyx_L1_error)
18628
+ if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_array_type) < (0)) __PYX_ERR(1, 110, __pyx_L1_error)
18617
18629
  #if CYTHON_USE_TYPE_SPECS
18618
18630
  __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)
18619
- 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)
18631
+ 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)
18620
18632
  #else
18621
18633
  __pyx_mstate->__pyx_MemviewEnum_type = &__pyx_type___pyx_MemviewEnum;
18622
18634
  #endif
18623
18635
  #if !CYTHON_COMPILING_IN_LIMITED_API
18624
18636
  #endif
18625
18637
  #if !CYTHON_USE_TYPE_SPECS
18626
- if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_MemviewEnum_type) < 0) __PYX_ERR(1, 299, __pyx_L1_error)
18638
+ if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_MemviewEnum_type) < (0)) __PYX_ERR(1, 299, __pyx_L1_error)
18627
18639
  #endif
18628
18640
  #if !CYTHON_COMPILING_IN_LIMITED_API
18629
18641
  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)) {
18630
18642
  __pyx_mstate->__pyx_MemviewEnum_type->tp_getattro = PyObject_GenericGetAttr;
18631
18643
  }
18632
18644
  #endif
18633
- if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_MemviewEnum_type) < 0) __PYX_ERR(1, 299, __pyx_L1_error)
18645
+ if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_MemviewEnum_type) < (0)) __PYX_ERR(1, 299, __pyx_L1_error)
18634
18646
  __pyx_vtabptr_memoryview = &__pyx_vtable_memoryview;
18635
18647
  __pyx_vtable_memoryview.get_item_pointer = (char *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_get_item_pointer;
18636
18648
  __pyx_vtable_memoryview.is_slice = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_is_slice;
@@ -18654,23 +18666,23 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
18654
18666
  #else
18655
18667
  #warning "The buffer protocol is not supported in the Limited C-API < 3.11."
18656
18668
  #endif
18657
- 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)
18669
+ 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)
18658
18670
  #else
18659
18671
  __pyx_mstate->__pyx_memoryview_type = &__pyx_type___pyx_memoryview;
18660
18672
  #endif
18661
18673
  #if !CYTHON_COMPILING_IN_LIMITED_API
18662
18674
  #endif
18663
18675
  #if !CYTHON_USE_TYPE_SPECS
18664
- if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_memoryview_type) < 0) __PYX_ERR(1, 334, __pyx_L1_error)
18676
+ if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_memoryview_type) < (0)) __PYX_ERR(1, 334, __pyx_L1_error)
18665
18677
  #endif
18666
18678
  #if !CYTHON_COMPILING_IN_LIMITED_API
18667
18679
  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)) {
18668
18680
  __pyx_mstate->__pyx_memoryview_type->tp_getattro = PyObject_GenericGetAttr;
18669
18681
  }
18670
18682
  #endif
18671
- if (__Pyx_SetVtable(__pyx_mstate->__pyx_memoryview_type, __pyx_vtabptr_memoryview) < 0) __PYX_ERR(1, 334, __pyx_L1_error)
18672
- if (__Pyx_MergeVtables(__pyx_mstate->__pyx_memoryview_type) < 0) __PYX_ERR(1, 334, __pyx_L1_error)
18673
- if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_memoryview_type) < 0) __PYX_ERR(1, 334, __pyx_L1_error)
18683
+ if (__Pyx_SetVtable(__pyx_mstate->__pyx_memoryview_type, __pyx_vtabptr_memoryview) < (0)) __PYX_ERR(1, 334, __pyx_L1_error)
18684
+ if (__Pyx_MergeVtables(__pyx_mstate->__pyx_memoryview_type) < (0)) __PYX_ERR(1, 334, __pyx_L1_error)
18685
+ if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_memoryview_type) < (0)) __PYX_ERR(1, 334, __pyx_L1_error)
18674
18686
  __pyx_vtabptr__memoryviewslice = &__pyx_vtable__memoryviewslice;
18675
18687
  __pyx_vtable__memoryviewslice.__pyx_base = *__pyx_vtabptr_memoryview;
18676
18688
  __pyx_vtable__memoryviewslice.__pyx_base.convert_item_to_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *))__pyx_memoryviewslice_convert_item_to_object;
@@ -18682,7 +18694,7 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
18682
18694
  __pyx_mstate->__pyx_memoryviewslice_type = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type___pyx_memoryviewslice_spec, __pyx_t_1);
18683
18695
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
18684
18696
  if (unlikely(!__pyx_mstate->__pyx_memoryviewslice_type)) __PYX_ERR(1, 950, __pyx_L1_error)
18685
- 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)
18697
+ 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)
18686
18698
  #else
18687
18699
  __pyx_mstate->__pyx_memoryviewslice_type = &__pyx_type___pyx_memoryviewslice;
18688
18700
  #endif
@@ -18690,16 +18702,16 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
18690
18702
  __pyx_mstate_global->__pyx_memoryviewslice_type->tp_base = __pyx_mstate_global->__pyx_memoryview_type;
18691
18703
  #endif
18692
18704
  #if !CYTHON_USE_TYPE_SPECS
18693
- if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
18705
+ if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_memoryviewslice_type) < (0)) __PYX_ERR(1, 950, __pyx_L1_error)
18694
18706
  #endif
18695
18707
  #if !CYTHON_COMPILING_IN_LIMITED_API
18696
18708
  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)) {
18697
18709
  __pyx_mstate->__pyx_memoryviewslice_type->tp_getattro = PyObject_GenericGetAttr;
18698
18710
  }
18699
18711
  #endif
18700
- if (__Pyx_SetVtable(__pyx_mstate->__pyx_memoryviewslice_type, __pyx_vtabptr__memoryviewslice) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
18701
- if (__Pyx_MergeVtables(__pyx_mstate->__pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
18702
- if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
18712
+ if (__Pyx_SetVtable(__pyx_mstate->__pyx_memoryviewslice_type, __pyx_vtabptr__memoryviewslice) < (0)) __PYX_ERR(1, 950, __pyx_L1_error)
18713
+ if (__Pyx_MergeVtables(__pyx_mstate->__pyx_memoryviewslice_type) < (0)) __PYX_ERR(1, 950, __pyx_L1_error)
18714
+ if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_memoryviewslice_type) < (0)) __PYX_ERR(1, 950, __pyx_L1_error)
18703
18715
  __Pyx_RefNannyFinishContext();
18704
18716
  return 0;
18705
18717
  __pyx_L1_error:;
@@ -18719,15 +18731,15 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
18719
18731
  /*--- Type import code ---*/
18720
18732
  __pyx_t_1 = PyImport_ImportModule("obliquetree.src.base"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 4, __pyx_L1_error)
18721
18733
  __Pyx_GOTREF(__pyx_t_1);
18722
- __pyx_mstate->__pyx_ptype_11obliquetree_3src_4base_TreeClassifier = __Pyx_ImportType_3_1_2(__pyx_t_1, "obliquetree.src.base", "TreeClassifier",
18734
+ __pyx_mstate->__pyx_ptype_11obliquetree_3src_4base_TreeClassifier = __Pyx_ImportType_3_1_6(__pyx_t_1, "obliquetree.src.base", "TreeClassifier",
18723
18735
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
18724
- sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
18736
+ sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_6(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
18725
18737
  #elif CYTHON_COMPILING_IN_LIMITED_API
18726
- sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
18738
+ sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_6(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
18727
18739
  #else
18728
- sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
18740
+ sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_6(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
18729
18741
  #endif
18730
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_11obliquetree_3src_4base_TreeClassifier) __PYX_ERR(2, 4, __pyx_L1_error)
18742
+ __Pyx_ImportType_CheckSize_Warn_3_1_6); if (!__pyx_mstate->__pyx_ptype_11obliquetree_3src_4base_TreeClassifier) __PYX_ERR(2, 4, __pyx_L1_error)
18731
18743
  __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)
18732
18744
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
18733
18745
  __Pyx_RefNannyFinishContext();
@@ -18991,7 +19003,7 @@ if (!__Pyx_RefNanny) {
18991
19003
  #endif
18992
19004
 
18993
19005
  __Pyx_RefNannySetupContext("PyInit_ccp", 0);
18994
- 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)
19006
+ 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)
18995
19007
  #ifdef __Pxy_PyFrame_Initialize_Offsets
18996
19008
  __Pxy_PyFrame_Initialize_Offsets();
18997
19009
  #endif
@@ -18999,30 +19011,30 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
18999
19011
  __pyx_mstate->__pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_mstate->__pyx_empty_bytes)) __PYX_ERR(0, 1, __pyx_L1_error)
19000
19012
  __pyx_mstate->__pyx_empty_unicode = PyUnicode_FromStringAndSize("", 0); if (unlikely(!__pyx_mstate->__pyx_empty_unicode)) __PYX_ERR(0, 1, __pyx_L1_error)
19001
19013
  /*--- Initialize various global constants etc. ---*/
19002
- if (__Pyx_InitConstants(__pyx_mstate) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
19014
+ if (__Pyx_InitConstants(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
19003
19015
  stringtab_initialized = 1;
19004
- if (__Pyx_InitGlobals() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
19016
+ if (__Pyx_InitGlobals() < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
19005
19017
  #if 0 || defined(__Pyx_CyFunction_USED) || defined(__Pyx_FusedFunction_USED) || defined(__Pyx_Coroutine_USED) || defined(__Pyx_Generator_USED) || defined(__Pyx_AsyncGen_USED)
19006
- if (__pyx_CommonTypesMetaclass_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
19018
+ if (__pyx_CommonTypesMetaclass_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
19007
19019
  #endif
19008
19020
  #ifdef __Pyx_CyFunction_USED
19009
- if (__pyx_CyFunction_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
19021
+ if (__pyx_CyFunction_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
19010
19022
  #endif
19011
19023
  #ifdef __Pyx_FusedFunction_USED
19012
- if (__pyx_FusedFunction_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
19024
+ if (__pyx_FusedFunction_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
19013
19025
  #endif
19014
19026
  #ifdef __Pyx_Coroutine_USED
19015
- if (__pyx_Coroutine_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
19027
+ if (__pyx_Coroutine_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
19016
19028
  #endif
19017
19029
  #ifdef __Pyx_Generator_USED
19018
- if (__pyx_Generator_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
19030
+ if (__pyx_Generator_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
19019
19031
  #endif
19020
19032
  #ifdef __Pyx_AsyncGen_USED
19021
- if (__pyx_AsyncGen_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
19033
+ if (__pyx_AsyncGen_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
19022
19034
  #endif
19023
19035
  /*--- Library function declarations ---*/
19024
19036
  if (__pyx_module_is_main_obliquetree__src__ccp) {
19025
- 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)
19037
+ 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)
19026
19038
  }
19027
19039
  {
19028
19040
  PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) __PYX_ERR(0, 1, __pyx_L1_error)
@@ -19031,10 +19043,10 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
19031
19043
  }
19032
19044
  }
19033
19045
  /*--- Builtin init code ---*/
19034
- if (__Pyx_InitCachedBuiltins(__pyx_mstate) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
19046
+ if (__Pyx_InitCachedBuiltins(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
19035
19047
  /*--- Constants init code ---*/
19036
- if (__Pyx_InitCachedConstants(__pyx_mstate) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
19037
- if (__Pyx_CreateCodeObjects(__pyx_mstate) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
19048
+ if (__Pyx_InitCachedConstants(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
19049
+ if (__Pyx_CreateCodeObjects(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
19038
19050
  /*--- Global type/function init code ---*/
19039
19051
  (void)__Pyx_modinit_global_init_code(__pyx_mstate);
19040
19052
  (void)__Pyx_modinit_variable_export_code(__pyx_mstate);
@@ -19185,7 +19197,7 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
19185
19197
  */
19186
19198
  __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)
19187
19199
  __Pyx_GOTREF(__pyx_t_5);
19188
- 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)
19200
+ 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)
19189
19201
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
19190
19202
 
19191
19203
  /* "View.MemoryView":241
@@ -19197,7 +19209,7 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
19197
19209
  */
19198
19210
  __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)
19199
19211
  __Pyx_GOTREF(__pyx_t_5);
19200
- 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)
19212
+ 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)
19201
19213
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
19202
19214
 
19203
19215
  /* "View.MemoryView":239
@@ -19407,7 +19419,7 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
19407
19419
  */
19408
19420
  __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)
19409
19421
  __Pyx_GOTREF(__pyx_t_5);
19410
- 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)
19422
+ 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)
19411
19423
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
19412
19424
 
19413
19425
  /* "View.MemoryView":984
@@ -19419,7 +19431,7 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
19419
19431
  */
19420
19432
  __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)
19421
19433
  __Pyx_GOTREF(__pyx_t_5);
19422
- 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)
19434
+ 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)
19423
19435
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
19424
19436
 
19425
19437
  /* "View.MemoryView":982
@@ -19574,7 +19586,7 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
19574
19586
  */
19575
19587
  __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)
19576
19588
  __Pyx_GOTREF(__pyx_t_5);
19577
- 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)
19589
+ 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)
19578
19590
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
19579
19591
 
19580
19592
  /* "obliquetree/src/ccp.pyx":1
@@ -19584,7 +19596,7 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
19584
19596
  */
19585
19597
  __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1, __pyx_L1_error)
19586
19598
  __Pyx_GOTREF(__pyx_t_5);
19587
- 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)
19599
+ 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)
19588
19600
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
19589
19601
 
19590
19602
  /*--- Wrapped vars code ---*/
@@ -19921,7 +19933,7 @@ __Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n)
19921
19933
  res = PyTuple_New(n);
19922
19934
  if (unlikely(res == NULL)) return NULL;
19923
19935
  for (i = 0; i < n; i++) {
19924
- if (unlikely(__Pyx_PyTuple_SET_ITEM(res, i, src[i]) < 0)) {
19936
+ if (unlikely(__Pyx_PyTuple_SET_ITEM(res, i, src[i]) < (0))) {
19925
19937
  Py_DECREF(res);
19926
19938
  return NULL;
19927
19939
  }
@@ -22772,6 +22784,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
22772
22784
  changed = 1;
22773
22785
  }
22774
22786
  #endif // CYTHON_METH_FASTCALL
22787
+ #if !CYTHON_COMPILING_IN_PYPY
22775
22788
  else if (strcmp(memb->name, "__module__") == 0) {
22776
22789
  PyObject *descr;
22777
22790
  assert(memb->type == T_OBJECT);
@@ -22786,11 +22799,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
22786
22799
  }
22787
22800
  changed = 1;
22788
22801
  }
22802
+ #endif // !CYTHON_COMPILING_IN_PYPY
22789
22803
  }
22790
22804
  memb++;
22791
22805
  }
22792
22806
  }
22793
22807
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
22808
+ #if !CYTHON_COMPILING_IN_PYPY
22794
22809
  slot = spec->slots;
22795
22810
  while (slot && slot->slot && slot->slot != Py_tp_getset)
22796
22811
  slot++;
@@ -22822,6 +22837,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
22822
22837
  ++getset;
22823
22838
  }
22824
22839
  }
22840
+ #endif // !CYTHON_COMPILING_IN_PYPY
22825
22841
  if (changed)
22826
22842
  PyType_Modified(type);
22827
22843
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -22926,6 +22942,13 @@ try_unpack:
22926
22942
 
22927
22943
  /* PyObjectCallMethod0 */
22928
22944
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
22945
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
22946
+ PyObject *args[1] = {obj};
22947
+ (void) __Pyx_PyObject_GetMethod;
22948
+ (void) __Pyx_PyObject_CallOneArg;
22949
+ (void) __Pyx_PyObject_CallNoArg;
22950
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
22951
+ #else
22929
22952
  PyObject *method = NULL, *result = NULL;
22930
22953
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
22931
22954
  if (likely(is_method)) {
@@ -22938,6 +22961,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
22938
22961
  Py_DECREF(method);
22939
22962
  bad:
22940
22963
  return result;
22964
+ #endif
22941
22965
  }
22942
22966
 
22943
22967
  /* ValidateBasesTuple */
@@ -23367,15 +23391,15 @@ __PYX_GOOD:
23367
23391
  }
23368
23392
 
23369
23393
  /* TypeImport */
23370
- #ifndef __PYX_HAVE_RT_ImportType_3_1_2
23371
- #define __PYX_HAVE_RT_ImportType_3_1_2
23372
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module_name, const char *class_name,
23373
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size)
23394
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_6
23395
+ #define __PYX_HAVE_RT_ImportType_3_1_6
23396
+ static PyTypeObject *__Pyx_ImportType_3_1_6(PyObject *module, const char *module_name, const char *class_name,
23397
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_6 check_size)
23374
23398
  {
23375
23399
  PyObject *result = 0;
23376
23400
  Py_ssize_t basicsize;
23377
23401
  Py_ssize_t itemsize;
23378
- #if CYTHON_COMPILING_IN_LIMITED_API
23402
+ #if defined(Py_LIMITED_API) || (defined(CYTHON_COMPILING_IN_LIMITED_API) && CYTHON_COMPILING_IN_LIMITED_API)
23379
23403
  PyObject *py_basicsize;
23380
23404
  PyObject *py_itemsize;
23381
23405
  #endif
@@ -23388,7 +23412,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
23388
23412
  module_name, class_name);
23389
23413
  goto bad;
23390
23414
  }
23391
- #if !CYTHON_COMPILING_IN_LIMITED_API
23415
+ #if !( defined(Py_LIMITED_API) || (defined(CYTHON_COMPILING_IN_LIMITED_API) && CYTHON_COMPILING_IN_LIMITED_API) )
23392
23416
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
23393
23417
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
23394
23418
  #else
@@ -23426,7 +23450,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
23426
23450
  module_name, class_name, size, basicsize+itemsize);
23427
23451
  goto bad;
23428
23452
  }
23429
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_2 &&
23453
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_6 &&
23430
23454
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
23431
23455
  PyErr_Format(PyExc_ValueError,
23432
23456
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -23434,7 +23458,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
23434
23458
  module_name, class_name, size, basicsize, basicsize+itemsize);
23435
23459
  goto bad;
23436
23460
  }
23437
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_2 && (size_t)basicsize > size) {
23461
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_6 && (size_t)basicsize > size) {
23438
23462
  if (PyErr_WarnFormat(NULL, 0,
23439
23463
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
23440
23464
  "Expected %zd from C header, got %zd from PyObject",
@@ -25350,6 +25374,17 @@ static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b) {
25350
25374
  static CYTHON_INLINE PyObject * __Pyx_PyLong_FromSize_t(size_t ival) {
25351
25375
  return PyLong_FromSize_t(ival);
25352
25376
  }
25377
+ #if CYTHON_USE_PYLONG_INTERNALS
25378
+ static CYTHON_INLINE int __Pyx_PyLong_CompactAsLong(PyObject *x, long *return_value) {
25379
+ if (unlikely(!__Pyx_PyLong_IsCompact(x)))
25380
+ return 0;
25381
+ Py_ssize_t value = __Pyx_PyLong_CompactValue(x);
25382
+ if ((sizeof(long) < sizeof(Py_ssize_t)) && unlikely(value != (long) value))
25383
+ return 0;
25384
+ *return_value = (long) value;
25385
+ return 1;
25386
+ }
25387
+ #endif
25353
25388
 
25354
25389
 
25355
25390
  /* MultiPhaseInitModuleState */
Binary file