obliquetree 1.0.3__cp310-cp310-win_amd64.whl → 1.0.4__cp310-cp310-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of obliquetree might be problematic. Click here for more details.
- obliquetree/__init__.py +1 -1
- obliquetree/src/base.cp310-win_amd64.pyd +0 -0
- obliquetree/src/base.cpp +371 -331
- obliquetree/src/ccp.cp310-win_amd64.pyd +0 -0
- obliquetree/src/ccp.cpp +109 -74
- obliquetree/src/metric.cp310-win_amd64.pyd +0 -0
- obliquetree/src/metric.cpp +263 -219
- obliquetree/src/oblique.cp310-win_amd64.pyd +0 -0
- obliquetree/src/oblique.cpp +377 -342
- obliquetree/src/tree.cp310-win_amd64.pyd +0 -0
- obliquetree/src/tree.cpp +609 -565
- obliquetree/src/utils.cp310-win_amd64.pyd +0 -0
- obliquetree/src/utils.cpp +160 -120
- {obliquetree-1.0.3.dist-info → obliquetree-1.0.4.dist-info}/METADATA +1 -1
- obliquetree-1.0.4.dist-info/RECORD +21 -0
- obliquetree-1.0.3.dist-info/RECORD +0 -21
- {obliquetree-1.0.3.dist-info → obliquetree-1.0.4.dist-info}/WHEEL +0 -0
- {obliquetree-1.0.3.dist-info → obliquetree-1.0.4.dist-info}/licenses/LICENSE +0 -0
- {obliquetree-1.0.3.dist-info → obliquetree-1.0.4.dist-info}/top_level.txt +0 -0
|
Binary file
|
obliquetree/src/ccp.cpp
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
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-
|
|
23
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\build-env-7rx1bwin\\lib\\site-packages\\numpy\\_core\\include"
|
|
24
24
|
],
|
|
25
25
|
"language": "c++",
|
|
26
26
|
"name": "obliquetree.src.ccp",
|
|
@@ -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)
|
|
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 "
|
|
50
|
-
#define CYTHON_HEX_VERSION
|
|
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
|
|
@@ -1318,6 +1329,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
|
|
|
1318
1329
|
typedef sdigit __Pyx_compact_pylong;
|
|
1319
1330
|
typedef digit __Pyx_compact_upylong;
|
|
1320
1331
|
#endif
|
|
1332
|
+
static CYTHON_INLINE int __Pyx_PyLong_CompactAsLong(PyObject *x, long *return_value);
|
|
1321
1333
|
#if PY_VERSION_HEX >= 0x030C00A5
|
|
1322
1334
|
#define __Pyx_PyLong_Digits(x) (((PyLongObject*)x)->long_value.ob_digit)
|
|
1323
1335
|
#else
|
|
@@ -2621,22 +2633,22 @@ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k);
|
|
|
2621
2633
|
static int __Pyx_setup_reduce(PyObject* type_obj);
|
|
2622
2634
|
|
|
2623
2635
|
/* TypeImport.proto */
|
|
2624
|
-
#ifndef
|
|
2625
|
-
#define
|
|
2636
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_6
|
|
2637
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_6
|
|
2626
2638
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2627
2639
|
#include <stdalign.h>
|
|
2628
2640
|
#endif
|
|
2629
2641
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2630
|
-
#define
|
|
2642
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_6(s) alignof(s)
|
|
2631
2643
|
#else
|
|
2632
|
-
#define
|
|
2644
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_6(s) sizeof(void*)
|
|
2633
2645
|
#endif
|
|
2634
|
-
enum
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2646
|
+
enum __Pyx_ImportType_CheckSize_3_1_6 {
|
|
2647
|
+
__Pyx_ImportType_CheckSize_Error_3_1_6 = 0,
|
|
2648
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_6 = 1,
|
|
2649
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_6 = 2
|
|
2638
2650
|
};
|
|
2639
|
-
static PyTypeObject *
|
|
2651
|
+
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);
|
|
2640
2652
|
#endif
|
|
2641
2653
|
|
|
2642
2654
|
/* CLineInTraceback.proto */
|
|
@@ -3429,7 +3441,7 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
|
|
|
3429
3441
|
default: goto __pyx_L5_argtuple_error;
|
|
3430
3442
|
}
|
|
3431
3443
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
3432
|
-
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)
|
|
3444
|
+
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)
|
|
3433
3445
|
if (!values[3]) values[3] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_n_u_c));
|
|
3434
3446
|
for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
|
|
3435
3447
|
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, i); __PYX_ERR(1, 129, __pyx_L3_error) }
|
|
@@ -5043,7 +5055,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
5043
5055
|
default: goto __pyx_L5_argtuple_error;
|
|
5044
5056
|
}
|
|
5045
5057
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
5046
|
-
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)
|
|
5058
|
+
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)
|
|
5047
5059
|
for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
|
|
5048
5060
|
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
|
|
5049
5061
|
}
|
|
@@ -5388,7 +5400,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
|
|
|
5388
5400
|
__pyx_t_4 = 0;
|
|
5389
5401
|
__pyx_t_4 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 273, __pyx_L1_error)
|
|
5390
5402
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5391
|
-
if (PyDict_SetItem(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_allocate_buffer, Py_False) < 0) __PYX_ERR(1, 273, __pyx_L1_error)
|
|
5403
|
+
if (PyDict_SetItem(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_allocate_buffer, Py_False) < (0)) __PYX_ERR(1, 273, __pyx_L1_error)
|
|
5392
5404
|
__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)
|
|
5393
5405
|
__Pyx_GOTREF((PyObject *)__pyx_t_3);
|
|
5394
5406
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
@@ -5483,7 +5495,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
5483
5495
|
default: goto __pyx_L5_argtuple_error;
|
|
5484
5496
|
}
|
|
5485
5497
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
5486
|
-
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)
|
|
5498
|
+
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)
|
|
5487
5499
|
for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
|
|
5488
5500
|
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, i); __PYX_ERR(1, 302, __pyx_L3_error) }
|
|
5489
5501
|
}
|
|
@@ -5920,7 +5932,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
5920
5932
|
default: goto __pyx_L5_argtuple_error;
|
|
5921
5933
|
}
|
|
5922
5934
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
5923
|
-
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)
|
|
5935
|
+
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)
|
|
5924
5936
|
for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
|
|
5925
5937
|
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 16, __pyx_L3_error) }
|
|
5926
5938
|
}
|
|
@@ -6045,7 +6057,7 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
|
|
|
6045
6057
|
default: goto __pyx_L5_argtuple_error;
|
|
6046
6058
|
}
|
|
6047
6059
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
6048
|
-
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)
|
|
6060
|
+
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)
|
|
6049
6061
|
for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
|
|
6050
6062
|
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, i); __PYX_ERR(1, 347, __pyx_L3_error) }
|
|
6051
6063
|
}
|
|
@@ -10362,7 +10374,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
10362
10374
|
default: goto __pyx_L5_argtuple_error;
|
|
10363
10375
|
}
|
|
10364
10376
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
10365
|
-
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)
|
|
10377
|
+
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)
|
|
10366
10378
|
for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
|
|
10367
10379
|
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
|
|
10368
10380
|
}
|
|
@@ -13249,7 +13261,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
13249
13261
|
default: goto __pyx_L5_argtuple_error;
|
|
13250
13262
|
}
|
|
13251
13263
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
13252
|
-
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)
|
|
13264
|
+
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)
|
|
13253
13265
|
for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
|
|
13254
13266
|
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
|
|
13255
13267
|
}
|
|
@@ -16408,7 +16420,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
16408
16420
|
default: goto __pyx_L5_argtuple_error;
|
|
16409
16421
|
}
|
|
16410
16422
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
16411
|
-
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)
|
|
16423
|
+
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)
|
|
16412
16424
|
for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
|
|
16413
16425
|
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, i); __PYX_ERR(1, 1, __pyx_L3_error) }
|
|
16414
16426
|
}
|
|
@@ -18603,35 +18615,35 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
18603
18615
|
#else
|
|
18604
18616
|
#warning "The buffer protocol is not supported in the Limited C-API < 3.11."
|
|
18605
18617
|
#endif
|
|
18606
|
-
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)
|
|
18618
|
+
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)
|
|
18607
18619
|
#else
|
|
18608
18620
|
__pyx_mstate->__pyx_array_type = &__pyx_type___pyx_array;
|
|
18609
18621
|
#endif
|
|
18610
18622
|
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
18611
18623
|
#endif
|
|
18612
18624
|
#if !CYTHON_USE_TYPE_SPECS
|
|
18613
|
-
if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_array_type) < 0) __PYX_ERR(1, 110, __pyx_L1_error)
|
|
18625
|
+
if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_array_type) < (0)) __PYX_ERR(1, 110, __pyx_L1_error)
|
|
18614
18626
|
#endif
|
|
18615
|
-
if (__Pyx_SetVtable(__pyx_mstate->__pyx_array_type, __pyx_vtabptr_array) < 0) __PYX_ERR(1, 110, __pyx_L1_error)
|
|
18616
|
-
if (__Pyx_MergeVtables(__pyx_mstate->__pyx_array_type) < 0) __PYX_ERR(1, 110, __pyx_L1_error)
|
|
18617
|
-
if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_array_type) < 0) __PYX_ERR(1, 110, __pyx_L1_error)
|
|
18627
|
+
if (__Pyx_SetVtable(__pyx_mstate->__pyx_array_type, __pyx_vtabptr_array) < (0)) __PYX_ERR(1, 110, __pyx_L1_error)
|
|
18628
|
+
if (__Pyx_MergeVtables(__pyx_mstate->__pyx_array_type) < (0)) __PYX_ERR(1, 110, __pyx_L1_error)
|
|
18629
|
+
if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_array_type) < (0)) __PYX_ERR(1, 110, __pyx_L1_error)
|
|
18618
18630
|
#if CYTHON_USE_TYPE_SPECS
|
|
18619
18631
|
__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)
|
|
18620
|
-
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)
|
|
18632
|
+
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)
|
|
18621
18633
|
#else
|
|
18622
18634
|
__pyx_mstate->__pyx_MemviewEnum_type = &__pyx_type___pyx_MemviewEnum;
|
|
18623
18635
|
#endif
|
|
18624
18636
|
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
18625
18637
|
#endif
|
|
18626
18638
|
#if !CYTHON_USE_TYPE_SPECS
|
|
18627
|
-
if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_MemviewEnum_type) < 0) __PYX_ERR(1, 299, __pyx_L1_error)
|
|
18639
|
+
if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_MemviewEnum_type) < (0)) __PYX_ERR(1, 299, __pyx_L1_error)
|
|
18628
18640
|
#endif
|
|
18629
18641
|
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
18630
18642
|
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)) {
|
|
18631
18643
|
__pyx_mstate->__pyx_MemviewEnum_type->tp_getattro = PyObject_GenericGetAttr;
|
|
18632
18644
|
}
|
|
18633
18645
|
#endif
|
|
18634
|
-
if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_MemviewEnum_type) < 0) __PYX_ERR(1, 299, __pyx_L1_error)
|
|
18646
|
+
if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_MemviewEnum_type) < (0)) __PYX_ERR(1, 299, __pyx_L1_error)
|
|
18635
18647
|
__pyx_vtabptr_memoryview = &__pyx_vtable_memoryview;
|
|
18636
18648
|
__pyx_vtable_memoryview.get_item_pointer = (char *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_get_item_pointer;
|
|
18637
18649
|
__pyx_vtable_memoryview.is_slice = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_is_slice;
|
|
@@ -18655,23 +18667,23 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
18655
18667
|
#else
|
|
18656
18668
|
#warning "The buffer protocol is not supported in the Limited C-API < 3.11."
|
|
18657
18669
|
#endif
|
|
18658
|
-
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)
|
|
18670
|
+
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)
|
|
18659
18671
|
#else
|
|
18660
18672
|
__pyx_mstate->__pyx_memoryview_type = &__pyx_type___pyx_memoryview;
|
|
18661
18673
|
#endif
|
|
18662
18674
|
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
18663
18675
|
#endif
|
|
18664
18676
|
#if !CYTHON_USE_TYPE_SPECS
|
|
18665
|
-
if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_memoryview_type) < 0) __PYX_ERR(1, 334, __pyx_L1_error)
|
|
18677
|
+
if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_memoryview_type) < (0)) __PYX_ERR(1, 334, __pyx_L1_error)
|
|
18666
18678
|
#endif
|
|
18667
18679
|
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
18668
18680
|
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)) {
|
|
18669
18681
|
__pyx_mstate->__pyx_memoryview_type->tp_getattro = PyObject_GenericGetAttr;
|
|
18670
18682
|
}
|
|
18671
18683
|
#endif
|
|
18672
|
-
if (__Pyx_SetVtable(__pyx_mstate->__pyx_memoryview_type, __pyx_vtabptr_memoryview) < 0) __PYX_ERR(1, 334, __pyx_L1_error)
|
|
18673
|
-
if (__Pyx_MergeVtables(__pyx_mstate->__pyx_memoryview_type) < 0) __PYX_ERR(1, 334, __pyx_L1_error)
|
|
18674
|
-
if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_memoryview_type) < 0) __PYX_ERR(1, 334, __pyx_L1_error)
|
|
18684
|
+
if (__Pyx_SetVtable(__pyx_mstate->__pyx_memoryview_type, __pyx_vtabptr_memoryview) < (0)) __PYX_ERR(1, 334, __pyx_L1_error)
|
|
18685
|
+
if (__Pyx_MergeVtables(__pyx_mstate->__pyx_memoryview_type) < (0)) __PYX_ERR(1, 334, __pyx_L1_error)
|
|
18686
|
+
if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_memoryview_type) < (0)) __PYX_ERR(1, 334, __pyx_L1_error)
|
|
18675
18687
|
__pyx_vtabptr__memoryviewslice = &__pyx_vtable__memoryviewslice;
|
|
18676
18688
|
__pyx_vtable__memoryviewslice.__pyx_base = *__pyx_vtabptr_memoryview;
|
|
18677
18689
|
__pyx_vtable__memoryviewslice.__pyx_base.convert_item_to_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *))__pyx_memoryviewslice_convert_item_to_object;
|
|
@@ -18683,7 +18695,7 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
18683
18695
|
__pyx_mstate->__pyx_memoryviewslice_type = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type___pyx_memoryviewslice_spec, __pyx_t_1);
|
|
18684
18696
|
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
18685
18697
|
if (unlikely(!__pyx_mstate->__pyx_memoryviewslice_type)) __PYX_ERR(1, 950, __pyx_L1_error)
|
|
18686
|
-
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)
|
|
18698
|
+
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)
|
|
18687
18699
|
#else
|
|
18688
18700
|
__pyx_mstate->__pyx_memoryviewslice_type = &__pyx_type___pyx_memoryviewslice;
|
|
18689
18701
|
#endif
|
|
@@ -18691,16 +18703,16 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
18691
18703
|
__pyx_mstate_global->__pyx_memoryviewslice_type->tp_base = __pyx_mstate_global->__pyx_memoryview_type;
|
|
18692
18704
|
#endif
|
|
18693
18705
|
#if !CYTHON_USE_TYPE_SPECS
|
|
18694
|
-
if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
|
|
18706
|
+
if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_memoryviewslice_type) < (0)) __PYX_ERR(1, 950, __pyx_L1_error)
|
|
18695
18707
|
#endif
|
|
18696
18708
|
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
18697
18709
|
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)) {
|
|
18698
18710
|
__pyx_mstate->__pyx_memoryviewslice_type->tp_getattro = PyObject_GenericGetAttr;
|
|
18699
18711
|
}
|
|
18700
18712
|
#endif
|
|
18701
|
-
if (__Pyx_SetVtable(__pyx_mstate->__pyx_memoryviewslice_type, __pyx_vtabptr__memoryviewslice) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
|
|
18702
|
-
if (__Pyx_MergeVtables(__pyx_mstate->__pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
|
|
18703
|
-
if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
|
|
18713
|
+
if (__Pyx_SetVtable(__pyx_mstate->__pyx_memoryviewslice_type, __pyx_vtabptr__memoryviewslice) < (0)) __PYX_ERR(1, 950, __pyx_L1_error)
|
|
18714
|
+
if (__Pyx_MergeVtables(__pyx_mstate->__pyx_memoryviewslice_type) < (0)) __PYX_ERR(1, 950, __pyx_L1_error)
|
|
18715
|
+
if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_memoryviewslice_type) < (0)) __PYX_ERR(1, 950, __pyx_L1_error)
|
|
18704
18716
|
__Pyx_RefNannyFinishContext();
|
|
18705
18717
|
return 0;
|
|
18706
18718
|
__pyx_L1_error:;
|
|
@@ -18720,15 +18732,15 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
18720
18732
|
/*--- Type import code ---*/
|
|
18721
18733
|
__pyx_t_1 = PyImport_ImportModule("obliquetree.src.base"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 4, __pyx_L1_error)
|
|
18722
18734
|
__Pyx_GOTREF(__pyx_t_1);
|
|
18723
|
-
__pyx_mstate->__pyx_ptype_11obliquetree_3src_4base_TreeClassifier =
|
|
18735
|
+
__pyx_mstate->__pyx_ptype_11obliquetree_3src_4base_TreeClassifier = __Pyx_ImportType_3_1_6(__pyx_t_1, "obliquetree.src.base", "TreeClassifier",
|
|
18724
18736
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
18725
|
-
sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
|
|
18737
|
+
sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_6(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
|
|
18726
18738
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
18727
|
-
sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
|
|
18739
|
+
sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_6(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
|
|
18728
18740
|
#else
|
|
18729
|
-
sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
|
|
18741
|
+
sizeof(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier), __PYX_GET_STRUCT_ALIGNMENT_3_1_6(struct __pyx_obj_11obliquetree_3src_4base_TreeClassifier),
|
|
18730
18742
|
#endif
|
|
18731
|
-
|
|
18743
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_6); if (!__pyx_mstate->__pyx_ptype_11obliquetree_3src_4base_TreeClassifier) __PYX_ERR(2, 4, __pyx_L1_error)
|
|
18732
18744
|
__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)
|
|
18733
18745
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
18734
18746
|
__Pyx_RefNannyFinishContext();
|
|
@@ -18992,7 +19004,7 @@ if (!__Pyx_RefNanny) {
|
|
|
18992
19004
|
#endif
|
|
18993
19005
|
|
|
18994
19006
|
__Pyx_RefNannySetupContext("PyInit_ccp", 0);
|
|
18995
|
-
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)
|
|
19007
|
+
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)
|
|
18996
19008
|
#ifdef __Pxy_PyFrame_Initialize_Offsets
|
|
18997
19009
|
__Pxy_PyFrame_Initialize_Offsets();
|
|
18998
19010
|
#endif
|
|
@@ -19000,30 +19012,30 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
|
|
|
19000
19012
|
__pyx_mstate->__pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_mstate->__pyx_empty_bytes)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19001
19013
|
__pyx_mstate->__pyx_empty_unicode = PyUnicode_FromStringAndSize("", 0); if (unlikely(!__pyx_mstate->__pyx_empty_unicode)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19002
19014
|
/*--- Initialize various global constants etc. ---*/
|
|
19003
|
-
if (__Pyx_InitConstants(__pyx_mstate) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19015
|
+
if (__Pyx_InitConstants(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19004
19016
|
stringtab_initialized = 1;
|
|
19005
|
-
if (__Pyx_InitGlobals() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19017
|
+
if (__Pyx_InitGlobals() < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19006
19018
|
#if 0 || defined(__Pyx_CyFunction_USED) || defined(__Pyx_FusedFunction_USED) || defined(__Pyx_Coroutine_USED) || defined(__Pyx_Generator_USED) || defined(__Pyx_AsyncGen_USED)
|
|
19007
|
-
if (__pyx_CommonTypesMetaclass_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19019
|
+
if (__pyx_CommonTypesMetaclass_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19008
19020
|
#endif
|
|
19009
19021
|
#ifdef __Pyx_CyFunction_USED
|
|
19010
|
-
if (__pyx_CyFunction_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19022
|
+
if (__pyx_CyFunction_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19011
19023
|
#endif
|
|
19012
19024
|
#ifdef __Pyx_FusedFunction_USED
|
|
19013
|
-
if (__pyx_FusedFunction_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19025
|
+
if (__pyx_FusedFunction_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19014
19026
|
#endif
|
|
19015
19027
|
#ifdef __Pyx_Coroutine_USED
|
|
19016
|
-
if (__pyx_Coroutine_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19028
|
+
if (__pyx_Coroutine_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19017
19029
|
#endif
|
|
19018
19030
|
#ifdef __Pyx_Generator_USED
|
|
19019
|
-
if (__pyx_Generator_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19031
|
+
if (__pyx_Generator_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19020
19032
|
#endif
|
|
19021
19033
|
#ifdef __Pyx_AsyncGen_USED
|
|
19022
|
-
if (__pyx_AsyncGen_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19034
|
+
if (__pyx_AsyncGen_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19023
19035
|
#endif
|
|
19024
19036
|
/*--- Library function declarations ---*/
|
|
19025
19037
|
if (__pyx_module_is_main_obliquetree__src__ccp) {
|
|
19026
|
-
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)
|
|
19038
|
+
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)
|
|
19027
19039
|
}
|
|
19028
19040
|
{
|
|
19029
19041
|
PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
@@ -19032,10 +19044,10 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
|
|
|
19032
19044
|
}
|
|
19033
19045
|
}
|
|
19034
19046
|
/*--- Builtin init code ---*/
|
|
19035
|
-
if (__Pyx_InitCachedBuiltins(__pyx_mstate) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19047
|
+
if (__Pyx_InitCachedBuiltins(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19036
19048
|
/*--- Constants init code ---*/
|
|
19037
|
-
if (__Pyx_InitCachedConstants(__pyx_mstate) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19038
|
-
if (__Pyx_CreateCodeObjects(__pyx_mstate) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19049
|
+
if (__Pyx_InitCachedConstants(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19050
|
+
if (__Pyx_CreateCodeObjects(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19039
19051
|
/*--- Global type/function init code ---*/
|
|
19040
19052
|
(void)__Pyx_modinit_global_init_code(__pyx_mstate);
|
|
19041
19053
|
(void)__Pyx_modinit_variable_export_code(__pyx_mstate);
|
|
@@ -19186,7 +19198,7 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
|
|
|
19186
19198
|
*/
|
|
19187
19199
|
__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)
|
|
19188
19200
|
__Pyx_GOTREF(__pyx_t_5);
|
|
19189
|
-
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)
|
|
19201
|
+
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)
|
|
19190
19202
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
19191
19203
|
|
|
19192
19204
|
/* "View.MemoryView":241
|
|
@@ -19198,7 +19210,7 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
|
|
|
19198
19210
|
*/
|
|
19199
19211
|
__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)
|
|
19200
19212
|
__Pyx_GOTREF(__pyx_t_5);
|
|
19201
|
-
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)
|
|
19213
|
+
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)
|
|
19202
19214
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
19203
19215
|
|
|
19204
19216
|
/* "View.MemoryView":239
|
|
@@ -19408,7 +19420,7 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
|
|
|
19408
19420
|
*/
|
|
19409
19421
|
__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)
|
|
19410
19422
|
__Pyx_GOTREF(__pyx_t_5);
|
|
19411
|
-
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)
|
|
19423
|
+
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)
|
|
19412
19424
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
19413
19425
|
|
|
19414
19426
|
/* "View.MemoryView":984
|
|
@@ -19420,7 +19432,7 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
|
|
|
19420
19432
|
*/
|
|
19421
19433
|
__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)
|
|
19422
19434
|
__Pyx_GOTREF(__pyx_t_5);
|
|
19423
|
-
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)
|
|
19435
|
+
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)
|
|
19424
19436
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
19425
19437
|
|
|
19426
19438
|
/* "View.MemoryView":982
|
|
@@ -19575,7 +19587,7 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
|
|
|
19575
19587
|
*/
|
|
19576
19588
|
__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)
|
|
19577
19589
|
__Pyx_GOTREF(__pyx_t_5);
|
|
19578
|
-
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)
|
|
19590
|
+
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)
|
|
19579
19591
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
19580
19592
|
|
|
19581
19593
|
/* "obliquetree/src/ccp.pyx":1
|
|
@@ -19585,7 +19597,7 @@ __Pyx_RefNannySetupContext("PyInit_ccp", 0);
|
|
|
19585
19597
|
*/
|
|
19586
19598
|
__pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
19587
19599
|
__Pyx_GOTREF(__pyx_t_5);
|
|
19588
|
-
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)
|
|
19600
|
+
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)
|
|
19589
19601
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
19590
19602
|
|
|
19591
19603
|
/*--- Wrapped vars code ---*/
|
|
@@ -19922,7 +19934,7 @@ __Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n)
|
|
|
19922
19934
|
res = PyTuple_New(n);
|
|
19923
19935
|
if (unlikely(res == NULL)) return NULL;
|
|
19924
19936
|
for (i = 0; i < n; i++) {
|
|
19925
|
-
if (unlikely(__Pyx_PyTuple_SET_ITEM(res, i, src[i]) < 0)) {
|
|
19937
|
+
if (unlikely(__Pyx_PyTuple_SET_ITEM(res, i, src[i]) < (0))) {
|
|
19926
19938
|
Py_DECREF(res);
|
|
19927
19939
|
return NULL;
|
|
19928
19940
|
}
|
|
@@ -22773,6 +22785,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
22773
22785
|
changed = 1;
|
|
22774
22786
|
}
|
|
22775
22787
|
#endif // CYTHON_METH_FASTCALL
|
|
22788
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
22776
22789
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
22777
22790
|
PyObject *descr;
|
|
22778
22791
|
assert(memb->type == T_OBJECT);
|
|
@@ -22787,11 +22800,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
22787
22800
|
}
|
|
22788
22801
|
changed = 1;
|
|
22789
22802
|
}
|
|
22803
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
22790
22804
|
}
|
|
22791
22805
|
memb++;
|
|
22792
22806
|
}
|
|
22793
22807
|
}
|
|
22794
22808
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
22809
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
22795
22810
|
slot = spec->slots;
|
|
22796
22811
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
22797
22812
|
slot++;
|
|
@@ -22823,6 +22838,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
22823
22838
|
++getset;
|
|
22824
22839
|
}
|
|
22825
22840
|
}
|
|
22841
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
22826
22842
|
if (changed)
|
|
22827
22843
|
PyType_Modified(type);
|
|
22828
22844
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -22927,6 +22943,13 @@ try_unpack:
|
|
|
22927
22943
|
|
|
22928
22944
|
/* PyObjectCallMethod0 */
|
|
22929
22945
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
22946
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
22947
|
+
PyObject *args[1] = {obj};
|
|
22948
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
22949
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
22950
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
22951
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
22952
|
+
#else
|
|
22930
22953
|
PyObject *method = NULL, *result = NULL;
|
|
22931
22954
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
22932
22955
|
if (likely(is_method)) {
|
|
@@ -22939,6 +22962,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
|
|
|
22939
22962
|
Py_DECREF(method);
|
|
22940
22963
|
bad:
|
|
22941
22964
|
return result;
|
|
22965
|
+
#endif
|
|
22942
22966
|
}
|
|
22943
22967
|
|
|
22944
22968
|
/* ValidateBasesTuple */
|
|
@@ -23368,15 +23392,15 @@ __PYX_GOOD:
|
|
|
23368
23392
|
}
|
|
23369
23393
|
|
|
23370
23394
|
/* TypeImport */
|
|
23371
|
-
#ifndef
|
|
23372
|
-
#define
|
|
23373
|
-
static PyTypeObject *
|
|
23374
|
-
size_t size, size_t alignment, enum
|
|
23395
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_6
|
|
23396
|
+
#define __PYX_HAVE_RT_ImportType_3_1_6
|
|
23397
|
+
static PyTypeObject *__Pyx_ImportType_3_1_6(PyObject *module, const char *module_name, const char *class_name,
|
|
23398
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_6 check_size)
|
|
23375
23399
|
{
|
|
23376
23400
|
PyObject *result = 0;
|
|
23377
23401
|
Py_ssize_t basicsize;
|
|
23378
23402
|
Py_ssize_t itemsize;
|
|
23379
|
-
#if CYTHON_COMPILING_IN_LIMITED_API
|
|
23403
|
+
#if defined(Py_LIMITED_API) || (defined(CYTHON_COMPILING_IN_LIMITED_API) && CYTHON_COMPILING_IN_LIMITED_API)
|
|
23380
23404
|
PyObject *py_basicsize;
|
|
23381
23405
|
PyObject *py_itemsize;
|
|
23382
23406
|
#endif
|
|
@@ -23389,7 +23413,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
23389
23413
|
module_name, class_name);
|
|
23390
23414
|
goto bad;
|
|
23391
23415
|
}
|
|
23392
|
-
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
23416
|
+
#if !( defined(Py_LIMITED_API) || (defined(CYTHON_COMPILING_IN_LIMITED_API) && CYTHON_COMPILING_IN_LIMITED_API) )
|
|
23393
23417
|
basicsize = ((PyTypeObject *)result)->tp_basicsize;
|
|
23394
23418
|
itemsize = ((PyTypeObject *)result)->tp_itemsize;
|
|
23395
23419
|
#else
|
|
@@ -23427,7 +23451,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
23427
23451
|
module_name, class_name, size, basicsize+itemsize);
|
|
23428
23452
|
goto bad;
|
|
23429
23453
|
}
|
|
23430
|
-
if (check_size ==
|
|
23454
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_6 &&
|
|
23431
23455
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
23432
23456
|
PyErr_Format(PyExc_ValueError,
|
|
23433
23457
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -23435,7 +23459,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
23435
23459
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
23436
23460
|
goto bad;
|
|
23437
23461
|
}
|
|
23438
|
-
else if (check_size ==
|
|
23462
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_6 && (size_t)basicsize > size) {
|
|
23439
23463
|
if (PyErr_WarnFormat(NULL, 0,
|
|
23440
23464
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
23441
23465
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -25351,6 +25375,17 @@ static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b) {
|
|
|
25351
25375
|
static CYTHON_INLINE PyObject * __Pyx_PyLong_FromSize_t(size_t ival) {
|
|
25352
25376
|
return PyLong_FromSize_t(ival);
|
|
25353
25377
|
}
|
|
25378
|
+
#if CYTHON_USE_PYLONG_INTERNALS
|
|
25379
|
+
static CYTHON_INLINE int __Pyx_PyLong_CompactAsLong(PyObject *x, long *return_value) {
|
|
25380
|
+
if (unlikely(!__Pyx_PyLong_IsCompact(x)))
|
|
25381
|
+
return 0;
|
|
25382
|
+
Py_ssize_t value = __Pyx_PyLong_CompactValue(x);
|
|
25383
|
+
if ((sizeof(long) < sizeof(Py_ssize_t)) && unlikely(value != (long) value))
|
|
25384
|
+
return 0;
|
|
25385
|
+
*return_value = (long) value;
|
|
25386
|
+
return 1;
|
|
25387
|
+
}
|
|
25388
|
+
#endif
|
|
25354
25389
|
|
|
25355
25390
|
|
|
25356
25391
|
/* MultiPhaseInitModuleState */
|
|
Binary file
|