ez-a-sync 0.32.26__cp313-cp313-musllinux_1_2_i686.whl → 0.32.28__cp313-cp313-musllinux_1_2_i686.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ez-a-sync might be problematic. Click here for more details.

Files changed (71) hide show
  1. a_sync/_smart.c +63 -43
  2. a_sync/_smart.cpython-313-i386-linux-musl.so +0 -0
  3. a_sync/a_sync/_descriptor.c +83 -63
  4. a_sync/a_sync/_descriptor.cpython-313-i386-linux-musl.so +0 -0
  5. a_sync/a_sync/_flags.c +13 -10
  6. a_sync/a_sync/_flags.cpython-313-i386-linux-musl.so +0 -0
  7. a_sync/a_sync/_helpers.c +76 -56
  8. a_sync/a_sync/_helpers.cpython-313-i386-linux-musl.so +0 -0
  9. a_sync/a_sync/_kwargs.c +45 -25
  10. a_sync/a_sync/_kwargs.cpython-313-i386-linux-musl.so +0 -0
  11. a_sync/a_sync/abstract.c +54 -24
  12. a_sync/a_sync/abstract.cpython-313-i386-linux-musl.so +0 -0
  13. a_sync/a_sync/abstract.pyi +2 -2
  14. a_sync/a_sync/base.c +186 -162
  15. a_sync/a_sync/base.cpython-313-i386-linux-musl.so +0 -0
  16. a_sync/a_sync/flags.c +13 -10
  17. a_sync/a_sync/flags.cpython-313-i386-linux-musl.so +0 -0
  18. a_sync/a_sync/function.c +106 -77
  19. a_sync/a_sync/function.cpython-313-i386-linux-musl.so +0 -0
  20. a_sync/a_sync/method.c +156 -124
  21. a_sync/a_sync/method.cpython-313-i386-linux-musl.so +0 -0
  22. a_sync/a_sync/method.pyi +2 -1
  23. a_sync/a_sync/modifiers/manager.c +60 -40
  24. a_sync/a_sync/modifiers/manager.cpython-313-i386-linux-musl.so +0 -0
  25. a_sync/a_sync/property.c +104 -78
  26. a_sync/a_sync/property.cpython-313-i386-linux-musl.so +0 -0
  27. a_sync/async_property/cached.c +66 -46
  28. a_sync/async_property/cached.cpython-313-i386-linux-musl.so +0 -0
  29. a_sync/async_property/proxy.c +36 -16
  30. a_sync/async_property/proxy.cpython-313-i386-linux-musl.so +0 -0
  31. a_sync/asyncio/as_completed.c +33 -13
  32. a_sync/asyncio/as_completed.cpython-313-i386-linux-musl.so +0 -0
  33. a_sync/asyncio/create_task.c +59 -21
  34. a_sync/asyncio/create_task.cpython-313-i386-linux-musl.so +0 -0
  35. a_sync/asyncio/gather.c +42 -22
  36. a_sync/asyncio/gather.cpython-313-i386-linux-musl.so +0 -0
  37. a_sync/asyncio/igather.c +42 -18
  38. a_sync/asyncio/igather.cpython-313-i386-linux-musl.so +0 -0
  39. a_sync/asyncio/sleep.c +24 -4
  40. a_sync/asyncio/sleep.cpython-313-i386-linux-musl.so +0 -0
  41. a_sync/debugging.c +52 -32
  42. a_sync/debugging.cpython-313-i386-linux-musl.so +0 -0
  43. a_sync/exceptions.c +36 -20
  44. a_sync/exceptions.cpython-313-i386-linux-musl.so +0 -0
  45. a_sync/executor.py +44 -0
  46. a_sync/functools.c +36 -16
  47. a_sync/functools.cpython-313-i386-linux-musl.so +0 -0
  48. a_sync/iter.c +168 -98
  49. a_sync/iter.cpython-313-i386-linux-musl.so +0 -0
  50. a_sync/primitives/_debug.c +61 -41
  51. a_sync/primitives/_debug.cpython-313-i386-linux-musl.so +0 -0
  52. a_sync/primitives/_loggable.c +40 -14
  53. a_sync/primitives/_loggable.cpython-313-i386-linux-musl.so +0 -0
  54. a_sync/primitives/locks/counter.c +98 -68
  55. a_sync/primitives/locks/counter.cpython-313-i386-linux-musl.so +0 -0
  56. a_sync/primitives/locks/event.c +70 -49
  57. a_sync/primitives/locks/event.cpython-313-i386-linux-musl.so +0 -0
  58. a_sync/primitives/locks/prio_semaphore.c +120 -80
  59. a_sync/primitives/locks/prio_semaphore.cpython-313-i386-linux-musl.so +0 -0
  60. a_sync/primitives/locks/prio_semaphore.pyi +2 -2
  61. a_sync/primitives/locks/semaphore.c +96 -69
  62. a_sync/primitives/locks/semaphore.cpython-313-i386-linux-musl.so +0 -0
  63. a_sync/primitives/locks/semaphore.pyi +10 -9
  64. a_sync/primitives/queue.py +5 -1
  65. a_sync/utils/repr.c +55 -35
  66. a_sync/utils/repr.cpython-313-i386-linux-musl.so +0 -0
  67. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/METADATA +1 -1
  68. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/RECORD +71 -71
  69. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/WHEEL +0 -0
  70. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/licenses/LICENSE.txt +0 -0
  71. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/top_level.txt +0 -0
