ez-a-sync 0.32.26__cp310-cp310-musllinux_1_2_i686.whl → 0.32.28__cp310-cp310-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-310-i386-linux-gnu.so +0 -0
- a_sync/a_sync/_descriptor.c +83 -63
- a_sync/a_sync/_descriptor.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/a_sync/_flags.c +13 -10
- a_sync/a_sync/_flags.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/a_sync/_helpers.c +76 -56
- a_sync/a_sync/_helpers.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/a_sync/_kwargs.c +45 -25
- a_sync/a_sync/_kwargs.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/a_sync/abstract.c +54 -24
- a_sync/a_sync/abstract.cpython-310-i386-linux-gnu.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-310-i386-linux-gnu.so +0 -0
- a_sync/a_sync/flags.c +13 -10
- a_sync/a_sync/flags.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/a_sync/function.c +106 -77
- a_sync/a_sync/function.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/a_sync/method.c +152 -120
- a_sync/a_sync/method.cpython-310-i386-linux-gnu.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-310-i386-linux-gnu.so +0 -0
- a_sync/a_sync/property.c +104 -78
- a_sync/a_sync/property.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/async_property/cached.c +66 -46
- a_sync/async_property/cached.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/async_property/proxy.c +36 -16
- a_sync/async_property/proxy.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/asyncio/as_completed.c +33 -13
- a_sync/asyncio/as_completed.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/asyncio/create_task.c +59 -21
- a_sync/asyncio/create_task.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/asyncio/gather.c +42 -22
- a_sync/asyncio/gather.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/asyncio/igather.c +42 -18
- a_sync/asyncio/igather.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/asyncio/sleep.c +24 -4
- a_sync/asyncio/sleep.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/debugging.c +52 -32
- a_sync/debugging.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/exceptions.c +36 -20
- a_sync/exceptions.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/executor.py +44 -0
- a_sync/functools.c +36 -16
- a_sync/functools.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/iter.c +166 -96
- a_sync/iter.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/primitives/_debug.c +61 -41
- a_sync/primitives/_debug.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/primitives/_loggable.c +40 -14
- a_sync/primitives/_loggable.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/primitives/locks/counter.c +93 -63
- a_sync/primitives/locks/counter.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/primitives/locks/event.c +70 -49
- a_sync/primitives/locks/event.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/primitives/locks/prio_semaphore.c +120 -80
- a_sync/primitives/locks/prio_semaphore.cpython-310-i386-linux-gnu.so +0 -0
- a_sync/primitives/locks/prio_semaphore.pyi +2 -2
- a_sync/primitives/locks/semaphore.c +91 -64
- a_sync/primitives/locks/semaphore.cpython-310-i386-linux-gnu.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-310-i386-linux-gnu.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/a_sync/method.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
|
|
@@ -2035,18 +2038,18 @@ static PyObject *__Pyx_GetBuiltinName(PyObject *name);
|
|
|
2035
2038
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
2036
2039
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
2037
2040
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
2038
|
-
if (unlikely(!__pyx_frame_code))
|
|
2039
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2040
|
-
}
|
|
2041
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
2042
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2043
|
+
} else __pyx_frame_code = NULL;\
|
|
2041
2044
|
PyGILState_Release(state);\
|
|
2042
|
-
}
|
|
2045
|
+
} else __pyx_frame_code = NULL;\
|
|
2043
2046
|
} else {\
|
|
2044
2047
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
2045
2048
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
2046
2049
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
2047
|
-
if (unlikely(!__pyx_frame_code))
|
|
2048
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2049
|
-
}
|
|
2050
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
2051
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2052
|
+
} else __pyx_frame_code = NULL;\
|
|
2050
2053
|
}\
|
|
2051
2054
|
if (unlikely(ret == -1)) goto_error;\
|
|
2052
2055
|
}
|
|
@@ -2993,22 +2996,22 @@ static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, trav
|
|
|
2993
2996
|
static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear);
|
|
2994
2997
|
|
|
2995
2998
|
/* TypeImport.proto */
|
|
2996
|
-
#ifndef
|
|
2997
|
-
#define
|
|
2999
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
3000
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2998
3001
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2999
3002
|
#include <stdalign.h>
|
|
3000
3003
|
#endif
|
|
3001
3004
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
3002
|
-
#define
|
|
3005
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
|
|
3003
3006
|
#else
|
|
3004
|
-
#define
|
|
3007
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
|
|
3005
3008
|
#endif
|
|
3006
|
-
enum
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3009
|
+
enum __Pyx_ImportType_CheckSize_3_1_4 {
|
|
3010
|
+
__Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
|
|
3011
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
|
|
3012
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
|
|
3010
3013
|
};
|
|
3011
|
-
static PyTypeObject *
|
|
3014
|
+
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);
|
|
3012
3015
|
#endif
|
|
3013
3016
|
|
|
3014
3017
|
/* GetVTable.proto */
|
|
@@ -3284,7 +3287,7 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
|
|
|
3284
3287
|
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);
|
|
3285
3288
|
|
|
3286
3289
|
/* FunctionImport.proto */
|
|
3287
|
-
static int
|
|
3290
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
|
|
3288
3291
|
|
|
3289
3292
|
/* MultiPhaseInitModuleState.proto */
|
|
3290
3293
|
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
|
|
@@ -3681,7 +3684,7 @@ static const char __pyx_k_Prevent_setting_the_descriptor[] = "\n Prevent
|
|
|
3681
3684
|
static const char __pyx_k_Q_c_1A_q_GvVST_iq_d_U_RS_4_1_6[] = "\320\004=\270Q\360$\000\t\014\210;\220c\320\031+\2501\250A\330\014\027\220q\230\007\320\037G\300v\310V\320ST\360\006\000\t\022\220\027\230\016\240i\250q\260\006\260d\270+\300U\310(\320RS\330\010\013\2104\210{\230!\2301\360\006\000\r\016\330\r\032\230!\2306\240\021\340\014\017\210q\330\020\033\2301\330\024\033\320\033F\300f\310F\320RX\320XY\340\014\025\220V\2301\230A\330\010\013\2101\330\014\027\220q\330\020\027\320\027C\3008\3106\320QW\320WX\340\010\017\210q";
|
|
3682
3685
|
static const char __pyx_k_Return_a_string_representation[] = "\n Return a string representation of the bound method.\n\n Examples:\n >>> bound_method = ASyncBoundMethod(instance, my_function, True)\n >>> repr(bound_method)\n '<ASyncBoundMethod for function module.ClassName.method_name bound to instance>'\n ";
|
|
3683
3686
|
static const char __pyx_k_calling_s_with_args_s_kwargs_s[] = "calling %s with args: %s kwargs: %s";
|
|
3684
|
-
static const char __pyx_k_hk_A_1_S_S_U_U_V_HAQ_7_314H_VW[] = "\200\001\360\006\000\005\010\200
|
|
3687
|
+
static const char __pyx_k_hk_A_1_S_S_U_U_V_HAQ_7_314H_VW[] = "\200\001\360\006\000\005\010\200\177\220h\230k\250\033\260A\330\010\r\210^\2301\330\010\016\320\016!\360\000\000\"S\007\360\000\000S\007U\007\360\000\000U\007V\007\330\004\023\320\023$\240H\250A\250Q\330\004\007\200|\2207\230!\330\0103\2601\3204H\310\016\320VW\330\004\013\2101";
|
|
3685
3688
|
static const char __pyx_k_pyx_unpickle__ASyncBoundMethod[] = "__pyx_unpickle__ASyncBoundMethod";
|
|
3686
3689
|
static const char __pyx_k_ASyncBoundMethodSyncDefault_I_P[] = "'ASyncBoundMethodSyncDefault[I, P, T]'";
|
|
3687
3690
|
static const char __pyx_k_ASyncBoundMethod___cancel_cache[] = "ASyncBoundMethod.__cancel_cache_handle";
|
|
@@ -3733,7 +3736,7 @@ static const char __pyx_k_ASyncMethodDescriptor___set___li[] = "ASyncMethodDescr
|
|
|
3733
3736
|
static const char __pyx_k_A_1_9Cq_1_d_M_0_nD0ET_ST_31_1L_q[] = "\200A\330';\2701\330\t\n\360\030\000\t\014\2109\220C\220q\330\014\023\2201\360\006\000\t\037\230d\240!\330\010\"\240(\250!\340\010\t\330\014\024\220M\240\021\240!\330\017\020\330\014\024\320\0240\260\001\330\020\032\230$\230n\250D\3200E\300T\310\032\320ST\340\014\031\230\021\230.\250\001\330\014\031\230\021\320\0323\2601\330\010\033\2301\230L\250\n\260!\330\010\017\210q";
|
|
3734
3737
|
static const char __pyx_k_A_1_9Cq_1_d_M_y_1_L_xs_31_d_4I_Z[] = "\200A\330';\2701\330\t\n\360\030\000\t\014\2109\220C\220q\330\014\023\2201\340\010\036\230d\240!\330\010\"\240(\250!\340\010\t\330\014\024\220M\240\021\240!\330\017\020\330\014\017\210y\230\003\2301\330\020 \240\001\340\014$\240L\260\001\260\021\330\014\017\210x\220s\230!\330\020\030\320\0303\2601\330\024\036\230d\240.\260\004\3204I\310\024\310Z\320WX\340\021\031\230\023\230A\330\020\030\320\0304\260A\330\024\036\230d\240.\260\004\3204I\310\024\310Z\320WX\340\021\033\2301\230J\240a\330\020\021\330\024\027\220x\230q\330\030 \320 ;\2701\330\034\035\330\034 \240\001\330\034 \240\001\330\036\"\240*\250A\360\006\000\031!\320 <\270A\330\034\035\330\034 \240\001\330\034 \240\001\330\036\"\240*\250A\340\027\030\330\024\034\320\034,\250A\330\030\031\330\030\034\230A\330\030\034\230A\330\032\036\230j\250\001\360\006\000\021\031\320\030(\250\001\330\024\036\230d\240.\260\004\3204I\310\024\310Z\320WX\340\014\031\230\021\230.\250\001\330\014\031\230\021\320\0323\2601\330\010\033\2301\230L\250\n\260!\330\010\017\210q";
|
|
3735
3738
|
static const char __pyx_k_A_4G1_9Cq_1_d_M_q_nD0ET_ST_31_1L[] = "\200A\330'4\260G\2701\330\t\n\360\034\000\t\014\2109\220C\220q\330\014\023\2201\340\010\036\230d\240!\330\010\"\240(\250!\340\010\t\330\014\024\220M\240\021\240!\330\017\020\330\014\024\320\024/\250q\330\020\032\230$\230n\250D\3200E\300T\310\032\320ST\340\014\031\230\021\230.\250\001\330\014\031\230\021\320\0323\2601\330\010\033\2301\230L\250\n\260!\330\010\017\210q";
|
|
3736
|
-
static const char __pyx_k_A_Q_4q_Q_H_4A_UV_Qiq_WB_6hj_xq_i[] = "\200A\340\022\023\330\021\022\360\006\000\n\013\360.\000\t\r\320\014\035\230Q\360\010\000\t\034\2304\230q\340\010\014\320\014%\240Q\330\010\014\320\014\034\230H\320$4\260A\260[\300\n\310+\320UV\360\006\000\t\014\210:\220Q\220i\230q\330\r\023\220:\230W\240B\320&6\260h\270j\310\001\330\014\027\320\027'\240x\250q\340\010\026\220i\230q\240\006\240i\250
|
|
3739
|
+
static const char __pyx_k_A_Q_4q_Q_H_4A_UV_Qiq_WB_6hj_xq_i[] = "\200A\340\022\023\330\021\022\360\006\000\n\013\360.\000\t\r\320\014\035\230Q\360\010\000\t\034\2304\230q\340\010\014\320\014%\240Q\330\010\014\320\014\034\230H\320$4\260A\260[\300\n\310+\320UV\360\006\000\t\014\210:\220Q\220i\230q\330\r\023\220:\230W\240B\320&6\260h\270j\310\001\330\014\027\320\027'\240x\250q\340\010\026\220i\230q\240\006\240i\250\177\270h\300f\310A\330\010\014\320\014\035\230Q\330\010\t\330\010\026\220a\220v\230Q";
|
|
3737
3740
|
static const char __pyx_k_Incompatible_checksums_0x_x_vs_0[] = "Incompatible checksums (0x%x vs (0x4cfb6d9, 0x052db90, 0xd78444b) = (_ASyncFunction__async_def, _ASyncFunction__async_def_cached, _ASyncFunction__async_wrap, _ASyncFunction__asyncified, _ASyncFunction__modified_fn, _ASyncFunction__sync_default, _ASyncFunction__sync_default_cached, _ASyncFunction__sync_wrap, _ModifiedMixin__await, _ModifiedMixin__default, __weakself__, __wrapped__, _cache_handle, _fn, _is_async_def, modifiers))";
|
|
3738
3741
|
static const char __pyx_k_Note_that_Cython_is_deliberately[] = "Note that Cython is deliberately stricter than PEP-484 and rejects subclasses of builtin types. If you need to pass subclasses then set the 'annotation_typing' directive to False.";
|
|
3739
3742
|
static const char __pyx_k_awaiting_s_for_instance_s_args_s[] = "awaiting %s for instance: %s args: %s kwargs: %s";
|
|
@@ -6749,8 +6752,8 @@ static void __pyx_f_6a_sync_6a_sync_6method__update_cache_timer(PyObject *__pyx_
|
|
|
6749
6752
|
__Pyx_TraceLine(285,5,0,__PYX_ERR(0, 285, __pyx_L1_error))
|
|
6750
6753
|
__pyx_t_1 = __pyx_v_bound->_cache_handle;
|
|
6751
6754
|
__Pyx_INCREF(__pyx_t_1);
|
|
6752
|
-
__pyx_v_handle = __pyx_t_1;
|
|
6753
6755
|
__Pyx_INCREF(__pyx_t_1);
|
|
6756
|
+
__pyx_v_handle = __pyx_t_1;
|
|
6754
6757
|
__pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 285, __pyx_L1_error)
|
|
6755
6758
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
6756
6759
|
if (__pyx_t_2) {
|
|
@@ -8712,8 +8715,14 @@ static int __pyx_f_6a_sync_6a_sync_6method__should_await(struct __pyx_obj_6a_syn
|
|
|
8712
8715
|
* elif default := self.get_default():
|
|
8713
8716
|
*/
|
|
8714
8717
|
__Pyx_TraceLine(506,7,0,__PYX_ERR(0, 506, __pyx_L1_error))
|
|
8715
|
-
|
|
8716
|
-
|
|
8718
|
+
if (__pyx_v_flag == Py_None) __pyx_t_2 = 0;
|
|
8719
|
+
else
|
|
8720
|
+
{
|
|
8721
|
+
Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_flag);
|
|
8722
|
+
if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 506, __pyx_L1_error)
|
|
8723
|
+
__pyx_t_2 = (__pyx_temp != 0);
|
|
8724
|
+
}
|
|
8725
|
+
|
|
8717
8726
|
if (__pyx_t_2) {
|
|
8718
8727
|
|
|
8719
8728
|
/* "a_sync/a_sync/method.pyx":507
|
|
@@ -8748,10 +8757,16 @@ static int __pyx_f_6a_sync_6a_sync_6method__should_await(struct __pyx_obj_6a_syn
|
|
|
8748
8757
|
__Pyx_TraceLine(508,18,0,__PYX_ERR(0, 508, __pyx_L1_error))
|
|
8749
8758
|
__pyx_t_1 = ((struct __pyx_vtabstruct_6a_sync_6a_sync_6method__ASyncBoundMethod *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.get_default(((struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin *)__pyx_v_self)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 508, __pyx_L1_error)
|
|
8750
8759
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8751
|
-
__pyx_v_default = ((PyObject*)__pyx_t_1);
|
|
8752
8760
|
__Pyx_INCREF(__pyx_t_1);
|
|
8753
|
-
|
|
8754
|
-
if (
|
|
8761
|
+
__pyx_v_default = ((PyObject*)__pyx_t_1);
|
|
8762
|
+
if (__pyx_t_1 == Py_None) __pyx_t_2 = 0;
|
|
8763
|
+
else
|
|
8764
|
+
{
|
|
8765
|
+
Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_t_1);
|
|
8766
|
+
if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 508, __pyx_L1_error)
|
|
8767
|
+
__pyx_t_2 = (__pyx_temp != 0);
|
|
8768
|
+
}
|
|
8769
|
+
|
|
8755
8770
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8756
8771
|
if (__pyx_t_2) {
|
|
8757
8772
|
|
|
@@ -8787,8 +8802,8 @@ static int __pyx_f_6a_sync_6a_sync_6method__should_await(struct __pyx_obj_6a_syn
|
|
|
8787
8802
|
__Pyx_TraceLine(510,29,0,__PYX_ERR(0, 510, __pyx_L1_error))
|
|
8788
8803
|
__pyx_t_1 = ((struct __pyx_vtabstruct_6a_sync_6a_sync_6method__ASyncBoundMethod *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx___c_self__(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 510, __pyx_L1_error)
|
|
8789
8804
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8790
|
-
__pyx_v_instance = __pyx_t_1;
|
|
8791
8805
|
__Pyx_INCREF(__pyx_t_1);
|
|
8806
|
+
__pyx_v_instance = __pyx_t_1;
|
|
8792
8807
|
__pyx_t_3 = __pyx_t_1;
|
|
8793
8808
|
__Pyx_INCREF(__pyx_t_3);
|
|
8794
8809
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
@@ -9613,8 +9628,8 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_6method_17_ASyncBoundMethod_4__call__(
|
|
|
9613
9628
|
PyObject *__pyx_t_3 = NULL;
|
|
9614
9629
|
size_t __pyx_t_4;
|
|
9615
9630
|
int __pyx_t_5;
|
|
9616
|
-
|
|
9617
|
-
|
|
9631
|
+
int __pyx_t_6;
|
|
9632
|
+
PyObject *__pyx_t_7 = NULL;
|
|
9618
9633
|
int __pyx_lineno = 0;
|
|
9619
9634
|
const char *__pyx_filename = NULL;
|
|
9620
9635
|
int __pyx_clineno = 0;
|
|
@@ -9654,10 +9669,10 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_6method_17_ASyncBoundMethod_4__call__(
|
|
|
9654
9669
|
__Pyx_GOTREF(__pyx_t_1);
|
|
9655
9670
|
}
|
|
9656
9671
|
__pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 639, __pyx_L1_error)
|
|
9657
|
-
__pyx_v_debug_logs = __pyx_t_5;
|
|
9658
|
-
__pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 639, __pyx_L1_error)
|
|
9659
9672
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
9660
|
-
|
|
9673
|
+
__pyx_v_debug_logs = __pyx_t_5;
|
|
9674
|
+
__pyx_t_6 = __pyx_t_5;
|
|
9675
|
+
if (__pyx_t_6) {
|
|
9661
9676
|
|
|
9662
9677
|
/* "a_sync/a_sync/method.pyx":640
|
|
9663
9678
|
* cdef bint debug_logs
|
|
@@ -9670,17 +9685,17 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_6method_17_ASyncBoundMethod_4__call__(
|
|
|
9670
9685
|
__pyx_t_3 = NULL;
|
|
9671
9686
|
__Pyx_INCREF(__pyx_v_6a_sync_6a_sync_6method__logger_log);
|
|
9672
9687
|
__pyx_t_2 = __pyx_v_6a_sync_6a_sync_6method__logger_log;
|
|
9673
|
-
|
|
9674
|
-
__Pyx_GOTREF(
|
|
9688
|
+
__pyx_t_7 = PyTuple_New(3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 640, __pyx_L1_error)
|
|
9689
|
+
__Pyx_GOTREF(__pyx_t_7);
|
|
9675
9690
|
__Pyx_INCREF((PyObject *)__pyx_v_self);
|
|
9676
9691
|
__Pyx_GIVEREF((PyObject *)__pyx_v_self);
|
|
9677
|
-
if (__Pyx_PyTuple_SET_ITEM(
|
|
9692
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, ((PyObject *)__pyx_v_self)) != (0)) __PYX_ERR(0, 640, __pyx_L1_error);
|
|
9678
9693
|
__Pyx_INCREF(__pyx_v_args);
|
|
9679
9694
|
__Pyx_GIVEREF(__pyx_v_args);
|
|
9680
|
-
if (__Pyx_PyTuple_SET_ITEM(
|
|
9695
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_v_args) != (0)) __PYX_ERR(0, 640, __pyx_L1_error);
|
|
9681
9696
|
__Pyx_INCREF(__pyx_v_kwargs);
|
|
9682
9697
|
__Pyx_GIVEREF(__pyx_v_kwargs);
|
|
9683
|
-
if (__Pyx_PyTuple_SET_ITEM(
|
|
9698
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 2, __pyx_v_kwargs) != (0)) __PYX_ERR(0, 640, __pyx_L1_error);
|
|
9684
9699
|
__pyx_t_4 = 1;
|
|
9685
9700
|
#if CYTHON_UNPACK_METHODS
|
|
9686
9701
|
if (unlikely(PyMethod_Check(__pyx_t_2))) {
|
|
@@ -9694,10 +9709,10 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_6method_17_ASyncBoundMethod_4__call__(
|
|
|
9694
9709
|
}
|
|
9695
9710
|
#endif
|
|
9696
9711
|
{
|
|
9697
|
-
PyObject *__pyx_callargs[4] = {__pyx_t_3, __pyx_v_6a_sync_6a_sync_6method_DEBUG, __pyx_mstate_global->__pyx_kp_u_calling_s_with_args_s_kwargs_s,
|
|
9712
|
+
PyObject *__pyx_callargs[4] = {__pyx_t_3, __pyx_v_6a_sync_6a_sync_6method_DEBUG, __pyx_mstate_global->__pyx_kp_u_calling_s_with_args_s_kwargs_s, __pyx_t_7};
|
|
9698
9713
|
__pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+__pyx_t_4, (4-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
|
|
9699
9714
|
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
9700
|
-
__Pyx_DECREF(
|
|
9715
|
+
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
9701
9716
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
9702
9717
|
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 640, __pyx_L1_error)
|
|
9703
9718
|
__Pyx_GOTREF(__pyx_t_1);
|
|
@@ -9725,24 +9740,24 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_6method_17_ASyncBoundMethod_4__call__(
|
|
|
9725
9740
|
__Pyx_GOTREF(__pyx_t_1);
|
|
9726
9741
|
__pyx_t_2 = ((struct __pyx_vtabstruct_6a_sync_6a_sync_6method__ASyncBoundMethod *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx___c_self__(__pyx_v_self); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 643, __pyx_L1_error)
|
|
9727
9742
|
__Pyx_GOTREF(__pyx_t_2);
|
|
9728
|
-
|
|
9729
|
-
__Pyx_GOTREF(
|
|
9743
|
+
__pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 643, __pyx_L1_error)
|
|
9744
|
+
__Pyx_GOTREF(__pyx_t_7);
|
|
9730
9745
|
__Pyx_INCREF((PyObject *)__pyx_v_self);
|
|
9731
9746
|
__Pyx_GIVEREF((PyObject *)__pyx_v_self);
|
|
9732
|
-
if (__Pyx_PyTuple_SET_ITEM(
|
|
9747
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, ((PyObject *)__pyx_v_self)) != (0)) __PYX_ERR(0, 643, __pyx_L1_error);
|
|
9733
9748
|
__Pyx_GIVEREF(__pyx_t_2);
|
|
9734
|
-
if (__Pyx_PyTuple_SET_ITEM(
|
|
9749
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_2) != (0)) __PYX_ERR(0, 643, __pyx_L1_error);
|
|
9735
9750
|
__pyx_t_2 = 0;
|
|
9736
|
-
__pyx_t_2 = PyNumber_Add(
|
|
9751
|
+
__pyx_t_2 = PyNumber_Add(__pyx_t_7, __pyx_v_args); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 643, __pyx_L1_error)
|
|
9737
9752
|
__Pyx_GOTREF(__pyx_t_2);
|
|
9738
|
-
__Pyx_DECREF(
|
|
9739
|
-
|
|
9740
|
-
__Pyx_GOTREF(
|
|
9741
|
-
__pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2,
|
|
9753
|
+
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
9754
|
+
__pyx_t_7 = PyDict_Copy(__pyx_v_kwargs); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 643, __pyx_L1_error)
|
|
9755
|
+
__Pyx_GOTREF(__pyx_t_7);
|
|
9756
|
+
__pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, __pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 643, __pyx_L1_error)
|
|
9742
9757
|
__Pyx_GOTREF(__pyx_t_3);
|
|
9743
9758
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
9744
9759
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
9745
|
-
__Pyx_DECREF(
|
|
9760
|
+
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
9746
9761
|
__Pyx_INCREF(__pyx_t_3);
|
|
9747
9762
|
__pyx_v_retval = __pyx_t_3;
|
|
9748
9763
|
__Pyx_INCREF(__pyx_t_3);
|
|
@@ -9757,33 +9772,33 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_6method_17_ASyncBoundMethod_4__call__(
|
|
|
9757
9772
|
* # We can return the value.
|
|
9758
9773
|
*/
|
|
9759
9774
|
__Pyx_TraceLine(644,29,0,__PYX_ERR(0, 644, __pyx_L1_error))
|
|
9760
|
-
|
|
9775
|
+
__pyx_t_7 = NULL;
|
|
9761
9776
|
__Pyx_INCREF(__pyx_v_6a_sync_6a_sync_6method_isawaitable);
|
|
9762
9777
|
__pyx_t_2 = __pyx_v_6a_sync_6a_sync_6method_isawaitable;
|
|
9763
9778
|
__pyx_t_4 = 1;
|
|
9764
9779
|
#if CYTHON_UNPACK_METHODS
|
|
9765
9780
|
if (unlikely(PyMethod_Check(__pyx_t_2))) {
|
|
9766
|
-
|
|
9767
|
-
assert(
|
|
9781
|
+
__pyx_t_7 = PyMethod_GET_SELF(__pyx_t_2);
|
|
9782
|
+
assert(__pyx_t_7);
|
|
9768
9783
|
PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2);
|
|
9769
|
-
__Pyx_INCREF(
|
|
9784
|
+
__Pyx_INCREF(__pyx_t_7);
|
|
9770
9785
|
__Pyx_INCREF(__pyx__function);
|
|
9771
9786
|
__Pyx_DECREF_SET(__pyx_t_2, __pyx__function);
|
|
9772
9787
|
__pyx_t_4 = 0;
|
|
9773
9788
|
}
|
|
9774
9789
|
#endif
|
|
9775
9790
|
{
|
|
9776
|
-
PyObject *__pyx_callargs[2] = {
|
|
9791
|
+
PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_v_retval};
|
|
9777
9792
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+__pyx_t_4, (2-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
|
|
9778
|
-
__Pyx_XDECREF(
|
|
9793
|
+
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
9779
9794
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
9780
9795
|
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 644, __pyx_L1_error)
|
|
9781
9796
|
__Pyx_GOTREF(__pyx_t_3);
|
|
9782
9797
|
}
|
|
9783
|
-
|
|
9798
|
+
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 644, __pyx_L1_error)
|
|
9784
9799
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
9785
|
-
|
|
9786
|
-
if (
|
|
9800
|
+
__pyx_t_5 = (!__pyx_t_6);
|
|
9801
|
+
if (__pyx_t_5) {
|
|
9787
9802
|
|
|
9788
9803
|
/* "a_sync/a_sync/method.pyx":647
|
|
9789
9804
|
* # The coroutine was already awaited due to the use of an overriding flag kwarg.
|
|
@@ -9804,8 +9819,8 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_6method_17_ASyncBoundMethod_4__call__(
|
|
|
9804
9819
|
* if debug_logs:
|
|
9805
9820
|
*/
|
|
9806
9821
|
__Pyx_TraceLine(648,33,0,__PYX_ERR(0, 648, __pyx_L1_error))
|
|
9807
|
-
|
|
9808
|
-
if (
|
|
9822
|
+
__pyx_t_5 = __pyx_f_6a_sync_6a_sync_6method__should_await(__pyx_v_self, __pyx_v_kwargs); if (unlikely(__pyx_t_5 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 648, __pyx_L1_error)
|
|
9823
|
+
if (__pyx_t_5) {
|
|
9809
9824
|
|
|
9810
9825
|
/* "a_sync/a_sync/method.pyx":650
|
|
9811
9826
|
* elif _should_await(self, kwargs):
|
|
@@ -9827,7 +9842,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_6method_17_ASyncBoundMethod_4__call__(
|
|
|
9827
9842
|
__Pyx_TraceLine(651,39,0,__PYX_ERR(0, 651, __pyx_L1_error))
|
|
9828
9843
|
__pyx_t_2 = NULL;
|
|
9829
9844
|
__Pyx_INCREF(__pyx_v_6a_sync_6a_sync_6method__logger_log);
|
|
9830
|
-
|
|
9845
|
+
__pyx_t_7 = __pyx_v_6a_sync_6a_sync_6method__logger_log;
|
|
9831
9846
|
|
|
9832
9847
|
/* "a_sync/a_sync/method.pyx":652
|
|
9833
9848
|
* if debug_logs:
|
|
@@ -9853,22 +9868,22 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_6method_17_ASyncBoundMethod_4__call__(
|
|
|
9853
9868
|
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_v_kwargs) != (0)) __PYX_ERR(0, 652, __pyx_L1_error);
|
|
9854
9869
|
__pyx_t_4 = 1;
|
|
9855
9870
|
#if CYTHON_UNPACK_METHODS
|
|
9856
|
-
if (unlikely(PyMethod_Check(
|
|
9857
|
-
__pyx_t_2 = PyMethod_GET_SELF(
|
|
9871
|
+
if (unlikely(PyMethod_Check(__pyx_t_7))) {
|
|
9872
|
+
__pyx_t_2 = PyMethod_GET_SELF(__pyx_t_7);
|
|
9858
9873
|
assert(__pyx_t_2);
|
|
9859
|
-
PyObject* __pyx__function = PyMethod_GET_FUNCTION(
|
|
9874
|
+
PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_7);
|
|
9860
9875
|
__Pyx_INCREF(__pyx_t_2);
|
|
9861
9876
|
__Pyx_INCREF(__pyx__function);
|
|
9862
|
-
__Pyx_DECREF_SET(
|
|
9877
|
+
__Pyx_DECREF_SET(__pyx_t_7, __pyx__function);
|
|
9863
9878
|
__pyx_t_4 = 0;
|
|
9864
9879
|
}
|
|
9865
9880
|
#endif
|
|
9866
9881
|
{
|
|
9867
9882
|
PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_v_6a_sync_6a_sync_6method_DEBUG, __pyx_mstate_global->__pyx_kp_u_awaiting_s_for_s_args_s_kwargs_s, __pyx_t_1};
|
|
9868
|
-
__pyx_t_3 = __Pyx_PyObject_FastCall(
|
|
9883
|
+
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+__pyx_t_4, (4-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
|
|
9869
9884
|
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
9870
9885
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
9871
|
-
__Pyx_DECREF(
|
|
9886
|
+
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
9872
9887
|
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 651, __pyx_L1_error)
|
|
9873
9888
|
__Pyx_GOTREF(__pyx_t_3);
|
|
9874
9889
|
}
|
|
@@ -9924,7 +9939,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_6method_17_ASyncBoundMethod_4__call__(
|
|
|
9924
9939
|
* )
|
|
9925
9940
|
*/
|
|
9926
9941
|
__Pyx_TraceLine(656,53,0,__PYX_ERR(0, 656, __pyx_L1_error))
|
|
9927
|
-
|
|
9942
|
+
__pyx_t_7 = NULL;
|
|
9928
9943
|
__Pyx_INCREF(__pyx_v_6a_sync_6a_sync_6method__logger_log);
|
|
9929
9944
|
__pyx_t_1 = __pyx_v_6a_sync_6a_sync_6method__logger_log;
|
|
9930
9945
|
|
|
@@ -9953,19 +9968,19 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_6method_17_ASyncBoundMethod_4__call__(
|
|
|
9953
9968
|
__pyx_t_4 = 1;
|
|
9954
9969
|
#if CYTHON_UNPACK_METHODS
|
|
9955
9970
|
if (unlikely(PyMethod_Check(__pyx_t_1))) {
|
|
9956
|
-
|
|
9957
|
-
assert(
|
|
9971
|
+
__pyx_t_7 = PyMethod_GET_SELF(__pyx_t_1);
|
|
9972
|
+
assert(__pyx_t_7);
|
|
9958
9973
|
PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_1);
|
|
9959
|
-
__Pyx_INCREF(
|
|
9974
|
+
__Pyx_INCREF(__pyx_t_7);
|
|
9960
9975
|
__Pyx_INCREF(__pyx__function);
|
|
9961
9976
|
__Pyx_DECREF_SET(__pyx_t_1, __pyx__function);
|
|
9962
9977
|
__pyx_t_4 = 0;
|
|
9963
9978
|
}
|
|
9964
9979
|
#endif
|
|
9965
9980
|
{
|
|
9966
|
-
PyObject *__pyx_callargs[4] = {
|
|
9981
|
+
PyObject *__pyx_callargs[4] = {__pyx_t_7, __pyx_v_6a_sync_6a_sync_6method_DEBUG, __pyx_mstate_global->__pyx_kp_u_returning_s_for_s_args_s_kwargs, __pyx_t_2};
|
|
9967
9982
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+__pyx_t_4, (4-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
|
|
9968
|
-
__Pyx_XDECREF(
|
|
9983
|
+
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
9969
9984
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
9970
9985
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
9971
9986
|
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 656, __pyx_L1_error)
|
|
@@ -10009,7 +10024,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_6method_17_ASyncBoundMethod_4__call__(
|
|
|
10009
10024
|
__Pyx_XDECREF(__pyx_t_1);
|
|
10010
10025
|
__Pyx_XDECREF(__pyx_t_2);
|
|
10011
10026
|
__Pyx_XDECREF(__pyx_t_3);
|
|
10012
|
-
__Pyx_XDECREF(
|
|
10027
|
+
__Pyx_XDECREF(__pyx_t_7);
|
|
10013
10028
|
__Pyx_TraceException(__pyx_lineno, 0, 0);
|
|
10014
10029
|
#if CYTHON_USE_SYS_MONITORING
|
|
10015
10030
|
__Pyx_TraceExceptionUnwind(0, 0);
|
|
@@ -17617,15 +17632,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
17617
17632
|
/*--- Type init code ---*/
|
|
17618
17633
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.function"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17619
17634
|
__Pyx_GOTREF(__pyx_t_1);
|
|
17620
|
-
__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction =
|
|
17635
|
+
__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.a_sync.function", "_ASyncFunction",
|
|
17621
17636
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
17622
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
|
|
17637
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
|
|
17623
17638
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
17624
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
|
|
17639
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
|
|
17625
17640
|
#else
|
|
17626
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
|
|
17641
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
|
|
17627
17642
|
#endif
|
|
17628
|
-
|
|
17643
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17629
17644
|
__pyx_vtabptr_6a_sync_6a_sync_8function__ASyncFunction = (struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ASyncFunction*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_8function__ASyncFunction)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17630
17645
|
__pyx_vtabptr_6a_sync_6a_sync_6method__ASyncBoundMethod = &__pyx_vtable_6a_sync_6a_sync_6method__ASyncBoundMethod;
|
|
17631
17646
|
__pyx_vtable_6a_sync_6a_sync_6method__ASyncBoundMethod.__pyx_base = *__pyx_vtabptr_6a_sync_6a_sync_8function__ASyncFunction;
|
|
@@ -17803,53 +17818,53 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
17803
17818
|
/*--- Type import code ---*/
|
|
17804
17819
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.modifiers.manager"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 1, __pyx_L1_error)
|
|
17805
17820
|
__Pyx_GOTREF(__pyx_t_1);
|
|
17806
|
-
__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager =
|
|
17821
|
+
__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.a_sync.modifiers.manager", "ModifierManager",
|
|
17807
17822
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
17808
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
17823
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
17809
17824
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
17810
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
17825
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
17811
17826
|
#else
|
|
17812
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
17827
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
17813
17828
|
#endif
|
|
17814
|
-
|
|
17829
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager) __PYX_ERR(3, 1, __pyx_L1_error)
|
|
17815
17830
|
__pyx_vtabptr_6a_sync_6a_sync_9modifiers_7manager_ModifierManager = (struct __pyx_vtabstruct_6a_sync_6a_sync_9modifiers_7manager_ModifierManager*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_9modifiers_7manager_ModifierManager)) __PYX_ERR(3, 1, __pyx_L1_error)
|
|
17816
17831
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
17817
17832
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.function"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 3, __pyx_L1_error)
|
|
17818
17833
|
__Pyx_GOTREF(__pyx_t_1);
|
|
17819
|
-
__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin =
|
|
17834
|
+
__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.a_sync.function", "_ModifiedMixin",
|
|
17820
17835
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
17821
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
|
|
17836
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
|
|
17822
17837
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
17823
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
|
|
17838
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
|
|
17824
17839
|
#else
|
|
17825
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
|
|
17840
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
|
|
17826
17841
|
#endif
|
|
17827
|
-
|
|
17842
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin) __PYX_ERR(4, 3, __pyx_L1_error)
|
|
17828
17843
|
__pyx_vtabptr_6a_sync_6a_sync_8function__ModifiedMixin = (struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ModifiedMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_8function__ModifiedMixin)) __PYX_ERR(4, 3, __pyx_L1_error)
|
|
17829
17844
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
17830
17845
|
__pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(5, 9, __pyx_L1_error)
|
|
17831
17846
|
__Pyx_GOTREF(__pyx_t_1);
|
|
17832
|
-
__pyx_mstate->__pyx_ptype_7cpython_4type_type =
|
|
17847
|
+
__pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_1_4(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
|
|
17833
17848
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
17834
|
-
sizeof(PyTypeObject),
|
|
17849
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(PyTypeObject),
|
|
17835
17850
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
17836
17851
|
0, 0,
|
|
17837
17852
|
#else
|
|
17838
|
-
sizeof(PyHeapTypeObject),
|
|
17853
|
+
sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(PyHeapTypeObject),
|
|
17839
17854
|
#endif
|
|
17840
|
-
|
|
17855
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(5, 9, __pyx_L1_error)
|
|
17841
17856
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
17842
17857
|
__pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(6, 1, __pyx_L1_error)
|
|
17843
17858
|
__Pyx_GOTREF(__pyx_t_1);
|
|
17844
|
-
__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe =
|
|
17859
|
+
__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
|
|
17845
17860
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
17846
|
-
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
17861
|
+
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
17847
17862
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
17848
|
-
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
17863
|
+
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
17849
17864
|
#else
|
|
17850
|
-
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
17865
|
+
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
17851
17866
|
#endif
|
|
17852
|
-
|
|
17867
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(6, 1, __pyx_L1_error)
|
|
17853
17868
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
17854
17869
|
__Pyx_RefNannyFinishContext();
|
|
17855
17870
|
return 0;
|
|
@@ -17879,16 +17894,16 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
17879
17894
|
/*--- Function import code ---*/
|
|
17880
17895
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._kwargs"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17881
17896
|
__Pyx_GOTREF(__pyx_t_1);
|
|
17882
|
-
if (
|
|
17883
|
-
if (
|
|
17897
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "get_flag_name", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_get_flag_name, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17898
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "is_sync", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_is_sync, "int (PyObject *, PyObject *, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17884
17899
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
17885
17900
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17886
17901
|
__Pyx_GOTREF(__pyx_t_1);
|
|
17887
|
-
if (
|
|
17902
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "_await", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__await, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17888
17903
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
17889
17904
|
__pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17890
17905
|
__Pyx_GOTREF(__pyx_t_1);
|
|
17891
|
-
if (
|
|
17906
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "update_wrapper", (void (**)(void))&__pyx_f_6a_sync_9functools_update_wrapper, "PyObject *(PyObject *, PyObject *, int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17892
17907
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
17893
17908
|
__Pyx_RefNannyFinishContext();
|
|
17894
17909
|
return 0;
|
|
@@ -19771,7 +19786,7 @@ __Pyx_RefNannySetupContext("PyInit_method", 0);
|
|
|
19771
19786
|
* cdef tuple state
|
|
19772
19787
|
* cdef object _dict
|
|
19773
19788
|
*/
|
|
19774
|
-
__Pyx_TraceLine(1,
|
|
19789
|
+
__Pyx_TraceLine(1,2,0,__PYX_ERR(2, 1, __pyx_L1_error))
|
|
19775
19790
|
__pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_6method_17_ASyncBoundMethod_24__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncBoundMethod___reduce_cytho, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_method, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[32])); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 1, __pyx_L1_error)
|
|
19776
19791
|
__Pyx_GOTREF(__pyx_t_9);
|
|
19777
19792
|
if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_9) < 0) __PYX_ERR(2, 1, __pyx_L1_error)
|
|
@@ -20573,7 +20588,7 @@ __Pyx_RefNannySetupContext("PyInit_method", 0);
|
|
|
20573
20588
|
* cdef object __pyx_PickleError
|
|
20574
20589
|
* cdef object __pyx_result
|
|
20575
20590
|
*/
|
|
20576
|
-
__Pyx_TraceLine(1,
|
|
20591
|
+
__Pyx_TraceLine(1,0,0,__PYX_ERR(2, 1, __pyx_L1_error))
|
|
20577
20592
|
__pyx_t_10 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_6method_1__pyx_unpickle__ASyncBoundMethod, 0, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ASyncBoundMethod, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_method, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[55])); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 1, __pyx_L1_error)
|
|
20578
20593
|
__Pyx_GOTREF(__pyx_t_10);
|
|
20579
20594
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ASyncBoundMethod, __pyx_t_10) < 0) __PYX_ERR(2, 1, __pyx_L1_error)
|
|
@@ -22859,6 +22874,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
22859
22874
|
changed = 1;
|
|
22860
22875
|
}
|
|
22861
22876
|
#endif // CYTHON_METH_FASTCALL
|
|
22877
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
22862
22878
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
22863
22879
|
PyObject *descr;
|
|
22864
22880
|
assert(memb->type == T_OBJECT);
|
|
@@ -22873,11 +22889,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
22873
22889
|
}
|
|
22874
22890
|
changed = 1;
|
|
22875
22891
|
}
|
|
22892
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
22876
22893
|
}
|
|
22877
22894
|
memb++;
|
|
22878
22895
|
}
|
|
22879
22896
|
}
|
|
22880
22897
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
22898
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
22881
22899
|
slot = spec->slots;
|
|
22882
22900
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
22883
22901
|
slot++;
|
|
@@ -22909,6 +22927,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
22909
22927
|
++getset;
|
|
22910
22928
|
}
|
|
22911
22929
|
}
|
|
22930
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
22912
22931
|
if (changed)
|
|
22913
22932
|
PyType_Modified(type);
|
|
22914
22933
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -23041,7 +23060,7 @@ bad:
|
|
|
23041
23060
|
}
|
|
23042
23061
|
|
|
23043
23062
|
/* CommonTypesMetaclass */
|
|
23044
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
23063
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
23045
23064
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
23046
23065
|
}
|
|
23047
23066
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -23070,6 +23089,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
23070
23089
|
return -1;
|
|
23071
23090
|
}
|
|
23072
23091
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
23092
|
+
Py_DECREF(bases);
|
|
23073
23093
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
23074
23094
|
return -1;
|
|
23075
23095
|
}
|
|
@@ -23465,7 +23485,7 @@ try_unpack:
|
|
|
23465
23485
|
}
|
|
23466
23486
|
|
|
23467
23487
|
/* PyObjectCallMethod1 */
|
|
23468
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
23488
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
23469
23489
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
23470
23490
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
23471
23491
|
Py_DECREF(method);
|
|
@@ -23473,7 +23493,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
23473
23493
|
}
|
|
23474
23494
|
#endif
|
|
23475
23495
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
23476
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
23496
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
23477
23497
|
PyObject *args[2] = {obj, arg};
|
|
23478
23498
|
(void) __Pyx_PyObject_GetMethod;
|
|
23479
23499
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -25287,6 +25307,13 @@ static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr
|
|
|
25287
25307
|
|
|
25288
25308
|
/* PyObjectCallMethod0 */
|
|
25289
25309
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
25310
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
25311
|
+
PyObject *args[1] = {obj};
|
|
25312
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
25313
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
25314
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
25315
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
25316
|
+
#else
|
|
25290
25317
|
PyObject *method = NULL, *result = NULL;
|
|
25291
25318
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
25292
25319
|
if (likely(is_method)) {
|
|
@@ -25299,6 +25326,7 @@ static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr
|
|
|
25299
25326
|
Py_DECREF(method);
|
|
25300
25327
|
bad:
|
|
25301
25328
|
return result;
|
|
25329
|
+
#endif
|
|
25302
25330
|
}
|
|
25303
25331
|
|
|
25304
25332
|
/* RaiseNeedMoreValuesToUnpack */
|
|
@@ -26053,15 +26081,15 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
|
|
26053
26081
|
}
|
|
26054
26082
|
|
|
26055
26083
|
/* TypeImport */
|
|
26056
|
-
#ifndef
|
|
26057
|
-
#define
|
|
26058
|
-
static PyTypeObject *
|
|
26059
|
-
size_t size, size_t alignment, enum
|
|
26084
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_4
|
|
26085
|
+
#define __PYX_HAVE_RT_ImportType_3_1_4
|
|
26086
|
+
static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
|
|
26087
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
|
|
26060
26088
|
{
|
|
26061
26089
|
PyObject *result = 0;
|
|
26062
26090
|
Py_ssize_t basicsize;
|
|
26063
26091
|
Py_ssize_t itemsize;
|
|
26064
|
-
#
|
|
26092
|
+
#ifdef Py_LIMITED_API
|
|
26065
26093
|
PyObject *py_basicsize;
|
|
26066
26094
|
PyObject *py_itemsize;
|
|
26067
26095
|
#endif
|
|
@@ -26074,7 +26102,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
26074
26102
|
module_name, class_name);
|
|
26075
26103
|
goto bad;
|
|
26076
26104
|
}
|
|
26077
|
-
#
|
|
26105
|
+
#ifndef Py_LIMITED_API
|
|
26078
26106
|
basicsize = ((PyTypeObject *)result)->tp_basicsize;
|
|
26079
26107
|
itemsize = ((PyTypeObject *)result)->tp_itemsize;
|
|
26080
26108
|
#else
|
|
@@ -26112,7 +26140,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
26112
26140
|
module_name, class_name, size, basicsize+itemsize);
|
|
26113
26141
|
goto bad;
|
|
26114
26142
|
}
|
|
26115
|
-
if (check_size ==
|
|
26143
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
|
|
26116
26144
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
26117
26145
|
PyErr_Format(PyExc_ValueError,
|
|
26118
26146
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -26120,7 +26148,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
26120
26148
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
26121
26149
|
goto bad;
|
|
26122
26150
|
}
|
|
26123
|
-
else if (check_size ==
|
|
26151
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
|
|
26124
26152
|
if (PyErr_WarnFormat(NULL, 0,
|
|
26125
26153
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
26126
26154
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -29221,9 +29249,9 @@ bad:
|
|
|
29221
29249
|
}
|
|
29222
29250
|
|
|
29223
29251
|
/* FunctionImport */
|
|
29224
|
-
#ifndef
|
|
29225
|
-
#define
|
|
29226
|
-
static int
|
|
29252
|
+
#ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
29253
|
+
#define __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
29254
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
|
|
29227
29255
|
PyObject *d = 0;
|
|
29228
29256
|
PyObject *cobj = 0;
|
|
29229
29257
|
union {
|
|
@@ -29325,6 +29353,10 @@ bad:
|
|
|
29325
29353
|
PyCode_NewWithPosOnlyArgs
|
|
29326
29354
|
#endif
|
|
29327
29355
|
(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
|
|
29356
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
|
|
29357
|
+
if (likely(result))
|
|
29358
|
+
result->_co_firsttraceable = 0;
|
|
29359
|
+
#endif
|
|
29328
29360
|
return result;
|
|
29329
29361
|
}
|
|
29330
29362
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|