ez-a-sync 0.32.26__cp313-cp313-musllinux_1_2_i686.whl → 0.32.28__cp313-cp313-musllinux_1_2_i686.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 ez-a-sync might be problematic. Click here for more details.
- a_sync/_smart.c +63 -43
- a_sync/_smart.cpython-313-i386-linux-musl.so +0 -0
- a_sync/a_sync/_descriptor.c +83 -63
- a_sync/a_sync/_descriptor.cpython-313-i386-linux-musl.so +0 -0
- a_sync/a_sync/_flags.c +13 -10
- a_sync/a_sync/_flags.cpython-313-i386-linux-musl.so +0 -0
- a_sync/a_sync/_helpers.c +76 -56
- a_sync/a_sync/_helpers.cpython-313-i386-linux-musl.so +0 -0
- a_sync/a_sync/_kwargs.c +45 -25
- a_sync/a_sync/_kwargs.cpython-313-i386-linux-musl.so +0 -0
- a_sync/a_sync/abstract.c +54 -24
- a_sync/a_sync/abstract.cpython-313-i386-linux-musl.so +0 -0
- a_sync/a_sync/abstract.pyi +2 -2
- a_sync/a_sync/base.c +186 -162
- a_sync/a_sync/base.cpython-313-i386-linux-musl.so +0 -0
- a_sync/a_sync/flags.c +13 -10
- a_sync/a_sync/flags.cpython-313-i386-linux-musl.so +0 -0
- a_sync/a_sync/function.c +106 -77
- a_sync/a_sync/function.cpython-313-i386-linux-musl.so +0 -0
- a_sync/a_sync/method.c +156 -124
- a_sync/a_sync/method.cpython-313-i386-linux-musl.so +0 -0
- a_sync/a_sync/method.pyi +2 -1
- a_sync/a_sync/modifiers/manager.c +60 -40
- a_sync/a_sync/modifiers/manager.cpython-313-i386-linux-musl.so +0 -0
- a_sync/a_sync/property.c +104 -78
- a_sync/a_sync/property.cpython-313-i386-linux-musl.so +0 -0
- a_sync/async_property/cached.c +66 -46
- a_sync/async_property/cached.cpython-313-i386-linux-musl.so +0 -0
- a_sync/async_property/proxy.c +36 -16
- a_sync/async_property/proxy.cpython-313-i386-linux-musl.so +0 -0
- a_sync/asyncio/as_completed.c +33 -13
- a_sync/asyncio/as_completed.cpython-313-i386-linux-musl.so +0 -0
- a_sync/asyncio/create_task.c +59 -21
- a_sync/asyncio/create_task.cpython-313-i386-linux-musl.so +0 -0
- a_sync/asyncio/gather.c +42 -22
- a_sync/asyncio/gather.cpython-313-i386-linux-musl.so +0 -0
- a_sync/asyncio/igather.c +42 -18
- a_sync/asyncio/igather.cpython-313-i386-linux-musl.so +0 -0
- a_sync/asyncio/sleep.c +24 -4
- a_sync/asyncio/sleep.cpython-313-i386-linux-musl.so +0 -0
- a_sync/debugging.c +52 -32
- a_sync/debugging.cpython-313-i386-linux-musl.so +0 -0
- a_sync/exceptions.c +36 -20
- a_sync/exceptions.cpython-313-i386-linux-musl.so +0 -0
- a_sync/executor.py +44 -0
- a_sync/functools.c +36 -16
- a_sync/functools.cpython-313-i386-linux-musl.so +0 -0
- a_sync/iter.c +168 -98
- a_sync/iter.cpython-313-i386-linux-musl.so +0 -0
- a_sync/primitives/_debug.c +61 -41
- a_sync/primitives/_debug.cpython-313-i386-linux-musl.so +0 -0
- a_sync/primitives/_loggable.c +40 -14
- a_sync/primitives/_loggable.cpython-313-i386-linux-musl.so +0 -0
- a_sync/primitives/locks/counter.c +98 -68
- a_sync/primitives/locks/counter.cpython-313-i386-linux-musl.so +0 -0
- a_sync/primitives/locks/event.c +70 -49
- a_sync/primitives/locks/event.cpython-313-i386-linux-musl.so +0 -0
- a_sync/primitives/locks/prio_semaphore.c +120 -80
- a_sync/primitives/locks/prio_semaphore.cpython-313-i386-linux-musl.so +0 -0
- a_sync/primitives/locks/prio_semaphore.pyi +2 -2
- a_sync/primitives/locks/semaphore.c +96 -69
- a_sync/primitives/locks/semaphore.cpython-313-i386-linux-musl.so +0 -0
- a_sync/primitives/locks/semaphore.pyi +10 -9
- a_sync/primitives/queue.py +5 -1
- a_sync/utils/repr.c +55 -35
- a_sync/utils/repr.cpython-313-i386-linux-musl.so +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/METADATA +1 -1
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/RECORD +71 -71
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/WHEEL +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/licenses/LICENSE.txt +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/top_level.txt +0 -0
a_sync/_smart.c
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.4 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -32,8 +32,8 @@ END: Cython Metadata */
|
|
|
32
32
|
#elif PY_VERSION_HEX < 0x03080000
|
|
33
33
|
#error Cython requires Python 3.8+.
|
|
34
34
|
#else
|
|
35
|
-
#define __PYX_ABI_VERSION "
|
|
36
|
-
#define CYTHON_HEX_VERSION
|
|
35
|
+
#define __PYX_ABI_VERSION "3_1_4"
|
|
36
|
+
#define CYTHON_HEX_VERSION 0x030104F0
|
|
37
37
|
#define CYTHON_FUTURE_DIVISION 1
|
|
38
38
|
/* CModulePreamble */
|
|
39
39
|
#include <stddef.h>
|
|
@@ -396,6 +396,9 @@ END: Cython Metadata */
|
|
|
396
396
|
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
|
|
397
397
|
#endif
|
|
398
398
|
#endif
|
|
399
|
+
#ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
|
|
400
|
+
#define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
|
|
401
|
+
#endif
|
|
399
402
|
#ifndef __has_attribute
|
|
400
403
|
#define __has_attribute(x) 0
|
|
401
404
|
#endif
|
|
@@ -2078,18 +2081,18 @@ static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *nam
|
|
|
2078
2081
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
2079
2082
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
2080
2083
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
2081
|
-
if (unlikely(!__pyx_frame_code))
|
|
2082
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2083
|
-
}
|
|
2084
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
2085
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2086
|
+
} else __pyx_frame_code = NULL;\
|
|
2084
2087
|
PyGILState_Release(state);\
|
|
2085
|
-
}
|
|
2088
|
+
} else __pyx_frame_code = NULL;\
|
|
2086
2089
|
} else {\
|
|
2087
2090
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
2088
2091
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
2089
2092
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
2090
|
-
if (unlikely(!__pyx_frame_code))
|
|
2091
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2092
|
-
}
|
|
2093
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
2094
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2095
|
+
} else __pyx_frame_code = NULL;\
|
|
2093
2096
|
}\
|
|
2094
2097
|
if (unlikely(ret == -1)) goto_error;\
|
|
2095
2098
|
}
|
|
@@ -2845,22 +2848,22 @@ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k);
|
|
|
2845
2848
|
static int __Pyx_setup_reduce(PyObject* type_obj);
|
|
2846
2849
|
|
|
2847
2850
|
/* TypeImport.proto */
|
|
2848
|
-
#ifndef
|
|
2849
|
-
#define
|
|
2851
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2852
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2850
2853
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2851
2854
|
#include <stdalign.h>
|
|
2852
2855
|
#endif
|
|
2853
2856
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2854
|
-
#define
|
|
2857
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
|
|
2855
2858
|
#else
|
|
2856
|
-
#define
|
|
2859
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
|
|
2857
2860
|
#endif
|
|
2858
|
-
enum
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2861
|
+
enum __Pyx_ImportType_CheckSize_3_1_4 {
|
|
2862
|
+
__Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
|
|
2863
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
|
|
2864
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
|
|
2862
2865
|
};
|
|
2863
|
-
static PyTypeObject *
|
|
2866
|
+
static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size);
|
|
2864
2867
|
#endif
|
|
2865
2868
|
|
|
2866
2869
|
/* ImportDottedModule.proto */
|
|
@@ -7801,9 +7804,9 @@ static PyObject *__pyx_gb_6a_sync_6_smart_11SmartFuture_8generator1(__pyx_Corout
|
|
|
7801
7804
|
__pyx_t_3 = __pyx_f_6a_sync_6_smart_current_task(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 341, __pyx_L1_error)
|
|
7802
7805
|
__Pyx_GOTREF(__pyx_t_3);
|
|
7803
7806
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
7807
|
+
__Pyx_INCREF(__pyx_t_3);
|
|
7804
7808
|
__Pyx_GIVEREF(__pyx_t_3);
|
|
7805
7809
|
__pyx_cur_scope->__pyx_v_task = __pyx_t_3;
|
|
7806
|
-
__Pyx_INCREF(__pyx_t_3);
|
|
7807
7810
|
__pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 341, __pyx_L1_error)
|
|
7808
7811
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
7809
7812
|
if (__pyx_t_1) {
|
|
@@ -7966,9 +7969,9 @@ static PyObject *__pyx_gb_6a_sync_6_smart_11SmartFuture_8generator1(__pyx_Corout
|
|
|
7966
7969
|
__Pyx_TraceLine(354,0,0,__PYX_ERR(0, 354, __pyx_L1_error))
|
|
7967
7970
|
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_cur_scope->__pyx_v_self, __pyx_mstate_global->__pyx_n_u_queue_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 354, __pyx_L1_error)
|
|
7968
7971
|
__Pyx_GOTREF(__pyx_t_3);
|
|
7972
|
+
__Pyx_INCREF(__pyx_t_3);
|
|
7969
7973
|
__Pyx_GIVEREF(__pyx_t_3);
|
|
7970
7974
|
__pyx_cur_scope->__pyx_v_queue = __pyx_t_3;
|
|
7971
|
-
__Pyx_INCREF(__pyx_t_3);
|
|
7972
7975
|
__pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 354, __pyx_L1_error)
|
|
7973
7976
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
7974
7977
|
if (__pyx_t_1) {
|
|
@@ -9115,9 +9118,9 @@ static PyObject *__pyx_gb_6a_sync_6_smart_9SmartTask_4generator2(__pyx_Coroutine
|
|
|
9115
9118
|
__pyx_t_3 = __pyx_f_6a_sync_6_smart_current_task(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 491, __pyx_L1_error)
|
|
9116
9119
|
__Pyx_GOTREF(__pyx_t_3);
|
|
9117
9120
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
9121
|
+
__Pyx_INCREF(__pyx_t_3);
|
|
9118
9122
|
__Pyx_GIVEREF(__pyx_t_3);
|
|
9119
9123
|
__pyx_cur_scope->__pyx_v_task = __pyx_t_3;
|
|
9120
|
-
__Pyx_INCREF(__pyx_t_3);
|
|
9121
9124
|
__pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 491, __pyx_L1_error)
|
|
9122
9125
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
9123
9126
|
if (__pyx_t_1) {
|
|
@@ -10130,8 +10133,8 @@ static PyObject *__pyx_f_6a_sync_6_smart_shield(PyObject *__pyx_v_arg, CYTHON_UN
|
|
|
10130
10133
|
__Pyx_TraceLine(632,26,0,__PYX_ERR(0, 632, __pyx_L1_error))
|
|
10131
10134
|
__pyx_t_1 = __Pyx_GetAttr3(__pyx_v_inner, __pyx_mstate_global->__pyx_n_u_waiters, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 632, __pyx_L1_error)
|
|
10132
10135
|
__Pyx_GOTREF(__pyx_t_1);
|
|
10133
|
-
__pyx_v_waiters = __pyx_t_1;
|
|
10134
10136
|
__Pyx_INCREF(__pyx_t_1);
|
|
10137
|
+
__pyx_v_waiters = __pyx_t_1;
|
|
10135
10138
|
__pyx_t_5 = (__pyx_t_1 != Py_None);
|
|
10136
10139
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
10137
10140
|
if (__pyx_t_5) {
|
|
@@ -12322,15 +12325,15 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
12322
12325
|
/*--- Type import code ---*/
|
|
12323
12326
|
__pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 9, __pyx_L1_error)
|
|
12324
12327
|
__Pyx_GOTREF(__pyx_t_1);
|
|
12325
|
-
__pyx_mstate->__pyx_ptype_7cpython_4type_type =
|
|
12328
|
+
__pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_1_4(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
|
|
12326
12329
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
12327
|
-
sizeof(PyTypeObject),
|
|
12330
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(PyTypeObject),
|
|
12328
12331
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
12329
12332
|
0, 0,
|
|
12330
12333
|
#else
|
|
12331
|
-
sizeof(PyHeapTypeObject),
|
|
12334
|
+
sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(PyHeapTypeObject),
|
|
12332
12335
|
#endif
|
|
12333
|
-
|
|
12336
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(2, 9, __pyx_L1_error)
|
|
12334
12337
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
12335
12338
|
__Pyx_RefNannyFinishContext();
|
|
12336
12339
|
return 0;
|
|
@@ -12647,7 +12650,7 @@ __Pyx_RefNannySetupContext("PyInit__smart", 0);
|
|
|
12647
12650
|
(void)__Pyx_modinit_variable_import_code(__pyx_mstate);
|
|
12648
12651
|
(void)__Pyx_modinit_function_import_code(__pyx_mstate);
|
|
12649
12652
|
/*--- Execution code ---*/
|
|
12650
|
-
__Pyx_TraceStartFunc("PyInit__smart", __pyx_f[0], 1,
|
|
12653
|
+
__Pyx_TraceStartFunc("PyInit__smart", __pyx_f[0], 1, 1, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
12651
12654
|
|
|
12652
12655
|
/* "cfunc.to_py":65
|
|
12653
12656
|
*
|
|
@@ -13344,7 +13347,7 @@ __Pyx_RefNannySetupContext("PyInit__smart", 0);
|
|
|
13344
13347
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
13345
13348
|
* def __setstate_cython__(self, __pyx_state):
|
|
13346
13349
|
*/
|
|
13347
|
-
__Pyx_TraceLine(1,
|
|
13350
|
+
__Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
13348
13351
|
__pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6_smart_7WeakSet_18__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_WeakSet___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync__smart, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[11])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
13349
13352
|
__Pyx_GOTREF(__pyx_t_5);
|
|
13350
13353
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -13855,12 +13858,12 @@ __Pyx_RefNannySetupContext("PyInit__smart", 0);
|
|
|
13855
13858
|
* This module defines smart future and task utilities for the a_sync library.
|
|
13856
13859
|
* These utilities provide enhanced functionality for managing asynchronous tasks and futures,
|
|
13857
13860
|
*/
|
|
13858
|
-
__Pyx_TraceLine(1,
|
|
13861
|
+
__Pyx_TraceLine(1,1,0,__PYX_ERR(0, 1, __pyx_L1_error))
|
|
13859
13862
|
__pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
13860
13863
|
__Pyx_GOTREF(__pyx_t_2);
|
|
13861
13864
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_2) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
13862
13865
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
13863
|
-
__Pyx_TraceReturnValue(Py_None,
|
|
13866
|
+
__Pyx_TraceReturnValue(Py_None, 1, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
13864
13867
|
__Pyx_PyMonitoring_ExitScope(0);
|
|
13865
13868
|
|
|
13866
13869
|
/*--- Wrapped vars code ---*/
|
|
@@ -13874,7 +13877,7 @@ __Pyx_RefNannySetupContext("PyInit__smart", 0);
|
|
|
13874
13877
|
__Pyx_XDECREF(__pyx_t_8);
|
|
13875
13878
|
__Pyx_XDECREF(__pyx_t_9);
|
|
13876
13879
|
__Pyx_TraceException(__pyx_lineno, 0, 0);
|
|
13877
|
-
__Pyx_TraceExceptionUnwind(
|
|
13880
|
+
__Pyx_TraceExceptionUnwind(1, 0);
|
|
13878
13881
|
if (__pyx_m) {
|
|
13879
13882
|
if (__pyx_mstate->__pyx_d && stringtab_initialized) {
|
|
13880
13883
|
__Pyx_AddTraceback("init a_sync._smart", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
@@ -15904,6 +15907,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
15904
15907
|
changed = 1;
|
|
15905
15908
|
}
|
|
15906
15909
|
#endif // CYTHON_METH_FASTCALL
|
|
15910
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
15907
15911
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
15908
15912
|
PyObject *descr;
|
|
15909
15913
|
assert(memb->type == T_OBJECT);
|
|
@@ -15918,11 +15922,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
15918
15922
|
}
|
|
15919
15923
|
changed = 1;
|
|
15920
15924
|
}
|
|
15925
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
15921
15926
|
}
|
|
15922
15927
|
memb++;
|
|
15923
15928
|
}
|
|
15924
15929
|
}
|
|
15925
15930
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
15931
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
15926
15932
|
slot = spec->slots;
|
|
15927
15933
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
15928
15934
|
slot++;
|
|
@@ -15954,6 +15960,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
15954
15960
|
++getset;
|
|
15955
15961
|
}
|
|
15956
15962
|
}
|
|
15963
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
15957
15964
|
if (changed)
|
|
15958
15965
|
PyType_Modified(type);
|
|
15959
15966
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -16086,7 +16093,7 @@ bad:
|
|
|
16086
16093
|
}
|
|
16087
16094
|
|
|
16088
16095
|
/* CommonTypesMetaclass */
|
|
16089
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
16096
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
16090
16097
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
16091
16098
|
}
|
|
16092
16099
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -16115,6 +16122,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
16115
16122
|
return -1;
|
|
16116
16123
|
}
|
|
16117
16124
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
16125
|
+
Py_DECREF(bases);
|
|
16118
16126
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
16119
16127
|
return -1;
|
|
16120
16128
|
}
|
|
@@ -17956,6 +17964,13 @@ try_unpack:
|
|
|
17956
17964
|
|
|
17957
17965
|
/* PyObjectCallMethod0 */
|
|
17958
17966
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
17967
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
17968
|
+
PyObject *args[1] = {obj};
|
|
17969
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
17970
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
17971
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
17972
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
17973
|
+
#else
|
|
17959
17974
|
PyObject *method = NULL, *result = NULL;
|
|
17960
17975
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
17961
17976
|
if (likely(is_method)) {
|
|
@@ -17968,6 +17983,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
|
|
|
17968
17983
|
Py_DECREF(method);
|
|
17969
17984
|
bad:
|
|
17970
17985
|
return result;
|
|
17986
|
+
#endif
|
|
17971
17987
|
}
|
|
17972
17988
|
|
|
17973
17989
|
/* RaiseNeedMoreValuesToUnpack */
|
|
@@ -19248,15 +19264,15 @@ __PYX_GOOD:
|
|
|
19248
19264
|
}
|
|
19249
19265
|
|
|
19250
19266
|
/* TypeImport */
|
|
19251
|
-
#ifndef
|
|
19252
|
-
#define
|
|
19253
|
-
static PyTypeObject *
|
|
19254
|
-
size_t size, size_t alignment, enum
|
|
19267
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_4
|
|
19268
|
+
#define __PYX_HAVE_RT_ImportType_3_1_4
|
|
19269
|
+
static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
|
|
19270
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
|
|
19255
19271
|
{
|
|
19256
19272
|
PyObject *result = 0;
|
|
19257
19273
|
Py_ssize_t basicsize;
|
|
19258
19274
|
Py_ssize_t itemsize;
|
|
19259
|
-
#
|
|
19275
|
+
#ifdef Py_LIMITED_API
|
|
19260
19276
|
PyObject *py_basicsize;
|
|
19261
19277
|
PyObject *py_itemsize;
|
|
19262
19278
|
#endif
|
|
@@ -19269,7 +19285,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
19269
19285
|
module_name, class_name);
|
|
19270
19286
|
goto bad;
|
|
19271
19287
|
}
|
|
19272
|
-
#
|
|
19288
|
+
#ifndef Py_LIMITED_API
|
|
19273
19289
|
basicsize = ((PyTypeObject *)result)->tp_basicsize;
|
|
19274
19290
|
itemsize = ((PyTypeObject *)result)->tp_itemsize;
|
|
19275
19291
|
#else
|
|
@@ -19307,7 +19323,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
19307
19323
|
module_name, class_name, size, basicsize+itemsize);
|
|
19308
19324
|
goto bad;
|
|
19309
19325
|
}
|
|
19310
|
-
if (check_size ==
|
|
19326
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
|
|
19311
19327
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
19312
19328
|
PyErr_Format(PyExc_ValueError,
|
|
19313
19329
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -19315,7 +19331,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
19315
19331
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
19316
19332
|
goto bad;
|
|
19317
19333
|
}
|
|
19318
|
-
else if (check_size ==
|
|
19334
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
|
|
19319
19335
|
if (PyErr_WarnFormat(NULL, 0,
|
|
19320
19336
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
19321
19337
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -20973,7 +20989,7 @@ static CYTHON_INLINE PyObject *__Pyx_PyIter_Next_Plain(PyObject *iterator) {
|
|
|
20973
20989
|
}
|
|
20974
20990
|
|
|
20975
20991
|
/* PyObjectCallMethod1 */
|
|
20976
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
20992
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
20977
20993
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
20978
20994
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
20979
20995
|
Py_DECREF(method);
|
|
@@ -20981,7 +20997,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
20981
20997
|
}
|
|
20982
20998
|
#endif
|
|
20983
20999
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
20984
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
21000
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
20985
21001
|
PyObject *args[2] = {obj, arg};
|
|
20986
21002
|
(void) __Pyx_PyObject_GetMethod;
|
|
20987
21003
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -22242,6 +22258,10 @@ bad:
|
|
|
22242
22258
|
PyCode_NewWithPosOnlyArgs
|
|
22243
22259
|
#endif
|
|
22244
22260
|
(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
|
|
22261
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
|
|
22262
|
+
if (likely(result))
|
|
22263
|
+
result->_co_firsttraceable = 0;
|
|
22264
|
+
#endif
|
|
22245
22265
|
return result;
|
|
22246
22266
|
}
|
|
22247
22267
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|