ez-a-sync 0.32.26__cp313-cp313-win32.whl → 0.32.27__cp313-cp313-win32.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 +49 -34
- a_sync/_smart.cp313-win32.pyd +0 -0
- a_sync/a_sync/_descriptor.c +69 -54
- a_sync/a_sync/_descriptor.cp313-win32.pyd +0 -0
- a_sync/a_sync/_flags.c +13 -10
- a_sync/a_sync/_flags.cp313-win32.pyd +0 -0
- a_sync/a_sync/_helpers.c +62 -47
- a_sync/a_sync/_helpers.cp313-win32.pyd +0 -0
- a_sync/a_sync/_kwargs.c +33 -18
- a_sync/a_sync/_kwargs.cp313-win32.pyd +0 -0
- a_sync/a_sync/abstract.c +18 -11
- a_sync/a_sync/abstract.cp313-win32.pyd +0 -0
- a_sync/a_sync/base.c +168 -153
- a_sync/a_sync/base.cp313-win32.pyd +0 -0
- a_sync/a_sync/flags.c +6 -3
- a_sync/a_sync/flags.cp313-win32.pyd +0 -0
- a_sync/a_sync/function.c +80 -65
- a_sync/a_sync/function.cp313-win32.pyd +0 -0
- a_sync/a_sync/method.c +120 -105
- a_sync/a_sync/method.cp313-win32.pyd +0 -0
- a_sync/a_sync/modifiers/manager.c +46 -31
- a_sync/a_sync/modifiers/manager.cp313-win32.pyd +0 -0
- a_sync/a_sync/property.c +82 -67
- a_sync/a_sync/property.cp313-win32.pyd +0 -0
- a_sync/async_property/cached.c +52 -37
- a_sync/async_property/cached.cp313-win32.pyd +0 -0
- a_sync/async_property/proxy.c +25 -10
- a_sync/async_property/proxy.cp313-win32.pyd +0 -0
- a_sync/asyncio/as_completed.c +21 -6
- a_sync/asyncio/as_completed.cp313-win32.pyd +0 -0
- a_sync/asyncio/create_task.c +23 -8
- a_sync/asyncio/create_task.cp313-win32.pyd +0 -0
- a_sync/asyncio/gather.c +30 -15
- a_sync/asyncio/gather.cp313-win32.pyd +0 -0
- a_sync/asyncio/igather.c +24 -9
- a_sync/asyncio/igather.cp313-win32.pyd +0 -0
- a_sync/asyncio/sleep.c +19 -4
- a_sync/asyncio/sleep.cp313-win32.pyd +0 -0
- a_sync/debugging.c +45 -30
- a_sync/debugging.cp313-win32.pyd +0 -0
- a_sync/exceptions.c +18 -11
- a_sync/exceptions.cp313-win32.pyd +0 -0
- a_sync/executor.py +44 -0
- a_sync/functools.c +24 -9
- a_sync/functools.cp313-win32.pyd +0 -0
- a_sync/iter.c +84 -69
- a_sync/iter.cp313-win32.pyd +0 -0
- a_sync/primitives/_debug.c +49 -34
- a_sync/primitives/_debug.cp313-win32.pyd +0 -0
- a_sync/primitives/_loggable.c +25 -10
- a_sync/primitives/_loggable.cp313-win32.pyd +0 -0
- a_sync/primitives/locks/counter.c +70 -55
- a_sync/primitives/locks/counter.cp313-win32.pyd +0 -0
- a_sync/primitives/locks/event.c +56 -40
- a_sync/primitives/locks/event.cp313-win32.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.c +82 -67
- a_sync/primitives/locks/prio_semaphore.cp313-win32.pyd +0 -0
- a_sync/primitives/locks/semaphore.c +71 -56
- a_sync/primitives/locks/semaphore.cp313-win32.pyd +0 -0
- a_sync/utils/repr.c +41 -26
- a_sync/utils/repr.cp313-win32.pyd +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/METADATA +1 -1
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/RECORD +66 -66
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/WHEEL +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/licenses/LICENSE.txt +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/top_level.txt +0 -0
a_sync/asyncio/gather.c
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.3 */
|
|
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_3"
|
|
33
|
+
#define CYTHON_HEX_VERSION 0x030103F0
|
|
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
|
|
@@ -3020,7 +3023,7 @@ static unsigned long __Pyx_get_runtime_version(void);
|
|
|
3020
3023
|
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
|
|
3021
3024
|
|
|
3022
3025
|
/* FunctionImport.proto */
|
|
3023
|
-
static int
|
|
3026
|
+
static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
|
|
3024
3027
|
|
|
3025
3028
|
/* MultiPhaseInitModuleState.proto */
|
|
3026
3029
|
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
|
|
@@ -7376,20 +7379,20 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
7376
7379
|
/*--- Function import code ---*/
|
|
7377
7380
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7378
7381
|
__Pyx_GOTREF(__pyx_t_1);
|
|
7379
|
-
if (
|
|
7382
|
+
if (__Pyx_ImportFunction_3_1_3(__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)
|
|
7380
7383
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
7381
7384
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.as_completed"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7382
7385
|
__Pyx_GOTREF(__pyx_t_1);
|
|
7383
|
-
if (
|
|
7386
|
+
if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "as_completed_mapping", (void (**)(void))&__pyx_f_6a_sync_7asyncio_12as_completed_as_completed_mapping, "PyObject *(PyObject *, unsigned int, int, int, int, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7384
7387
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
7385
7388
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7386
7389
|
__Pyx_GOTREF(__pyx_t_1);
|
|
7387
|
-
if (
|
|
7388
|
-
if (
|
|
7390
|
+
if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "ccreate_task_simple", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task_simple, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7391
|
+
if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "ccreate_task", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task, "PyObject *(PyObject *, PyObject *, int, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7389
7392
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
7390
7393
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.igather"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7391
7394
|
__Pyx_GOTREF(__pyx_t_1);
|
|
7392
|
-
if (
|
|
7395
|
+
if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "cigather", (void (**)(void))&__pyx_f_6a_sync_7asyncio_7igather_cigather, "PyObject *(PyObject *, struct __pyx_opt_args_6a_sync_7asyncio_7igather_cigather *__pyx_optional_args)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7393
7396
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
7394
7397
|
__Pyx_RefNannyFinishContext();
|
|
7395
7398
|
return 0;
|
|
@@ -10412,6 +10415,13 @@ try_unpack:
|
|
|
10412
10415
|
|
|
10413
10416
|
/* PyObjectCallMethod0 */
|
|
10414
10417
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
10418
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
10419
|
+
PyObject *args[1] = {obj};
|
|
10420
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
10421
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
10422
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
10423
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
10424
|
+
#else
|
|
10415
10425
|
PyObject *method = NULL, *result = NULL;
|
|
10416
10426
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
10417
10427
|
if (likely(is_method)) {
|
|
@@ -10424,6 +10434,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
|
|
|
10424
10434
|
Py_DECREF(method);
|
|
10425
10435
|
bad:
|
|
10426
10436
|
return result;
|
|
10437
|
+
#endif
|
|
10427
10438
|
}
|
|
10428
10439
|
|
|
10429
10440
|
/* RaiseNeedMoreValuesToUnpack */
|
|
@@ -10912,6 +10923,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
10912
10923
|
changed = 1;
|
|
10913
10924
|
}
|
|
10914
10925
|
#endif // CYTHON_METH_FASTCALL
|
|
10926
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
10915
10927
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
10916
10928
|
PyObject *descr;
|
|
10917
10929
|
assert(memb->type == T_OBJECT);
|
|
@@ -10926,11 +10938,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
10926
10938
|
}
|
|
10927
10939
|
changed = 1;
|
|
10928
10940
|
}
|
|
10941
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
10929
10942
|
}
|
|
10930
10943
|
memb++;
|
|
10931
10944
|
}
|
|
10932
10945
|
}
|
|
10933
10946
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
10947
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
10934
10948
|
slot = spec->slots;
|
|
10935
10949
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
10936
10950
|
slot++;
|
|
@@ -10962,6 +10976,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
10962
10976
|
++getset;
|
|
10963
10977
|
}
|
|
10964
10978
|
}
|
|
10979
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
10965
10980
|
if (changed)
|
|
10966
10981
|
PyType_Modified(type);
|
|
10967
10982
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -11094,7 +11109,7 @@ bad:
|
|
|
11094
11109
|
}
|
|
11095
11110
|
|
|
11096
11111
|
/* CommonTypesMetaclass */
|
|
11097
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
11112
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
11098
11113
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
11099
11114
|
}
|
|
11100
11115
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -11314,7 +11329,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyOb
|
|
|
11314
11329
|
}
|
|
11315
11330
|
|
|
11316
11331
|
/* PyObjectCallMethod1 */
|
|
11317
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
11332
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
11318
11333
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
11319
11334
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
11320
11335
|
Py_DECREF(method);
|
|
@@ -11322,7 +11337,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
11322
11337
|
}
|
|
11323
11338
|
#endif
|
|
11324
11339
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
11325
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
11340
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
11326
11341
|
PyObject *args[2] = {obj, arg};
|
|
11327
11342
|
(void) __Pyx_PyObject_GetMethod;
|
|
11328
11343
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -15611,9 +15626,9 @@ static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObj
|
|
|
15611
15626
|
}
|
|
15612
15627
|
|
|
15613
15628
|
/* FunctionImport */
|
|
15614
|
-
#ifndef
|
|
15615
|
-
#define
|
|
15616
|
-
static int
|
|
15629
|
+
#ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
|
|
15630
|
+
#define __PYX_HAVE_RT_ImportFunction_3_1_3
|
|
15631
|
+
static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
|
|
15617
15632
|
PyObject *d = 0;
|
|
15618
15633
|
PyObject *cobj = 0;
|
|
15619
15634
|
union {
|
|
Binary file
|
a_sync/asyncio/igather.c
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.3 */
|
|
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_3"
|
|
33
|
+
#define CYTHON_HEX_VERSION 0x030103F0
|
|
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
|
|
@@ -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_3(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
|
|
@@ -5971,7 +5974,7 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
5971
5974
|
/*--- Function import code ---*/
|
|
5972
5975
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
5973
5976
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5974
|
-
if (
|
|
5977
|
+
if (__Pyx_ImportFunction_3_1_3(__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
5978
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5976
5979
|
__Pyx_RefNannyFinishContext();
|
|
5977
5980
|
return 0;
|
|
@@ -8264,6 +8267,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
8264
8267
|
changed = 1;
|
|
8265
8268
|
}
|
|
8266
8269
|
#endif // CYTHON_METH_FASTCALL
|
|
8270
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
8267
8271
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
8268
8272
|
PyObject *descr;
|
|
8269
8273
|
assert(memb->type == T_OBJECT);
|
|
@@ -8278,11 +8282,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
8278
8282
|
}
|
|
8279
8283
|
changed = 1;
|
|
8280
8284
|
}
|
|
8285
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
8281
8286
|
}
|
|
8282
8287
|
memb++;
|
|
8283
8288
|
}
|
|
8284
8289
|
}
|
|
8285
8290
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
8291
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
8286
8292
|
slot = spec->slots;
|
|
8287
8293
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
8288
8294
|
slot++;
|
|
@@ -8314,6 +8320,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
8314
8320
|
++getset;
|
|
8315
8321
|
}
|
|
8316
8322
|
}
|
|
8323
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
8317
8324
|
if (changed)
|
|
8318
8325
|
PyType_Modified(type);
|
|
8319
8326
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -8446,7 +8453,7 @@ bad:
|
|
|
8446
8453
|
}
|
|
8447
8454
|
|
|
8448
8455
|
/* CommonTypesMetaclass */
|
|
8449
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
8456
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
8450
8457
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
8451
8458
|
}
|
|
8452
8459
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -9759,6 +9766,13 @@ try_unpack:
|
|
|
9759
9766
|
|
|
9760
9767
|
/* PyObjectCallMethod0 */
|
|
9761
9768
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
9769
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
9770
|
+
PyObject *args[1] = {obj};
|
|
9771
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
9772
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
9773
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
9774
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
9775
|
+
#else
|
|
9762
9776
|
PyObject *method = NULL, *result = NULL;
|
|
9763
9777
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
9764
9778
|
if (likely(is_method)) {
|
|
@@ -9771,6 +9785,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
|
|
|
9771
9785
|
Py_DECREF(method);
|
|
9772
9786
|
bad:
|
|
9773
9787
|
return result;
|
|
9788
|
+
#endif
|
|
9774
9789
|
}
|
|
9775
9790
|
|
|
9776
9791
|
/* RaiseNeedMoreValuesToUnpack */
|
|
@@ -11806,9 +11821,9 @@ bad:
|
|
|
11806
11821
|
}
|
|
11807
11822
|
|
|
11808
11823
|
/* FunctionImport */
|
|
11809
|
-
#ifndef
|
|
11810
|
-
#define
|
|
11811
|
-
static int
|
|
11824
|
+
#ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
|
|
11825
|
+
#define __PYX_HAVE_RT_ImportFunction_3_1_3
|
|
11826
|
+
static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
|
|
11812
11827
|
PyObject *d = 0;
|
|
11813
11828
|
PyObject *cobj = 0;
|
|
11814
11829
|
union {
|
|
Binary file
|
a_sync/asyncio/sleep.c
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.3 */
|
|
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_3"
|
|
33
|
+
#define CYTHON_HEX_VERSION 0x030103F0
|
|
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[] = {
|
|
Binary file
|
a_sync/debugging.c
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.3 */
|
|
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_3"
|
|
34
|
+
#define CYTHON_HEX_VERSION 0x030103F0
|
|
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_3
|
|
2371
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_3
|
|
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_3(s) alignof(s)
|
|
2374
2377
|
#else
|
|
2375
|
-
#define
|
|
2378
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
|
|
2376
2379
|
#endif
|
|
2377
|
-
enum
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2380
|
+
enum __Pyx_ImportType_CheckSize_3_1_3 {
|
|
2381
|
+
__Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
|
|
2382
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
|
|
2383
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
|
|
2381
2384
|
};
|
|
2382
|
-
static PyTypeObject *
|
|
2385
|
+
static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 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_3(__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_3(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_3(PyHeapTypeObject),
|
|
6230
6233
|
#endif
|
|
6231
|
-
|
|
6234
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); 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_3(__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_3(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_3(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_3(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction),
|
|
6242
6245
|
#endif
|
|
6243
|
-
|
|
6246
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); 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[] = {
|
|
@@ -9438,7 +9445,7 @@ static CYTHON_INLINE PyObject *__Pyx_PyIter_Next_Plain(PyObject *iterator) {
|
|
|
9438
9445
|
}
|
|
9439
9446
|
|
|
9440
9447
|
/* PyObjectCallMethod1 */
|
|
9441
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
9448
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
9442
9449
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
9443
9450
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
9444
9451
|
Py_DECREF(method);
|
|
@@ -9446,7 +9453,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
9446
9453
|
}
|
|
9447
9454
|
#endif
|
|
9448
9455
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
9449
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
9456
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
9450
9457
|
PyObject *args[2] = {obj, arg};
|
|
9451
9458
|
(void) __Pyx_PyObject_GetMethod;
|
|
9452
9459
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -12269,6 +12276,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_TrueDivideObjC(PyObject *op1, PyObje
|
|
|
12269
12276
|
|
|
12270
12277
|
/* PyObjectCallMethod0 */
|
|
12271
12278
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
12279
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
12280
|
+
PyObject *args[1] = {obj};
|
|
12281
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
12282
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
12283
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
12284
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
12285
|
+
#else
|
|
12272
12286
|
PyObject *method = NULL, *result = NULL;
|
|
12273
12287
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
12274
12288
|
if (likely(is_method)) {
|
|
@@ -12281,6 +12295,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_TrueDivideObjC(PyObject *op1, PyObje
|
|
|
12281
12295
|
Py_DECREF(method);
|
|
12282
12296
|
bad:
|
|
12283
12297
|
return result;
|
|
12298
|
+
#endif
|
|
12284
12299
|
}
|
|
12285
12300
|
|
|
12286
12301
|
/* ValidateBasesTuple */
|
|
@@ -12454,10 +12469,10 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) {
|
|
|
12454
12469
|
}
|
|
12455
12470
|
|
|
12456
12471
|
/* TypeImport */
|
|
12457
|
-
#ifndef
|
|
12458
|
-
#define
|
|
12459
|
-
static PyTypeObject *
|
|
12460
|
-
size_t size, size_t alignment, enum
|
|
12472
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_3
|
|
12473
|
+
#define __PYX_HAVE_RT_ImportType_3_1_3
|
|
12474
|
+
static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
|
|
12475
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
|
|
12461
12476
|
{
|
|
12462
12477
|
PyObject *result = 0;
|
|
12463
12478
|
Py_ssize_t basicsize;
|
|
@@ -12513,7 +12528,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
12513
12528
|
module_name, class_name, size, basicsize+itemsize);
|
|
12514
12529
|
goto bad;
|
|
12515
12530
|
}
|
|
12516
|
-
if (check_size ==
|
|
12531
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
|
|
12517
12532
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
12518
12533
|
PyErr_Format(PyExc_ValueError,
|
|
12519
12534
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -12521,7 +12536,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
12521
12536
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
12522
12537
|
goto bad;
|
|
12523
12538
|
}
|
|
12524
|
-
else if (check_size ==
|
|
12539
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
|
|
12525
12540
|
if (PyErr_WarnFormat(NULL, 0,
|
|
12526
12541
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
12527
12542
|
"Expected %zd from C header, got %zd from PyObject",
|
a_sync/debugging.cp313-win32.pyd
CHANGED
|
Binary file
|
a_sync/exceptions.c
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.3 */
|
|
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_3"
|
|
33
|
+
#define CYTHON_HEX_VERSION 0x030103F0
|
|
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
|
|
@@ -2704,7 +2707,7 @@ static unsigned long __Pyx_get_runtime_version(void);
|
|
|
2704
2707
|
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
|
|
2705
2708
|
|
|
2706
2709
|
/* VoidPtrImport.proto */
|
|
2707
|
-
static int
|
|
2710
|
+
static int __Pyx_ImportVoidPtr_3_1_3(PyObject *module, const char *name, void **p, const char *sig);
|
|
2708
2711
|
|
|
2709
2712
|
/* MultiPhaseInitModuleState.proto */
|
|
2710
2713
|
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
|
|
@@ -6224,9 +6227,9 @@ static int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6224
6227
|
/*--- Variable import code ---*/
|
|
6225
6228
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6226
6229
|
__Pyx_GOTREF(__pyx_t_1);
|
|
6227
|
-
if (
|
|
6228
|
-
if (
|
|
6229
|
-
if (
|
|
6230
|
+
if (__Pyx_ImportVoidPtr_3_1_3(__pyx_t_1, "AFFIRMATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_AFFIRMATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6231
|
+
if (__Pyx_ImportVoidPtr_3_1_3(__pyx_t_1, "NEGATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_NEGATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6232
|
+
if (__Pyx_ImportVoidPtr_3_1_3(__pyx_t_1, "VIABLE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_VIABLE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6230
6233
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
6231
6234
|
__Pyx_RefNannyFinishContext();
|
|
6232
6235
|
return 0;
|
|
@@ -9867,6 +9870,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
9867
9870
|
changed = 1;
|
|
9868
9871
|
}
|
|
9869
9872
|
#endif // CYTHON_METH_FASTCALL
|
|
9873
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
9870
9874
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
9871
9875
|
PyObject *descr;
|
|
9872
9876
|
assert(memb->type == T_OBJECT);
|
|
@@ -9881,11 +9885,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
9881
9885
|
}
|
|
9882
9886
|
changed = 1;
|
|
9883
9887
|
}
|
|
9888
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
9884
9889
|
}
|
|
9885
9890
|
memb++;
|
|
9886
9891
|
}
|
|
9887
9892
|
}
|
|
9888
9893
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
9894
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
9889
9895
|
slot = spec->slots;
|
|
9890
9896
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
9891
9897
|
slot++;
|
|
@@ -9917,6 +9923,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
9917
9923
|
++getset;
|
|
9918
9924
|
}
|
|
9919
9925
|
}
|
|
9926
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
9920
9927
|
if (changed)
|
|
9921
9928
|
PyType_Modified(type);
|
|
9922
9929
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -10049,7 +10056,7 @@ bad:
|
|
|
10049
10056
|
}
|
|
10050
10057
|
|
|
10051
10058
|
/* CommonTypesMetaclass */
|
|
10052
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
10059
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
10053
10060
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
10054
10061
|
}
|
|
10055
10062
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -12446,9 +12453,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
|
|
|
12446
12453
|
}
|
|
12447
12454
|
|
|
12448
12455
|
/* VoidPtrImport */
|
|
12449
|
-
#ifndef
|
|
12450
|
-
#define
|
|
12451
|
-
static int
|
|
12456
|
+
#ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_3
|
|
12457
|
+
#define __PYX_HAVE_RT_ImportVoidPtr_3_1_3
|
|
12458
|
+
static int __Pyx_ImportVoidPtr_3_1_3(PyObject *module, const char *name, void **p, const char *sig) {
|
|
12452
12459
|
PyObject *d = 0;
|
|
12453
12460
|
PyObject *cobj = 0;
|
|
12454
12461
|
d = PyObject_GetAttrString(module, "__pyx_capi__");
|