ez-a-sync 0.32.26__cp39-cp39-win_amd64.whl → 0.32.28__cp39-cp39-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 ez-a-sync might be problematic. Click here for more details.
- a_sync/_smart.c +63 -43
- a_sync/_smart.cp39-win_amd64.pyd +0 -0
- a_sync/a_sync/_descriptor.c +83 -63
- a_sync/a_sync/_descriptor.cp39-win_amd64.pyd +0 -0
- a_sync/a_sync/_flags.c +13 -10
- a_sync/a_sync/_flags.cp39-win_amd64.pyd +0 -0
- a_sync/a_sync/_helpers.c +76 -56
- a_sync/a_sync/_helpers.cp39-win_amd64.pyd +0 -0
- a_sync/a_sync/_kwargs.c +45 -25
- a_sync/a_sync/_kwargs.cp39-win_amd64.pyd +0 -0
- a_sync/a_sync/abstract.c +54 -24
- a_sync/a_sync/abstract.cp39-win_amd64.pyd +0 -0
- a_sync/a_sync/abstract.pyi +2 -2
- a_sync/a_sync/base.c +186 -162
- a_sync/a_sync/base.cp39-win_amd64.pyd +0 -0
- a_sync/a_sync/flags.c +13 -10
- a_sync/a_sync/flags.cp39-win_amd64.pyd +0 -0
- a_sync/a_sync/function.c +106 -77
- a_sync/a_sync/function.cp39-win_amd64.pyd +0 -0
- a_sync/a_sync/method.c +150 -118
- a_sync/a_sync/method.cp39-win_amd64.pyd +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.cp39-win_amd64.pyd +0 -0
- a_sync/a_sync/property.c +104 -78
- a_sync/a_sync/property.cp39-win_amd64.pyd +0 -0
- a_sync/async_property/cached.c +71 -51
- a_sync/async_property/cached.cp39-win_amd64.pyd +0 -0
- a_sync/async_property/proxy.c +37 -17
- a_sync/async_property/proxy.cp39-win_amd64.pyd +0 -0
- a_sync/asyncio/as_completed.c +33 -13
- a_sync/asyncio/as_completed.cp39-win_amd64.pyd +0 -0
- a_sync/asyncio/create_task.c +59 -21
- a_sync/asyncio/create_task.cp39-win_amd64.pyd +0 -0
- a_sync/asyncio/gather.c +42 -22
- a_sync/asyncio/gather.cp39-win_amd64.pyd +0 -0
- a_sync/asyncio/igather.c +42 -18
- a_sync/asyncio/igather.cp39-win_amd64.pyd +0 -0
- a_sync/asyncio/sleep.c +24 -4
- a_sync/asyncio/sleep.cp39-win_amd64.pyd +0 -0
- a_sync/debugging.c +52 -32
- a_sync/debugging.cp39-win_amd64.pyd +0 -0
- a_sync/exceptions.c +36 -20
- a_sync/exceptions.cp39-win_amd64.pyd +0 -0
- a_sync/executor.py +44 -0
- a_sync/functools.c +31 -11
- a_sync/functools.cp39-win_amd64.pyd +0 -0
- a_sync/iter.c +166 -96
- a_sync/iter.cp39-win_amd64.pyd +0 -0
- a_sync/primitives/_debug.c +61 -41
- a_sync/primitives/_debug.cp39-win_amd64.pyd +0 -0
- a_sync/primitives/_loggable.c +48 -22
- a_sync/primitives/_loggable.cp39-win_amd64.pyd +0 -0
- a_sync/primitives/locks/counter.c +93 -63
- a_sync/primitives/locks/counter.cp39-win_amd64.pyd +0 -0
- a_sync/primitives/locks/event.c +75 -54
- a_sync/primitives/locks/event.cp39-win_amd64.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.c +119 -79
- a_sync/primitives/locks/prio_semaphore.cp39-win_amd64.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.pyi +2 -2
- a_sync/primitives/locks/semaphore.c +91 -64
- a_sync/primitives/locks/semaphore.cp39-win_amd64.pyd +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.cp39-win_amd64.pyd +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/asyncio/igather.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
|
{
|
|
@@ -29,8 +29,8 @@ END: Cython Metadata */
|
|
|
29
29
|
#elif PY_VERSION_HEX < 0x03080000
|
|
30
30
|
#error Cython requires Python 3.8+.
|
|
31
31
|
#else
|
|
32
|
-
#define __PYX_ABI_VERSION "
|
|
33
|
-
#define CYTHON_HEX_VERSION
|
|
32
|
+
#define __PYX_ABI_VERSION "3_1_4"
|
|
33
|
+
#define CYTHON_HEX_VERSION 0x030104F0
|
|
34
34
|
#define CYTHON_FUTURE_DIVISION 1
|
|
35
35
|
/* CModulePreamble */
|
|
36
36
|
#include <stddef.h>
|
|
@@ -393,6 +393,9 @@ END: Cython Metadata */
|
|
|
393
393
|
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
|
|
394
394
|
#endif
|
|
395
395
|
#endif
|
|
396
|
+
#ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
|
|
397
|
+
#define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
|
|
398
|
+
#endif
|
|
396
399
|
#ifndef __has_attribute
|
|
397
400
|
#define __has_attribute(x) 0
|
|
398
401
|
#endif
|
|
@@ -1946,18 +1949,18 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
|
|
|
1946
1949
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1947
1950
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1948
1951
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1949
|
-
if (unlikely(!__pyx_frame_code))
|
|
1950
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1951
|
-
}
|
|
1952
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
1953
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1954
|
+
} else __pyx_frame_code = NULL;\
|
|
1952
1955
|
PyGILState_Release(state);\
|
|
1953
|
-
}
|
|
1956
|
+
} else __pyx_frame_code = NULL;\
|
|
1954
1957
|
} else {\
|
|
1955
1958
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1956
1959
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1957
1960
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1958
|
-
if (unlikely(!__pyx_frame_code))
|
|
1959
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1960
|
-
}
|
|
1961
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
1962
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1963
|
+
} else __pyx_frame_code = NULL;\
|
|
1961
1964
|
}\
|
|
1962
1965
|
if (unlikely(ret == -1)) goto_error;\
|
|
1963
1966
|
}
|
|
@@ -2774,7 +2777,7 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
|
|
|
2774
2777
|
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);
|
|
2775
2778
|
|
|
2776
2779
|
/* FunctionImport.proto */
|
|
2777
|
-
static int
|
|
2780
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
|
|
2778
2781
|
|
|
2779
2782
|
/* MultiPhaseInitModuleState.proto */
|
|
2780
2783
|
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
|
|
@@ -4829,8 +4832,12 @@ static PyObject *__pyx_f_6a_sync_7asyncio_7igather_cigather(PyObject *__pyx_v_co
|
|
|
4829
4832
|
*
|
|
4830
4833
|
*/
|
|
4831
4834
|
__Pyx_TraceLine(57,50,0,__PYX_ERR(0, 57, __pyx_L1_error))
|
|
4832
|
-
|
|
4833
|
-
|
|
4835
|
+
{
|
|
4836
|
+
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_cur_scope->__pyx_v_children);
|
|
4837
|
+
if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 57, __pyx_L1_error)
|
|
4838
|
+
__pyx_t_5 = (__pyx_temp != 0);
|
|
4839
|
+
}
|
|
4840
|
+
|
|
4834
4841
|
__pyx_t_11 = (!__pyx_t_5);
|
|
4835
4842
|
if (__pyx_t_11) {
|
|
4836
4843
|
|
|
@@ -5971,7 +5978,7 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
5971
5978
|
/*--- Function import code ---*/
|
|
5972
5979
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
5973
5980
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5974
|
-
if (
|
|
5981
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "get_event_loop", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop, "PyObject *(int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
5975
5982
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5976
5983
|
__Pyx_RefNannyFinishContext();
|
|
5977
5984
|
return 0;
|
|
@@ -8264,6 +8271,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
8264
8271
|
changed = 1;
|
|
8265
8272
|
}
|
|
8266
8273
|
#endif // CYTHON_METH_FASTCALL
|
|
8274
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
8267
8275
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
8268
8276
|
PyObject *descr;
|
|
8269
8277
|
assert(memb->type == T_OBJECT);
|
|
@@ -8278,11 +8286,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
8278
8286
|
}
|
|
8279
8287
|
changed = 1;
|
|
8280
8288
|
}
|
|
8289
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
8281
8290
|
}
|
|
8282
8291
|
memb++;
|
|
8283
8292
|
}
|
|
8284
8293
|
}
|
|
8285
8294
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
8295
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
8286
8296
|
slot = spec->slots;
|
|
8287
8297
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
8288
8298
|
slot++;
|
|
@@ -8314,6 +8324,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
8314
8324
|
++getset;
|
|
8315
8325
|
}
|
|
8316
8326
|
}
|
|
8327
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
8317
8328
|
if (changed)
|
|
8318
8329
|
PyType_Modified(type);
|
|
8319
8330
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -8446,7 +8457,7 @@ bad:
|
|
|
8446
8457
|
}
|
|
8447
8458
|
|
|
8448
8459
|
/* CommonTypesMetaclass */
|
|
8449
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
8460
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
8450
8461
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
8451
8462
|
}
|
|
8452
8463
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -8475,6 +8486,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
8475
8486
|
return -1;
|
|
8476
8487
|
}
|
|
8477
8488
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
8489
|
+
Py_DECREF(bases);
|
|
8478
8490
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
8479
8491
|
return -1;
|
|
8480
8492
|
}
|
|
@@ -9759,6 +9771,13 @@ try_unpack:
|
|
|
9759
9771
|
|
|
9760
9772
|
/* PyObjectCallMethod0 */
|
|
9761
9773
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
9774
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
9775
|
+
PyObject *args[1] = {obj};
|
|
9776
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
9777
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
9778
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
9779
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
9780
|
+
#else
|
|
9762
9781
|
PyObject *method = NULL, *result = NULL;
|
|
9763
9782
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
9764
9783
|
if (likely(is_method)) {
|
|
@@ -9771,6 +9790,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
|
|
|
9771
9790
|
Py_DECREF(method);
|
|
9772
9791
|
bad:
|
|
9773
9792
|
return result;
|
|
9793
|
+
#endif
|
|
9774
9794
|
}
|
|
9775
9795
|
|
|
9776
9796
|
/* RaiseNeedMoreValuesToUnpack */
|
|
@@ -11806,9 +11826,9 @@ bad:
|
|
|
11806
11826
|
}
|
|
11807
11827
|
|
|
11808
11828
|
/* FunctionImport */
|
|
11809
|
-
#ifndef
|
|
11810
|
-
#define
|
|
11811
|
-
static int
|
|
11829
|
+
#ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
11830
|
+
#define __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
11831
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
|
|
11812
11832
|
PyObject *d = 0;
|
|
11813
11833
|
PyObject *cobj = 0;
|
|
11814
11834
|
union {
|
|
@@ -11910,6 +11930,10 @@ bad:
|
|
|
11910
11930
|
PyCode_NewWithPosOnlyArgs
|
|
11911
11931
|
#endif
|
|
11912
11932
|
(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
|
|
11933
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
|
|
11934
|
+
if (likely(result))
|
|
11935
|
+
result->_co_firsttraceable = 0;
|
|
11936
|
+
#endif
|
|
11913
11937
|
return result;
|
|
11914
11938
|
}
|
|
11915
11939
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|
a_sync/asyncio/sleep.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
|
{
|
|
@@ -29,8 +29,8 @@ END: Cython Metadata */
|
|
|
29
29
|
#elif PY_VERSION_HEX < 0x03080000
|
|
30
30
|
#error Cython requires Python 3.8+.
|
|
31
31
|
#else
|
|
32
|
-
#define __PYX_ABI_VERSION "
|
|
33
|
-
#define CYTHON_HEX_VERSION
|
|
32
|
+
#define __PYX_ABI_VERSION "3_1_4"
|
|
33
|
+
#define CYTHON_HEX_VERSION 0x030104F0
|
|
34
34
|
#define CYTHON_FUTURE_DIVISION 1
|
|
35
35
|
/* CModulePreamble */
|
|
36
36
|
#include <stddef.h>
|
|
@@ -393,6 +393,9 @@ END: Cython Metadata */
|
|
|
393
393
|
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
|
|
394
394
|
#endif
|
|
395
395
|
#endif
|
|
396
|
+
#ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
|
|
397
|
+
#define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
|
|
398
|
+
#endif
|
|
396
399
|
#ifndef __has_attribute
|
|
397
400
|
#define __has_attribute(x) 0
|
|
398
401
|
#endif
|
|
@@ -5666,6 +5669,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
5666
5669
|
changed = 1;
|
|
5667
5670
|
}
|
|
5668
5671
|
#endif // CYTHON_METH_FASTCALL
|
|
5672
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
5669
5673
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
5670
5674
|
PyObject *descr;
|
|
5671
5675
|
assert(memb->type == T_OBJECT);
|
|
@@ -5680,11 +5684,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
5680
5684
|
}
|
|
5681
5685
|
changed = 1;
|
|
5682
5686
|
}
|
|
5687
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
5683
5688
|
}
|
|
5684
5689
|
memb++;
|
|
5685
5690
|
}
|
|
5686
5691
|
}
|
|
5687
5692
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
5693
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
5688
5694
|
slot = spec->slots;
|
|
5689
5695
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
5690
5696
|
slot++;
|
|
@@ -5716,6 +5722,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
5716
5722
|
++getset;
|
|
5717
5723
|
}
|
|
5718
5724
|
}
|
|
5725
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
5719
5726
|
if (changed)
|
|
5720
5727
|
PyType_Modified(type);
|
|
5721
5728
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -5826,6 +5833,13 @@ try_unpack:
|
|
|
5826
5833
|
|
|
5827
5834
|
/* PyObjectCallMethod0 */
|
|
5828
5835
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
5836
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
5837
|
+
PyObject *args[1] = {obj};
|
|
5838
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
5839
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
5840
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
5841
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
5842
|
+
#else
|
|
5829
5843
|
PyObject *method = NULL, *result = NULL;
|
|
5830
5844
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
5831
5845
|
if (likely(is_method)) {
|
|
@@ -5838,6 +5852,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
|
|
|
5838
5852
|
Py_DECREF(method);
|
|
5839
5853
|
bad:
|
|
5840
5854
|
return result;
|
|
5855
|
+
#endif
|
|
5841
5856
|
}
|
|
5842
5857
|
|
|
5843
5858
|
/* ValidateBasesTuple */
|
|
@@ -6405,7 +6420,7 @@ bad:
|
|
|
6405
6420
|
}
|
|
6406
6421
|
|
|
6407
6422
|
/* CommonTypesMetaclass */
|
|
6408
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
6423
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
6409
6424
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
6410
6425
|
}
|
|
6411
6426
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -6434,6 +6449,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
6434
6449
|
return -1;
|
|
6435
6450
|
}
|
|
6436
6451
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
6452
|
+
Py_DECREF(bases);
|
|
6437
6453
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
6438
6454
|
return -1;
|
|
6439
6455
|
}
|
|
@@ -8826,6 +8842,10 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
|
|
|
8826
8842
|
PyCode_NewWithPosOnlyArgs
|
|
8827
8843
|
#endif
|
|
8828
8844
|
(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
|
|
8845
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
|
|
8846
|
+
if (likely(result))
|
|
8847
|
+
result->_co_firsttraceable = 0;
|
|
8848
|
+
#endif
|
|
8829
8849
|
return result;
|
|
8830
8850
|
}
|
|
8831
8851
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|
a_sync/debugging.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
|
{
|
|
@@ -30,8 +30,8 @@ END: Cython Metadata */
|
|
|
30
30
|
#elif PY_VERSION_HEX < 0x03080000
|
|
31
31
|
#error Cython requires Python 3.8+.
|
|
32
32
|
#else
|
|
33
|
-
#define __PYX_ABI_VERSION "
|
|
34
|
-
#define CYTHON_HEX_VERSION
|
|
33
|
+
#define __PYX_ABI_VERSION "3_1_4"
|
|
34
|
+
#define CYTHON_HEX_VERSION 0x030104F0
|
|
35
35
|
#define CYTHON_FUTURE_DIVISION 1
|
|
36
36
|
/* CModulePreamble */
|
|
37
37
|
#include <stddef.h>
|
|
@@ -394,6 +394,9 @@ END: Cython Metadata */
|
|
|
394
394
|
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
|
|
395
395
|
#endif
|
|
396
396
|
#endif
|
|
397
|
+
#ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
|
|
398
|
+
#define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
|
|
399
|
+
#endif
|
|
397
400
|
#ifndef __has_attribute
|
|
398
401
|
#define __has_attribute(x) 0
|
|
399
402
|
#endif
|
|
@@ -2364,22 +2367,22 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
|
|
|
2364
2367
|
CYTHON_UNUSED static int __Pyx_PyType_Ready(PyTypeObject *t);
|
|
2365
2368
|
|
|
2366
2369
|
/* TypeImport.proto */
|
|
2367
|
-
#ifndef
|
|
2368
|
-
#define
|
|
2370
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2371
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2369
2372
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2370
2373
|
#include <stdalign.h>
|
|
2371
2374
|
#endif
|
|
2372
2375
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2373
|
-
#define
|
|
2376
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
|
|
2374
2377
|
#else
|
|
2375
|
-
#define
|
|
2378
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
|
|
2376
2379
|
#endif
|
|
2377
|
-
enum
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2380
|
+
enum __Pyx_ImportType_CheckSize_3_1_4 {
|
|
2381
|
+
__Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
|
|
2382
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
|
|
2383
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
|
|
2381
2384
|
};
|
|
2382
|
-
static PyTypeObject *
|
|
2385
|
+
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);
|
|
2383
2386
|
#endif
|
|
2384
2387
|
|
|
2385
2388
|
/* GetVTable.proto */
|
|
@@ -6220,27 +6223,27 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6220
6223
|
/*--- Type import code ---*/
|
|
6221
6224
|
__pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error)
|
|
6222
6225
|
__Pyx_GOTREF(__pyx_t_1);
|
|
6223
|
-
__pyx_mstate->__pyx_ptype_7cpython_4type_type =
|
|
6226
|
+
__pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_1_4(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
|
|
6224
6227
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
6225
|
-
sizeof(PyTypeObject),
|
|
6228
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(PyTypeObject),
|
|
6226
6229
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
6227
6230
|
0, 0,
|
|
6228
6231
|
#else
|
|
6229
|
-
sizeof(PyHeapTypeObject),
|
|
6232
|
+
sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(PyHeapTypeObject),
|
|
6230
6233
|
#endif
|
|
6231
|
-
|
|
6234
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(1, 9, __pyx_L1_error)
|
|
6232
6235
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
6233
6236
|
__pyx_t_1 = PyImport_ImportModule("a_sync.iter"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 3, __pyx_L1_error)
|
|
6234
6237
|
__Pyx_GOTREF(__pyx_t_1);
|
|
6235
|
-
__pyx_mstate->__pyx_ptype_6a_sync_4iter__ASyncGeneratorFunction =
|
|
6238
|
+
__pyx_mstate->__pyx_ptype_6a_sync_4iter__ASyncGeneratorFunction = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.iter", "_ASyncGeneratorFunction",
|
|
6236
6239
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
6237
|
-
sizeof(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction),
|
|
6240
|
+
sizeof(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction),
|
|
6238
6241
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
6239
|
-
sizeof(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction),
|
|
6242
|
+
sizeof(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction),
|
|
6240
6243
|
#else
|
|
6241
|
-
sizeof(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction),
|
|
6244
|
+
sizeof(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction),
|
|
6242
6245
|
#endif
|
|
6243
|
-
|
|
6246
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_4iter__ASyncGeneratorFunction) __PYX_ERR(2, 3, __pyx_L1_error)
|
|
6244
6247
|
__pyx_vtabptr_6a_sync_4iter__ASyncGeneratorFunction = (struct __pyx_vtabstruct_6a_sync_4iter__ASyncGeneratorFunction*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_4iter__ASyncGeneratorFunction); if (unlikely(!__pyx_vtabptr_6a_sync_4iter__ASyncGeneratorFunction)) __PYX_ERR(2, 3, __pyx_L1_error)
|
|
6245
6248
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
6246
6249
|
__Pyx_RefNannyFinishContext();
|
|
@@ -8928,6 +8931,7 @@ static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp) {
|
|
|
8928
8931
|
changed = 1;
|
|
8929
8932
|
}
|
|
8930
8933
|
#endif // CYTHON_METH_FASTCALL
|
|
8934
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
8931
8935
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
8932
8936
|
PyObject *descr;
|
|
8933
8937
|
assert(memb->type == T_OBJECT);
|
|
@@ -8942,11 +8946,13 @@ static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp) {
|
|
|
8942
8946
|
}
|
|
8943
8947
|
changed = 1;
|
|
8944
8948
|
}
|
|
8949
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
8945
8950
|
}
|
|
8946
8951
|
memb++;
|
|
8947
8952
|
}
|
|
8948
8953
|
}
|
|
8949
8954
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
8955
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
8950
8956
|
slot = spec->slots;
|
|
8951
8957
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
8952
8958
|
slot++;
|
|
@@ -8978,6 +8984,7 @@ static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp) {
|
|
|
8978
8984
|
++getset;
|
|
8979
8985
|
}
|
|
8980
8986
|
}
|
|
8987
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
8981
8988
|
if (changed)
|
|
8982
8989
|
PyType_Modified(type);
|
|
8983
8990
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -9110,7 +9117,7 @@ bad:
|
|
|
9110
9117
|
}
|
|
9111
9118
|
|
|
9112
9119
|
/* CommonTypesMetaclass */
|
|
9113
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
9120
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
9114
9121
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
9115
9122
|
}
|
|
9116
9123
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -9139,6 +9146,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
9139
9146
|
return -1;
|
|
9140
9147
|
}
|
|
9141
9148
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
9149
|
+
Py_DECREF(bases);
|
|
9142
9150
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
9143
9151
|
return -1;
|
|
9144
9152
|
}
|
|
@@ -9438,7 +9446,7 @@ static CYTHON_INLINE PyObject *__Pyx_PyIter_Next_Plain(PyObject *iterator) {
|
|
|
9438
9446
|
}
|
|
9439
9447
|
|
|
9440
9448
|
/* PyObjectCallMethod1 */
|
|
9441
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
9449
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
9442
9450
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
9443
9451
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
9444
9452
|
Py_DECREF(method);
|
|
@@ -9446,7 +9454,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
9446
9454
|
}
|
|
9447
9455
|
#endif
|
|
9448
9456
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
9449
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
9457
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
9450
9458
|
PyObject *args[2] = {obj, arg};
|
|
9451
9459
|
(void) __Pyx_PyObject_GetMethod;
|
|
9452
9460
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -12269,6 +12277,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_TrueDivideObjC(PyObject *op1, PyObje
|
|
|
12269
12277
|
|
|
12270
12278
|
/* PyObjectCallMethod0 */
|
|
12271
12279
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
12280
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
12281
|
+
PyObject *args[1] = {obj};
|
|
12282
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
12283
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
12284
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
12285
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
12286
|
+
#else
|
|
12272
12287
|
PyObject *method = NULL, *result = NULL;
|
|
12273
12288
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
12274
12289
|
if (likely(is_method)) {
|
|
@@ -12281,6 +12296,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_TrueDivideObjC(PyObject *op1, PyObje
|
|
|
12281
12296
|
Py_DECREF(method);
|
|
12282
12297
|
bad:
|
|
12283
12298
|
return result;
|
|
12299
|
+
#endif
|
|
12284
12300
|
}
|
|
12285
12301
|
|
|
12286
12302
|
/* ValidateBasesTuple */
|
|
@@ -12454,15 +12470,15 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) {
|
|
|
12454
12470
|
}
|
|
12455
12471
|
|
|
12456
12472
|
/* TypeImport */
|
|
12457
|
-
#ifndef
|
|
12458
|
-
#define
|
|
12459
|
-
static PyTypeObject *
|
|
12460
|
-
size_t size, size_t alignment, enum
|
|
12473
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_4
|
|
12474
|
+
#define __PYX_HAVE_RT_ImportType_3_1_4
|
|
12475
|
+
static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
|
|
12476
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
|
|
12461
12477
|
{
|
|
12462
12478
|
PyObject *result = 0;
|
|
12463
12479
|
Py_ssize_t basicsize;
|
|
12464
12480
|
Py_ssize_t itemsize;
|
|
12465
|
-
#
|
|
12481
|
+
#ifdef Py_LIMITED_API
|
|
12466
12482
|
PyObject *py_basicsize;
|
|
12467
12483
|
PyObject *py_itemsize;
|
|
12468
12484
|
#endif
|
|
@@ -12475,7 +12491,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
12475
12491
|
module_name, class_name);
|
|
12476
12492
|
goto bad;
|
|
12477
12493
|
}
|
|
12478
|
-
#
|
|
12494
|
+
#ifndef Py_LIMITED_API
|
|
12479
12495
|
basicsize = ((PyTypeObject *)result)->tp_basicsize;
|
|
12480
12496
|
itemsize = ((PyTypeObject *)result)->tp_itemsize;
|
|
12481
12497
|
#else
|
|
@@ -12513,7 +12529,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
12513
12529
|
module_name, class_name, size, basicsize+itemsize);
|
|
12514
12530
|
goto bad;
|
|
12515
12531
|
}
|
|
12516
|
-
if (check_size ==
|
|
12532
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
|
|
12517
12533
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
12518
12534
|
PyErr_Format(PyExc_ValueError,
|
|
12519
12535
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -12521,7 +12537,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
12521
12537
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
12522
12538
|
goto bad;
|
|
12523
12539
|
}
|
|
12524
|
-
else if (check_size ==
|
|
12540
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
|
|
12525
12541
|
if (PyErr_WarnFormat(NULL, 0,
|
|
12526
12542
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
12527
12543
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -14639,6 +14655,10 @@ static int __pyx_AsyncGen_init(PyObject *module) {
|
|
|
14639
14655
|
PyCode_NewWithPosOnlyArgs
|
|
14640
14656
|
#endif
|
|
14641
14657
|
(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
|
|
14658
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
|
|
14659
|
+
if (likely(result))
|
|
14660
|
+
result->_co_firsttraceable = 0;
|
|
14661
|
+
#endif
|
|
14642
14662
|
return result;
|
|
14643
14663
|
}
|
|
14644
14664
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|