ez-a-sync 0.32.27__cp38-cp38-win32.whl → 0.32.28__cp38-cp38-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.cp38-win32.pyd +0 -0
  3. a_sync/a_sync/_descriptor.c +63 -58
  4. a_sync/a_sync/_descriptor.cp38-win32.pyd +0 -0
  5. a_sync/a_sync/_flags.c +10 -10
  6. a_sync/a_sync/_flags.cp38-win32.pyd +0 -0
  7. a_sync/a_sync/_helpers.c +57 -52
  8. a_sync/a_sync/_helpers.cp38-win32.pyd +0 -0
  9. a_sync/a_sync/_kwargs.c +27 -22
  10. a_sync/a_sync/_kwargs.cp38-win32.pyd +0 -0
  11. a_sync/a_sync/abstract.c +46 -23
  12. a_sync/a_sync/abstract.cp38-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.cp38-win32.pyd +0 -0
  16. a_sync/a_sync/flags.c +10 -10
  17. a_sync/a_sync/flags.cp38-win32.pyd +0 -0
  18. a_sync/a_sync/function.c +84 -70
  19. a_sync/a_sync/function.cp38-win32.pyd +0 -0
  20. a_sync/a_sync/method.c +80 -63
  21. a_sync/a_sync/method.cp38-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.cp38-win32.pyd +0 -0
  25. a_sync/a_sync/property.c +86 -75
  26. a_sync/a_sync/property.cp38-win32.pyd +0 -0
  27. a_sync/async_property/cached.c +53 -48
  28. a_sync/async_property/cached.cp38-win32.pyd +0 -0
  29. a_sync/async_property/proxy.c +15 -10
  30. a_sync/async_property/proxy.cp38-win32.pyd +0 -0
  31. a_sync/asyncio/as_completed.c +15 -10
  32. a_sync/asyncio/as_completed.cp38-win32.pyd +0 -0
  33. a_sync/asyncio/create_task.c +39 -16
  34. a_sync/asyncio/create_task.cp38-win32.pyd +0 -0
  35. a_sync/asyncio/gather.c +24 -19
  36. a_sync/asyncio/gather.cp38-win32.pyd +0 -0
  37. a_sync/asyncio/igather.c +26 -17
  38. a_sync/asyncio/igather.cp38-win32.pyd +0 -0
  39. a_sync/asyncio/sleep.c +8 -3
  40. a_sync/asyncio/sleep.cp38-win32.pyd +0 -0
  41. a_sync/debugging.c +34 -29
  42. a_sync/debugging.cp38-win32.pyd +0 -0
  43. a_sync/exceptions.c +28 -19
  44. a_sync/exceptions.cp38-win32.pyd +0 -0
  45. a_sync/functools.c +15 -10
  46. a_sync/functools.cp38-win32.pyd +0 -0
  47. a_sync/iter.c +143 -88
  48. a_sync/iter.cp38-win32.pyd +0 -0
  49. a_sync/primitives/_debug.c +49 -44
  50. a_sync/primitives/_debug.cp38-win32.pyd +0 -0
  51. a_sync/primitives/_loggable.c +30 -19
  52. a_sync/primitives/_loggable.cp38-win32.pyd +0 -0
  53. a_sync/primitives/locks/counter.c +75 -60
  54. a_sync/primitives/locks/counter.cp38-win32.pyd +0 -0
  55. a_sync/primitives/locks/event.c +52 -47
  56. a_sync/primitives/locks/event.cp38-win32.pyd +0 -0
  57. a_sync/primitives/locks/prio_semaphore.c +101 -76
  58. a_sync/primitives/locks/prio_semaphore.cp38-win32.pyd +0 -0
  59. a_sync/primitives/locks/prio_semaphore.pyi +2 -2
  60. a_sync/primitives/locks/semaphore.c +71 -59
  61. a_sync/primitives/locks/semaphore.cp38-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.cp38-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}/LICENSE.txt +0 -0
  69. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/WHEEL +0 -0
  70. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/top_level.txt +0 -0
a_sync/a_sync/_helpers.c CHANGED
@@ -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
  {
@@ -29,8 +29,8 @@ END: Cython Metadata */
29
29
  #elif PY_VERSION_HEX < 0x03080000
30
30
  #error Cython requires Python 3.8+.
31
31
  #else
32
- #define __PYX_ABI_VERSION "3_1_3"
33
- #define CYTHON_HEX_VERSION 0x030103F0
32
+ #define __PYX_ABI_VERSION "3_1_4"
33
+ #define CYTHON_HEX_VERSION 0x030104F0
34
34
  #define CYTHON_FUTURE_DIVISION 1
35
35
  /* CModulePreamble */
36
36
  #include <stddef.h>
@@ -2121,18 +2121,18 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject
2121
2121
  if (!__Pyx_PyThreadState_Current->tracing) {\
2122
2122
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2123
2123
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2124
- if (unlikely(!__pyx_frame_code)) goto_error;\
2125
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2126
- }\
2124
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2125
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2126
+ } else __pyx_frame_code = NULL;\
2127
2127
  PyGILState_Release(state);\
2128
- }\
2128
+ } else __pyx_frame_code = NULL;\
2129
2129
  } else {\
2130
2130
  if (!__Pyx_PyThreadState_Current->tracing) {\
2131
2131
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2132
2132
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2133
- if (unlikely(!__pyx_frame_code)) goto_error;\
2134
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2135
- }\
2133
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2134
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2135
+ } else __pyx_frame_code = NULL;\
2136
2136
  }\
2137
2137
  if (unlikely(ret == -1)) goto_error;\
2138
2138
  }
@@ -2801,22 +2801,22 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
2801
2801
  CYTHON_UNUSED static int __Pyx_PyType_Ready(PyTypeObject *t);
2802
2802
 
2803
2803
  /* TypeImport.proto */
2804
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
2805
- #define __PYX_HAVE_RT_ImportType_proto_3_1_3
2804
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
2805
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_4
2806
2806
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2807
2807
  #include <stdalign.h>
2808
2808
  #endif
2809
2809
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2810
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
2810
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
2811
2811
  #else
2812
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
2812
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
2813
2813
  #endif
2814
- enum __Pyx_ImportType_CheckSize_3_1_3 {
2815
- __Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
2816
- __Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
2817
- __Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
2814
+ enum __Pyx_ImportType_CheckSize_3_1_4 {
2815
+ __Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
2816
+ __Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
2817
+ __Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
2818
2818
  };
2819
- 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);
2819
+ 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);
2820
2820
  #endif
2821
2821
 
2822
2822
  /* GetVTable.proto */
@@ -2967,7 +2967,7 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
2967
2967
  static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);
2968
2968
 
2969
2969
  /* FunctionImport.proto */
2970
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2970
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2971
2971
 
2972
2972
  /* MultiPhaseInitModuleState.proto */
2973
2973
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -6523,51 +6523,51 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
6523
6523
  /*--- Type import code ---*/
6524
6524
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.modifiers.manager"); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1, __pyx_L1_error)
6525
6525
  __Pyx_GOTREF(__pyx_t_1);
6526
- __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.a_sync.modifiers.manager", "ModifierManager",
6526
+ __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.a_sync.modifiers.manager", "ModifierManager",
6527
6527
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
6528
- sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
6528
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
6529
6529
  #elif CYTHON_COMPILING_IN_LIMITED_API
6530
- sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
6530
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
6531
6531
  #else
6532
- sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
6532
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
6533
6533
  #endif
6534
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager) __PYX_ERR(1, 1, __pyx_L1_error)
6534
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager) __PYX_ERR(1, 1, __pyx_L1_error)
6535
6535
  __pyx_vtabptr_6a_sync_6a_sync_9modifiers_7manager_ModifierManager = (struct __pyx_vtabstruct_6a_sync_6a_sync_9modifiers_7manager_ModifierManager*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_9modifiers_7manager_ModifierManager)) __PYX_ERR(1, 1, __pyx_L1_error)
6536
6536
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6537
6537
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.function"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 3, __pyx_L1_error)
6538
6538
  __Pyx_GOTREF(__pyx_t_1);
6539
- __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.a_sync.function", "_ModifiedMixin",
6539
+ __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.a_sync.function", "_ModifiedMixin",
6540
6540
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
6541
- sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
6541
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
6542
6542
  #elif CYTHON_COMPILING_IN_LIMITED_API
6543
- sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
6543
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
6544
6544
  #else
6545
- sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
6545
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
6546
6546
  #endif
6547
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin) __PYX_ERR(2, 3, __pyx_L1_error)
6547
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin) __PYX_ERR(2, 3, __pyx_L1_error)
6548
6548
  __pyx_vtabptr_6a_sync_6a_sync_8function__ModifiedMixin = (struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ModifiedMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_8function__ModifiedMixin)) __PYX_ERR(2, 3, __pyx_L1_error)
6549
- __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.a_sync.function", "_ASyncFunction",
6549
+ __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.a_sync.function", "_ASyncFunction",
6550
6550
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
6551
- sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
6551
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
6552
6552
  #elif CYTHON_COMPILING_IN_LIMITED_API
6553
- sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
6553
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
6554
6554
  #else
6555
- sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
6555
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
6556
6556
  #endif
6557
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction) __PYX_ERR(2, 13, __pyx_L1_error)
6557
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction) __PYX_ERR(2, 13, __pyx_L1_error)
6558
6558
  __pyx_vtabptr_6a_sync_6a_sync_8function__ASyncFunction = (struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ASyncFunction*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_8function__ASyncFunction)) __PYX_ERR(2, 13, __pyx_L1_error)
6559
6559
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6560
6560
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 1, __pyx_L1_error)
6561
6561
  __Pyx_GOTREF(__pyx_t_1);
6562
- __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
6562
+ __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
6563
6563
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
6564
- sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
6564
+ sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
6565
6565
  #elif CYTHON_COMPILING_IN_LIMITED_API
6566
- sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
6566
+ sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
6567
6567
  #else
6568
- sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
6568
+ sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
6569
6569
  #endif
6570
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(3, 1, __pyx_L1_error)
6570
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(3, 1, __pyx_L1_error)
6571
6571
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6572
6572
  __Pyx_RefNannyFinishContext();
6573
6573
  return 0;
@@ -6597,7 +6597,7 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
6597
6597
  /*--- Function import code ---*/
6598
6598
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
6599
6599
  __Pyx_GOTREF(__pyx_t_1);
6600
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "wraps", (void (**)(void))&__pyx_f_6a_sync_9functools_wraps, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
6600
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "wraps", (void (**)(void))&__pyx_f_6a_sync_9functools_wraps, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
6601
6601
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6602
6602
  __Pyx_RefNannyFinishContext();
6603
6603
  return 0;
@@ -9103,6 +9103,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
9103
9103
  return -1;
9104
9104
  }
9105
9105
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
9106
+ Py_DECREF(bases);
9106
9107
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
9107
9108
  return -1;
9108
9109
  }
@@ -12043,15 +12044,15 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) {
12043
12044
  }
12044
12045
 
12045
12046
  /* TypeImport */
12046
- #ifndef __PYX_HAVE_RT_ImportType_3_1_3
12047
- #define __PYX_HAVE_RT_ImportType_3_1_3
12048
- static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
12049
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
12047
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_4
12048
+ #define __PYX_HAVE_RT_ImportType_3_1_4
12049
+ static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
12050
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
12050
12051
  {
12051
12052
  PyObject *result = 0;
12052
12053
  Py_ssize_t basicsize;
12053
12054
  Py_ssize_t itemsize;
12054
- #if CYTHON_COMPILING_IN_LIMITED_API
12055
+ #ifdef Py_LIMITED_API
12055
12056
  PyObject *py_basicsize;
12056
12057
  PyObject *py_itemsize;
12057
12058
  #endif
@@ -12064,7 +12065,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
12064
12065
  module_name, class_name);
12065
12066
  goto bad;
12066
12067
  }
12067
- #if !CYTHON_COMPILING_IN_LIMITED_API
12068
+ #ifndef Py_LIMITED_API
12068
12069
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
12069
12070
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
12070
12071
  #else
@@ -12102,7 +12103,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
12102
12103
  module_name, class_name, size, basicsize+itemsize);
12103
12104
  goto bad;
12104
12105
  }
12105
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
12106
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
12106
12107
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
12107
12108
  PyErr_Format(PyExc_ValueError,
12108
12109
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -12110,7 +12111,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
12110
12111
  module_name, class_name, size, basicsize, basicsize+itemsize);
12111
12112
  goto bad;
12112
12113
  }
12113
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
12114
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
12114
12115
  if (PyErr_WarnFormat(NULL, 0,
12115
12116
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
12116
12117
  "Expected %zd from C header, got %zd from PyObject",
@@ -13506,9 +13507,9 @@ bad:
13506
13507
  }
13507
13508
 
13508
13509
  /* FunctionImport */
13509
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
13510
- #define __PYX_HAVE_RT_ImportFunction_3_1_3
13511
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
13510
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
13511
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
13512
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
13512
13513
  PyObject *d = 0;
13513
13514
  PyObject *cobj = 0;
13514
13515
  union {
@@ -13610,6 +13611,10 @@ bad:
13610
13611
  PyCode_NewWithPosOnlyArgs
13611
13612
  #endif
13612
13613
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
13614
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
13615
+ if (likely(result))
13616
+ result->_co_firsttraceable = 0;
13617
+ #endif
13613
13618
  return result;
13614
13619
  }
13615
13620
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
Binary file
a_sync/a_sync/_kwargs.c CHANGED
@@ -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
  {
@@ -29,8 +29,8 @@ END: Cython Metadata */
29
29
  #elif PY_VERSION_HEX < 0x03080000
30
30
  #error Cython requires Python 3.8+.
31
31
  #else
32
- #define __PYX_ABI_VERSION "3_1_3"
33
- #define CYTHON_HEX_VERSION 0x030103F0
32
+ #define __PYX_ABI_VERSION "3_1_4"
33
+ #define CYTHON_HEX_VERSION 0x030104F0
34
34
  #define CYTHON_FUTURE_DIVISION 1
35
35
  /* CModulePreamble */
36
36
  #include <stddef.h>
@@ -1963,18 +1963,18 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
1963
1963
  if (!__Pyx_PyThreadState_Current->tracing) {\
1964
1964
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1965
1965
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1966
- if (unlikely(!__pyx_frame_code)) goto_error;\
1967
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1968
- }\
1966
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1967
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1968
+ } else __pyx_frame_code = NULL;\
1969
1969
  PyGILState_Release(state);\
1970
- }\
1970
+ } else __pyx_frame_code = NULL;\
1971
1971
  } else {\
1972
1972
  if (!__Pyx_PyThreadState_Current->tracing) {\
1973
1973
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1974
1974
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1975
- if (unlikely(!__pyx_frame_code)) goto_error;\
1976
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1977
- }\
1975
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1976
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1977
+ } else __pyx_frame_code = NULL;\
1978
1978
  }\
1979
1979
  if (unlikely(ret == -1)) goto_error;\
1980
1980
  }
@@ -2859,10 +2859,10 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
2859
2859
  static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);
2860
2860
 
2861
2861
  /* VoidPtrImport.proto */
2862
- static int __Pyx_ImportVoidPtr_3_1_3(PyObject *module, const char *name, void **p, const char *sig);
2862
+ static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig);
2863
2863
 
2864
2864
  /* FunctionImport.proto */
2865
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2865
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2866
2866
 
2867
2867
  /* MultiPhaseInitModuleState.proto */
2868
2868
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -4235,9 +4235,9 @@ static int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate) {
4235
4235
  /*--- Variable import code ---*/
4236
4236
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
4237
4237
  __Pyx_GOTREF(__pyx_t_1);
4238
- if (__Pyx_ImportVoidPtr_3_1_3(__pyx_t_1, "AFFIRMATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_AFFIRMATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
4239
- if (__Pyx_ImportVoidPtr_3_1_3(__pyx_t_1, "NEGATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_NEGATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
4240
- if (__Pyx_ImportVoidPtr_3_1_3(__pyx_t_1, "VIABLE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_VIABLE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
4238
+ if (__Pyx_ImportVoidPtr_3_1_4(__pyx_t_1, "AFFIRMATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_AFFIRMATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
4239
+ if (__Pyx_ImportVoidPtr_3_1_4(__pyx_t_1, "NEGATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_NEGATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
4240
+ if (__Pyx_ImportVoidPtr_3_1_4(__pyx_t_1, "VIABLE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_VIABLE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
4241
4241
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4242
4242
  __Pyx_RefNannyFinishContext();
4243
4243
  return 0;
@@ -4258,7 +4258,7 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
4258
4258
  /*--- Function import code ---*/
4259
4259
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
4260
4260
  __Pyx_GOTREF(__pyx_t_1);
4261
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "validate_and_negate_if_necessary", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_and_negate_if_necessary, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
4261
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "validate_and_negate_if_necessary", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_and_negate_if_necessary, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
4262
4262
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4263
4263
  __Pyx_RefNannyFinishContext();
4264
4264
  return 0;
@@ -7550,6 +7550,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
7550
7550
  return -1;
7551
7551
  }
7552
7552
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
7553
+ Py_DECREF(bases);
7553
7554
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
7554
7555
  return -1;
7555
7556
  }
@@ -11104,9 +11105,9 @@ bad:
11104
11105
  }
11105
11106
 
11106
11107
  /* VoidPtrImport */
11107
- #ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_3
11108
- #define __PYX_HAVE_RT_ImportVoidPtr_3_1_3
11109
- static int __Pyx_ImportVoidPtr_3_1_3(PyObject *module, const char *name, void **p, const char *sig) {
11108
+ #ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_4
11109
+ #define __PYX_HAVE_RT_ImportVoidPtr_3_1_4
11110
+ static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig) {
11110
11111
  PyObject *d = 0;
11111
11112
  PyObject *cobj = 0;
11112
11113
  d = PyObject_GetAttrString(module, "__pyx_capi__");
@@ -11144,9 +11145,9 @@ bad:
11144
11145
  #endif
11145
11146
 
11146
11147
  /* FunctionImport */
11147
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
11148
- #define __PYX_HAVE_RT_ImportFunction_3_1_3
11149
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
11148
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
11149
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
11150
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
11150
11151
  PyObject *d = 0;
11151
11152
  PyObject *cobj = 0;
11152
11153
  union {
@@ -11248,6 +11249,10 @@ bad:
11248
11249
  PyCode_NewWithPosOnlyArgs
11249
11250
  #endif
11250
11251
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
11252
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
11253
+ if (likely(result))
11254
+ result->_co_firsttraceable = 0;
11255
+ #endif
11251
11256
  return result;
11252
11257
  }
11253
11258
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
Binary file
a_sync/a_sync/abstract.c CHANGED
@@ -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
  {
@@ -29,8 +29,8 @@ END: Cython Metadata */
29
29
  #elif PY_VERSION_HEX < 0x03080000
30
30
  #error Cython requires Python 3.8+.
31
31
  #else
32
- #define __PYX_ABI_VERSION "3_1_3"
33
- #define CYTHON_HEX_VERSION 0x030103F0
32
+ #define __PYX_ABI_VERSION "3_1_4"
33
+ #define CYTHON_HEX_VERSION 0x030104F0
34
34
  #define CYTHON_FUTURE_DIVISION 1
35
35
  /* CModulePreamble */
36
36
  #include <stddef.h>
@@ -1868,18 +1868,18 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject
1868
1868
  if (!__Pyx_PyThreadState_Current->tracing) {\
1869
1869
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1870
1870
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1871
- if (unlikely(!__pyx_frame_code)) goto_error;\
1872
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1873
- }\
1871
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1872
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1873
+ } else __pyx_frame_code = NULL;\
1874
1874
  PyGILState_Release(state);\
1875
- }\
1875
+ } else __pyx_frame_code = NULL;\
1876
1876
  } else {\
1877
1877
  if (!__Pyx_PyThreadState_Current->tracing) {\
1878
1878
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1879
1879
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1880
- if (unlikely(!__pyx_frame_code)) goto_error;\
1881
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1882
- }\
1880
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1881
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1882
+ } else __pyx_frame_code = NULL;\
1883
1883
  }\
1884
1884
  if (unlikely(ret == -1)) goto_error;\
1885
1885
  }
@@ -2738,7 +2738,7 @@ static unsigned long __Pyx_get_runtime_version(void);
2738
2738
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
2739
2739
 
2740
2740
  /* FunctionImport.proto */
2741
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2741
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2742
2742
 
2743
2743
  /* MultiPhaseInitModuleState.proto */
2744
2744
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -3875,8 +3875,14 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8abstract_8ASyncABC_2__a_sync_should_a
3875
3875
  *
3876
3876
  */
3877
3877
  __Pyx_TraceLine(98,7,0,__PYX_ERR(0, 98, __pyx_L1_error))
3878
- __pyx_t_2 = (__pyx_v_flag != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_flag) != 0);
3879
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_2 < 0))) __PYX_ERR(0, 98, __pyx_L1_error)
3878
+ if (__pyx_v_flag == Py_None) __pyx_t_2 = 0;
3879
+ else
3880
+ {
3881
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_flag);
3882
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 98, __pyx_L1_error)
3883
+ __pyx_t_2 = (__pyx_temp != 0);
3884
+ }
3885
+
3880
3886
  if (__pyx_t_2) {
3881
3887
 
3882
3888
  /* "a_sync/a_sync/abstract.pyx":99
@@ -4831,8 +4837,14 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8abstract_8ASyncABC_6__a_sync_instance
4831
4837
  */
4832
4838
  __Pyx_TraceLine(176,22,0,__PYX_ERR(0, 176, __pyx_L1_error))
4833
4839
  __Pyx_XDECREF(__pyx_r);
4834
- __pyx_t_5 = (__pyx_v_flag != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_flag) != 0);
4835
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_5 < 0))) __PYX_ERR(0, 176, __pyx_L1_error)
4840
+ if (__pyx_v_flag == Py_None) __pyx_t_5 = 0;
4841
+ else
4842
+ {
4843
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_flag);
4844
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 176, __pyx_L1_error)
4845
+ __pyx_t_5 = (__pyx_temp != 0);
4846
+ }
4847
+
4836
4848
  if (__pyx_t_5) {
4837
4849
  __pyx_t_6 = __pyx_f_6a_sync_6a_sync_7_kwargs_is_sync(__pyx_v_flag, __pyx_v_kwargs, 0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 176, __pyx_L1_error)
4838
4850
  __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 176, __pyx_L1_error)
@@ -4875,8 +4887,14 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8abstract_8ASyncABC_6__a_sync_instance
4875
4887
  * "No valid flags found in kwargs, checking class definition for defined default", ()
4876
4888
  */
4877
4889
  __Pyx_TraceLine(178,34,0,__PYX_ERR(0, 178, __pyx_L1_error))
4878
- __pyx_t_5 = (__pyx_v_flag != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_flag) != 0);
4879
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_5 < 0))) __PYX_ERR(0, 178, __pyx_L1_error)
4890
+ if (__pyx_v_flag == Py_None) __pyx_t_5 = 0;
4891
+ else
4892
+ {
4893
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_flag);
4894
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 178, __pyx_L1_error)
4895
+ __pyx_t_5 = (__pyx_temp != 0);
4896
+ }
4897
+
4880
4898
  __pyx_t_6 = (!__pyx_t_5);
4881
4899
  if (__pyx_t_6) {
4882
4900
 
@@ -5620,12 +5638,12 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
5620
5638
  /*--- Function import code ---*/
5621
5639
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._kwargs"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
5622
5640
  __Pyx_GOTREF(__pyx_t_1);
5623
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "get_flag_name", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_get_flag_name, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5624
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "is_sync", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_is_sync, "int (PyObject *, PyObject *, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5641
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "get_flag_name", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_get_flag_name, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5642
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "is_sync", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_is_sync, "int (PyObject *, PyObject *, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5625
5643
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5626
5644
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
5627
5645
  __Pyx_GOTREF(__pyx_t_1);
5628
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "validate_and_negate_if_necessary", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_and_negate_if_necessary, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5646
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "validate_and_negate_if_necessary", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_and_negate_if_necessary, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5629
5647
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5630
5648
  __Pyx_RefNannyFinishContext();
5631
5649
  return 0;
@@ -8987,6 +9005,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
8987
9005
  return -1;
8988
9006
  }
8989
9007
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
9008
+ Py_DECREF(bases);
8990
9009
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
8991
9010
  return -1;
8992
9011
  }
@@ -11477,9 +11496,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
11477
11496
  }
11478
11497
 
11479
11498
  /* FunctionImport */
11480
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
11481
- #define __PYX_HAVE_RT_ImportFunction_3_1_3
11482
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
11499
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
11500
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
11501
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
11483
11502
  PyObject *d = 0;
11484
11503
  PyObject *cobj = 0;
11485
11504
  union {
@@ -11581,6 +11600,10 @@ bad:
11581
11600
  PyCode_NewWithPosOnlyArgs
11582
11601
  #endif
11583
11602
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
11603
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
11604
+ if (likely(result))
11605
+ result->_co_firsttraceable = 0;
11606
+ #endif
11584
11607
  return result;
11585
11608
  }
11586
11609
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
Binary file
@@ -12,13 +12,13 @@ is intended for more custom implementations if necessary.
12
12
  from a_sync._typing import *
13
13
  import abc
14
14
  import functools
15
- from _typeshed import Incomplete
15
+ import logging
16
16
  from a_sync import exceptions as exceptions
17
17
  from a_sync.a_sync import modifiers as modifiers
18
18
  from a_sync.a_sync._meta import ASyncMeta as ASyncMeta
19
19
  from a_sync.exceptions import NoFlagsFound as NoFlagsFound
20
20
 
21
- logger: Incomplete
21
+ logger: logging.Logger
22
22
 
23
23
  class ASyncABC(metaclass=ASyncMeta):
24
24
  """Abstract Base Class for defining asynchronous and synchronous behavior.