ez-a-sync 0.32.27__cp313-cp313-win_amd64.whl → 0.32.28__cp313-cp313-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 +36 -31
- a_sync/_smart.cp313-win_amd64.pyd +0 -0
- a_sync/a_sync/_descriptor.c +63 -58
- a_sync/a_sync/_descriptor.cp313-win_amd64.pyd +0 -0
- a_sync/a_sync/_flags.c +10 -10
- a_sync/a_sync/_flags.cp313-win_amd64.pyd +0 -0
- a_sync/a_sync/_helpers.c +57 -52
- a_sync/a_sync/_helpers.cp313-win_amd64.pyd +0 -0
- a_sync/a_sync/_kwargs.c +27 -22
- a_sync/a_sync/_kwargs.cp313-win_amd64.pyd +0 -0
- a_sync/a_sync/abstract.c +46 -23
- a_sync/a_sync/abstract.cp313-win_amd64.pyd +0 -0
- a_sync/a_sync/abstract.pyi +2 -2
- a_sync/a_sync/base.c +60 -51
- a_sync/a_sync/base.cp313-win_amd64.pyd +0 -0
- a_sync/a_sync/flags.c +10 -10
- a_sync/a_sync/flags.cp313-win_amd64.pyd +0 -0
- a_sync/a_sync/function.c +85 -71
- a_sync/a_sync/function.cp313-win_amd64.pyd +0 -0
- a_sync/a_sync/method.c +83 -66
- a_sync/a_sync/method.cp313-win_amd64.pyd +0 -0
- a_sync/a_sync/method.pyi +2 -1
- a_sync/a_sync/modifiers/manager.c +42 -37
- a_sync/a_sync/modifiers/manager.cp313-win_amd64.pyd +0 -0
- a_sync/a_sync/property.c +86 -75
- a_sync/a_sync/property.cp313-win_amd64.pyd +0 -0
- a_sync/async_property/cached.c +48 -43
- a_sync/async_property/cached.cp313-win_amd64.pyd +0 -0
- a_sync/async_property/proxy.c +16 -11
- a_sync/async_property/proxy.cp313-win_amd64.pyd +0 -0
- a_sync/asyncio/as_completed.c +15 -10
- a_sync/asyncio/as_completed.cp313-win_amd64.pyd +0 -0
- a_sync/asyncio/create_task.c +39 -16
- a_sync/asyncio/create_task.cp313-win_amd64.pyd +0 -0
- a_sync/asyncio/gather.c +24 -19
- a_sync/asyncio/gather.cp313-win_amd64.pyd +0 -0
- a_sync/asyncio/igather.c +26 -17
- a_sync/asyncio/igather.cp313-win_amd64.pyd +0 -0
- a_sync/asyncio/sleep.c +8 -3
- a_sync/asyncio/sleep.cp313-win_amd64.pyd +0 -0
- a_sync/debugging.c +34 -29
- a_sync/debugging.cp313-win_amd64.pyd +0 -0
- a_sync/exceptions.c +28 -19
- a_sync/exceptions.cp313-win_amd64.pyd +0 -0
- a_sync/functools.c +20 -15
- a_sync/functools.cp313-win_amd64.pyd +0 -0
- a_sync/iter.c +145 -90
- a_sync/iter.cp313-win_amd64.pyd +0 -0
- a_sync/primitives/_debug.c +51 -46
- a_sync/primitives/_debug.cp313-win_amd64.pyd +0 -0
- a_sync/primitives/_loggable.c +30 -19
- a_sync/primitives/_loggable.cp313-win_amd64.pyd +0 -0
- a_sync/primitives/locks/counter.c +80 -65
- a_sync/primitives/locks/counter.cp313-win_amd64.pyd +0 -0
- a_sync/primitives/locks/event.c +52 -47
- a_sync/primitives/locks/event.cp313-win_amd64.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.c +97 -72
- a_sync/primitives/locks/prio_semaphore.cp313-win_amd64.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.pyi +2 -2
- a_sync/primitives/locks/semaphore.c +75 -63
- a_sync/primitives/locks/semaphore.cp313-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 +36 -31
- a_sync/utils/repr.cp313-win_amd64.pyd +0 -0
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/METADATA +1 -1
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/RECORD +70 -70
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/WHEEL +0 -0
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/licenses/LICENSE.txt +0 -0
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/top_level.txt +0 -0
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>
|
|
@@ -2367,22 +2367,22 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
|
|
|
2367
2367
|
CYTHON_UNUSED static int __Pyx_PyType_Ready(PyTypeObject *t);
|
|
2368
2368
|
|
|
2369
2369
|
/* TypeImport.proto */
|
|
2370
|
-
#ifndef
|
|
2371
|
-
#define
|
|
2370
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2371
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2372
2372
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2373
2373
|
#include <stdalign.h>
|
|
2374
2374
|
#endif
|
|
2375
2375
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2376
|
-
#define
|
|
2376
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
|
|
2377
2377
|
#else
|
|
2378
|
-
#define
|
|
2378
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
|
|
2379
2379
|
#endif
|
|
2380
|
-
enum
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
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
|
|
2384
2384
|
};
|
|
2385
|
-
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);
|
|
2386
2386
|
#endif
|
|
2387
2387
|
|
|
2388
2388
|
/* GetVTable.proto */
|
|
@@ -6223,27 +6223,27 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6223
6223
|
/*--- Type import code ---*/
|
|
6224
6224
|
__pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error)
|
|
6225
6225
|
__Pyx_GOTREF(__pyx_t_1);
|
|
6226
|
-
__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",
|
|
6227
6227
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
6228
|
-
sizeof(PyTypeObject),
|
|
6228
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(PyTypeObject),
|
|
6229
6229
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
6230
6230
|
0, 0,
|
|
6231
6231
|
#else
|
|
6232
|
-
sizeof(PyHeapTypeObject),
|
|
6232
|
+
sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(PyHeapTypeObject),
|
|
6233
6233
|
#endif
|
|
6234
|
-
|
|
6234
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(1, 9, __pyx_L1_error)
|
|
6235
6235
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
6236
6236
|
__pyx_t_1 = PyImport_ImportModule("a_sync.iter"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 3, __pyx_L1_error)
|
|
6237
6237
|
__Pyx_GOTREF(__pyx_t_1);
|
|
6238
|
-
__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",
|
|
6239
6239
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
6240
|
-
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),
|
|
6241
6241
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
6242
|
-
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),
|
|
6243
6243
|
#else
|
|
6244
|
-
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),
|
|
6245
6245
|
#endif
|
|
6246
|
-
|
|
6246
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_4iter__ASyncGeneratorFunction) __PYX_ERR(2, 3, __pyx_L1_error)
|
|
6247
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)
|
|
6248
6248
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
6249
6249
|
__Pyx_RefNannyFinishContext();
|
|
@@ -9146,6 +9146,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
9146
9146
|
return -1;
|
|
9147
9147
|
}
|
|
9148
9148
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
9149
|
+
Py_DECREF(bases);
|
|
9149
9150
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
9150
9151
|
return -1;
|
|
9151
9152
|
}
|
|
@@ -12469,15 +12470,15 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) {
|
|
|
12469
12470
|
}
|
|
12470
12471
|
|
|
12471
12472
|
/* TypeImport */
|
|
12472
|
-
#ifndef
|
|
12473
|
-
#define
|
|
12474
|
-
static PyTypeObject *
|
|
12475
|
-
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)
|
|
12476
12477
|
{
|
|
12477
12478
|
PyObject *result = 0;
|
|
12478
12479
|
Py_ssize_t basicsize;
|
|
12479
12480
|
Py_ssize_t itemsize;
|
|
12480
|
-
#
|
|
12481
|
+
#ifdef Py_LIMITED_API
|
|
12481
12482
|
PyObject *py_basicsize;
|
|
12482
12483
|
PyObject *py_itemsize;
|
|
12483
12484
|
#endif
|
|
@@ -12490,7 +12491,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
|
|
|
12490
12491
|
module_name, class_name);
|
|
12491
12492
|
goto bad;
|
|
12492
12493
|
}
|
|
12493
|
-
#
|
|
12494
|
+
#ifndef Py_LIMITED_API
|
|
12494
12495
|
basicsize = ((PyTypeObject *)result)->tp_basicsize;
|
|
12495
12496
|
itemsize = ((PyTypeObject *)result)->tp_itemsize;
|
|
12496
12497
|
#else
|
|
@@ -12528,7 +12529,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
|
|
|
12528
12529
|
module_name, class_name, size, basicsize+itemsize);
|
|
12529
12530
|
goto bad;
|
|
12530
12531
|
}
|
|
12531
|
-
if (check_size ==
|
|
12532
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
|
|
12532
12533
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
12533
12534
|
PyErr_Format(PyExc_ValueError,
|
|
12534
12535
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -12536,7 +12537,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
|
|
|
12536
12537
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
12537
12538
|
goto bad;
|
|
12538
12539
|
}
|
|
12539
|
-
else if (check_size ==
|
|
12540
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
|
|
12540
12541
|
if (PyErr_WarnFormat(NULL, 0,
|
|
12541
12542
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
12542
12543
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -14654,6 +14655,10 @@ static int __pyx_AsyncGen_init(PyObject *module) {
|
|
|
14654
14655
|
PyCode_NewWithPosOnlyArgs
|
|
14655
14656
|
#endif
|
|
14656
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
|
|
14657
14662
|
return result;
|
|
14658
14663
|
}
|
|
14659
14664
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|
a_sync/exceptions.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>
|
|
@@ -1938,18 +1938,18 @@ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
|
|
|
1938
1938
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1939
1939
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1940
1940
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1941
|
-
if (unlikely(!__pyx_frame_code))
|
|
1942
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1943
|
-
}
|
|
1941
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
1942
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1943
|
+
} else __pyx_frame_code = NULL;\
|
|
1944
1944
|
PyGILState_Release(state);\
|
|
1945
|
-
}
|
|
1945
|
+
} else __pyx_frame_code = NULL;\
|
|
1946
1946
|
} else {\
|
|
1947
1947
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1948
1948
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1949
1949
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1950
|
-
if (unlikely(!__pyx_frame_code))
|
|
1951
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1952
|
-
}
|
|
1950
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
1951
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1952
|
+
} else __pyx_frame_code = NULL;\
|
|
1953
1953
|
}\
|
|
1954
1954
|
if (unlikely(ret == -1)) goto_error;\
|
|
1955
1955
|
}
|
|
@@ -2707,7 +2707,7 @@ static unsigned long __Pyx_get_runtime_version(void);
|
|
|
2707
2707
|
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
|
|
2708
2708
|
|
|
2709
2709
|
/* VoidPtrImport.proto */
|
|
2710
|
-
static int
|
|
2710
|
+
static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig);
|
|
2711
2711
|
|
|
2712
2712
|
/* MultiPhaseInitModuleState.proto */
|
|
2713
2713
|
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
|
|
@@ -5237,8 +5237,12 @@ static PyObject *__pyx_pf_6a_sync_10exceptions_27SyncModeInAsyncContextError___i
|
|
|
5237
5237
|
* err += f"Check your traceback to determine which, then try calling asynchronously instead with one of the following kwargs:\n"
|
|
5238
5238
|
*/
|
|
5239
5239
|
__Pyx_TraceLine(320,5,0,__PYX_ERR(0, 320, __pyx_L1_error))
|
|
5240
|
-
|
|
5241
|
-
|
|
5240
|
+
{
|
|
5241
|
+
Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_err);
|
|
5242
|
+
if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 320, __pyx_L1_error)
|
|
5243
|
+
__pyx_t_1 = (__pyx_temp != 0);
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5242
5246
|
__pyx_t_2 = (!__pyx_t_1);
|
|
5243
5247
|
if (__pyx_t_2) {
|
|
5244
5248
|
|
|
@@ -6227,9 +6231,9 @@ static int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6227
6231
|
/*--- Variable import code ---*/
|
|
6228
6232
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6229
6233
|
__Pyx_GOTREF(__pyx_t_1);
|
|
6230
|
-
if (
|
|
6231
|
-
if (
|
|
6232
|
-
if (
|
|
6234
|
+
if (__Pyx_ImportVoidPtr_3_1_4(__pyx_t_1, "AFFIRMATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_AFFIRMATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6235
|
+
if (__Pyx_ImportVoidPtr_3_1_4(__pyx_t_1, "NEGATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_NEGATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6236
|
+
if (__Pyx_ImportVoidPtr_3_1_4(__pyx_t_1, "VIABLE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_VIABLE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6233
6237
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
6234
6238
|
__Pyx_RefNannyFinishContext();
|
|
6235
6239
|
return 0;
|
|
@@ -10085,6 +10089,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
10085
10089
|
return -1;
|
|
10086
10090
|
}
|
|
10087
10091
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
10092
|
+
Py_DECREF(bases);
|
|
10088
10093
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
10089
10094
|
return -1;
|
|
10090
10095
|
}
|
|
@@ -12453,9 +12458,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
|
|
|
12453
12458
|
}
|
|
12454
12459
|
|
|
12455
12460
|
/* VoidPtrImport */
|
|
12456
|
-
#ifndef
|
|
12457
|
-
#define
|
|
12458
|
-
static int
|
|
12461
|
+
#ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_4
|
|
12462
|
+
#define __PYX_HAVE_RT_ImportVoidPtr_3_1_4
|
|
12463
|
+
static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig) {
|
|
12459
12464
|
PyObject *d = 0;
|
|
12460
12465
|
PyObject *cobj = 0;
|
|
12461
12466
|
d = PyObject_GetAttrString(module, "__pyx_capi__");
|
|
@@ -12552,6 +12557,10 @@ bad:
|
|
|
12552
12557
|
PyCode_NewWithPosOnlyArgs
|
|
12553
12558
|
#endif
|
|
12554
12559
|
(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
|
|
12560
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
|
|
12561
|
+
if (likely(result))
|
|
12562
|
+
result->_co_firsttraceable = 0;
|
|
12563
|
+
#endif
|
|
12555
12564
|
return result;
|
|
12556
12565
|
}
|
|
12557
12566
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|
a_sync/functools.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>
|
|
@@ -1967,18 +1967,18 @@ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
|
|
|
1967
1967
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1968
1968
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1969
1969
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1970
|
-
if (unlikely(!__pyx_frame_code))
|
|
1971
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1972
|
-
}
|
|
1970
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
1971
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1972
|
+
} else __pyx_frame_code = NULL;\
|
|
1973
1973
|
PyGILState_Release(state);\
|
|
1974
|
-
}
|
|
1974
|
+
} else __pyx_frame_code = NULL;\
|
|
1975
1975
|
} else {\
|
|
1976
1976
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1977
1977
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1978
1978
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1979
|
-
if (unlikely(!__pyx_frame_code))
|
|
1980
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1981
|
-
}
|
|
1979
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
1980
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1981
|
+
} else __pyx_frame_code = NULL;\
|
|
1982
1982
|
}\
|
|
1983
1983
|
if (unlikely(ret == -1)) goto_error;\
|
|
1984
1984
|
}
|
|
@@ -6319,7 +6319,7 @@ __Pyx_RefNannySetupContext("PyInit_functools", 0);
|
|
|
6319
6319
|
(void)__Pyx_modinit_variable_import_code(__pyx_mstate);
|
|
6320
6320
|
(void)__Pyx_modinit_function_import_code(__pyx_mstate);
|
|
6321
6321
|
/*--- Execution code ---*/
|
|
6322
|
-
__Pyx_TraceStartFunc("PyInit_functools", __pyx_f[0], 1,
|
|
6322
|
+
__Pyx_TraceStartFunc("PyInit_functools", __pyx_f[0], 1, 0, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
6323
6323
|
|
|
6324
6324
|
/* "a_sync/functools.pyx":1
|
|
6325
6325
|
* from typing import Optional # <<<<<<<<<<<<<<
|
|
@@ -6381,7 +6381,7 @@ __Pyx_RefNannySetupContext("PyInit_functools", 0);
|
|
|
6381
6381
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
6382
6382
|
* def __setstate_cython__(self, __pyx_state):
|
|
6383
6383
|
*/
|
|
6384
|
-
__Pyx_TraceLine(1,
|
|
6384
|
+
__Pyx_TraceLine(1,1,0,__PYX_ERR(2, 1, __pyx_L1_error))
|
|
6385
6385
|
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_9functools_22cached_property_unsafe_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_cached_property_unsafe___reduce, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_functools, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[6])); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error)
|
|
6386
6386
|
__Pyx_GOTREF(__pyx_t_3);
|
|
6387
6387
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_3) < 0) __PYX_ERR(2, 1, __pyx_L1_error)
|
|
@@ -6428,12 +6428,12 @@ __Pyx_RefNannySetupContext("PyInit_functools", 0);
|
|
|
6428
6428
|
*
|
|
6429
6429
|
*
|
|
6430
6430
|
*/
|
|
6431
|
-
__Pyx_TraceLine(1,
|
|
6431
|
+
__Pyx_TraceLine(1,0,0,__PYX_ERR(0, 1, __pyx_L1_error))
|
|
6432
6432
|
__pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6433
6433
|
__Pyx_GOTREF(__pyx_t_3);
|
|
6434
6434
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_3) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6435
6435
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
6436
|
-
__Pyx_TraceReturnValue(Py_None,
|
|
6436
|
+
__Pyx_TraceReturnValue(Py_None, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
6437
6437
|
__Pyx_PyMonitoring_ExitScope(0);
|
|
6438
6438
|
|
|
6439
6439
|
/*--- Wrapped vars code ---*/
|
|
@@ -6444,7 +6444,7 @@ __Pyx_RefNannySetupContext("PyInit_functools", 0);
|
|
|
6444
6444
|
__Pyx_XDECREF(__pyx_t_3);
|
|
6445
6445
|
__Pyx_XDECREF(__pyx_t_4);
|
|
6446
6446
|
__Pyx_TraceException(__pyx_lineno, 0, 0);
|
|
6447
|
-
__Pyx_TraceExceptionUnwind(
|
|
6447
|
+
__Pyx_TraceExceptionUnwind(0, 0);
|
|
6448
6448
|
if (__pyx_m) {
|
|
6449
6449
|
if (__pyx_mstate->__pyx_d && stringtab_initialized) {
|
|
6450
6450
|
__Pyx_AddTraceback("init a_sync.functools", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
@@ -8994,6 +8994,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
8994
8994
|
return -1;
|
|
8995
8995
|
}
|
|
8996
8996
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
8997
|
+
Py_DECREF(bases);
|
|
8997
8998
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
8998
8999
|
return -1;
|
|
8999
9000
|
}
|
|
@@ -11901,6 +11902,10 @@ bad:
|
|
|
11901
11902
|
PyCode_NewWithPosOnlyArgs
|
|
11902
11903
|
#endif
|
|
11903
11904
|
(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
|
|
11905
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
|
|
11906
|
+
if (likely(result))
|
|
11907
|
+
result->_co_firsttraceable = 0;
|
|
11908
|
+
#endif
|
|
11904
11909
|
return result;
|
|
11905
11910
|
}
|
|
11906
11911
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|