Binary file
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.2 */
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 "3_1_2"
33
- #define CYTHON_HEX_VERSION 0x030102F0
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
@@ -1874,18 +1877,18 @@ static PyObject *__Pyx_GetBuiltinName(PyObject *name);
1874
1877
  if (!__Pyx_PyThreadState_Current->tracing) {\
1875
1878
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1876
1879
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1877
- if (unlikely(!__pyx_frame_code)) goto_error;\
1878
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1879
- }\
1880
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1881
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1882
+ } else __pyx_frame_code = NULL;\
1880
1883
  PyGILState_Release(state);\
1881
- }\
1884
+ } else __pyx_frame_code = NULL;\
1882
1885
  } else {\
1883
1886
  if (!__Pyx_PyThreadState_Current->tracing) {\
1884
1887
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1885
1888
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1886
- if (unlikely(!__pyx_frame_code)) goto_error;\
1887
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1888
- }\
1889
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1890
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1891
+ } else __pyx_frame_code = NULL;\
1889
1892
  }\
1890
1893
  if (unlikely(ret == -1)) goto_error;\
1891
1894
  }
@@ -2538,22 +2541,22 @@ static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visi
2538
2541
  static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear);
2539
2542
 
2540
2543
  /* TypeImport.proto */
2541
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_2
2542
- #define __PYX_HAVE_RT_ImportType_proto_3_1_2
2544
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
2545
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_4
2543
2546
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2544
2547
  #include <stdalign.h>
2545
2548
  #endif
2546
2549
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2547
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) alignof(s)
2550
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
2548
2551
  #else
2549
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) sizeof(void*)
2552
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
2550
2553
  #endif
2551
- enum __Pyx_ImportType_CheckSize_3_1_2 {
2552
- __Pyx_ImportType_CheckSize_Error_3_1_2 = 0,
2553
- __Pyx_ImportType_CheckSize_Warn_3_1_2 = 1,
2554
- __Pyx_ImportType_CheckSize_Ignore_3_1_2 = 2
2554
+ enum __Pyx_ImportType_CheckSize_3_1_4 {
2555
+ __Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
2556
+ __Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
2557
+ __Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
2555
2558
  };
2556
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size);
2559
+ 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);
2557
2560
  #endif
2558
2561
 
2559
2562
  /* GetVTable.proto */
@@ -2992,7 +2995,7 @@ static unsigned long __Pyx_get_runtime_version(void);
2992
2995
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
2993
2996
 
2994
2997
  /* FunctionImport.proto */
2995
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2998
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2996
2999
 
2997
3000
  /* MultiPhaseInitModuleState.proto */
2998
3001
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -6914,15 +6917,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
6914
6917
  /*--- Type init code ---*/
6915
6918
  __pyx_t_1 = PyImport_ImportModule("a_sync.primitives._loggable"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
6916
6919
  __Pyx_GOTREF(__pyx_t_1);
6917
- __pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_2(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
6920
+ __pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
6918
6921
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
6919
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
6922
+ sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
6920
6923
  #elif CYTHON_COMPILING_IN_LIMITED_API
6921
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
6924
+ sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
6922
6925
  #else
6923
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
6926
+ sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
6924
6927
  #endif
6925
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin) __PYX_ERR(0, 1, __pyx_L1_error)
6928
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin) __PYX_ERR(0, 1, __pyx_L1_error)
6926
6929
  __pyx_vtabptr_6a_sync_10primitives_9_loggable__LoggerMixin = (struct __pyx_vtabstruct_6a_sync_10primitives_9_loggable__LoggerMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_9_loggable__LoggerMixin)) __PYX_ERR(0, 1, __pyx_L1_error)
6927
6930
  __pyx_vtabptr_6a_sync_10primitives_6_debug__LoopBoundMixin = &__pyx_vtable_6a_sync_10primitives_6_debug__LoopBoundMixin;
6928
6931
  __pyx_vtable_6a_sync_10primitives_6_debug__LoopBoundMixin.__pyx_base = *__pyx_vtabptr_6a_sync_10primitives_9_loggable__LoggerMixin;
@@ -7037,11 +7040,11 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
7037
7040
  /*--- Function import code ---*/
7038
7041
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7039
7042
  __Pyx_GOTREF(__pyx_t_1);
7040
- if (__Pyx_ImportFunction_3_1_2(__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)
7043
+ 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)
7041
7044
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7042
7045
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7043
7046
  __Pyx_GOTREF(__pyx_t_1);
7044
- if (__Pyx_ImportFunction_3_1_2(__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)
7047
+ if (__Pyx_ImportFunction_3_1_4(__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)
7045
7048
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7046
7049
  __Pyx_RefNannyFinishContext();
7047
7050
  return 0;
@@ -10163,15 +10166,15 @@ static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear) {
10163
10166
  }
10164
10167
 
10165
10168
  /* TypeImport */
10166
- #ifndef __PYX_HAVE_RT_ImportType_3_1_2
10167
- #define __PYX_HAVE_RT_ImportType_3_1_2
10168
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module_name, const char *class_name,
10169
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size)
10169
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_4
10170
+ #define __PYX_HAVE_RT_ImportType_3_1_4
10171
+ static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
10172
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
10170
10173
  {
10171
10174
  PyObject *result = 0;
10172
10175
  Py_ssize_t basicsize;
10173
10176
  Py_ssize_t itemsize;
10174
- #if CYTHON_COMPILING_IN_LIMITED_API
10177
+ #ifdef Py_LIMITED_API
10175
10178
  PyObject *py_basicsize;
10176
10179
  PyObject *py_itemsize;
10177
10180
  #endif
@@ -10184,7 +10187,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
10184
10187
  module_name, class_name);
10185
10188
  goto bad;
10186
10189
  }
10187
- #if !CYTHON_COMPILING_IN_LIMITED_API
10190
+ #ifndef Py_LIMITED_API
10188
10191
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
10189
10192
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
10190
10193
  #else
@@ -10222,7 +10225,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
10222
10225
  module_name, class_name, size, basicsize+itemsize);
10223
10226
  goto bad;
10224
10227
  }
10225
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_2 &&
10228
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
10226
10229
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
10227
10230
  PyErr_Format(PyExc_ValueError,
10228
10231
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -10230,7 +10233,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
10230
10233
  module_name, class_name, size, basicsize, basicsize+itemsize);
10231
10234
  goto bad;
10232
10235
  }
10233
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_2 && (size_t)basicsize > size) {
10236
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
10234
10237
  if (PyErr_WarnFormat(NULL, 0,
10235
10238
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
10236
10239
  "Expected %zd from C header, got %zd from PyObject",
@@ -10366,6 +10369,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
10366
10369
  changed = 1;
10367
10370
  }
10368
10371
  #endif // CYTHON_METH_FASTCALL
10372
+ #if !CYTHON_COMPILING_IN_PYPY
10369
10373
  else if (strcmp(memb->name, "__module__") == 0) {
10370
10374
  PyObject *descr;
10371
10375
  assert(memb->type == T_OBJECT);
@@ -10380,11 +10384,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
10380
10384
  }
10381
10385
  changed = 1;
10382
10386
  }
10387
+ #endif // !CYTHON_COMPILING_IN_PYPY
10383
10388
  }
10384
10389
  memb++;
10385
10390
  }
10386
10391
  }
10387
10392
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
10393
+ #if !CYTHON_COMPILING_IN_PYPY
10388
10394
  slot = spec->slots;
10389
10395
  while (slot && slot->slot && slot->slot != Py_tp_getset)
10390
10396
  slot++;
@@ -10416,6 +10422,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
10416
10422
  ++getset;
10417
10423
  }
10418
10424
  }
10425
+ #endif // !CYTHON_COMPILING_IN_PYPY
10419
10426
  if (changed)
10420
10427
  PyType_Modified(type);
10421
10428
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -10526,6 +10533,13 @@ try_unpack:
10526
10533
 
10527
10534
  /* PyObjectCallMethod0 */
10528
10535
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
10536
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
10537
+ PyObject *args[1] = {obj};
10538
+ (void) __Pyx_PyObject_GetMethod;
10539
+ (void) __Pyx_PyObject_CallOneArg;
10540
+ (void) __Pyx_PyObject_CallNoArg;
10541
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
10542
+ #else
10529
10543
  PyObject *method = NULL, *result = NULL;
10530
10544
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
10531
10545
  if (likely(is_method)) {
@@ -10538,6 +10552,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
10538
10552
  Py_DECREF(method);
10539
10553
  bad:
10540
10554
  return result;
10555
+ #endif
10541
10556
  }
10542
10557
 
10543
10558
  /* ValidateBasesTuple */
@@ -11263,7 +11278,7 @@ bad:
11263
11278
  }
11264
11279
 
11265
11280
  /* CommonTypesMetaclass */
11266
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
11281
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
11267
11282
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
11268
11283
  }
11269
11284
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -11292,6 +11307,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
11292
11307
  return -1;
11293
11308
  }
11294
11309
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
11310
+ Py_DECREF(bases);
11295
11311
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
11296
11312
  return -1;
11297
11313
  }
@@ -13583,7 +13599,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyOb
13583
13599
  }
13584
13600
 
13585
13601
  /* PyObjectCallMethod1 */
13586
- #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
13602
+ #if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
13587
13603
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
13588
13604
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
13589
13605
  Py_DECREF(method);
@@ -13591,7 +13607,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
13591
13607
  }
13592
13608
  #endif
13593
13609
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
13594
- #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
13610
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
13595
13611
  PyObject *args[2] = {obj, arg};
13596
13612
  (void) __Pyx_PyObject_GetMethod;
13597
13613
  (void) __Pyx_PyObject_CallOneArg;
@@ -14869,9 +14885,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
14869
14885
  }
14870
14886
 
14871
14887
  /* FunctionImport */
14872
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_2
14873
- #define __PYX_HAVE_RT_ImportFunction_3_1_2
14874
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
14888
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
14889
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
14890
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
14875
14891
  PyObject *d = 0;
14876
14892
  PyObject *cobj = 0;
14877
14893
  union {
@@ -14973,6 +14989,10 @@ bad:
14973
14989
  PyCode_NewWithPosOnlyArgs
14974
14990
  #endif
14975
14991
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
14992
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
14993
+ if (likely(result))
14994
+ result->_co_firsttraceable = 0;
14995
+ #endif
14976
14996
  return result;
14977
14997
  }
14978
14998
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.2 */
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 "3_1_2"
33
- #define CYTHON_HEX_VERSION 0x030102F0
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
@@ -1830,18 +1833,18 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
1830
1833
  if (!__Pyx_PyThreadState_Current->tracing) {\
1831
1834
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1832
1835
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1833
- if (unlikely(!__pyx_frame_code)) goto_error;\
1834
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1835
- }\
1836
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1837
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1838
+ } else __pyx_frame_code = NULL;\
1836
1839
  PyGILState_Release(state);\
1837
- }\
1840
+ } else __pyx_frame_code = NULL;\
1838
1841
  } else {\
1839
1842
  if (!__Pyx_PyThreadState_Current->tracing) {\
1840
1843
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1841
1844
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1842
- if (unlikely(!__pyx_frame_code)) goto_error;\
1843
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1844
- }\
1845
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1846
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1847
+ } else __pyx_frame_code = NULL;\
1845
1848
  }\
1846
1849
  if (unlikely(ret == -1)) goto_error;\
1847
1850
  }
@@ -2870,7 +2873,7 @@ static const char __pyx_k_asyncio_coroutines[] = "asyncio.coroutines";
2870
2873
  static const char __pyx_k_cline_in_traceback[] = "cline_in_traceback";
2871
2874
  static const char __pyx_k_get_logger_for_cls[] = "_get_logger_for_cls";
2872
2875
  static const char __pyx_k_check_debug_logs_enabled[] = "check_debug_logs_enabled";
2873
- static const char __pyx_k_hk_A_1_rrttu_xq_7_a_nA_1[] = "\200\001\360\006\000\005\010\200\220h\230k\250\033\260A\330\010\r\210^\2301\330\010\016\320\016!\320!r\320rt\320tu\330\004\023\220<\230x\240q\250\001\330\004\007\200|\2207\230!\330\010.\250a\250\270n\310A\330\004\013\2101";
2876
+ static const char __pyx_k_hk_A_1_rrttu_xq_7_a_nA_1[] = "\200\001\360\006\000\005\010\200\177\220h\230k\250\033\260A\330\010\r\210^\2301\330\010\016\320\016!\320!r\320rt\320tu\330\004\023\220<\230x\240q\250\001\330\004\007\200|\2207\230!\330\010.\250a\250\177\270n\310A\330\004\013\2101";
2874
2877
  static const char __pyx_k_pyx_unpickle__LoggerMixin[] = "__pyx_unpickle__LoggerMixin";
2875
2878
  static const char __pyx_k_LoggerMixin___reduce_cython[] = "_LoggerMixin.__reduce_cython__";
2876
2879
  static const char __pyx_k_a_sync_primitives__loggable[] = "a_sync.primitives._loggable";
@@ -3277,8 +3280,14 @@ static PyObject *__pyx_f_6a_sync_10primitives_9_loggable_12_LoggerMixin_get_logg
3277
3280
  * else:
3278
3281
  */
3279
3282
  __Pyx_TraceLine(65,19,0,__PYX_ERR(0, 65, __pyx_L1_error))
3280
- __pyx_t_2 = (__pyx_v_name != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_name) != 0);
3281
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_2 < 0))) __PYX_ERR(0, 65, __pyx_L1_error)
3283
+ if (__pyx_v_name == Py_None) __pyx_t_2 = 0;
3284
+ else
3285
+ {
3286
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_name);
3287
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 65, __pyx_L1_error)
3288
+ __pyx_t_2 = (__pyx_temp != 0);
3289
+ }
3290
+
3282
3291
  if (__pyx_t_2) {
3283
3292
 
3284
3293
  /* "a_sync/primitives/_loggable.pyx":66
@@ -7670,6 +7679,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
7670
7679
  changed = 1;
7671
7680
  }
7672
7681
  #endif // CYTHON_METH_FASTCALL
7682
+ #if !CYTHON_COMPILING_IN_PYPY
7673
7683
  else if (strcmp(memb->name, "__module__") == 0) {
7674
7684
  PyObject *descr;
7675
7685
  assert(memb->type == T_OBJECT);
@@ -7684,11 +7694,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
7684
7694
  }
7685
7695
  changed = 1;
7686
7696
  }
7697
+ #endif // !CYTHON_COMPILING_IN_PYPY
7687
7698
  }
7688
7699
  memb++;
7689
7700
  }
7690
7701
  }
7691
7702
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
7703
+ #if !CYTHON_COMPILING_IN_PYPY
7692
7704
  slot = spec->slots;
7693
7705
  while (slot && slot->slot && slot->slot != Py_tp_getset)
7694
7706
  slot++;
@@ -7720,6 +7732,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
7720
7732
  ++getset;
7721
7733
  }
7722
7734
  }
7735
+ #endif // !CYTHON_COMPILING_IN_PYPY
7723
7736
  if (changed)
7724
7737
  PyType_Modified(type);
7725
7738
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -7830,6 +7843,13 @@ try_unpack:
7830
7843
 
7831
7844
  /* PyObjectCallMethod0 */
7832
7845
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
7846
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
7847
+ PyObject *args[1] = {obj};
7848
+ (void) __Pyx_PyObject_GetMethod;
7849
+ (void) __Pyx_PyObject_CallOneArg;
7850
+ (void) __Pyx_PyObject_CallNoArg;
7851
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
7852
+ #else
7833
7853
  PyObject *method = NULL, *result = NULL;
7834
7854
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
7835
7855
  if (likely(is_method)) {
@@ -7842,6 +7862,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
7842
7862
  Py_DECREF(method);
7843
7863
  bad:
7844
7864
  return result;
7865
+ #endif
7845
7866
  }
7846
7867
 
7847
7868
  /* ValidateBasesTuple */
@@ -8520,7 +8541,7 @@ bad:
8520
8541
  }
8521
8542
 
8522
8543
  /* CommonTypesMetaclass */
8523
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
8544
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
8524
8545
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
8525
8546
  }
8526
8547
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -8549,6 +8570,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
8549
8570
  return -1;
8550
8571
  }
8551
8572
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
8573
+ Py_DECREF(bases);
8552
8574
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
8553
8575
  return -1;
8554
8576
  }
@@ -10869,6 +10891,10 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
10869
10891
  PyCode_NewWithPosOnlyArgs
10870
10892
  #endif
10871
10893
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
10894
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
10895
+ if (likely(result))
10896
+ result->_co_firsttraceable = 0;
10897
+ #endif
10872
10898
  return result;
10873
10899
  }
10874
10900
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY