ez-a-sync 0.32.26__cp39-cp39-win_amd64.whl → 0.32.27__cp39-cp39-win_amd64.whl

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

Potentially problematic release.


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

Files changed (66) hide show
  1. a_sync/_smart.c +53 -39
  2. a_sync/_smart.cp39-win_amd64.pyd +0 -0
  3. a_sync/a_sync/_descriptor.c +64 -49
  4. a_sync/a_sync/_descriptor.cp39-win_amd64.pyd +0 -0
  5. a_sync/a_sync/_flags.c +13 -10
  6. a_sync/a_sync/_flags.cp39-win_amd64.pyd +0 -0
  7. a_sync/a_sync/_helpers.c +62 -47
  8. a_sync/a_sync/_helpers.cp39-win_amd64.pyd +0 -0
  9. a_sync/a_sync/_kwargs.c +33 -18
  10. a_sync/a_sync/_kwargs.cp39-win_amd64.pyd +0 -0
  11. a_sync/a_sync/abstract.c +18 -11
  12. a_sync/a_sync/abstract.cp39-win_amd64.pyd +0 -0
  13. a_sync/a_sync/base.c +177 -163
  14. a_sync/a_sync/base.cp39-win_amd64.pyd +0 -0
  15. a_sync/a_sync/flags.c +6 -3
  16. a_sync/a_sync/flags.cp39-win_amd64.pyd +0 -0
  17. a_sync/a_sync/function.c +89 -75
  18. a_sync/a_sync/function.cp39-win_amd64.pyd +0 -0
  19. a_sync/a_sync/method.c +135 -121
  20. a_sync/a_sync/method.cp39-win_amd64.pyd +0 -0
  21. a_sync/a_sync/modifiers/manager.c +55 -41
  22. a_sync/a_sync/modifiers/manager.cp39-win_amd64.pyd +0 -0
  23. a_sync/a_sync/property.c +82 -67
  24. a_sync/a_sync/property.cp39-win_amd64.pyd +0 -0
  25. a_sync/async_property/cached.c +57 -42
  26. a_sync/async_property/cached.cp39-win_amd64.pyd +0 -0
  27. a_sync/async_property/proxy.c +24 -9
  28. a_sync/async_property/proxy.cp39-win_amd64.pyd +0 -0
  29. a_sync/asyncio/as_completed.c +21 -6
  30. a_sync/asyncio/as_completed.cp39-win_amd64.pyd +0 -0
  31. a_sync/asyncio/create_task.c +32 -18
  32. a_sync/asyncio/create_task.cp39-win_amd64.pyd +0 -0
  33. a_sync/asyncio/gather.c +30 -15
  34. a_sync/asyncio/gather.cp39-win_amd64.pyd +0 -0
  35. a_sync/asyncio/igather.c +33 -19
  36. a_sync/asyncio/igather.cp39-win_amd64.pyd +0 -0
  37. a_sync/asyncio/sleep.c +19 -4
  38. a_sync/asyncio/sleep.cp39-win_amd64.pyd +0 -0
  39. a_sync/debugging.c +54 -40
  40. a_sync/debugging.cp39-win_amd64.pyd +0 -0
  41. a_sync/exceptions.c +18 -11
  42. a_sync/exceptions.cp39-win_amd64.pyd +0 -0
  43. a_sync/executor.py +44 -0
  44. a_sync/functools.c +24 -9
  45. a_sync/functools.cp39-win_amd64.pyd +0 -0
  46. a_sync/iter.c +95 -81
  47. a_sync/iter.cp39-win_amd64.pyd +0 -0
  48. a_sync/primitives/_debug.c +55 -40
  49. a_sync/primitives/_debug.cp39-win_amd64.pyd +0 -0
  50. a_sync/primitives/_loggable.c +25 -10
  51. a_sync/primitives/_loggable.cp39-win_amd64.pyd +0 -0
  52. a_sync/primitives/locks/counter.c +79 -65
  53. a_sync/primitives/locks/counter.cp39-win_amd64.pyd +0 -0
  54. a_sync/primitives/locks/event.c +70 -55
  55. a_sync/primitives/locks/event.cp39-win_amd64.pyd +0 -0
  56. a_sync/primitives/locks/prio_semaphore.c +91 -77
  57. a_sync/primitives/locks/prio_semaphore.cp39-win_amd64.pyd +0 -0
  58. a_sync/primitives/locks/semaphore.c +77 -63
  59. a_sync/primitives/locks/semaphore.cp39-win_amd64.pyd +0 -0
  60. a_sync/utils/repr.c +50 -36
  61. a_sync/utils/repr.cp39-win_amd64.pyd +0 -0
  62. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/METADATA +1 -1
  63. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/RECORD +66 -66
  64. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/WHEEL +0 -0
  65. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/licenses/LICENSE.txt +0 -0
  66. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.2 */
1
+ /* Generated by Cython 3.1.3 */
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_2"
34
- #define CYTHON_HEX_VERSION 0x030102F0
33
+ #define __PYX_ABI_VERSION "3_1_3"
34
+ #define CYTHON_HEX_VERSION 0x030103F0
35
35
  #define CYTHON_FUTURE_DIVISION 1
36
36
  /* CModulePreamble */
37
37
  #include <stddef.h>
@@ -394,6 +394,9 @@ END: Cython Metadata */
394
394
  enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
395
395
  #endif
396
396
  #endif
397
+ #ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
398
+ #define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
399
+ #endif
397
400
  #ifndef __has_attribute
398
401
  #define __has_attribute(x) 0
399
402
  #endif
@@ -3290,22 +3293,22 @@ static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, trav
3290
3293
  static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear);
3291
3294
 
3292
3295
  /* TypeImport.proto */
3293
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_2
3294
- #define __PYX_HAVE_RT_ImportType_proto_3_1_2
3296
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
3297
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_3
3295
3298
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
3296
3299
  #include <stdalign.h>
3297
3300
  #endif
3298
3301
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
3299
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) alignof(s)
3302
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
3300
3303
  #else
3301
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) sizeof(void*)
3304
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
3302
3305
  #endif
3303
- enum __Pyx_ImportType_CheckSize_3_1_2 {
3304
- __Pyx_ImportType_CheckSize_Error_3_1_2 = 0,
3305
- __Pyx_ImportType_CheckSize_Warn_3_1_2 = 1,
3306
- __Pyx_ImportType_CheckSize_Ignore_3_1_2 = 2
3306
+ enum __Pyx_ImportType_CheckSize_3_1_3 {
3307
+ __Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
3308
+ __Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
3309
+ __Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
3307
3310
  };
3308
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size);
3311
+ 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);
3309
3312
  #endif
3310
3313
 
3311
3314
  /* GetVTable.proto */
@@ -3460,7 +3463,7 @@ static unsigned long __Pyx_get_runtime_version(void);
3460
3463
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
3461
3464
 
3462
3465
  /* FunctionImport.proto */
3463
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3466
+ static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3464
3467
 
3465
3468
  /* MultiPhaseInitModuleState.proto */
3466
3469
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -3766,7 +3769,7 @@ static const char __pyx_k_ThreadsafeSemaphore___aenter[] = "ThreadsafeSemaphore.
3766
3769
  static const char __pyx_k_must_be_a_coroutine_function[] = " must be a coroutine function";
3767
3770
  static const char __pyx_k_s_has_s_waiters_for_any_of_s[] = "%s has %s waiters for any of: %s";
3768
3771
  static const char __pyx_k_Failed_to_allocate_memory_for[] = "Failed to allocate memory for __name.";
3769
- static const char __pyx_k_5_J_t_Z_A_4q_T_a_c_Ct_PSSZZ_Rt[] = "\320\004\032\230!\330\010\031\230\022\2305\240\004\240J\320.?\270t\300<\310{\320Z^\320^{\320{~\320~\360\000\000@\002A\002\330\010\013\2104\210q\330\014\025\220T\230\021\230$\230a\230\250c\260\021\260*\270C\270t\300=\320PS\320SZ\320Z[\330\014\035\230R\230t\240>\260\023\260O\3001\330\010\017\210q";
3772
+ static const char __pyx_k_5_J_t_Z_A_4q_T_a_c_Ct_PSSZZ_Rt[] = "\320\004\032\230!\330\010\031\230\022\2305\240\004\240J\320.?\270t\300<\310{\320Z^\320^{\320{~\320~\177\360\000\000@\002A\002\330\010\013\2104\210q\330\014\025\220T\230\021\230$\230a\230\177\250c\260\021\260*\270C\270t\300=\320PS\320SZ\320Z[\330\014\035\230R\230t\240>\260\023\260O\3001\330\010\017\210q";
3770
3773
  static const char __pyx_k_DummySemaphore___reduce_cython[] = "DummySemaphore.__reduce_cython__";
3771
3774
  static const char __pyx_k_33C9A_z_r_Q_6_Q_M_t1_4q_a_q_Q_k[] = "\320\004\036\320\0363\3203C\3009\310A\360\020\000\t\020\210z\230\021\230'\240\026\240r\250\024\250Q\330\010\021\220\031\230!\2306\240\027\250\005\250Q\340\010\014\210M\230\026\230t\2401\330\010\013\2104\210q\330\014\020\220\016\230a\330\014\020\220\t\230\036\240q\250\005\250Q\340\014\020\320\020>\270k\310\021\310!\330\014\020\220\t\230\021";
3772
3775
  static const char __pyx_k_Q_5_7_6_t7RSST_AQ_IWF_7_A_4wc_Q[] = "\320\004\035\320\035-\250Q\360\022\000\t$\2405\250\003\2507\260!\2606\270\036\300t\3107\320RS\320ST\330\010!\240\023\240A\240Q\360\006\000\t\r\210I\220W\230F\240!\2407\250\"\250A\330\010\t\340\010\013\2104\210w\220c\230\021\330\014\022\220+\230Q\230a\360\006\000\t\017\210a\210t\2208\2301";
@@ -5701,8 +5704,8 @@ static PyObject *__pyx_pf_6a_sync_10primitives_5locks_9semaphore_9Semaphore_8__r
5701
5704
  __Pyx_TraceLine(146,30,0,__PYX_ERR(0, 146, __pyx_L1_error))
5702
5705
  __pyx_t_5 = __pyx_v_self->_decorated;
5703
5706
  __Pyx_INCREF(__pyx_t_5);
5704
- __pyx_v_decorated = ((PyObject*)__pyx_t_5);
5705
5707
  __Pyx_INCREF(__pyx_t_5);
5708
+ __pyx_v_decorated = ((PyObject*)__pyx_t_5);
5706
5709
  __pyx_t_2 = __pyx_t_5;
5707
5710
  __Pyx_INCREF(__pyx_t_2);
5708
5711
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
@@ -15734,15 +15737,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
15734
15737
  /*--- Type init code ---*/
15735
15738
  __pyx_t_1 = PyImport_ImportModule("a_sync.primitives._debug"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
15736
15739
  __Pyx_GOTREF(__pyx_t_1);
15737
- __pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin = __Pyx_ImportType_3_1_2(__pyx_t_1, "a_sync.primitives._debug", "_DebugDaemonMixin",
15740
+ __pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._debug", "_DebugDaemonMixin",
15738
15741
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
15739
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
15742
+ 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),
15740
15743
  #elif CYTHON_COMPILING_IN_LIMITED_API
15741
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
15744
+ 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),
15742
15745
  #else
15743
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
15746
+ 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),
15744
15747
  #endif
15745
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin) __PYX_ERR(0, 1, __pyx_L1_error)
15748
+ __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)
15746
15749
  __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)
15747
15750
  __pyx_vtabptr_6a_sync_10primitives_5locks_9semaphore_Semaphore = &__pyx_vtable_6a_sync_10primitives_5locks_9semaphore_Semaphore;
15748
15751
  __pyx_vtable_6a_sync_10primitives_5locks_9semaphore_Semaphore.__pyx_base = *__pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin;
@@ -16086,41 +16089,41 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
16086
16089
  /*--- Type import code ---*/
16087
16090
  __pyx_t_1 = PyImport_ImportModule("a_sync.primitives._loggable"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error)
16088
16091
  __Pyx_GOTREF(__pyx_t_1);
16089
- __pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_2(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
16092
+ __pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
16090
16093
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
16091
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
16094
+ 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),
16092
16095
  #elif CYTHON_COMPILING_IN_LIMITED_API
16093
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
16096
+ 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),
16094
16097
  #else
16095
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
16098
+ 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),
16096
16099
  #endif
16097
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin) __PYX_ERR(2, 1, __pyx_L1_error)
16100
+ __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)
16098
16101
  __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)
16099
16102
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16100
16103
  __pyx_t_1 = PyImport_ImportModule("a_sync.primitives._debug"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 3, __pyx_L1_error)
16101
16104
  __Pyx_GOTREF(__pyx_t_1);
16102
- __pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin = __Pyx_ImportType_3_1_2(__pyx_t_1, "a_sync.primitives._debug", "_LoopBoundMixin",
16105
+ __pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._debug", "_LoopBoundMixin",
16103
16106
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
16104
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
16107
+ 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),
16105
16108
  #elif CYTHON_COMPILING_IN_LIMITED_API
16106
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
16109
+ 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),
16107
16110
  #else
16108
- sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
16111
+ 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),
16109
16112
  #endif
16110
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin) __PYX_ERR(3, 3, __pyx_L1_error)
16113
+ __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)
16111
16114
  __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)
16112
16115
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16113
16116
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 1, __pyx_L1_error)
16114
16117
  __Pyx_GOTREF(__pyx_t_1);
16115
- __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_2(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
16118
+ __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
16116
16119
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
16117
- sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
16120
+ 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),
16118
16121
  #elif CYTHON_COMPILING_IN_LIMITED_API
16119
- sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
16122
+ 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),
16120
16123
  #else
16121
- sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
16124
+ 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),
16122
16125
  #endif
16123
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(4, 1, __pyx_L1_error)
16126
+ __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(4, 1, __pyx_L1_error)
16124
16127
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16125
16128
  __Pyx_RefNannyFinishContext();
16126
16129
  return 0;
@@ -16150,7 +16153,7 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
16150
16153
  /*--- Function import code ---*/
16151
16154
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
16152
16155
  __Pyx_GOTREF(__pyx_t_1);
16153
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "wraps", (void (**)(void))&__pyx_f_6a_sync_9functools_wraps, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
16156
+ 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)
16154
16157
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16155
16158
  __Pyx_RefNannyFinishContext();
16156
16159
  return 0;
@@ -16890,7 +16893,7 @@ __Pyx_RefNannySetupContext("PyInit_semaphore", 0);
16890
16893
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
16891
16894
  * def __setstate_cython__(self, __pyx_state):
16892
16895
  */
16893
- __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
16896
+ __Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
16894
16897
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_9semaphore_9Semaphore_35__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Semaphore___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_semaphor, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[23])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error)
16895
16898
  __Pyx_GOTREF(__pyx_t_2);
16896
16899
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_2) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -16902,7 +16905,7 @@ __Pyx_RefNannySetupContext("PyInit_semaphore", 0);
16902
16905
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
16903
16906
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
16904
16907
  */
16905
- __Pyx_TraceLine(3,4,0,__PYX_ERR(1, 3, __pyx_L1_error))
16908
+ __Pyx_TraceLine(3,6,0,__PYX_ERR(1, 3, __pyx_L1_error))
16906
16909
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_9semaphore_9Semaphore_37__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Semaphore___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_semaphor, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[24])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3, __pyx_L1_error)
16907
16910
  __Pyx_GOTREF(__pyx_t_2);
16908
16911
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_2) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -16991,7 +16994,7 @@ __Pyx_RefNannySetupContext("PyInit_semaphore", 0);
16991
16994
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
16992
16995
  * def __setstate_cython__(self, __pyx_state):
16993
16996
  */
16994
- __Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
16997
+ __Pyx_TraceLine(1,3,0,__PYX_ERR(1, 1, __pyx_L1_error))
16995
16998
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_9semaphore_14DummySemaphore_18__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_DummySemaphore___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_semaphor, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[34])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
16996
16999
  __Pyx_GOTREF(__pyx_t_3);
16997
17000
  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)
@@ -17003,7 +17006,7 @@ __Pyx_RefNannySetupContext("PyInit_semaphore", 0);
17003
17006
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
17004
17007
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
17005
17008
  */
17006
- __Pyx_TraceLine(3,6,0,__PYX_ERR(1, 3, __pyx_L1_error))
17009
+ __Pyx_TraceLine(3,4,0,__PYX_ERR(1, 3, __pyx_L1_error))
17007
17010
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_9semaphore_14DummySemaphore_20__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_DummySemaphore___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_semaphor, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[35])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3, __pyx_L1_error)
17008
17011
  __Pyx_GOTREF(__pyx_t_3);
17009
17012
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_3) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -17049,7 +17052,7 @@ __Pyx_RefNannySetupContext("PyInit_semaphore", 0);
17049
17052
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
17050
17053
  * def __setstate_cython__(self, __pyx_state):
17051
17054
  */
17052
- __Pyx_TraceLine(1,3,0,__PYX_ERR(1, 1, __pyx_L1_error))
17055
+ __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
17053
17056
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_9semaphore_19ThreadsafeSemaphore_11__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ThreadsafeSemaphore___reduce_cyt, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_semaphor, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[43])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
17054
17057
  __Pyx_GOTREF(__pyx_t_3);
17055
17058
  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)
@@ -17394,16 +17397,15 @@ static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) {
17394
17397
  return -1;
17395
17398
  }
17396
17399
  /* #### Code section: init_codeobjects ### */
17397
- \
17398
- typedef struct {
17399
- unsigned int argcount : 3;
17400
- unsigned int num_posonly_args : 1;
17401
- unsigned int num_kwonly_args : 1;
17402
- unsigned int nlocals : 4;
17403
- unsigned int flags : 10;
17404
- unsigned int first_line : 9;
17405
- unsigned int line_table_length : 13;
17406
- } __Pyx_PyCode_New_function_description;
17400
+ typedef struct {
17401
+ unsigned int argcount : 3;
17402
+ unsigned int num_posonly_args : 1;
17403
+ unsigned int num_kwonly_args : 1;
17404
+ unsigned int nlocals : 4;
17405
+ unsigned int flags : 10;
17406
+ unsigned int first_line : 9;
17407
+ unsigned int line_table_length : 13;
17408
+ } __Pyx_PyCode_New_function_description;
17407
17409
  /* NewCodeObj.proto */
17408
17410
  static PyObject* __Pyx_PyCode_New(
17409
17411
  const __Pyx_PyCode_New_function_description descr,
@@ -20233,6 +20235,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
20233
20235
  changed = 1;
20234
20236
  }
20235
20237
  #endif // CYTHON_METH_FASTCALL
20238
+ #if !CYTHON_COMPILING_IN_PYPY
20236
20239
  else if (strcmp(memb->name, "__module__") == 0) {
20237
20240
  PyObject *descr;
20238
20241
  assert(memb->type == T_OBJECT);
@@ -20247,11 +20250,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
20247
20250
  }
20248
20251
  changed = 1;
20249
20252
  }
20253
+ #endif // !CYTHON_COMPILING_IN_PYPY
20250
20254
  }
20251
20255
  memb++;
20252
20256
  }
20253
20257
  }
20254
20258
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
20259
+ #if !CYTHON_COMPILING_IN_PYPY
20255
20260
  slot = spec->slots;
20256
20261
  while (slot && slot->slot && slot->slot != Py_tp_getset)
20257
20262
  slot++;
@@ -20283,6 +20288,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
20283
20288
  ++getset;
20284
20289
  }
20285
20290
  }
20291
+ #endif // !CYTHON_COMPILING_IN_PYPY
20286
20292
  if (changed)
20287
20293
  PyType_Modified(type);
20288
20294
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -20415,7 +20421,7 @@ bad:
20415
20421
  }
20416
20422
 
20417
20423
  /* CommonTypesMetaclass */
20418
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
20424
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
20419
20425
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
20420
20426
  }
20421
20427
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -20572,7 +20578,7 @@ try_unpack:
20572
20578
  }
20573
20579
 
20574
20580
  /* PyObjectCallMethod1 */
20575
- #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
20581
+ #if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
20576
20582
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
20577
20583
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
20578
20584
  Py_DECREF(method);
@@ -20580,7 +20586,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
20580
20586
  }
20581
20587
  #endif
20582
20588
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
20583
- #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
20589
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
20584
20590
  PyObject *args[2] = {obj, arg};
20585
20591
  (void) __Pyx_PyObject_GetMethod;
20586
20592
  (void) __Pyx_PyObject_CallOneArg;
@@ -23590,10 +23596,10 @@ static PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject *key) {
23590
23596
  }
23591
23597
 
23592
23598
  /* TypeImport */
23593
- #ifndef __PYX_HAVE_RT_ImportType_3_1_2
23594
- #define __PYX_HAVE_RT_ImportType_3_1_2
23595
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module_name, const char *class_name,
23596
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size)
23599
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_3
23600
+ #define __PYX_HAVE_RT_ImportType_3_1_3
23601
+ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
23602
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
23597
23603
  {
23598
23604
  PyObject *result = 0;
23599
23605
  Py_ssize_t basicsize;
@@ -23649,7 +23655,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
23649
23655
  module_name, class_name, size, basicsize+itemsize);
23650
23656
  goto bad;
23651
23657
  }
23652
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_2 &&
23658
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
23653
23659
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
23654
23660
  PyErr_Format(PyExc_ValueError,
23655
23661
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -23657,7 +23663,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
23657
23663
  module_name, class_name, size, basicsize, basicsize+itemsize);
23658
23664
  goto bad;
23659
23665
  }
23660
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_2 && (size_t)basicsize > size) {
23666
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
23661
23667
  if (PyErr_WarnFormat(NULL, 0,
23662
23668
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
23663
23669
  "Expected %zd from C header, got %zd from PyObject",
@@ -23694,6 +23700,13 @@ bad:
23694
23700
 
23695
23701
  /* PyObjectCallMethod0 */
23696
23702
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
23703
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
23704
+ PyObject *args[1] = {obj};
23705
+ (void) __Pyx_PyObject_GetMethod;
23706
+ (void) __Pyx_PyObject_CallOneArg;
23707
+ (void) __Pyx_PyObject_CallNoArg;
23708
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
23709
+ #else
23697
23710
  PyObject *method = NULL, *result = NULL;
23698
23711
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
23699
23712
  if (likely(is_method)) {
@@ -23706,6 +23719,7 @@ bad:
23706
23719
  Py_DECREF(method);
23707
23720
  bad:
23708
23721
  return result;
23722
+ #endif
23709
23723
  }
23710
23724
 
23711
23725
  /* ValidateBasesTuple */
@@ -25735,9 +25749,9 @@ static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObj
25735
25749
  }
25736
25750
 
25737
25751
  /* FunctionImport */
25738
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_2
25739
- #define __PYX_HAVE_RT_ImportFunction_3_1_2
25740
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
25752
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
25753
+ #define __PYX_HAVE_RT_ImportFunction_3_1_3
25754
+ static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
25741
25755
  PyObject *d = 0;
25742
25756
  PyObject *cobj = 0;
25743
25757
  union {
a_sync/utils/repr.c CHANGED
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.2 */
1
+ /* Generated by Cython 3.1.3 */
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_2"
34
- #define CYTHON_HEX_VERSION 0x030102F0
33
+ #define __PYX_ABI_VERSION "3_1_3"
34
+ #define CYTHON_HEX_VERSION 0x030103F0
35
35
  #define CYTHON_FUTURE_DIVISION 1
36
36
  /* CModulePreamble */
37
37
  #include <stddef.h>
@@ -394,6 +394,9 @@ END: Cython Metadata */
394
394
  enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
395
395
  #endif
396
396
  #endif
397
+ #ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
398
+ #define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
399
+ #endif
397
400
  #ifndef __has_attribute
398
401
  #define __has_attribute(x) 0
399
402
  #endif
@@ -2632,22 +2635,22 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
2632
2635
  CYTHON_UNUSED static int __Pyx_PyType_Ready(PyTypeObject *t);
2633
2636
 
2634
2637
  /* TypeImport.proto */
2635
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_2
2636
- #define __PYX_HAVE_RT_ImportType_proto_3_1_2
2638
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
2639
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_3
2637
2640
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2638
2641
  #include <stdalign.h>
2639
2642
  #endif
2640
2643
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2641
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) alignof(s)
2644
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
2642
2645
  #else
2643
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) sizeof(void*)
2646
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
2644
2647
  #endif
2645
- enum __Pyx_ImportType_CheckSize_3_1_2 {
2646
- __Pyx_ImportType_CheckSize_Error_3_1_2 = 0,
2647
- __Pyx_ImportType_CheckSize_Warn_3_1_2 = 1,
2648
- __Pyx_ImportType_CheckSize_Ignore_3_1_2 = 2
2648
+ enum __Pyx_ImportType_CheckSize_3_1_3 {
2649
+ __Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
2650
+ __Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
2651
+ __Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
2649
2652
  };
2650
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size);
2653
+ 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);
2651
2654
  #endif
2652
2655
 
2653
2656
  /* ListPack.proto */
@@ -3191,7 +3194,7 @@ static const char __pyx_k_DictItems_ptr[] = "DictItems_ptr";
3191
3194
  static const char __pyx_k_class_getitem[] = "__class_getitem__";
3192
3195
  static const char __pyx_k_DictValues_ptr[] = "DictValues_ptr";
3193
3196
  static const char __pyx_k_q_S_r_d_Q_r_d_Q[] = "\200\001\330\004\007\320\007\027\220q\230\005\230S\240\001\330\010\017\210r\220\025\220d\230%\230~\250Q\340\010\017\210r\220\025\220d\230%\230~\250Q";
3194
- static const char __pyx_k_auCq_r_d_Q_r_d_Q[] = "\200\001\330\004\007\200\220a\220u\230C\230q\330\010\017\210r\220\025\220d\230%\230~\250Q\340\010\017\210r\220\025\220d\230%\230~\250Q";
3197
+ static const char __pyx_k_auCq_r_d_Q_r_d_Q[] = "\200\001\330\004\007\200\177\220a\220u\230C\230q\330\010\017\210r\220\025\220d\230%\230~\250Q\340\010\017\210r\220\025\220d\230%\230~\250Q";
3195
3198
  static const char __pyx_k_a_sync_utils_repr[] = "a_sync.utils.repr";
3196
3199
  static const char __pyx_k_q_s_S_t5_a_r_T_nA[] = "\320\000/\250q\330\004\007\200s\210!\210:\220S\230\001\330\010\017\210t\2205\230\016\240a\340\010\017\210r\220\024\220T\230\025\230n\250A";
3197
3200
  static const char __pyx_k_asyncio_coroutines[] = "asyncio.coroutines";
@@ -7578,15 +7581,15 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
7578
7581
  /*--- Type import code ---*/
7579
7582
  __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error)
7580
7583
  __Pyx_GOTREF(__pyx_t_1);
7581
- __pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_1_2(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
7584
+ __pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_1_3(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
7582
7585
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
7583
- sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(PyTypeObject),
7586
+ sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(PyTypeObject),
7584
7587
  #elif CYTHON_COMPILING_IN_LIMITED_API
7585
7588
  0, 0,
7586
7589
  #else
7587
- sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(PyHeapTypeObject),
7590
+ sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(PyHeapTypeObject),
7588
7591
  #endif
7589
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(1, 9, __pyx_L1_error)
7592
+ __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(1, 9, __pyx_L1_error)
7590
7593
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7591
7594
  __Pyx_RefNannyFinishContext();
7592
7595
  return 0;
@@ -8337,16 +8340,15 @@ static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) {
8337
8340
  return -1;
8338
8341
  }
8339
8342
  /* #### Code section: init_codeobjects ### */
8340
- \
8341
- typedef struct {
8342
- unsigned int argcount : 1;
8343
- unsigned int num_posonly_args : 1;
8344
- unsigned int num_kwonly_args : 1;
8345
- unsigned int nlocals : 4;
8346
- unsigned int flags : 10;
8347
- unsigned int first_line : 7;
8348
- unsigned int line_table_length : 13;
8349
- } __Pyx_PyCode_New_function_description;
8343
+ typedef struct {
8344
+ unsigned int argcount : 1;
8345
+ unsigned int num_posonly_args : 1;
8346
+ unsigned int num_kwonly_args : 1;
8347
+ unsigned int nlocals : 4;
8348
+ unsigned int flags : 10;
8349
+ unsigned int first_line : 7;
8350
+ unsigned int line_table_length : 13;
8351
+ } __Pyx_PyCode_New_function_description;
8350
8352
  /* NewCodeObj.proto */
8351
8353
  static PyObject* __Pyx_PyCode_New(
8352
8354
  const __Pyx_PyCode_New_function_description descr,
@@ -10462,6 +10464,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
10462
10464
  changed = 1;
10463
10465
  }
10464
10466
  #endif // CYTHON_METH_FASTCALL
10467
+ #if !CYTHON_COMPILING_IN_PYPY
10465
10468
  else if (strcmp(memb->name, "__module__") == 0) {
10466
10469
  PyObject *descr;
10467
10470
  assert(memb->type == T_OBJECT);
@@ -10476,11 +10479,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
10476
10479
  }
10477
10480
  changed = 1;
10478
10481
  }
10482
+ #endif // !CYTHON_COMPILING_IN_PYPY
10479
10483
  }
10480
10484
  memb++;
10481
10485
  }
10482
10486
  }
10483
10487
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
10488
+ #if !CYTHON_COMPILING_IN_PYPY
10484
10489
  slot = spec->slots;
10485
10490
  while (slot && slot->slot && slot->slot != Py_tp_getset)
10486
10491
  slot++;
@@ -10512,6 +10517,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
10512
10517
  ++getset;
10513
10518
  }
10514
10519
  }
10520
+ #endif // !CYTHON_COMPILING_IN_PYPY
10515
10521
  if (changed)
10516
10522
  PyType_Modified(type);
10517
10523
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -10616,6 +10622,13 @@ try_unpack:
10616
10622
 
10617
10623
  /* PyObjectCallMethod0 */
10618
10624
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
10625
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
10626
+ PyObject *args[1] = {obj};
10627
+ (void) __Pyx_PyObject_GetMethod;
10628
+ (void) __Pyx_PyObject_CallOneArg;
10629
+ (void) __Pyx_PyObject_CallNoArg;
10630
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
10631
+ #else
10619
10632
  PyObject *method = NULL, *result = NULL;
10620
10633
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
10621
10634
  if (likely(is_method)) {
@@ -10628,6 +10641,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
10628
10641
  Py_DECREF(method);
10629
10642
  bad:
10630
10643
  return result;
10644
+ #endif
10631
10645
  }
10632
10646
 
10633
10647
  /* ValidateBasesTuple */
@@ -10801,10 +10815,10 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) {
10801
10815
  }
10802
10816
 
10803
10817
  /* TypeImport */
10804
- #ifndef __PYX_HAVE_RT_ImportType_3_1_2
10805
- #define __PYX_HAVE_RT_ImportType_3_1_2
10806
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module_name, const char *class_name,
10807
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size)
10818
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_3
10819
+ #define __PYX_HAVE_RT_ImportType_3_1_3
10820
+ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
10821
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
10808
10822
  {
10809
10823
  PyObject *result = 0;
10810
10824
  Py_ssize_t basicsize;
@@ -10860,7 +10874,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
10860
10874
  module_name, class_name, size, basicsize+itemsize);
10861
10875
  goto bad;
10862
10876
  }
10863
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_2 &&
10877
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
10864
10878
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
10865
10879
  PyErr_Format(PyExc_ValueError,
10866
10880
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -10868,7 +10882,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
10868
10882
  module_name, class_name, size, basicsize, basicsize+itemsize);
10869
10883
  goto bad;
10870
10884
  }
10871
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_2 && (size_t)basicsize > size) {
10885
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
10872
10886
  if (PyErr_WarnFormat(NULL, 0,
10873
10887
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
10874
10888
  "Expected %zd from C header, got %zd from PyObject",
@@ -11108,7 +11122,7 @@ bad:
11108
11122
  }
11109
11123
 
11110
11124
  /* CommonTypesMetaclass */
11111
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
11125
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
11112
11126
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
11113
11127
  }
11114
11128
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -13618,7 +13632,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyOb
13618
13632
  }
13619
13633
 
13620
13634
  /* PyObjectCallMethod1 */
13621
- #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
13635
+ #if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
13622
13636
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
13623
13637
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
13624
13638
  Py_DECREF(method);
@@ -13626,7 +13640,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
13626
13640
  }
13627
13641
  #endif
13628
13642
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
13629
- #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
13643
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
13630
13644
  PyObject *args[2] = {obj, arg};
13631
13645
  (void) __Pyx_PyObject_GetMethod;
13632
13646
  (void) __Pyx_PyObject_CallOneArg;
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ez_a_sync
3
- Version: 0.32.26
3
+ Version: 0.32.27
4
4
  Summary: A library that makes it easy to define objects that can be used for both sync and async use cases.
5
5
  Home-page: https://github.com/BobTheBuidler/a-sync
6
6
  Author: BobTheBuidler