ez-a-sync 0.32.27__cp311-cp311-win32.whl → 0.32.28__cp311-cp311-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.

Files changed (70) hide show
  1. a_sync/_smart.c +36 -31
  2. a_sync/_smart.cp311-win32.pyd +0 -0
  3. a_sync/a_sync/_descriptor.c +63 -58
  4. a_sync/a_sync/_descriptor.cp311-win32.pyd +0 -0
  5. a_sync/a_sync/_flags.c +10 -10
  6. a_sync/a_sync/_flags.cp311-win32.pyd +0 -0
  7. a_sync/a_sync/_helpers.c +57 -52
  8. a_sync/a_sync/_helpers.cp311-win32.pyd +0 -0
  9. a_sync/a_sync/_kwargs.c +27 -22
  10. a_sync/a_sync/_kwargs.cp311-win32.pyd +0 -0
  11. a_sync/a_sync/abstract.c +46 -23
  12. a_sync/a_sync/abstract.cp311-win32.pyd +0 -0
  13. a_sync/a_sync/abstract.pyi +2 -2
  14. a_sync/a_sync/base.c +60 -51
  15. a_sync/a_sync/base.cp311-win32.pyd +0 -0
  16. a_sync/a_sync/flags.c +10 -10
  17. a_sync/a_sync/flags.cp311-win32.pyd +0 -0
  18. a_sync/a_sync/function.c +87 -73
  19. a_sync/a_sync/function.cp311-win32.pyd +0 -0
  20. a_sync/a_sync/method.c +85 -68
  21. a_sync/a_sync/method.cp311-win32.pyd +0 -0
  22. a_sync/a_sync/method.pyi +2 -1
  23. a_sync/a_sync/modifiers/manager.c +42 -37
  24. a_sync/a_sync/modifiers/manager.cp311-win32.pyd +0 -0
  25. a_sync/a_sync/property.c +86 -75
  26. a_sync/a_sync/property.cp311-win32.pyd +0 -0
  27. a_sync/async_property/cached.c +53 -48
  28. a_sync/async_property/cached.cp311-win32.pyd +0 -0
  29. a_sync/async_property/proxy.c +15 -10
  30. a_sync/async_property/proxy.cp311-win32.pyd +0 -0
  31. a_sync/asyncio/as_completed.c +15 -10
  32. a_sync/asyncio/as_completed.cp311-win32.pyd +0 -0
  33. a_sync/asyncio/create_task.c +39 -16
  34. a_sync/asyncio/create_task.cp311-win32.pyd +0 -0
  35. a_sync/asyncio/gather.c +24 -19
  36. a_sync/asyncio/gather.cp311-win32.pyd +0 -0
  37. a_sync/asyncio/igather.c +26 -17
  38. a_sync/asyncio/igather.cp311-win32.pyd +0 -0
  39. a_sync/asyncio/sleep.c +8 -3
  40. a_sync/asyncio/sleep.cp311-win32.pyd +0 -0
  41. a_sync/debugging.c +34 -29
  42. a_sync/debugging.cp311-win32.pyd +0 -0
  43. a_sync/exceptions.c +28 -19
  44. a_sync/exceptions.cp311-win32.pyd +0 -0
  45. a_sync/functools.c +15 -10
  46. a_sync/functools.cp311-win32.pyd +0 -0
  47. a_sync/iter.c +145 -90
  48. a_sync/iter.cp311-win32.pyd +0 -0
  49. a_sync/primitives/_debug.c +49 -44
  50. a_sync/primitives/_debug.cp311-win32.pyd +0 -0
  51. a_sync/primitives/_loggable.c +30 -19
  52. a_sync/primitives/_loggable.cp311-win32.pyd +0 -0
  53. a_sync/primitives/locks/counter.c +75 -60
  54. a_sync/primitives/locks/counter.cp311-win32.pyd +0 -0
  55. a_sync/primitives/locks/event.c +52 -47
  56. a_sync/primitives/locks/event.cp311-win32.pyd +0 -0
  57. a_sync/primitives/locks/prio_semaphore.c +100 -75
  58. a_sync/primitives/locks/prio_semaphore.cp311-win32.pyd +0 -0
  59. a_sync/primitives/locks/prio_semaphore.pyi +2 -2
  60. a_sync/primitives/locks/semaphore.c +75 -63
  61. a_sync/primitives/locks/semaphore.cp311-win32.pyd +0 -0
  62. a_sync/primitives/locks/semaphore.pyi +10 -9
  63. a_sync/primitives/queue.py +5 -1
  64. a_sync/utils/repr.c +36 -31
  65. a_sync/utils/repr.cp311-win32.pyd +0 -0
  66. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/METADATA +1 -1
  67. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/RECORD +70 -70
  68. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/WHEEL +0 -0
  69. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/licenses/LICENSE.txt +0 -0
  70. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.3 */
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 "3_1_3"
34
- #define CYTHON_HEX_VERSION 0x030103F0
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>
@@ -2075,18 +2075,18 @@ static void __Pyx_RejectKeywords(const char* function_name, PyObject *kwds);
2075
2075
  if (!__Pyx_PyThreadState_Current->tracing) {\
2076
2076
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2077
2077
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2078
- if (unlikely(!__pyx_frame_code)) goto_error;\
2079
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2080
- }\
2078
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2079
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2080
+ } else __pyx_frame_code = NULL;\
2081
2081
  PyGILState_Release(state);\
2082
- }\
2082
+ } else __pyx_frame_code = NULL;\
2083
2083
  } else {\
2084
2084
  if (!__Pyx_PyThreadState_Current->tracing) {\
2085
2085
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2086
2086
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2087
- if (unlikely(!__pyx_frame_code)) goto_error;\
2088
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2089
- }\
2087
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2088
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2089
+ } else __pyx_frame_code = NULL;\
2090
2090
  }\
2091
2091
  if (unlikely(ret == -1)) goto_error;\
2092
2092
  }
@@ -2876,22 +2876,22 @@ static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, trav
2876
2876
  static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear);
2877
2877
 
2878
2878
  /* TypeImport.proto */
2879
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
2880
- #define __PYX_HAVE_RT_ImportType_proto_3_1_3
2879
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
2880
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_4
2881
2881
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2882
2882
  #include <stdalign.h>
2883
2883
  #endif
2884
2884
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2885
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
2885
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
2886
2886
  #else
2887
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
2887
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
2888
2888
  #endif
2889
- enum __Pyx_ImportType_CheckSize_3_1_3 {
2890
- __Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
2891
- __Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
2892
- __Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
2889
+ enum __Pyx_ImportType_CheckSize_3_1_4 {
2890
+ __Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
2891
+ __Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
2892
+ __Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
2893
2893
  };
2894
- 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);
2894
+ 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);
2895
2895
  #endif
2896
2896
 
2897
2897
  /* GetVTable.proto */
@@ -3192,7 +3192,7 @@ static unsigned long __Pyx_get_runtime_version(void);
3192
3192
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
3193
3193
 
3194
3194
  /* FunctionImport.proto */
3195
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3195
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3196
3196
 
3197
3197
  /* MultiPhaseInitModuleState.proto */
3198
3198
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -4384,8 +4384,12 @@ static PyObject *__pyx_pf_6a_sync_10primitives_5locks_7counter_11CounterLock_6__
4384
4384
  * else:
4385
4385
  */
4386
4386
  __Pyx_TraceLine(89,26,0,__PYX_ERR(0, 89, __pyx_L1_error))
4387
- __pyx_t_8 = (__Pyx_PyUnicode_IS_TRUE(__pyx_v_name) != 0);
4388
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_8 < 0))) __PYX_ERR(0, 89, __pyx_L1_error)
4387
+ {
4388
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_name);
4389
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 89, __pyx_L1_error)
4390
+ __pyx_t_8 = (__pyx_temp != 0);
4391
+ }
4392
+
4389
4393
  if (__pyx_t_8) {
4390
4394
 
4391
4395
  /* "a_sync/primitives/locks/counter.pyx":90
@@ -5330,8 +5334,14 @@ static void __pyx_f_6a_sync_10primitives_5locks_7counter_11CounterLock_set(struc
5330
5334
  */
5331
5335
  __Pyx_TraceLine(152,9,0,__PYX_ERR(0, 152, __pyx_L1_error))
5332
5336
  while (1) {
5333
- __pyx_t_7 = (__pyx_v_self->_heap != Py_None)&&(__Pyx_PyList_GET_SIZE(__pyx_v_self->_heap) != 0);
5334
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_7 < 0))) __PYX_ERR(0, 152, __pyx_L1_error)
5337
+ if (__pyx_v_self->_heap == Py_None) __pyx_t_7 = 0;
5338
+ else
5339
+ {
5340
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_v_self->_heap);
5341
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 152, __pyx_L1_error)
5342
+ __pyx_t_7 = (__pyx_temp != 0);
5343
+ }
5344
+
5335
5345
  if (!__pyx_t_7) break;
5336
5346
 
5337
5347
  /* "a_sync/primitives/locks/counter.pyx":153
@@ -8011,15 +8021,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
8011
8021
  /*--- Type init code ---*/
8012
8022
  __pyx_t_1 = PyImport_ImportModule("a_sync.primitives._debug"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
8013
8023
  __Pyx_GOTREF(__pyx_t_1);
8014
- __pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._debug", "_DebugDaemonMixin",
8024
+ __pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives._debug", "_DebugDaemonMixin",
8015
8025
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
8016
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
8026
+ sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
8017
8027
  #elif CYTHON_COMPILING_IN_LIMITED_API
8018
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
8028
+ sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
8019
8029
  #else
8020
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
8030
+ sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
8021
8031
  #endif
8022
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin) __PYX_ERR(0, 1, __pyx_L1_error)
8032
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin) __PYX_ERR(0, 1, __pyx_L1_error)
8023
8033
  __pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin = (struct __pyx_vtabstruct_6a_sync_10primitives_6_debug__DebugDaemonMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin)) __PYX_ERR(0, 1, __pyx_L1_error)
8024
8034
  __pyx_vtabptr_6a_sync_10primitives_5locks_7counter_CounterLock = &__pyx_vtable_6a_sync_10primitives_5locks_7counter_CounterLock;
8025
8035
  __pyx_vtable_6a_sync_10primitives_5locks_7counter_CounterLock.__pyx_base = *__pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin;
@@ -8156,41 +8166,41 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
8156
8166
  /*--- Type import code ---*/
8157
8167
  __pyx_t_1 = PyImport_ImportModule("a_sync.primitives._loggable"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error)
8158
8168
  __Pyx_GOTREF(__pyx_t_1);
8159
- __pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
8169
+ __pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
8160
8170
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
8161
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
8171
+ 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),
8162
8172
  #elif CYTHON_COMPILING_IN_LIMITED_API
8163
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
8173
+ 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),
8164
8174
  #else
8165
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
8175
+ 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),
8166
8176
  #endif
8167
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin) __PYX_ERR(2, 1, __pyx_L1_error)
8177
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin) __PYX_ERR(2, 1, __pyx_L1_error)
8168
8178
  __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(2, 1, __pyx_L1_error)
8169
8179
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8170
8180
  __pyx_t_1 = PyImport_ImportModule("a_sync.primitives._debug"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 3, __pyx_L1_error)
8171
8181
  __Pyx_GOTREF(__pyx_t_1);
8172
- __pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._debug", "_LoopBoundMixin",
8182
+ __pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives._debug", "_LoopBoundMixin",
8173
8183
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
8174
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
8184
+ sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
8175
8185
  #elif CYTHON_COMPILING_IN_LIMITED_API
8176
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
8186
+ sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
8177
8187
  #else
8178
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
8188
+ sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
8179
8189
  #endif
8180
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin) __PYX_ERR(3, 3, __pyx_L1_error)
8190
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin) __PYX_ERR(3, 3, __pyx_L1_error)
8181
8191
  __pyx_vtabptr_6a_sync_10primitives_6_debug__LoopBoundMixin = (struct __pyx_vtabstruct_6a_sync_10primitives_6_debug__LoopBoundMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_6_debug__LoopBoundMixin)) __PYX_ERR(3, 3, __pyx_L1_error)
8182
8192
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8183
8193
  __pyx_t_1 = PyImport_ImportModule("a_sync.primitives.locks.event"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 5, __pyx_L1_error)
8184
8194
  __Pyx_GOTREF(__pyx_t_1);
8185
- __pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_5event_CythonEvent = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives.locks.event", "CythonEvent",
8195
+ __pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_5event_CythonEvent = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives.locks.event", "CythonEvent",
8186
8196
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
8187
- sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
8197
+ sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
8188
8198
  #elif CYTHON_COMPILING_IN_LIMITED_API
8189
- sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
8199
+ sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
8190
8200
  #else
8191
- sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
8201
+ sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
8192
8202
  #endif
8193
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_5event_CythonEvent) __PYX_ERR(4, 5, __pyx_L1_error)
8203
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_5event_CythonEvent) __PYX_ERR(4, 5, __pyx_L1_error)
8194
8204
  __pyx_vtabptr_6a_sync_10primitives_5locks_5event_CythonEvent = (struct __pyx_vtabstruct_6a_sync_10primitives_5locks_5event_CythonEvent*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_5event_CythonEvent); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_5locks_5event_CythonEvent)) __PYX_ERR(4, 5, __pyx_L1_error)
8195
8205
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8196
8206
  __Pyx_RefNannyFinishContext();
@@ -8221,20 +8231,20 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
8221
8231
  /*--- Function import code ---*/
8222
8232
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
8223
8233
  __Pyx_GOTREF(__pyx_t_1);
8224
- 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)
8234
+ 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)
8225
8235
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8226
8236
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.as_completed"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
8227
8237
  __Pyx_GOTREF(__pyx_t_1);
8228
- 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)
8238
+ if (__Pyx_ImportFunction_3_1_4(__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)
8229
8239
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8230
8240
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
8231
8241
  __Pyx_GOTREF(__pyx_t_1);
8232
- 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)
8233
- 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)
8242
+ 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)
8243
+ if (__Pyx_ImportFunction_3_1_4(__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)
8234
8244
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8235
8245
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.igather"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
8236
8246
  __Pyx_GOTREF(__pyx_t_1);
8237
- 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)
8247
+ if (__Pyx_ImportFunction_3_1_4(__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)
8238
8248
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8239
8249
  __Pyx_RefNannyFinishContext();
8240
8250
  return 0;
@@ -11275,6 +11285,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
11275
11285
  return -1;
11276
11286
  }
11277
11287
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
11288
+ Py_DECREF(bases);
11278
11289
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
11279
11290
  return -1;
11280
11291
  }
@@ -13195,15 +13206,15 @@ static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr
13195
13206
  }
13196
13207
 
13197
13208
  /* TypeImport */
13198
- #ifndef __PYX_HAVE_RT_ImportType_3_1_3
13199
- #define __PYX_HAVE_RT_ImportType_3_1_3
13200
- static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
13201
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
13209
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_4
13210
+ #define __PYX_HAVE_RT_ImportType_3_1_4
13211
+ static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
13212
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
13202
13213
  {
13203
13214
  PyObject *result = 0;
13204
13215
  Py_ssize_t basicsize;
13205
13216
  Py_ssize_t itemsize;
13206
- #if CYTHON_COMPILING_IN_LIMITED_API
13217
+ #ifdef Py_LIMITED_API
13207
13218
  PyObject *py_basicsize;
13208
13219
  PyObject *py_itemsize;
13209
13220
  #endif
@@ -13216,7 +13227,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
13216
13227
  module_name, class_name);
13217
13228
  goto bad;
13218
13229
  }
13219
- #if !CYTHON_COMPILING_IN_LIMITED_API
13230
+ #ifndef Py_LIMITED_API
13220
13231
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
13221
13232
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
13222
13233
  #else
@@ -13254,7 +13265,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
13254
13265
  module_name, class_name, size, basicsize+itemsize);
13255
13266
  goto bad;
13256
13267
  }
13257
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
13268
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
13258
13269
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
13259
13270
  PyErr_Format(PyExc_ValueError,
13260
13271
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -13262,7 +13273,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
13262
13273
  module_name, class_name, size, basicsize, basicsize+itemsize);
13263
13274
  goto bad;
13264
13275
  }
13265
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
13276
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
13266
13277
  if (PyErr_WarnFormat(NULL, 0,
13267
13278
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
13268
13279
  "Expected %zd from C header, got %zd from PyObject",
@@ -16600,9 +16611,9 @@ static PyObject *__Pyx_Generator_GetInlinedResult(PyObject *self) {
16600
16611
  }
16601
16612
 
16602
16613
  /* FunctionImport */
16603
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
16604
- #define __PYX_HAVE_RT_ImportFunction_3_1_3
16605
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
16614
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
16615
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
16616
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
16606
16617
  PyObject *d = 0;
16607
16618
  PyObject *cobj = 0;
16608
16619
  union {
@@ -16704,6 +16715,10 @@ bad:
16704
16715
  PyCode_NewWithPosOnlyArgs
16705
16716
  #endif
16706
16717
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
16718
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
16719
+ if (likely(result))
16720
+ result->_co_firsttraceable = 0;
16721
+ #endif
16707
16722
  return result;
16708
16723
  }
16709
16724
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.3 */
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 "3_1_3"
34
- #define CYTHON_HEX_VERSION 0x030103F0
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>
@@ -2022,18 +2022,18 @@ static void __Pyx_RejectKeywords(const char* function_name, PyObject *kwds);
2022
2022
  if (!__Pyx_PyThreadState_Current->tracing) {\
2023
2023
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2024
2024
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2025
- if (unlikely(!__pyx_frame_code)) goto_error;\
2026
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2027
- }\
2025
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2026
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2027
+ } else __pyx_frame_code = NULL;\
2028
2028
  PyGILState_Release(state);\
2029
- }\
2029
+ } else __pyx_frame_code = NULL;\
2030
2030
  } else {\
2031
2031
  if (!__Pyx_PyThreadState_Current->tracing) {\
2032
2032
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2033
2033
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2034
- if (unlikely(!__pyx_frame_code)) goto_error;\
2035
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2036
- }\
2034
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2035
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2036
+ } else __pyx_frame_code = NULL;\
2037
2037
  }\
2038
2038
  if (unlikely(ret == -1)) goto_error;\
2039
2039
  }
@@ -2851,22 +2851,22 @@ static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, trav
2851
2851
  static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear);
2852
2852
 
2853
2853
  /* TypeImport.proto */
2854
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
2855
- #define __PYX_HAVE_RT_ImportType_proto_3_1_3
2854
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
2855
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_4
2856
2856
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2857
2857
  #include <stdalign.h>
2858
2858
  #endif
2859
2859
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2860
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
2860
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
2861
2861
  #else
2862
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
2862
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
2863
2863
  #endif
2864
- enum __Pyx_ImportType_CheckSize_3_1_3 {
2865
- __Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
2866
- __Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
2867
- __Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
2864
+ enum __Pyx_ImportType_CheckSize_3_1_4 {
2865
+ __Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
2866
+ __Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
2867
+ __Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
2868
2868
  };
2869
- 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);
2869
+ 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);
2870
2870
  #endif
2871
2871
 
2872
2872
  /* GetVTable.proto */
@@ -7893,15 +7893,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
7893
7893
  /*--- Type init code ---*/
7894
7894
  __pyx_t_1 = PyImport_ImportModule("a_sync.primitives._debug"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
7895
7895
  __Pyx_GOTREF(__pyx_t_1);
7896
- __pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._debug", "_DebugDaemonMixin",
7896
+ __pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives._debug", "_DebugDaemonMixin",
7897
7897
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
7898
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
7898
+ sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
7899
7899
  #elif CYTHON_COMPILING_IN_LIMITED_API
7900
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
7900
+ sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
7901
7901
  #else
7902
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
7902
+ sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
7903
7903
  #endif
7904
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin) __PYX_ERR(0, 1, __pyx_L1_error)
7904
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin) __PYX_ERR(0, 1, __pyx_L1_error)
7905
7905
  __pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin = (struct __pyx_vtabstruct_6a_sync_10primitives_6_debug__DebugDaemonMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin)) __PYX_ERR(0, 1, __pyx_L1_error)
7906
7906
  __pyx_vtabptr_6a_sync_10primitives_5locks_5event_CythonEvent = &__pyx_vtable_6a_sync_10primitives_5locks_5event_CythonEvent;
7907
7907
  __pyx_vtable_6a_sync_10primitives_5locks_5event_CythonEvent.__pyx_base = *__pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin;
@@ -8014,28 +8014,28 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
8014
8014
  /*--- Type import code ---*/
8015
8015
  __pyx_t_1 = PyImport_ImportModule("a_sync.primitives._loggable"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error)
8016
8016
  __Pyx_GOTREF(__pyx_t_1);
8017
- __pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
8017
+ __pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
8018
8018
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
8019
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
8019
+ 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),
8020
8020
  #elif CYTHON_COMPILING_IN_LIMITED_API
8021
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
8021
+ 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),
8022
8022
  #else
8023
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
8023
+ 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),
8024
8024
  #endif
8025
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin) __PYX_ERR(2, 1, __pyx_L1_error)
8025
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin) __PYX_ERR(2, 1, __pyx_L1_error)
8026
8026
  __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(2, 1, __pyx_L1_error)
8027
8027
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8028
8028
  __pyx_t_1 = PyImport_ImportModule("a_sync.primitives._debug"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 3, __pyx_L1_error)
8029
8029
  __Pyx_GOTREF(__pyx_t_1);
8030
- __pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._debug", "_LoopBoundMixin",
8030
+ __pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives._debug", "_LoopBoundMixin",
8031
8031
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
8032
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
8032
+ sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
8033
8033
  #elif CYTHON_COMPILING_IN_LIMITED_API
8034
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
8034
+ sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
8035
8035
  #else
8036
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
8036
+ sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
8037
8037
  #endif
8038
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin) __PYX_ERR(3, 3, __pyx_L1_error)
8038
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin) __PYX_ERR(3, 3, __pyx_L1_error)
8039
8039
  __pyx_vtabptr_6a_sync_10primitives_6_debug__LoopBoundMixin = (struct __pyx_vtabstruct_6a_sync_10primitives_6_debug__LoopBoundMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_6_debug__LoopBoundMixin)) __PYX_ERR(3, 3, __pyx_L1_error)
8040
8040
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8041
8041
  __Pyx_RefNannyFinishContext();
@@ -8348,7 +8348,7 @@ __Pyx_RefNannySetupContext("PyInit_event", 0);
8348
8348
  (void)__Pyx_modinit_variable_import_code(__pyx_mstate);
8349
8349
  (void)__Pyx_modinit_function_import_code(__pyx_mstate);
8350
8350
  /*--- Execution code ---*/
8351
- __Pyx_TraceStartFunc("PyInit_event", __pyx_f[0], 1, 1, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
8351
+ __Pyx_TraceStartFunc("PyInit_event", __pyx_f[0], 1, 0, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
8352
8352
 
8353
8353
  /* "a_sync/primitives/locks/event.pyx":6
8354
8354
  * """
@@ -8569,7 +8569,7 @@ __Pyx_RefNannySetupContext("PyInit_event", 0);
8569
8569
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
8570
8570
  * def __setstate_cython__(self, __pyx_state):
8571
8571
  */
8572
- __Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
8572
+ __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
8573
8573
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_5event_11CythonEvent_23__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_CythonEvent___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_event, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[13])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
8574
8574
  __Pyx_GOTREF(__pyx_t_3);
8575
8575
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_3) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -8601,12 +8601,12 @@ __Pyx_RefNannySetupContext("PyInit_event", 0);
8601
8601
  * """
8602
8602
  * This module provides an enhanced version of asyncio.Event with additional debug logging to help detect deadlocks.
8603
8603
  */
8604
- __Pyx_TraceLine(1,1,0,__PYX_ERR(0, 1, __pyx_L1_error))
8604
+ __Pyx_TraceLine(1,0,0,__PYX_ERR(0, 1, __pyx_L1_error))
8605
8605
  __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error)
8606
8606
  __Pyx_GOTREF(__pyx_t_3);
8607
8607
  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)
8608
8608
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8609
- __Pyx_TraceReturnValue(Py_None, 1, 0, __PYX_ERR(0, 1, __pyx_L1_error));
8609
+ __Pyx_TraceReturnValue(Py_None, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
8610
8610
  __Pyx_PyMonitoring_ExitScope(0);
8611
8611
 
8612
8612
  /*--- Wrapped vars code ---*/
@@ -8616,7 +8616,7 @@ __Pyx_RefNannySetupContext("PyInit_event", 0);
8616
8616
  __Pyx_XDECREF(__pyx_t_2);
8617
8617
  __Pyx_XDECREF(__pyx_t_3);
8618
8618
  __Pyx_TraceException(__pyx_lineno, 0, 0);
8619
- __Pyx_TraceExceptionUnwind(1, 0);
8619
+ __Pyx_TraceExceptionUnwind(0, 0);
8620
8620
  if (__pyx_m) {
8621
8621
  if (__pyx_mstate->__pyx_d && stringtab_initialized) {
8622
8622
  __Pyx_AddTraceback("init a_sync.primitives.locks.event", __pyx_clineno, __pyx_lineno, __pyx_filename);
@@ -11239,6 +11239,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
11239
11239
  return -1;
11240
11240
  }
11241
11241
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
11242
+ Py_DECREF(bases);
11242
11243
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
11243
11244
  return -1;
11244
11245
  }
@@ -13008,15 +13009,15 @@ static CYTHON_INLINE __Pyx_PySendResult __Pyx_Coroutine_Yield_From(__pyx_Corouti
13008
13009
  }
13009
13010
 
13010
13011
  /* TypeImport */
13011
- #ifndef __PYX_HAVE_RT_ImportType_3_1_3
13012
- #define __PYX_HAVE_RT_ImportType_3_1_3
13013
- static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
13014
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
13012
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_4
13013
+ #define __PYX_HAVE_RT_ImportType_3_1_4
13014
+ static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
13015
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
13015
13016
  {
13016
13017
  PyObject *result = 0;
13017
13018
  Py_ssize_t basicsize;
13018
13019
  Py_ssize_t itemsize;
13019
- #if CYTHON_COMPILING_IN_LIMITED_API
13020
+ #ifdef Py_LIMITED_API
13020
13021
  PyObject *py_basicsize;
13021
13022
  PyObject *py_itemsize;
13022
13023
  #endif
@@ -13029,7 +13030,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
13029
13030
  module_name, class_name);
13030
13031
  goto bad;
13031
13032
  }
13032
- #if !CYTHON_COMPILING_IN_LIMITED_API
13033
+ #ifndef Py_LIMITED_API
13033
13034
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
13034
13035
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
13035
13036
  #else
@@ -13067,7 +13068,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
13067
13068
  module_name, class_name, size, basicsize+itemsize);
13068
13069
  goto bad;
13069
13070
  }
13070
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
13071
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
13071
13072
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
13072
13073
  PyErr_Format(PyExc_ValueError,
13073
13074
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -13075,7 +13076,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
13075
13076
  module_name, class_name, size, basicsize, basicsize+itemsize);
13076
13077
  goto bad;
13077
13078
  }
13078
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
13079
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
13079
13080
  if (PyErr_WarnFormat(NULL, 0,
13080
13081
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
13081
13082
  "Expected %zd from C header, got %zd from PyObject",
@@ -16356,6 +16357,10 @@ static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObj
16356
16357
  PyCode_NewWithPosOnlyArgs
16357
16358
  #endif
16358
16359
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
16360
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
16361
+ if (likely(result))
16362
+ result->_co_firsttraceable = 0;
16363
+ #endif
16359
16364
  return result;
16360
16365
  }
16361
16366
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY