ez-a-sync 0.32.26__cp312-cp312-macosx_11_0_arm64.whl → 0.32.28__cp312-cp312-macosx_11_0_arm64.whl

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

Potentially problematic release.


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

Files changed (71) hide show
  1. a_sync/_smart.c +58 -38
  2. a_sync/_smart.cpython-312-darwin.so +0 -0
  3. a_sync/a_sync/_descriptor.c +80 -60
  4. a_sync/a_sync/_descriptor.cpython-312-darwin.so +0 -0
  5. a_sync/a_sync/_flags.c +13 -10
  6. a_sync/a_sync/_flags.cpython-312-darwin.so +0 -0
  7. a_sync/a_sync/_helpers.c +76 -56
  8. a_sync/a_sync/_helpers.cpython-312-darwin.so +0 -0
  9. a_sync/a_sync/_kwargs.c +45 -25
  10. a_sync/a_sync/_kwargs.cpython-312-darwin.so +0 -0
  11. a_sync/a_sync/abstract.c +54 -24
  12. a_sync/a_sync/abstract.cpython-312-darwin.so +0 -0
  13. a_sync/a_sync/abstract.pyi +2 -2
  14. a_sync/a_sync/base.c +186 -162
  15. a_sync/a_sync/base.cpython-312-darwin.so +0 -0
  16. a_sync/a_sync/flags.c +13 -10
  17. a_sync/a_sync/flags.cpython-312-darwin.so +0 -0
  18. a_sync/a_sync/function.c +98 -69
  19. a_sync/a_sync/function.cpython-312-darwin.so +0 -0
  20. a_sync/a_sync/method.c +157 -125
  21. a_sync/a_sync/method.cpython-312-darwin.so +0 -0
  22. a_sync/a_sync/method.pyi +2 -1
  23. a_sync/a_sync/modifiers/manager.c +60 -40
  24. a_sync/a_sync/modifiers/manager.cpython-312-darwin.so +0 -0
  25. a_sync/a_sync/property.c +104 -78
  26. a_sync/a_sync/property.cpython-312-darwin.so +0 -0
  27. a_sync/async_property/cached.c +66 -46
  28. a_sync/async_property/cached.cpython-312-darwin.so +0 -0
  29. a_sync/async_property/proxy.c +36 -16
  30. a_sync/async_property/proxy.cpython-312-darwin.so +0 -0
  31. a_sync/asyncio/as_completed.c +33 -13
  32. a_sync/asyncio/as_completed.cpython-312-darwin.so +0 -0
  33. a_sync/asyncio/create_task.c +59 -21
  34. a_sync/asyncio/create_task.cpython-312-darwin.so +0 -0
  35. a_sync/asyncio/gather.c +42 -22
  36. a_sync/asyncio/gather.cpython-312-darwin.so +0 -0
  37. a_sync/asyncio/igather.c +42 -18
  38. a_sync/asyncio/igather.cpython-312-darwin.so +0 -0
  39. a_sync/asyncio/sleep.c +24 -4
  40. a_sync/asyncio/sleep.cpython-312-darwin.so +0 -0
  41. a_sync/debugging.c +52 -32
  42. a_sync/debugging.cpython-312-darwin.so +0 -0
  43. a_sync/exceptions.c +36 -20
  44. a_sync/exceptions.cpython-312-darwin.so +0 -0
  45. a_sync/executor.py +44 -0
  46. a_sync/functools.c +36 -16
  47. a_sync/functools.cpython-312-darwin.so +0 -0
  48. a_sync/iter.c +165 -95
  49. a_sync/iter.cpython-312-darwin.so +0 -0
  50. a_sync/primitives/_debug.c +65 -45
  51. a_sync/primitives/_debug.cpython-312-darwin.so +0 -0
  52. a_sync/primitives/_loggable.c +46 -20
  53. a_sync/primitives/_loggable.cpython-312-darwin.so +0 -0
  54. a_sync/primitives/locks/counter.c +93 -63
  55. a_sync/primitives/locks/counter.cpython-312-darwin.so +0 -0
  56. a_sync/primitives/locks/event.c +75 -54
  57. a_sync/primitives/locks/event.cpython-312-darwin.so +0 -0
  58. a_sync/primitives/locks/prio_semaphore.c +123 -83
  59. a_sync/primitives/locks/prio_semaphore.cpython-312-darwin.so +0 -0
  60. a_sync/primitives/locks/prio_semaphore.pyi +2 -2
  61. a_sync/primitives/locks/semaphore.c +96 -69
  62. a_sync/primitives/locks/semaphore.cpython-312-darwin.so +0 -0
  63. a_sync/primitives/locks/semaphore.pyi +10 -9
  64. a_sync/primitives/queue.py +5 -1
  65. a_sync/utils/repr.c +55 -35
  66. a_sync/utils/repr.cpython-312-darwin.so +0 -0
  67. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/METADATA +1 -1
  68. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/RECORD +71 -71
  69. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/WHEEL +0 -0
  70. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/licenses/LICENSE.txt +0 -0
  71. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/top_level.txt +0 -0
Binary file
a_sync/a_sync/flags.c CHANGED
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.2 */
1
+ /* Generated by Cython 3.1.4 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -29,8 +29,8 @@ END: Cython Metadata */
29
29
  #elif PY_VERSION_HEX < 0x03080000
30
30
  #error Cython requires Python 3.8+.
31
31
  #else
32
- #define __PYX_ABI_VERSION "3_1_2"
33
- #define CYTHON_HEX_VERSION 0x030102F0
32
+ #define __PYX_ABI_VERSION "3_1_4"
33
+ #define CYTHON_HEX_VERSION 0x030104F0
34
34
  #define CYTHON_FUTURE_DIVISION 1
35
35
  /* CModulePreamble */
36
36
  #include <stddef.h>
@@ -393,6 +393,9 @@ END: Cython Metadata */
393
393
  enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
394
394
  #endif
395
395
  #endif
396
+ #ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
397
+ #define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
398
+ #endif
396
399
  #ifndef __has_attribute
397
400
  #define __has_attribute(x) 0
398
401
  #endif
@@ -1744,18 +1747,18 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
1744
1747
  if (!__Pyx_PyThreadState_Current->tracing) {\
1745
1748
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1746
1749
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1747
- if (unlikely(!__pyx_frame_code)) goto_error;\
1748
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1749
- }\
1750
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1751
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1752
+ } else __pyx_frame_code = NULL;\
1750
1753
  PyGILState_Release(state);\
1751
- }\
1754
+ } else __pyx_frame_code = NULL;\
1752
1755
  } else {\
1753
1756
  if (!__Pyx_PyThreadState_Current->tracing) {\
1754
1757
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1755
1758
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1756
- if (unlikely(!__pyx_frame_code)) goto_error;\
1757
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1758
- }\
1759
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1760
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1761
+ } else __pyx_frame_code = NULL;\
1759
1762
  }\
1760
1763
  if (unlikely(ret == -1)) goto_error;\
1761
1764
  }
Binary file
a_sync/a_sync/function.c CHANGED
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.2 */
1
+ /* Generated by Cython 3.1.4 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -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_4"
34
+ #define CYTHON_HEX_VERSION 0x030104F0
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
@@ -2375,18 +2378,18 @@ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
2375
2378
  if (!__Pyx_PyThreadState_Current->tracing) {\
2376
2379
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2377
2380
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2378
- if (unlikely(!__pyx_frame_code)) goto_error;\
2379
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2380
- }\
2381
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2382
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2383
+ } else __pyx_frame_code = NULL;\
2381
2384
  PyGILState_Release(state);\
2382
- }\
2385
+ } else __pyx_frame_code = NULL;\
2383
2386
  } else {\
2384
2387
  if (!__Pyx_PyThreadState_Current->tracing) {\
2385
2388
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2386
2389
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2387
- if (unlikely(!__pyx_frame_code)) goto_error;\
2388
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2389
- }\
2390
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2391
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2392
+ } else __pyx_frame_code = NULL;\
2390
2393
  }\
2391
2394
  if (unlikely(ret == -1)) goto_error;\
2392
2395
  }
@@ -3320,22 +3323,22 @@ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k);
3320
3323
  static int __Pyx_setup_reduce(PyObject* type_obj);
3321
3324
 
3322
3325
  /* TypeImport.proto */
3323
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_2
3324
- #define __PYX_HAVE_RT_ImportType_proto_3_1_2
3326
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
3327
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_4
3325
3328
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
3326
3329
  #include <stdalign.h>
3327
3330
  #endif
3328
3331
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
3329
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) alignof(s)
3332
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
3330
3333
  #else
3331
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) sizeof(void*)
3334
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
3332
3335
  #endif
3333
- enum __Pyx_ImportType_CheckSize_3_1_2 {
3334
- __Pyx_ImportType_CheckSize_Error_3_1_2 = 0,
3335
- __Pyx_ImportType_CheckSize_Warn_3_1_2 = 1,
3336
- __Pyx_ImportType_CheckSize_Ignore_3_1_2 = 2
3336
+ enum __Pyx_ImportType_CheckSize_3_1_4 {
3337
+ __Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
3338
+ __Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
3339
+ __Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
3337
3340
  };
3338
- 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);
3341
+ 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);
3339
3342
  #endif
3340
3343
 
3341
3344
  /* ImportDottedModule.proto */
@@ -3490,10 +3493,10 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
3490
3493
  static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);
3491
3494
 
3492
3495
  /* VoidPtrImport.proto */
3493
- static int __Pyx_ImportVoidPtr_3_1_2(PyObject *module, const char *name, void **p, const char *sig);
3496
+ static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig);
3494
3497
 
3495
3498
  /* FunctionImport.proto */
3496
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3499
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3497
3500
 
3498
3501
  /* MultiPhaseInitModuleState.proto */
3499
3502
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -3900,8 +3903,8 @@ static const char __pyx_k_pyx_unpickle__ASyncFunction[] = "__pyx_unpickle__ASync
3900
3903
  static const char __pyx_k_pyx_unpickle__ModifiedMixin[] = "__pyx_unpickle__ModifiedMixin";
3901
3904
  static const char __pyx_k_ASyncBoundMethodAsyncDefault[] = "ASyncBoundMethodAsyncDefault";
3902
3905
  static const char __pyx_k_A_iq_d_9K1_avQ_4y_1_2_t1_8_A[] = "\200A\340\014\r\330\010\030\230\001\340\t\n\330\010\026\220i\230q\240\006\240d\250/\3209K\3101\330\010\026\220a\220v\230Q\330\010\013\2104\210y\230\003\2301\330\014\020\220\013\2302\230[\250\004\320,?\270t\3001\340\014\020\220\001\330\020\022\220/\240\024\320%8\270\004\270A";
3903
- static const char __pyx_k_hk_A_1_g_g_i_i_j_7_0_1B_PQ_1[] = "\200\001\360\006\000\005\010\200\220h\230k\250\033\260A\330\010\r\210^\2301\330\010\016\320\016!\360\000\000\"g\006\360\000\000g\006i\006\360\000\000i\006j\006\330\004\023\220>\240\030\250\021\250!\330\004\007\200|\2207\230!\330\0100\260\001\3201B\300.\320PQ\330\004\013\2101";
3904
- static const char __pyx_k_hk_A_1_r_r_t_t_u_7_0_1B_PQ_1[] = "\200\001\360\006\000\005\010\200\220h\230k\250\033\260A\330\010\r\210^\2301\330\010\016\320\016!\360\000\000\"r\002\360\000\000r\002t\002\360\000\000t\002u\002\330\004\023\220>\240\030\250\021\250!\330\004\007\200|\2207\230!\330\0100\260\001\3201B\300.\320PQ\330\004\013\2101";
3906
+ static const char __pyx_k_hk_A_1_g_g_i_i_j_7_0_1B_PQ_1[] = "\200\001\360\006\000\005\010\200\177\220h\230k\250\033\260A\330\010\r\210^\2301\330\010\016\320\016!\360\000\000\"g\006\360\000\000g\006i\006\360\000\000i\006j\006\330\004\023\220>\240\030\250\021\250!\330\004\007\200|\2207\230!\330\0100\260\001\3201B\300.\320PQ\330\004\013\2101";
3907
+ static const char __pyx_k_hk_A_1_r_r_t_t_u_7_0_1B_PQ_1[] = "\200\001\360\006\000\005\010\200\177\220h\230k\250\033\260A\330\010\r\210^\2301\330\010\016\320\016!\360\000\000\"r\002\360\000\000r\002t\002\360\000\000t\002u\002\330\004\023\220>\240\030\250\021\250!\330\004\007\200|\2207\230!\330\0100\260\001\3201B\300.\320PQ\330\004\013\2101";
3905
3908
  static const char __pyx_k_ASyncFunction___reduce_cython[] = "_ASyncFunction.__reduce_cython__";
3906
3909
  static const char __pyx_k_ASyncFunction_is_sync_default[] = "_ASyncFunction.is_sync_default";
3907
3910
  static const char __pyx_k_AsyncCachedPropertyDescriptor[] = "AsyncCachedPropertyDescriptor";
@@ -3923,7 +3926,7 @@ static const char __pyx_k_Immxxyy_J_J_h_h_s_s_t_t_x_x_D_D[] = "\200\001\330\004\
3923
3926
  static const char __pyx_k_Input_is_not_callable_Unable_to[] = "Input is not callable. Unable to decorate ";
3924
3927
  static const char __pyx_k_ModifiedMixin___setstate_cython[] = "_ModifiedMixin.__setstate_cython__";
3925
3928
  static const char __pyx_k_Q_4_1_83a_AXT_1_S_1HD_AXT_1_1HD[] = "\320\004\035\320\035-\250Q\360\032\000\t\034\2304\230|\2501\330\010\013\2108\2203\220a\330\014\023\320\023,\250A\250X\260T\270\032\3001\330\r\025\220S\230\001\330\014\023\320\023+\2501\250H\260D\270\n\300!\330\r \240\001\240\021\330\014\023\320\023,\250A\250X\260T\270\032\3001\340\014\023\320\023+\2501\250H\260D\270\n\300!";
3926
- static const char __pyx_k_T_Gt_Y_G1F_a_vWA_q_t_2_c_E_eejj[] = "\200\001\360\010\000\005\016\210T\320\021)\250\024\320-G\300t\310>\320Y]\320]^\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220A\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\0332\260'\270\025\270c\300\024\320E^\320^e\320ej\320jm\320mq\320q~\360\000\000\001F\002\360\000\000F\002K\002\360\000\000K\002N\002\360\000\000N\002R\002\360\000\000R\002]\002\360\000\000]\002d\002\360\000\000d\002e\002\330\004\007\200q\330\010\017\320\017/\250t\2601\260G\270;\300g\310Q\340\010\017\320\017/\250t\2601\260G\270;\300a";
3929
+ static const char __pyx_k_T_Gt_Y_G1F_a_vWA_q_t_2_c_E_eejj[] = "\200\001\360\010\000\005\016\210T\320\021)\250\024\320-G\300t\310>\320Y]\320]^\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220A\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\0332\260'\270\025\270c\300\024\320E^\320^e\320ej\320jm\320mq\320q~\360\000\000\177\001F\002\360\000\000F\002K\002\360\000\000K\002N\002\360\000\000N\002R\002\360\000\000R\002]\002\360\000\000]\002d\002\360\000\000d\002e\002\330\004\007\200q\330\010\017\320\017/\250t\2601\260G\270;\300g\310Q\340\010\017\320\017/\250t\2601\260G\270;\300a";
3927
3930
  static const char __pyx_k_T_T1TTXXuuy_z_W_W_y_y_F_F_J_J_f[] = "\200\001\360\010\000\005\016\210T\320\021-\250T\3201T\320TX\320Xu\320uy\360\000\000z\001W\002\360\000\000W\002[\002\360\000\000[\002y\002\360\000\000y\002}\002\360\000\000}\002\\\003\360\000\000\\\003`\003\360\000\000`\003F\004\360\000\000F\004J\004\360\000\000J\004f\004\360\000\000f\004j\004\360\000\000j\004B\005\360\000\000B\005F\005\360\000\000F\005`\005\360\000\000`\005d\005\360\000\000d\005r\005\360\000\000r\005v\005\360\000\000v\005|\005\360\000\000|\005@\006\360\000\000@\006A\006\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220A\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\0337\260w\270e\3003\300d\320Jf\320fm\320mr\320ru\320uy\360\000\000z\001W\002\360\000\000W\002^\002\360\000\000^\002c\002\360\000\000c\002f\002\360\000\000f\002j\002\360\000\000j\002E\003\360\000\000E\003L\003\360\000\000L\003Q\003\360\000\000Q\003T\003\360\000\000T\003X\003\360\000\000X\003o\003\360\000\000o\003v\003\360\000\000v\003{\003\360\000\000{\003~\003\360\000\000~\003B\004\360\000\000B\004[\004\360\000\000[\004b\004\360\000\000b\004g\004\360\000\000g\004j\004\360\000\000j\004n\004\360\000\000n\004{\004\360\000\000{\004B\005\360\000\000B\005G\005\360\000\000G\005J\005\360\000\000J\005N\005\360\000\000N\005S\005\360\000\000S\005Z\005\360\000\000Z\005_\005\360\000\000_\005b\005\360\000\000b\005f\005\360\000\000f\005q\005\360\000\000q\005x\005\360\000\000x\005y\005\330\004\007\200q\330\010\017\320\017/\250t\2601\260G\270;\300g\310Q\340\010\017\320\017/\250t\2601\260G\270;\300a";
3928
3931
  static const char __pyx_k_class_a_sync_a_sync_function_AS[] = ":class:`~a_sync.a_sync.function.ASyncFunction`, you can optionally pass either a `sync` or `asynchronous` kwarg with a boolean value.";
3929
3932
  static const char __pyx_k_default_must_be_either_sync_asy[] = "'default' must be either 'sync', 'async', or None. You passed ";
@@ -13781,8 +13784,14 @@ static CYTHON_INLINE int __pyx_f_6a_sync_6a_sync_8function_14_ASyncFunction__run
13781
13784
  * return is_sync(flag, kwargs, pop_flag=True)
13782
13785
  */
13783
13786
  __Pyx_TraceLine(880,6,0,__PYX_ERR(0, 880, __pyx_L1_error))
13784
- __pyx_t_2 = (__pyx_v_flag != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_flag) != 0);
13785
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_2 < 0))) __PYX_ERR(0, 880, __pyx_L1_error)
13787
+ if (__pyx_v_flag == Py_None) __pyx_t_2 = 0;
13788
+ else
13789
+ {
13790
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_flag);
13791
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 880, __pyx_L1_error)
13792
+ __pyx_t_2 = (__pyx_temp != 0);
13793
+ }
13794
+
13786
13795
  if (__pyx_t_2) {
13787
13796
 
13788
13797
  /* "a_sync/a_sync/function.pyx":882
@@ -21928,6 +21937,7 @@ static PyMethodDef __pyx_methods_6a_sync_6a_sync_8function_ASyncDecorator[] = {
21928
21937
  };
21929
21938
  #if CYTHON_USE_TYPE_SPECS
21930
21939
  static PyType_Slot __pyx_type_6a_sync_6a_sync_8function_ASyncDecorator_slots[] = {
21940
+ {Py_tp_dealloc, (void *)__pyx_tp_dealloc_6a_sync_6a_sync_8function__ModifiedMixin},
21931
21941
  {Py_tp_call, (void *)__pyx_pw_6a_sync_6a_sync_8function_14ASyncDecorator_7__call__},
21932
21942
  {Py_tp_traverse, (void *)__pyx_tp_traverse_6a_sync_6a_sync_8function__ModifiedMixin},
21933
21943
  {Py_tp_clear, (void *)__pyx_tp_clear_6a_sync_6a_sync_8function__ModifiedMixin},
@@ -22039,6 +22049,7 @@ static PyMethodDef __pyx_methods_6a_sync_6a_sync_8function_ASyncDecoratorSyncDef
22039
22049
  };
22040
22050
  #if CYTHON_USE_TYPE_SPECS
22041
22051
  static PyType_Slot __pyx_type_6a_sync_6a_sync_8function_ASyncDecoratorSyncDefault_slots[] = {
22052
+ {Py_tp_dealloc, (void *)__pyx_tp_dealloc_6a_sync_6a_sync_8function__ModifiedMixin},
22042
22053
  {Py_tp_call, (void *)__pyx_pw_6a_sync_6a_sync_8function_25ASyncDecoratorSyncDefault_7__call__},
22043
22054
  {Py_tp_traverse, (void *)__pyx_tp_traverse_6a_sync_6a_sync_8function__ModifiedMixin},
22044
22055
  {Py_tp_clear, (void *)__pyx_tp_clear_6a_sync_6a_sync_8function__ModifiedMixin},
@@ -22150,6 +22161,7 @@ static PyMethodDef __pyx_methods_6a_sync_6a_sync_8function_ASyncDecoratorAsyncDe
22150
22161
  };
22151
22162
  #if CYTHON_USE_TYPE_SPECS
22152
22163
  static PyType_Slot __pyx_type_6a_sync_6a_sync_8function_ASyncDecoratorAsyncDefault_slots[] = {
22164
+ {Py_tp_dealloc, (void *)__pyx_tp_dealloc_6a_sync_6a_sync_8function__ModifiedMixin},
22153
22165
  {Py_tp_call, (void *)__pyx_pw_6a_sync_6a_sync_8function_26ASyncDecoratorAsyncDefault_7__call__},
22154
22166
  {Py_tp_traverse, (void *)__pyx_tp_traverse_6a_sync_6a_sync_8function__ModifiedMixin},
22155
22167
  {Py_tp_clear, (void *)__pyx_tp_clear_6a_sync_6a_sync_8function__ModifiedMixin},
@@ -24986,28 +24998,28 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
24986
24998
  /*--- Type import code ---*/
24987
24999
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.modifiers.manager"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 1, __pyx_L1_error)
24988
25000
  __Pyx_GOTREF(__pyx_t_1);
24989
- __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager = __Pyx_ImportType_3_1_2(__pyx_t_1, "a_sync.a_sync.modifiers.manager", "ModifierManager",
25001
+ __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",
24990
25002
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
24991
- sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
25003
+ 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),
24992
25004
  #elif CYTHON_COMPILING_IN_LIMITED_API
24993
- sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
25005
+ 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),
24994
25006
  #else
24995
- sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
25007
+ 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),
24996
25008
  #endif
24997
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager) __PYX_ERR(3, 1, __pyx_L1_error)
25009
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager) __PYX_ERR(3, 1, __pyx_L1_error)
24998
25010
  __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(3, 1, __pyx_L1_error)
24999
25011
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
25000
25012
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 1, __pyx_L1_error)
25001
25013
  __Pyx_GOTREF(__pyx_t_1);
25002
- __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_2(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
25014
+ __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
25003
25015
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
25004
- 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),
25016
+ 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),
25005
25017
  #elif CYTHON_COMPILING_IN_LIMITED_API
25006
- 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),
25018
+ 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),
25007
25019
  #else
25008
- 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),
25020
+ 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),
25009
25021
  #endif
25010
- __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)
25022
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(4, 1, __pyx_L1_error)
25011
25023
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
25012
25024
  __Pyx_RefNannyFinishContext();
25013
25025
  return 0;
@@ -25028,9 +25040,9 @@ static int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate) {
25028
25040
  /*--- Variable import code ---*/
25029
25041
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
25030
25042
  __Pyx_GOTREF(__pyx_t_1);
25031
- if (__Pyx_ImportVoidPtr_3_1_2(__pyx_t_1, "AFFIRMATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_AFFIRMATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
25032
- if (__Pyx_ImportVoidPtr_3_1_2(__pyx_t_1, "NEGATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_NEGATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
25033
- if (__Pyx_ImportVoidPtr_3_1_2(__pyx_t_1, "VIABLE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_VIABLE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
25043
+ 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)
25044
+ 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)
25045
+ 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)
25034
25046
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
25035
25047
  __Pyx_RefNannyFinishContext();
25036
25048
  return 0;
@@ -25051,18 +25063,18 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
25051
25063
  /*--- Function import code ---*/
25052
25064
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._kwargs"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
25053
25065
  __Pyx_GOTREF(__pyx_t_1);
25054
- if (__Pyx_ImportFunction_3_1_2(__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)
25055
- if (__Pyx_ImportFunction_3_1_2(__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)
25066
+ 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)
25067
+ 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)
25056
25068
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
25057
25069
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
25058
25070
  __Pyx_GOTREF(__pyx_t_1);
25059
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "_await", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__await, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
25060
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "_asyncify", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__asyncify, "PyObject *(PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
25071
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "_await", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__await, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
25072
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "_asyncify", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__asyncify, "PyObject *(PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
25061
25073
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
25062
25074
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
25063
25075
  __Pyx_GOTREF(__pyx_t_1);
25064
- 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)
25065
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "update_wrapper", (void (**)(void))&__pyx_f_6a_sync_9functools_update_wrapper, "PyObject *(PyObject *, PyObject *, int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
25076
+ 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)
25077
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "update_wrapper", (void (**)(void))&__pyx_f_6a_sync_9functools_update_wrapper, "PyObject *(PyObject *, PyObject *, int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
25066
25078
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
25067
25079
  __Pyx_RefNannyFinishContext();
25068
25080
  return 0;
@@ -26059,7 +26071,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
26059
26071
  * cdef tuple state
26060
26072
  * cdef object _dict
26061
26073
  */
26062
- __Pyx_TraceLine(1,5,0,__PYX_ERR(1, 1, __pyx_L1_error))
26074
+ __Pyx_TraceLine(1,6,0,__PYX_ERR(1, 1, __pyx_L1_error))
26063
26075
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_14_ModifiedMixin_1__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ModifiedMixin___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[10])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
26064
26076
  __Pyx_GOTREF(__pyx_t_5);
26065
26077
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -27307,7 +27319,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
27307
27319
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
27308
27320
  * def __setstate_cython__(self, __pyx_state):
27309
27321
  */
27310
- __Pyx_TraceLine(1,7,0,__PYX_ERR(1, 1, __pyx_L1_error))
27322
+ __Pyx_TraceLine(1,2,0,__PYX_ERR(1, 1, __pyx_L1_error))
27311
27323
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_14ASyncDecorator_9__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecorator___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[56])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
27312
27324
  __Pyx_GOTREF(__pyx_t_3);
27313
27325
  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)
@@ -27957,7 +27969,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
27957
27969
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
27958
27970
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
27959
27971
  */
27960
- __Pyx_TraceLine(3,12,0,__PYX_ERR(1, 3, __pyx_L1_error))
27972
+ __Pyx_TraceLine(3,10,0,__PYX_ERR(1, 3, __pyx_L1_error))
27961
27973
  __pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_25ASyncDecoratorSyncDefault_11__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecoratorSyncDefault___sets, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[77])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 3, __pyx_L1_error)
27962
27974
  __Pyx_GOTREF(__pyx_t_11);
27963
27975
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_11) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -28046,7 +28058,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
28046
28058
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
28047
28059
  * def __setstate_cython__(self, __pyx_state):
28048
28060
  */
28049
- __Pyx_TraceLine(1,6,0,__PYX_ERR(1, 1, __pyx_L1_error))
28061
+ __Pyx_TraceLine(1,5,0,__PYX_ERR(1, 1, __pyx_L1_error))
28050
28062
  __pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_26ASyncDecoratorAsyncDefault_9__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecoratorAsyncDefault___red, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[82])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1, __pyx_L1_error)
28051
28063
  __Pyx_GOTREF(__pyx_t_11);
28052
28064
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_11) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -28058,7 +28070,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
28058
28070
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
28059
28071
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
28060
28072
  */
28061
- __Pyx_TraceLine(3,10,0,__PYX_ERR(1, 3, __pyx_L1_error))
28073
+ __Pyx_TraceLine(3,12,0,__PYX_ERR(1, 3, __pyx_L1_error))
28062
28074
  __pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_26ASyncDecoratorAsyncDefault_11__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecoratorAsyncDefault___set, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[83])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 3, __pyx_L1_error)
28063
28075
  __Pyx_GOTREF(__pyx_t_11);
28064
28076
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_11) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -28079,7 +28091,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
28079
28091
  * cdef object __pyx_PickleError
28080
28092
  * cdef object __pyx_result
28081
28093
  */
28082
- __Pyx_TraceLine(1,2,0,__PYX_ERR(1, 1, __pyx_L1_error))
28094
+ __Pyx_TraceLine(1,4,0,__PYX_ERR(1, 1, __pyx_L1_error))
28083
28095
  __pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_1__pyx_unpickle__ModifiedMixin, 0, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ModifiedMixin, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[85])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1, __pyx_L1_error)
28084
28096
  __Pyx_GOTREF(__pyx_t_11);
28085
28097
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ModifiedMixin, __pyx_t_11) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -28100,7 +28112,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
28100
28112
  * cdef object __pyx_PickleError
28101
28113
  * cdef object __pyx_result
28102
28114
  */
28103
- __Pyx_TraceLine(1,4,0,__PYX_ERR(1, 1, __pyx_L1_error))
28115
+ __Pyx_TraceLine(1,7,0,__PYX_ERR(1, 1, __pyx_L1_error))
28104
28116
  __pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_3__pyx_unpickle__ASyncFunction, 0, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ASyncFunction, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[87])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1, __pyx_L1_error)
28105
28117
  __Pyx_GOTREF(__pyx_t_11);
28106
28118
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ASyncFunction, __pyx_t_11) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -30522,6 +30534,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
30522
30534
  changed = 1;
30523
30535
  }
30524
30536
  #endif // CYTHON_METH_FASTCALL
30537
+ #if !CYTHON_COMPILING_IN_PYPY
30525
30538
  else if (strcmp(memb->name, "__module__") == 0) {
30526
30539
  PyObject *descr;
30527
30540
  assert(memb->type == T_OBJECT);
@@ -30536,11 +30549,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
30536
30549
  }
30537
30550
  changed = 1;
30538
30551
  }
30552
+ #endif // !CYTHON_COMPILING_IN_PYPY
30539
30553
  }
30540
30554
  memb++;
30541
30555
  }
30542
30556
  }
30543
30557
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
30558
+ #if !CYTHON_COMPILING_IN_PYPY
30544
30559
  slot = spec->slots;
30545
30560
  while (slot && slot->slot && slot->slot != Py_tp_getset)
30546
30561
  slot++;
@@ -30572,6 +30587,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
30572
30587
  ++getset;
30573
30588
  }
30574
30589
  }
30590
+ #endif // !CYTHON_COMPILING_IN_PYPY
30575
30591
  if (changed)
30576
30592
  PyType_Modified(type);
30577
30593
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -30704,7 +30720,7 @@ bad:
30704
30720
  }
30705
30721
 
30706
30722
  /* CommonTypesMetaclass */
30707
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
30723
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
30708
30724
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
30709
30725
  }
30710
30726
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -30733,6 +30749,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
30733
30749
  return -1;
30734
30750
  }
30735
30751
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
30752
+ Py_DECREF(bases);
30736
30753
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
30737
30754
  return -1;
30738
30755
  }
@@ -32838,6 +32855,13 @@ try_unpack:
32838
32855
 
32839
32856
  /* PyObjectCallMethod0 */
32840
32857
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
32858
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
32859
+ PyObject *args[1] = {obj};
32860
+ (void) __Pyx_PyObject_GetMethod;
32861
+ (void) __Pyx_PyObject_CallOneArg;
32862
+ (void) __Pyx_PyObject_CallNoArg;
32863
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
32864
+ #else
32841
32865
  PyObject *method = NULL, *result = NULL;
32842
32866
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
32843
32867
  if (likely(is_method)) {
@@ -32850,6 +32874,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
32850
32874
  Py_DECREF(method);
32851
32875
  bad:
32852
32876
  return result;
32877
+ #endif
32853
32878
  }
32854
32879
 
32855
32880
  /* RaiseNeedMoreValuesToUnpack */
@@ -33366,7 +33391,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyOb
33366
33391
  }
33367
33392
 
33368
33393
  /* PyObjectCallMethod1 */
33369
- #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
33394
+ #if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
33370
33395
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
33371
33396
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
33372
33397
  Py_DECREF(method);
@@ -33374,7 +33399,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
33374
33399
  }
33375
33400
  #endif
33376
33401
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
33377
- #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
33402
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
33378
33403
  PyObject *args[2] = {obj, arg};
33379
33404
  (void) __Pyx_PyObject_GetMethod;
33380
33405
  (void) __Pyx_PyObject_CallOneArg;
@@ -35473,15 +35498,15 @@ __PYX_GOOD:
35473
35498
  }
35474
35499
 
35475
35500
  /* TypeImport */
35476
- #ifndef __PYX_HAVE_RT_ImportType_3_1_2
35477
- #define __PYX_HAVE_RT_ImportType_3_1_2
35478
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module_name, const char *class_name,
35479
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size)
35501
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_4
35502
+ #define __PYX_HAVE_RT_ImportType_3_1_4
35503
+ static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
35504
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
35480
35505
  {
35481
35506
  PyObject *result = 0;
35482
35507
  Py_ssize_t basicsize;
35483
35508
  Py_ssize_t itemsize;
35484
- #if CYTHON_COMPILING_IN_LIMITED_API
35509
+ #ifdef Py_LIMITED_API
35485
35510
  PyObject *py_basicsize;
35486
35511
  PyObject *py_itemsize;
35487
35512
  #endif
@@ -35494,7 +35519,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
35494
35519
  module_name, class_name);
35495
35520
  goto bad;
35496
35521
  }
35497
- #if !CYTHON_COMPILING_IN_LIMITED_API
35522
+ #ifndef Py_LIMITED_API
35498
35523
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
35499
35524
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
35500
35525
  #else
@@ -35532,7 +35557,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
35532
35557
  module_name, class_name, size, basicsize+itemsize);
35533
35558
  goto bad;
35534
35559
  }
35535
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_2 &&
35560
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
35536
35561
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
35537
35562
  PyErr_Format(PyExc_ValueError,
35538
35563
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -35540,7 +35565,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
35540
35565
  module_name, class_name, size, basicsize, basicsize+itemsize);
35541
35566
  goto bad;
35542
35567
  }
35543
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_2 && (size_t)basicsize > size) {
35568
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
35544
35569
  if (PyErr_WarnFormat(NULL, 0,
35545
35570
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
35546
35571
  "Expected %zd from C header, got %zd from PyObject",
@@ -37352,9 +37377,9 @@ bad:
37352
37377
  }
37353
37378
 
37354
37379
  /* VoidPtrImport */
37355
- #ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_2
37356
- #define __PYX_HAVE_RT_ImportVoidPtr_3_1_2
37357
- static int __Pyx_ImportVoidPtr_3_1_2(PyObject *module, const char *name, void **p, const char *sig) {
37380
+ #ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_4
37381
+ #define __PYX_HAVE_RT_ImportVoidPtr_3_1_4
37382
+ static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig) {
37358
37383
  PyObject *d = 0;
37359
37384
  PyObject *cobj = 0;
37360
37385
  d = PyObject_GetAttrString(module, "__pyx_capi__");
@@ -37392,9 +37417,9 @@ bad:
37392
37417
  #endif
37393
37418
 
37394
37419
  /* FunctionImport */
37395
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_2
37396
- #define __PYX_HAVE_RT_ImportFunction_3_1_2
37397
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
37420
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
37421
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
37422
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
37398
37423
  PyObject *d = 0;
37399
37424
  PyObject *cobj = 0;
37400
37425
  union {
@@ -37496,6 +37521,10 @@ bad:
37496
37521
  PyCode_NewWithPosOnlyArgs
37497
37522
  #endif
37498
37523
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
37524
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
37525
+ if (likely(result))
37526
+ result->_co_firsttraceable = 0;
37527
+ #endif
37499
37528
  return result;
37500
37529
  }
37501
37530
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY