ez-a-sync 0.32.27__cp39-cp39-win32.whl → 0.32.28__cp39-cp39-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 +51 -45
  2. a_sync/_smart.cp39-win32.pyd +0 -0
  3. a_sync/a_sync/_descriptor.c +63 -58
  4. a_sync/a_sync/_descriptor.cp39-win32.pyd +0 -0
  5. a_sync/a_sync/_flags.c +10 -10
  6. a_sync/a_sync/_flags.cp39-win32.pyd +0 -0
  7. a_sync/a_sync/_helpers.c +57 -52
  8. a_sync/a_sync/_helpers.cp39-win32.pyd +0 -0
  9. a_sync/a_sync/_kwargs.c +27 -22
  10. a_sync/a_sync/_kwargs.cp39-win32.pyd +0 -0
  11. a_sync/a_sync/abstract.c +46 -23
  12. a_sync/a_sync/abstract.cp39-win32.pyd +0 -0
  13. a_sync/a_sync/abstract.pyi +2 -2
  14. a_sync/a_sync/base.c +70 -60
  15. a_sync/a_sync/base.cp39-win32.pyd +0 -0
  16. a_sync/a_sync/flags.c +10 -10
  17. a_sync/a_sync/flags.cp39-win32.pyd +0 -0
  18. a_sync/a_sync/function.c +91 -76
  19. a_sync/a_sync/function.cp39-win32.pyd +0 -0
  20. a_sync/a_sync/method.c +96 -78
  21. a_sync/a_sync/method.cp39-win32.pyd +0 -0
  22. a_sync/a_sync/method.pyi +2 -1
  23. a_sync/a_sync/modifiers/manager.c +52 -46
  24. a_sync/a_sync/modifiers/manager.cp39-win32.pyd +0 -0
  25. a_sync/a_sync/property.c +86 -75
  26. a_sync/a_sync/property.cp39-win32.pyd +0 -0
  27. a_sync/async_property/cached.c +53 -48
  28. a_sync/async_property/cached.cp39-win32.pyd +0 -0
  29. a_sync/async_property/proxy.c +15 -10
  30. a_sync/async_property/proxy.cp39-win32.pyd +0 -0
  31. a_sync/asyncio/as_completed.c +15 -10
  32. a_sync/asyncio/as_completed.cp39-win32.pyd +0 -0
  33. a_sync/asyncio/create_task.c +49 -25
  34. a_sync/asyncio/create_task.cp39-win32.pyd +0 -0
  35. a_sync/asyncio/gather.c +24 -19
  36. a_sync/asyncio/gather.cp39-win32.pyd +0 -0
  37. a_sync/asyncio/igather.c +36 -26
  38. a_sync/asyncio/igather.cp39-win32.pyd +0 -0
  39. a_sync/asyncio/sleep.c +8 -3
  40. a_sync/asyncio/sleep.cp39-win32.pyd +0 -0
  41. a_sync/debugging.c +44 -38
  42. a_sync/debugging.cp39-win32.pyd +0 -0
  43. a_sync/exceptions.c +28 -19
  44. a_sync/exceptions.cp39-win32.pyd +0 -0
  45. a_sync/functools.c +15 -10
  46. a_sync/functools.cp39-win32.pyd +0 -0
  47. a_sync/iter.c +153 -97
  48. a_sync/iter.cp39-win32.pyd +0 -0
  49. a_sync/primitives/_debug.c +49 -44
  50. a_sync/primitives/_debug.cp39-win32.pyd +0 -0
  51. a_sync/primitives/_loggable.c +30 -19
  52. a_sync/primitives/_loggable.cp39-win32.pyd +0 -0
  53. a_sync/primitives/locks/counter.c +90 -74
  54. a_sync/primitives/locks/counter.cp39-win32.pyd +0 -0
  55. a_sync/primitives/locks/event.c +57 -51
  56. a_sync/primitives/locks/event.cp39-win32.pyd +0 -0
  57. a_sync/primitives/locks/prio_semaphore.c +111 -85
  58. a_sync/primitives/locks/prio_semaphore.cp39-win32.pyd +0 -0
  59. a_sync/primitives/locks/prio_semaphore.pyi +2 -2
  60. a_sync/primitives/locks/semaphore.c +85 -72
  61. a_sync/primitives/locks/semaphore.cp39-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 +46 -40
  65. a_sync/utils/repr.cp39-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;
@@ -8528,7 +8538,7 @@ __Pyx_RefNannySetupContext("PyInit_counter", 0);
8528
8538
  (void)__Pyx_modinit_variable_import_code(__pyx_mstate);
8529
8539
  if (unlikely((__Pyx_modinit_function_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
8530
8540
  /*--- Execution code ---*/
8531
- __Pyx_TraceStartFunc("PyInit_counter", __pyx_f[0], 1, 0, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
8541
+ __Pyx_TraceStartFunc("PyInit_counter", __pyx_f[0], 1, 1, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
8532
8542
 
8533
8543
  /* "a_sync/primitives/locks/counter.pyx":7
8534
8544
  * """
@@ -8670,7 +8680,7 @@ __Pyx_RefNannySetupContext("PyInit_counter", 0);
8670
8680
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
8671
8681
  * def __setstate_cython__(self, __pyx_state):
8672
8682
  */
8673
- __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
8683
+ __Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
8674
8684
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_7counter_11CounterLock_19__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_CounterLock___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_counter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[12])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
8675
8685
  __Pyx_GOTREF(__pyx_t_3);
8676
8686
  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)
@@ -8766,7 +8776,7 @@ __Pyx_RefNannySetupContext("PyInit_counter", 0);
8766
8776
  * This module provides two specialized async flow management classes, :class:`CounterLock` and :class:`CounterLockCluster`.
8767
8777
  *
8768
8778
  */
8769
- __Pyx_TraceLine(1,0,0,__PYX_ERR(0, 1, __pyx_L1_error))
8779
+ __Pyx_TraceLine(1,1,0,__PYX_ERR(0, 1, __pyx_L1_error))
8770
8780
  __pyx_t_3 = __Pyx_PyDict_NewPresized(8); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error)
8771
8781
  __Pyx_GOTREF(__pyx_t_3);
8772
8782
  if (PyDict_SetItem(__pyx_t_3, __pyx_mstate_global->__pyx_kp_u_CounterLock___init___line_41, __pyx_mstate_global->__pyx_kp_u_Initializes_the_class_CounterLo) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
@@ -8779,7 +8789,7 @@ __Pyx_RefNannySetupContext("PyInit_counter", 0);
8779
8789
  if (PyDict_SetItem(__pyx_t_3, __pyx_mstate_global->__pyx_kp_u_CounterLockCluster_wait_for_line, __pyx_mstate_global->__pyx_kp_u_Waits_until_the_value_of_all_cl) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
8780
8790
  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)
8781
8791
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8782
- __Pyx_TraceReturnValue(Py_None, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
8792
+ __Pyx_TraceReturnValue(Py_None, 1, 0, __PYX_ERR(0, 1, __pyx_L1_error));
8783
8793
  __Pyx_PyMonitoring_ExitScope(0);
8784
8794
 
8785
8795
  /*--- Wrapped vars code ---*/
@@ -8790,7 +8800,7 @@ __Pyx_RefNannySetupContext("PyInit_counter", 0);
8790
8800
  __Pyx_XDECREF(__pyx_t_3);
8791
8801
  __Pyx_XDECREF(__pyx_t_4);
8792
8802
  __Pyx_TraceException(__pyx_lineno, 0, 0);
8793
- __Pyx_TraceExceptionUnwind(0, 0);
8803
+ __Pyx_TraceExceptionUnwind(1, 0);
8794
8804
  if (__pyx_m) {
8795
8805
  if (__pyx_mstate->__pyx_d && stringtab_initialized) {
8796
8806
  __Pyx_AddTraceback("init a_sync.primitives.locks.counter", __pyx_clineno, __pyx_lineno, __pyx_filename);
@@ -9022,15 +9032,16 @@ static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) {
9022
9032
  return -1;
9023
9033
  }
9024
9034
  /* #### Code section: init_codeobjects ### */
9025
- typedef struct {
9026
- unsigned int argcount : 2;
9027
- unsigned int num_posonly_args : 1;
9028
- unsigned int num_kwonly_args : 1;
9029
- unsigned int nlocals : 3;
9030
- unsigned int flags : 10;
9031
- unsigned int first_line : 9;
9032
- unsigned int line_table_length : 12;
9033
- } __Pyx_PyCode_New_function_description;
9035
+ \
9036
+ typedef struct {
9037
+ unsigned int argcount : 2;
9038
+ unsigned int num_posonly_args : 1;
9039
+ unsigned int num_kwonly_args : 1;
9040
+ unsigned int nlocals : 3;
9041
+ unsigned int flags : 10;
9042
+ unsigned int first_line : 9;
9043
+ unsigned int line_table_length : 12;
9044
+ } __Pyx_PyCode_New_function_description;
9034
9045
  /* NewCodeObj.proto */
9035
9046
  static PyObject* __Pyx_PyCode_New(
9036
9047
  const __Pyx_PyCode_New_function_description descr,
@@ -11274,6 +11285,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
11274
11285
  return -1;
11275
11286
  }
11276
11287
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
11288
+ Py_DECREF(bases);
11277
11289
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
11278
11290
  return -1;
11279
11291
  }
@@ -13194,15 +13206,15 @@ static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr
13194
13206
  }
13195
13207
 
13196
13208
  /* TypeImport */
13197
- #ifndef __PYX_HAVE_RT_ImportType_3_1_3
13198
- #define __PYX_HAVE_RT_ImportType_3_1_3
13199
- static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
13200
- 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)
13201
13213
  {
13202
13214
  PyObject *result = 0;
13203
13215
  Py_ssize_t basicsize;
13204
13216
  Py_ssize_t itemsize;
13205
- #if CYTHON_COMPILING_IN_LIMITED_API
13217
+ #ifdef Py_LIMITED_API
13206
13218
  PyObject *py_basicsize;
13207
13219
  PyObject *py_itemsize;
13208
13220
  #endif
@@ -13215,7 +13227,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
13215
13227
  module_name, class_name);
13216
13228
  goto bad;
13217
13229
  }
13218
- #if !CYTHON_COMPILING_IN_LIMITED_API
13230
+ #ifndef Py_LIMITED_API
13219
13231
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
13220
13232
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
13221
13233
  #else
@@ -13253,7 +13265,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
13253
13265
  module_name, class_name, size, basicsize+itemsize);
13254
13266
  goto bad;
13255
13267
  }
13256
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
13268
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
13257
13269
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
13258
13270
  PyErr_Format(PyExc_ValueError,
13259
13271
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -13261,7 +13273,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
13261
13273
  module_name, class_name, size, basicsize, basicsize+itemsize);
13262
13274
  goto bad;
13263
13275
  }
13264
- 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) {
13265
13277
  if (PyErr_WarnFormat(NULL, 0,
13266
13278
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
13267
13279
  "Expected %zd from C header, got %zd from PyObject",
@@ -16599,9 +16611,9 @@ static PyObject *__Pyx_Generator_GetInlinedResult(PyObject *self) {
16599
16611
  }
16600
16612
 
16601
16613
  /* FunctionImport */
16602
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
16603
- #define __PYX_HAVE_RT_ImportFunction_3_1_3
16604
- 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) {
16605
16617
  PyObject *d = 0;
16606
16618
  PyObject *cobj = 0;
16607
16619
  union {
@@ -16703,6 +16715,10 @@ bad:
16703
16715
  PyCode_NewWithPosOnlyArgs
16704
16716
  #endif
16705
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
16706
16722
  return result;
16707
16723
  }
16708
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();
@@ -8848,15 +8848,16 @@ static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) {
8848
8848
  return -1;
8849
8849
  }
8850
8850
  /* #### Code section: init_codeobjects ### */
8851
- typedef struct {
8852
- unsigned int argcount : 2;
8853
- unsigned int num_posonly_args : 1;
8854
- unsigned int num_kwonly_args : 1;
8855
- unsigned int nlocals : 3;
8856
- unsigned int flags : 10;
8857
- unsigned int first_line : 8;
8858
- unsigned int line_table_length : 12;
8859
- } __Pyx_PyCode_New_function_description;
8851
+ \
8852
+ typedef struct {
8853
+ unsigned int argcount : 2;
8854
+ unsigned int num_posonly_args : 1;
8855
+ unsigned int num_kwonly_args : 1;
8856
+ unsigned int nlocals : 3;
8857
+ unsigned int flags : 10;
8858
+ unsigned int first_line : 8;
8859
+ unsigned int line_table_length : 12;
8860
+ } __Pyx_PyCode_New_function_description;
8860
8861
  /* NewCodeObj.proto */
8861
8862
  static PyObject* __Pyx_PyCode_New(
8862
8863
  const __Pyx_PyCode_New_function_description descr,
@@ -11238,6 +11239,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
11238
11239
  return -1;
11239
11240
  }
11240
11241
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
11242
+ Py_DECREF(bases);
11241
11243
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
11242
11244
  return -1;
11243
11245
  }
@@ -13007,15 +13009,15 @@ static CYTHON_INLINE __Pyx_PySendResult __Pyx_Coroutine_Yield_From(__pyx_Corouti
13007
13009
  }
13008
13010
 
13009
13011
  /* TypeImport */
13010
- #ifndef __PYX_HAVE_RT_ImportType_3_1_3
13011
- #define __PYX_HAVE_RT_ImportType_3_1_3
13012
- static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
13013
- 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)
13014
13016
  {
13015
13017
  PyObject *result = 0;
13016
13018
  Py_ssize_t basicsize;
13017
13019
  Py_ssize_t itemsize;
13018
- #if CYTHON_COMPILING_IN_LIMITED_API
13020
+ #ifdef Py_LIMITED_API
13019
13021
  PyObject *py_basicsize;
13020
13022
  PyObject *py_itemsize;
13021
13023
  #endif
@@ -13028,7 +13030,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
13028
13030
  module_name, class_name);
13029
13031
  goto bad;
13030
13032
  }
13031
- #if !CYTHON_COMPILING_IN_LIMITED_API
13033
+ #ifndef Py_LIMITED_API
13032
13034
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
13033
13035
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
13034
13036
  #else
@@ -13066,7 +13068,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
13066
13068
  module_name, class_name, size, basicsize+itemsize);
13067
13069
  goto bad;
13068
13070
  }
13069
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
13071
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
13070
13072
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
13071
13073
  PyErr_Format(PyExc_ValueError,
13072
13074
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -13074,7 +13076,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
13074
13076
  module_name, class_name, size, basicsize, basicsize+itemsize);
13075
13077
  goto bad;
13076
13078
  }
13077
- 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) {
13078
13080
  if (PyErr_WarnFormat(NULL, 0,
13079
13081
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
13080
13082
  "Expected %zd from C header, got %zd from PyObject",
@@ -16355,6 +16357,10 @@ static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObj
16355
16357
  PyCode_NewWithPosOnlyArgs
16356
16358
  #endif
16357
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
16358
16364
  return result;
16359
16365
  }
16360
16366
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY