ez-a-sync 0.32.26__cp313-cp313-win_amd64.whl → 0.32.28__cp313-cp313-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 (71) hide show
  1. a_sync/_smart.c +63 -43
  2. a_sync/_smart.cp313-win_amd64.pyd +0 -0
  3. a_sync/a_sync/_descriptor.c +83 -63
  4. a_sync/a_sync/_descriptor.cp313-win_amd64.pyd +0 -0
  5. a_sync/a_sync/_flags.c +13 -10
  6. a_sync/a_sync/_flags.cp313-win_amd64.pyd +0 -0
  7. a_sync/a_sync/_helpers.c +76 -56
  8. a_sync/a_sync/_helpers.cp313-win_amd64.pyd +0 -0
  9. a_sync/a_sync/_kwargs.c +45 -25
  10. a_sync/a_sync/_kwargs.cp313-win_amd64.pyd +0 -0
  11. a_sync/a_sync/abstract.c +54 -24
  12. a_sync/a_sync/abstract.cp313-win_amd64.pyd +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.cp313-win_amd64.pyd +0 -0
  16. a_sync/a_sync/flags.c +13 -10
  17. a_sync/a_sync/flags.cp313-win_amd64.pyd +0 -0
  18. a_sync/a_sync/function.c +103 -74
  19. a_sync/a_sync/function.cp313-win_amd64.pyd +0 -0
  20. a_sync/a_sync/method.c +152 -120
  21. a_sync/a_sync/method.cp313-win_amd64.pyd +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.cp313-win_amd64.pyd +0 -0
  25. a_sync/a_sync/property.c +104 -78
  26. a_sync/a_sync/property.cp313-win_amd64.pyd +0 -0
  27. a_sync/async_property/cached.c +71 -51
  28. a_sync/async_property/cached.cp313-win_amd64.pyd +0 -0
  29. a_sync/async_property/proxy.c +37 -17
  30. a_sync/async_property/proxy.cp313-win_amd64.pyd +0 -0
  31. a_sync/asyncio/as_completed.c +33 -13
  32. a_sync/asyncio/as_completed.cp313-win_amd64.pyd +0 -0
  33. a_sync/asyncio/create_task.c +59 -21
  34. a_sync/asyncio/create_task.cp313-win_amd64.pyd +0 -0
  35. a_sync/asyncio/gather.c +42 -22
  36. a_sync/asyncio/gather.cp313-win_amd64.pyd +0 -0
  37. a_sync/asyncio/igather.c +42 -18
  38. a_sync/asyncio/igather.cp313-win_amd64.pyd +0 -0
  39. a_sync/asyncio/sleep.c +24 -4
  40. a_sync/asyncio/sleep.cp313-win_amd64.pyd +0 -0
  41. a_sync/debugging.c +52 -32
  42. a_sync/debugging.cp313-win_amd64.pyd +0 -0
  43. a_sync/exceptions.c +36 -20
  44. a_sync/exceptions.cp313-win_amd64.pyd +0 -0
  45. a_sync/executor.py +44 -0
  46. a_sync/functools.c +31 -11
  47. a_sync/functools.cp313-win_amd64.pyd +0 -0
  48. a_sync/iter.c +166 -96
  49. a_sync/iter.cp313-win_amd64.pyd +0 -0
  50. a_sync/primitives/_debug.c +61 -41
  51. a_sync/primitives/_debug.cp313-win_amd64.pyd +0 -0
  52. a_sync/primitives/_loggable.c +48 -22
  53. a_sync/primitives/_loggable.cp313-win_amd64.pyd +0 -0
  54. a_sync/primitives/locks/counter.c +98 -68
  55. a_sync/primitives/locks/counter.cp313-win_amd64.pyd +0 -0
  56. a_sync/primitives/locks/event.c +70 -49
  57. a_sync/primitives/locks/event.cp313-win_amd64.pyd +0 -0
  58. a_sync/primitives/locks/prio_semaphore.c +120 -80
  59. a_sync/primitives/locks/prio_semaphore.cp313-win_amd64.pyd +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.cp313-win_amd64.pyd +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.cp313-win_amd64.pyd +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
a_sync/iter.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
  {
@@ -32,8 +32,8 @@ END: Cython Metadata */
32
32
  #elif PY_VERSION_HEX < 0x03080000
33
33
  #error Cython requires Python 3.8+.
34
34
  #else
35
- #define __PYX_ABI_VERSION "3_1_2"
36
- #define CYTHON_HEX_VERSION 0x030102F0
35
+ #define __PYX_ABI_VERSION "3_1_4"
36
+ #define CYTHON_HEX_VERSION 0x030104F0
37
37
  #define CYTHON_FUTURE_DIVISION 1
38
38
  /* CModulePreamble */
39
39
  #include <stddef.h>
@@ -396,6 +396,9 @@ END: Cython Metadata */
396
396
  enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
397
397
  #endif
398
398
  #endif
399
+ #ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
400
+ #define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
401
+ #endif
399
402
  #ifndef __has_attribute
400
403
  #define __has_attribute(x) 0
401
404
  #endif
@@ -2393,18 +2396,18 @@ static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *nam
2393
2396
  if (!__Pyx_PyThreadState_Current->tracing) {\
2394
2397
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2395
2398
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2396
- if (unlikely(!__pyx_frame_code)) goto_error;\
2397
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2398
- }\
2399
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2400
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2401
+ } else __pyx_frame_code = NULL;\
2399
2402
  PyGILState_Release(state);\
2400
- }\
2403
+ } else __pyx_frame_code = NULL;\
2401
2404
  } else {\
2402
2405
  if (!__Pyx_PyThreadState_Current->tracing) {\
2403
2406
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2404
2407
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2405
- if (unlikely(!__pyx_frame_code)) goto_error;\
2406
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2407
- }\
2408
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2409
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2410
+ } else __pyx_frame_code = NULL;\
2408
2411
  }\
2409
2412
  if (unlikely(ret == -1)) goto_error;\
2410
2413
  }
@@ -3338,22 +3341,22 @@ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k);
3338
3341
  static int __Pyx_setup_reduce(PyObject* type_obj);
3339
3342
 
3340
3343
  /* TypeImport.proto */
3341
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_2
3342
- #define __PYX_HAVE_RT_ImportType_proto_3_1_2
3344
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
3345
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_4
3343
3346
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
3344
3347
  #include <stdalign.h>
3345
3348
  #endif
3346
3349
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
3347
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) alignof(s)
3350
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
3348
3351
  #else
3349
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) sizeof(void*)
3352
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
3350
3353
  #endif
3351
- enum __Pyx_ImportType_CheckSize_3_1_2 {
3352
- __Pyx_ImportType_CheckSize_Error_3_1_2 = 0,
3353
- __Pyx_ImportType_CheckSize_Warn_3_1_2 = 1,
3354
- __Pyx_ImportType_CheckSize_Ignore_3_1_2 = 2
3354
+ enum __Pyx_ImportType_CheckSize_3_1_4 {
3355
+ __Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
3356
+ __Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
3357
+ __Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
3355
3358
  };
3356
- 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);
3359
+ 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);
3357
3360
  #endif
3358
3361
 
3359
3362
  /* Import.proto */
@@ -3579,10 +3582,10 @@ static unsigned long __Pyx_get_runtime_version(void);
3579
3582
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
3580
3583
 
3581
3584
  /* VoidPtrImport.proto */
3582
- static int __Pyx_ImportVoidPtr_3_1_2(PyObject *module, const char *name, void **p, const char *sig);
3585
+ static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig);
3583
3586
 
3584
3587
  /* FunctionImport.proto */
3585
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3588
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3586
3589
 
3587
3590
  /* MultiPhaseInitModuleState.proto */
3588
3591
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -4079,7 +4082,7 @@ static const char __pyx_k_ASyncGeneratorFunction__cancel[] = "_ASyncGeneratorFun
4079
4082
  static const char __pyx_k_Pyx_CFunc_6a_sync_4iter_object[] = "__Pyx_CFunc_6a_sync_4iter_object__lParenobject__rParen_to_py_3obj.<locals>.wrap";
4080
4083
  static const char __pyx_k_Pyx_CFunc_8bc18e__6a_sync_4ite[] = "__Pyx_CFunc_8bc18e__6a_sync_4iter_23_ASyncGeneratorFunction_void____etc_to_py_4self.<locals>.wrap";
4081
4084
  static const char __pyx_k_iterable_must_be_AsyncIterable[] = "`iterable` must be AsyncIterable or Iterable, you passed {}";
4082
- static const char __pyx_k_1_q_q_4wavQ_xq_5_O_q_1F_5_D_D_Q[] = "\200\001\340\004 \240\001\330\004\033\2301\360\n\000\005\t\210\010\220\007\220q\230\005\320\035/\250q\330\010\013\2104\210w\220a\220v\230Q\330\014\r\340\010\017\210x\220q\230\001\330\010\013\2105\220\004\220O\240?\260-\270q\330\014\022\220)\2301\230F\240!\340\010\013\2105\220\004\220D\230\n\240!\240>\260\023\260D\270\001\270\024\270Q\330\014\025\220W\230A\230_\250N\270!\330\014\027\220w\230a\230\320.>\270a\330\014\023\2207\230!\230?\250,\260a\340\014\017\210w\220d\230!\330\020\036\320\036/\250w\260a\260x\270q\330\021\030\230\004\230A\330\020\037\320\0370\260\007\260q\270\010\300\001\330\021\022\330\020\036\230m\2507\260!\2601\330\021\022\330\020\036\230m\2507\260!\2601\340\020\036\230c\240\021\240!\360\006\000\005\006\330\010<\270G\3001\300M\320QR\330\010\t\340'.\250a\250s\260+\270Q\330\010\t\360\n\000\005\006\330\010\025\220Q\330\013\025\220Q\220o\240Q\330\r\024\220A\220_\240L\260\001\360\006\000\005\010\200q\330\010\t\330\0147\260w\270a\270~\310Q\330\014\r\360\006\000\005\010\200s\210)\2203\220a\330\010\013\210;\220a\330\t\r\210S\220\t\230\023\230C\230x\240y\260\001\260\021\330\010\013\210<\220q\330\t\014\210H\220I\230Q\230a\330\010\013\210<\220v\230W\240A\240Q\340\010\013\210<\220x\230w\240a\240q\360\n\000\005\023\220!\340\004&\240a\330\010\023\2201\330\010\014\210M\230\023\230A\230Q\330\010\014\210K\220s\230'\240\021\240%\240{\260!\330\010\014\210K\220q\230\001\330\010\014\210J\220a\330\010\030\230\001\360\n\000\005\t\210\017\320\027'\320'<\270F\300!\360\022\000\t\"\240\021\330\010\013\2107\220!\320\0231\260\021\330\014\036\230g\240Q\320&D\300A\330\014\017\210|\2309\240C\240\260a\330\020)\250\030\260\021\260!\330\r\020\220\n\230#\320\035-\250T\260\027\270\001\270\037\310\001\330\014\036\230g\240Q\240o\260Q\330\014\017\210|\2309\240C\240\260a\330\020)\250\030\260\021\260!\330\r\020\220\n\230(\320\"3\3203D\300D\310\007\310q\320P_\320_`\330\014\036\230g\240Q\240o\260Q\330\014\017\210|\2309\240C\240\260a\330\020)\250\030\260\021\260!\340\010\013\320\013\"\240#""\240Q\330\014%\240X\250Q\250a\340\010\036\230k\250\034\260X\270W\300A\330\014\020\220\003\2201\330\014\020\220\001\360\006\000\t\014\2108\2203\320\026,\250A\330\014\022\220*\230A\320\0353\2601\340\010\017\210q\220\005\220_\240A";
4085
+ static const char __pyx_k_1_q_q_4wavQ_xq_5_O_q_1F_5_D_D_Q[] = "\200\001\340\004 \240\001\330\004\033\2301\360\n\000\005\t\210\010\220\007\220q\230\005\320\035/\250q\330\010\013\2104\210w\220a\220v\230Q\330\014\r\340\010\017\210x\220q\230\001\330\010\013\2105\220\004\220O\240?\260-\270q\330\014\022\220)\2301\230F\240!\340\010\013\2105\220\004\220D\230\n\240!\240>\260\023\260D\270\001\270\024\270Q\330\014\025\220W\230A\230_\250N\270!\330\014\027\220w\230a\230\177\320.>\270a\330\014\023\2207\230!\230?\250,\260a\340\014\017\210w\220d\230!\330\020\036\320\036/\250w\260a\260x\270q\330\021\030\230\004\230A\330\020\037\320\0370\260\007\260q\270\010\300\001\330\021\022\330\020\036\230m\2507\260!\2601\330\021\022\330\020\036\230m\2507\260!\2601\340\020\036\230c\240\021\240!\360\006\000\005\006\330\010<\270G\3001\300M\320QR\330\010\t\340'.\250a\250s\260+\270Q\330\010\t\360\n\000\005\006\330\010\025\220Q\330\013\025\220Q\220o\240Q\330\r\024\220A\220_\240L\260\001\360\006\000\005\010\200q\330\010\t\330\0147\260w\270a\270~\310Q\330\014\r\360\006\000\005\010\200s\210)\2203\220a\330\010\013\210;\220a\330\t\r\210S\220\t\230\023\230C\230x\240y\260\001\260\021\330\010\013\210<\220q\330\t\014\210H\220I\230Q\230a\330\010\013\210<\220v\230W\240A\240Q\340\010\013\210<\220x\230w\240a\240q\360\n\000\005\023\220!\340\004&\240a\330\010\023\2201\330\010\014\210M\230\023\230A\230Q\330\010\014\210K\220s\230'\240\021\240%\240{\260!\330\010\014\210K\220q\230\001\330\010\014\210J\220a\330\010\030\230\001\360\n\000\005\t\210\017\320\027'\320'<\270F\300!\360\022\000\t\"\240\021\330\010\013\2107\220!\320\0231\260\021\330\014\036\230g\240Q\320&D\300A\330\014\017\210|\2309\240C\240\177\260a\330\020)\250\030\260\021\260!\330\r\020\220\n\230#\320\035-\250T\260\027\270\001\270\037\310\001\330\014\036\230g\240Q\240o\260Q\330\014\017\210|\2309\240C\240\177\260a\330\020)\250\030\260\021\260!\330\r\020\220\n\230(\320\"3\3203D\300D\310\007\310q\320P_\320_`\330\014\036\230g\240Q\240o\260Q\330\014\017\210|\2309\240C\240\177\260a\330\020)\250\030\260\021\260!\340\010\013\320""\013\"\240#\240Q\330\014%\240X\250Q\250a\340\010\036\230k\250\034\260X\270W\300A\330\014\020\220\003\2201\330\014\020\220\001\360\006\000\t\014\2108\2203\320\026,\250A\330\014\022\220*\230A\320\0353\2601\340\010\017\210q\220\005\220_\240A";
4083
4086
  static const char __pyx_k_ASyncGeneratorFunction___reduce[] = "_ASyncGeneratorFunction.__reduce_cython__";
4084
4087
  static const char __pyx_k_ASyncGeneratorFunction___setsta[] = "_ASyncGeneratorFunction.__setstate_cython__";
4085
4088
  static const char __pyx_k_ASyncGeneratorFunction__weaksel[] = "_ASyncGeneratorFunction__weakself_ptr";
@@ -7303,8 +7306,8 @@ static PyObject *__pyx_pf_6a_sync_4iter_14_ASyncIterable_4__repr__(struct __pyx_
7303
7306
  __Pyx_TraceLine(233,14,0,__PYX_ERR(0, 233, __pyx_L1_error))
7304
7307
  __pyx_t_1 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_wrapped_2, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 233, __pyx_L1_error)
7305
7308
  __Pyx_GOTREF(__pyx_t_1);
7306
- __pyx_v_wrapped = __pyx_t_1;
7307
7309
  __Pyx_INCREF(__pyx_t_1);
7310
+ __pyx_v_wrapped = __pyx_t_1;
7308
7311
  __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 233, __pyx_L1_error)
7309
7312
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7310
7313
  if (__pyx_t_5) {
@@ -19821,8 +19824,14 @@ static void __pyx_f_6a_sync_4iter__init_subclass(PyObject *__pyx_v_cls, CYTHON_U
19821
19824
  * qualname = getattr(type_argument, "__qualname__", "")
19822
19825
  */
19823
19826
  __Pyx_TraceLine(874,36,0,__PYX_ERR(0, 874, __pyx_L1_error))
19824
- __pyx_t_6 = (__pyx_v_args != Py_None)&&(__Pyx_PyTuple_GET_SIZE(__pyx_v_args) != 0);
19825
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_6 < 0))) __PYX_ERR(0, 874, __pyx_L1_error)
19827
+ if (__pyx_v_args == Py_None) __pyx_t_6 = 0;
19828
+ else
19829
+ {
19830
+ Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_v_args);
19831
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 874, __pyx_L1_error)
19832
+ __pyx_t_6 = (__pyx_temp != 0);
19833
+ }
19834
+
19826
19835
  if (__pyx_t_6) {
19827
19836
  } else {
19828
19837
  __pyx_t_5 = __pyx_t_6;
@@ -19834,8 +19843,8 @@ static void __pyx_f_6a_sync_4iter__init_subclass(PyObject *__pyx_v_cls, CYTHON_U
19834
19843
  }
19835
19844
  __pyx_t_2 = __Pyx_PyTuple_GET_ITEM(__pyx_v_args, 0);
19836
19845
  __Pyx_INCREF(__pyx_t_2);
19837
- __Pyx_DECREF_SET(__pyx_v_type_argument, __pyx_t_2);
19838
19846
  __Pyx_INCREF(__pyx_t_2);
19847
+ __Pyx_DECREF_SET(__pyx_v_type_argument, __pyx_t_2);
19839
19848
  __pyx_t_7 = __pyx_t_2;
19840
19849
  __Pyx_INCREF(__pyx_t_7);
19841
19850
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
@@ -19899,15 +19908,27 @@ static void __pyx_f_6a_sync_4iter__init_subclass(PyObject *__pyx_v_cls, CYTHON_U
19899
19908
  * elif module and name:
19900
19909
  */
19901
19910
  __Pyx_TraceLine(879,66,0,__PYX_ERR(0, 879, __pyx_L1_error))
19902
- __pyx_t_10 = (__pyx_v_module != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_module) != 0);
19903
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_10 < 0))) __PYX_ERR(0, 879, __pyx_L1_error)
19911
+ if (__pyx_v_module == Py_None) __pyx_t_10 = 0;
19912
+ else
19913
+ {
19914
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_module);
19915
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 879, __pyx_L1_error)
19916
+ __pyx_t_10 = (__pyx_temp != 0);
19917
+ }
19918
+
19904
19919
  if (__pyx_t_10) {
19905
19920
  } else {
19906
19921
  __pyx_t_5 = __pyx_t_10;
19907
19922
  goto __pyx_L15_bool_binop_done;
19908
19923
  }
19909
- __pyx_t_10 = (__pyx_v_qualname != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_qualname) != 0);
19910
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_10 < 0))) __PYX_ERR(0, 879, __pyx_L1_error)
19924
+ if (__pyx_v_qualname == Py_None) __pyx_t_10 = 0;
19925
+ else
19926
+ {
19927
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_qualname);
19928
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 879, __pyx_L1_error)
19929
+ __pyx_t_10 = (__pyx_temp != 0);
19930
+ }
19931
+
19911
19932
  __pyx_t_5 = __pyx_t_10;
19912
19933
  __pyx_L15_bool_binop_done:;
19913
19934
  if (__pyx_t_5) {
@@ -19951,15 +19972,27 @@ static void __pyx_f_6a_sync_4iter__init_subclass(PyObject *__pyx_v_cls, CYTHON_U
19951
19972
  * elif qualname:
19952
19973
  */
19953
19974
  __Pyx_TraceLine(881,75,0,__PYX_ERR(0, 881, __pyx_L1_error))
19954
- __pyx_t_10 = (__pyx_v_module != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_module) != 0);
19955
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_10 < 0))) __PYX_ERR(0, 881, __pyx_L1_error)
19975
+ if (__pyx_v_module == Py_None) __pyx_t_10 = 0;
19976
+ else
19977
+ {
19978
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_module);
19979
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 881, __pyx_L1_error)
19980
+ __pyx_t_10 = (__pyx_temp != 0);
19981
+ }
19982
+
19956
19983
  if (__pyx_t_10) {
19957
19984
  } else {
19958
19985
  __pyx_t_5 = __pyx_t_10;
19959
19986
  goto __pyx_L17_bool_binop_done;
19960
19987
  }
19961
- __pyx_t_10 = (__pyx_v_name != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_name) != 0);
19962
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_10 < 0))) __PYX_ERR(0, 881, __pyx_L1_error)
19988
+ if (__pyx_v_name == Py_None) __pyx_t_10 = 0;
19989
+ else
19990
+ {
19991
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_name);
19992
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 881, __pyx_L1_error)
19993
+ __pyx_t_10 = (__pyx_temp != 0);
19994
+ }
19995
+
19963
19996
  __pyx_t_5 = __pyx_t_10;
19964
19997
  __pyx_L17_bool_binop_done:;
19965
19998
  if (__pyx_t_5) {
@@ -20003,8 +20036,14 @@ static void __pyx_f_6a_sync_4iter__init_subclass(PyObject *__pyx_v_cls, CYTHON_U
20003
20036
  * elif name:
20004
20037
  */
20005
20038
  __Pyx_TraceLine(883,84,0,__PYX_ERR(0, 883, __pyx_L1_error))
20006
- __pyx_t_5 = (__pyx_v_qualname != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_qualname) != 0);
20007
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_5 < 0))) __PYX_ERR(0, 883, __pyx_L1_error)
20039
+ if (__pyx_v_qualname == Py_None) __pyx_t_5 = 0;
20040
+ else
20041
+ {
20042
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_qualname);
20043
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 883, __pyx_L1_error)
20044
+ __pyx_t_5 = (__pyx_temp != 0);
20045
+ }
20046
+
20008
20047
  if (__pyx_t_5) {
20009
20048
 
20010
20049
  /* "a_sync/iter.pyx":884
@@ -20046,8 +20085,14 @@ static void __pyx_f_6a_sync_4iter__init_subclass(PyObject *__pyx_v_cls, CYTHON_U
20046
20085
  * else:
20047
20086
  */
20048
20087
  __Pyx_TraceLine(885,90,0,__PYX_ERR(0, 885, __pyx_L1_error))
20049
- __pyx_t_5 = (__pyx_v_name != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_name) != 0);
20050
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_5 < 0))) __PYX_ERR(0, 885, __pyx_L1_error)
20088
+ if (__pyx_v_name == Py_None) __pyx_t_5 = 0;
20089
+ else
20090
+ {
20091
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_name);
20092
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 885, __pyx_L1_error)
20093
+ __pyx_t_5 = (__pyx_temp != 0);
20094
+ }
20095
+
20051
20096
  if (__pyx_t_5) {
20052
20097
 
20053
20098
  /* "a_sync/iter.pyx":886
@@ -20240,8 +20285,14 @@ static void __pyx_f_6a_sync_4iter__init_subclass(PyObject *__pyx_v_cls, CYTHON_U
20240
20285
  * " >>> isinstance(all_contents[0], {})\n".format(example_text) +
20241
20286
  */
20242
20287
  __Pyx_TraceLine(907,126,0,__PYX_ERR(0, 907, __pyx_L1_error))
20243
- __pyx_t_5 = (__pyx_v_example_text != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_example_text) != 0);
20244
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_5 < 0))) __PYX_ERR(0, 907, __pyx_L1_error)
20288
+ if (__pyx_v_example_text == Py_None) __pyx_t_5 = 0;
20289
+ else
20290
+ {
20291
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_example_text);
20292
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 907, __pyx_L1_error)
20293
+ __pyx_t_5 = (__pyx_temp != 0);
20294
+ }
20295
+
20245
20296
  if (__pyx_t_5) {
20246
20297
 
20247
20298
  /* "a_sync/iter.pyx":909
@@ -20577,10 +20628,10 @@ static void __pyx_f_6a_sync_4iter__init_subclass(PyObject *__pyx_v_cls, CYTHON_U
20577
20628
  __Pyx_TraceLine(930,186,0,__PYX_ERR(0, 930, __pyx_L26_error))
20578
20629
  __pyx_t_8 = __Pyx_GetAttr3(__pyx_v_cls, __pyx_8genexpr3__pyx_v_attr_name, Py_None); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 930, __pyx_L26_error)
20579
20630
  __Pyx_GOTREF(__pyx_t_8);
20631
+ __Pyx_INCREF(__pyx_t_8);
20580
20632
  __Pyx_XGOTREF(__pyx_cur_scope->__pyx_v_attr_value);
20581
20633
  __Pyx_XDECREF_SET(__pyx_cur_scope->__pyx_v_attr_value, __pyx_t_8);
20582
20634
  __Pyx_GIVEREF(__pyx_t_8);
20583
- __Pyx_INCREF(__pyx_t_8);
20584
20635
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 930, __pyx_L26_error)
20585
20636
  __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
20586
20637
  if (__pyx_t_6) {
@@ -21759,6 +21810,7 @@ static PyMethodDef __pyx_methods_6a_sync_4iter__ASyncIterable[] = {
21759
21810
  };
21760
21811
  #if CYTHON_USE_TYPE_SPECS
21761
21812
  static PyType_Slot __pyx_type_6a_sync_4iter__ASyncIterable_slots[] = {
21813
+ {Py_tp_dealloc, (void *)__pyx_tp_dealloc_6a_sync_4iter__AwaitableAsyncIterableMixin},
21762
21814
  #if defined(Py_am_aiter)
21763
21815
  {Py_am_aiter, (void *)__pyx_pw_6a_sync_4iter_14_ASyncIterable_7__aiter__},
21764
21816
  #endif
@@ -22290,6 +22342,7 @@ static PyMethodDef __pyx_methods_6a_sync_4iter__ASyncFilter[] = {
22290
22342
  };
22291
22343
  #if CYTHON_USE_TYPE_SPECS
22292
22344
  static PyType_Slot __pyx_type_6a_sync_4iter__ASyncFilter_slots[] = {
22345
+ {Py_tp_dealloc, (void *)__pyx_tp_dealloc_6a_sync_4iter__ASyncView},
22293
22346
  #if defined(Py_am_anext)
22294
22347
  {Py_am_anext, (void *)__pyx_pw_6a_sync_4iter_12_ASyncFilter_3__anext__},
22295
22348
  #endif
@@ -24684,40 +24737,40 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
24684
24737
  /*--- Type import code ---*/
24685
24738
  __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 9, __pyx_L1_error)
24686
24739
  __Pyx_GOTREF(__pyx_t_1);
24687
- __pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_1_2(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
24740
+ __pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_1_4(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
24688
24741
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
24689
- sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(PyTypeObject),
24742
+ sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(PyTypeObject),
24690
24743
  #elif CYTHON_COMPILING_IN_LIMITED_API
24691
24744
  0, 0,
24692
24745
  #else
24693
- sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(PyHeapTypeObject),
24746
+ sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(PyHeapTypeObject),
24694
24747
  #endif
24695
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
24748
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
24696
24749
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24697
24750
  __pyx_t_1 = PyImport_ImportModule("a_sync.async_property.cached"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 6, __pyx_L1_error)
24698
24751
  __Pyx_GOTREF(__pyx_t_1);
24699
- __pyx_mstate->__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState = __Pyx_ImportType_3_1_2(__pyx_t_1, "a_sync.async_property.cached", "AsyncCachedPropertyInstanceState",
24752
+ __pyx_mstate->__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.async_property.cached", "AsyncCachedPropertyInstanceState",
24700
24753
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
24701
- sizeof(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState),
24754
+ sizeof(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState),
24702
24755
  #elif CYTHON_COMPILING_IN_LIMITED_API
24703
- sizeof(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState),
24756
+ sizeof(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState),
24704
24757
  #else
24705
- sizeof(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState),
24758
+ sizeof(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState),
24706
24759
  #endif
24707
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState) __PYX_ERR(4, 6, __pyx_L1_error)
24760
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState) __PYX_ERR(4, 6, __pyx_L1_error)
24708
24761
  __pyx_vtabptr_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState = (struct __pyx_vtabstruct_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState); if (unlikely(!__pyx_vtabptr_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState)) __PYX_ERR(4, 6, __pyx_L1_error)
24709
24762
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24710
24763
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(5, 1, __pyx_L1_error)
24711
24764
  __Pyx_GOTREF(__pyx_t_1);
24712
- __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_2(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
24765
+ __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
24713
24766
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
24714
- 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),
24767
+ 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),
24715
24768
  #elif CYTHON_COMPILING_IN_LIMITED_API
24716
- 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),
24769
+ 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),
24717
24770
  #else
24718
- 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),
24771
+ 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),
24719
24772
  #endif
24720
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(5, 1, __pyx_L1_error)
24773
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(5, 1, __pyx_L1_error)
24721
24774
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24722
24775
  __Pyx_RefNannyFinishContext();
24723
24776
  return 0;
@@ -24738,7 +24791,7 @@ static int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate) {
24738
24791
  /*--- Variable import code ---*/
24739
24792
  __pyx_t_1 = PyImport_ImportModule("a_sync.async_property.cached"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
24740
24793
  __Pyx_GOTREF(__pyx_t_1);
24741
- if (__Pyx_ImportVoidPtr_3_1_2(__pyx_t_1, "ASYNC_PROPERTY_ATTR", (void **)&__pyx_vp_6a_sync_14async_property_6cached_ASYNC_PROPERTY_ATTR, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
24794
+ if (__Pyx_ImportVoidPtr_3_1_4(__pyx_t_1, "ASYNC_PROPERTY_ATTR", (void **)&__pyx_vp_6a_sync_14async_property_6cached_ASYNC_PROPERTY_ATTR, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
24742
24795
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24743
24796
  __Pyx_RefNannyFinishContext();
24744
24797
  return 0;
@@ -24759,25 +24812,25 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
24759
24812
  /*--- Function import code ---*/
24760
24813
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
24761
24814
  __Pyx_GOTREF(__pyx_t_1);
24762
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "get_event_loop", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop, "PyObject *(int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
24763
- 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)
24815
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "get_event_loop", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop, "PyObject *(int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
24816
+ 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)
24764
24817
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24765
24818
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.as_completed"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
24766
24819
  __Pyx_GOTREF(__pyx_t_1);
24767
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "as_completed_mapping", (void (**)(void))&__pyx_f_6a_sync_7asyncio_12as_completed_as_completed_mapping, "PyObject *(PyObject *, unsigned int, int, int, int, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
24820
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "as_completed_mapping", (void (**)(void))&__pyx_f_6a_sync_7asyncio_12as_completed_as_completed_mapping, "PyObject *(PyObject *, unsigned int, int, int, int, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
24768
24821
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24769
24822
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
24770
24823
  __Pyx_GOTREF(__pyx_t_1);
24771
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "ccreate_task_simple", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task_simple, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
24772
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "ccreate_task", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task, "PyObject *(PyObject *, PyObject *, int, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
24824
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "ccreate_task_simple", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task_simple, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
24825
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "ccreate_task", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task, "PyObject *(PyObject *, PyObject *, int, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
24773
24826
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24774
24827
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.igather"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
24775
24828
  __Pyx_GOTREF(__pyx_t_1);
24776
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "cigather", (void (**)(void))&__pyx_f_6a_sync_7asyncio_7igather_cigather, "PyObject *(PyObject *, struct __pyx_opt_args_6a_sync_7asyncio_7igather_cigather *__pyx_optional_args)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
24829
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "cigather", (void (**)(void))&__pyx_f_6a_sync_7asyncio_7igather_cigather, "PyObject *(PyObject *, struct __pyx_opt_args_6a_sync_7asyncio_7igather_cigather *__pyx_optional_args)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
24777
24830
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24778
24831
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
24779
24832
  __Pyx_GOTREF(__pyx_t_1);
24780
- 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)
24833
+ 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)
24781
24834
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24782
24835
  __Pyx_RefNannyFinishContext();
24783
24836
  return 0;
@@ -25076,7 +25129,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
25076
25129
  if (unlikely((__Pyx_modinit_variable_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
25077
25130
  if (unlikely((__Pyx_modinit_function_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
25078
25131
  /*--- Execution code ---*/
25079
- __Pyx_TraceStartFunc("PyInit_iter", __pyx_f[0], 1, 5, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
25132
+ __Pyx_TraceStartFunc("PyInit_iter", __pyx_f[0], 1, 2, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
25080
25133
 
25081
25134
  /* "cfunc.to_py":65
25082
25135
  *
@@ -26173,7 +26226,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26173
26226
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26174
26227
  * def __setstate_cython__(self, __pyx_state):
26175
26228
  */
26176
- __Pyx_TraceLine(1,3,0,__PYX_ERR(1, 1, __pyx_L1_error))
26229
+ __Pyx_TraceLine(1,4,0,__PYX_ERR(1, 1, __pyx_L1_error))
26177
26230
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_28_AwaitableAsyncIterableMixin_14__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AwaitableAsyncIterableMixin___r, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[13])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1, __pyx_L1_error)
26178
26231
  __Pyx_GOTREF(__pyx_t_4);
26179
26232
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -26185,7 +26238,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26185
26238
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
26186
26239
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26187
26240
  */
26188
- __Pyx_TraceLine(3,13,0,__PYX_ERR(1, 3, __pyx_L1_error))
26241
+ __Pyx_TraceLine(3,11,0,__PYX_ERR(1, 3, __pyx_L1_error))
26189
26242
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_28_AwaitableAsyncIterableMixin_16__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AwaitableAsyncIterableMixin___s, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[14])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3, __pyx_L1_error)
26190
26243
  __Pyx_GOTREF(__pyx_t_4);
26191
26244
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -26222,7 +26275,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26222
26275
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26223
26276
  * def __setstate_cython__(self, __pyx_state):
26224
26277
  */
26225
- __Pyx_TraceLine(1,7,0,__PYX_ERR(1, 1, __pyx_L1_error))
26278
+ __Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
26226
26279
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_14_ASyncIterable_11__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncIterable___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[20])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1, __pyx_L1_error)
26227
26280
  __Pyx_GOTREF(__pyx_t_4);
26228
26281
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -26421,7 +26474,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26421
26474
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26422
26475
  * def __setstate_cython__(self, __pyx_state):
26423
26476
  */
26424
- __Pyx_TraceLine(1,6,0,__PYX_ERR(1, 1, __pyx_L1_error))
26477
+ __Pyx_TraceLine(1,5,0,__PYX_ERR(1, 1, __pyx_L1_error))
26425
26478
  __pyx_t_8 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_14_ASyncIterator_17__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncIterator___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[33])); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1, __pyx_L1_error)
26426
26479
  __Pyx_GOTREF(__pyx_t_8);
26427
26480
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_8) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -26433,7 +26486,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26433
26486
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
26434
26487
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26435
26488
  */
26436
- __Pyx_TraceLine(3,15,0,__PYX_ERR(1, 3, __pyx_L1_error))
26489
+ __Pyx_TraceLine(3,13,0,__PYX_ERR(1, 3, __pyx_L1_error))
26437
26490
  __pyx_t_8 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_14_ASyncIterator_19__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncIterator___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[34])); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 3, __pyx_L1_error)
26438
26491
  __Pyx_GOTREF(__pyx_t_8);
26439
26492
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_8) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -26558,7 +26611,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26558
26611
  * raise TypeError, "self._ASyncGeneratorFunction__weakself_ptr cannot be converted to a Python object for pickling"
26559
26612
  * def __setstate_cython__(self, __pyx_state):
26560
26613
  */
26561
- __Pyx_TraceLine(1,2,0,__PYX_ERR(1, 1, __pyx_L1_error))
26614
+ __Pyx_TraceLine(1,3,0,__PYX_ERR(1, 1, __pyx_L1_error))
26562
26615
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_23_ASyncGeneratorFunction_9__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncGeneratorFunction___reduce, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[50])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
26563
26616
  __Pyx_GOTREF(__pyx_t_3);
26564
26617
  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)
@@ -26570,7 +26623,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26570
26623
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
26571
26624
  * raise TypeError, "self._ASyncGeneratorFunction__weakself_ptr cannot be converted to a Python object for pickling"
26572
26625
  */
26573
- __Pyx_TraceLine(3,11,0,__PYX_ERR(1, 3, __pyx_L1_error))
26626
+ __Pyx_TraceLine(3,15,0,__PYX_ERR(1, 3, __pyx_L1_error))
26574
26627
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_23_ASyncGeneratorFunction_11__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncGeneratorFunction___setsta, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[51])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3, __pyx_L1_error)
26575
26628
  __Pyx_GOTREF(__pyx_t_3);
26576
26629
  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)
@@ -26651,7 +26704,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26651
26704
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26652
26705
  * def __setstate_cython__(self, __pyx_state):
26653
26706
  */
26654
- __Pyx_TraceLine(1,4,0,__PYX_ERR(1, 1, __pyx_L1_error))
26707
+ __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
26655
26708
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_10_ASyncView_3__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncView___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[57])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
26656
26709
  __Pyx_GOTREF(__pyx_t_5);
26657
26710
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -26663,7 +26716,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26663
26716
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
26664
26717
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26665
26718
  */
26666
- __Pyx_TraceLine(3,12,0,__PYX_ERR(1, 3, __pyx_L1_error))
26719
+ __Pyx_TraceLine(3,10,0,__PYX_ERR(1, 3, __pyx_L1_error))
26667
26720
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_10_ASyncView_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncView___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[58])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
26668
26721
  __Pyx_GOTREF(__pyx_t_5);
26669
26722
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -26693,7 +26746,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26693
26746
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26694
26747
  * def __setstate_cython__(self, __pyx_state):
26695
26748
  */
26696
- __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
26749
+ __Pyx_TraceLine(1,7,0,__PYX_ERR(1, 1, __pyx_L1_error))
26697
26750
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_12_ASyncFilter_9__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncFilter___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[62])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
26698
26751
  __Pyx_GOTREF(__pyx_t_3);
26699
26752
  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)
@@ -26823,7 +26876,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26823
26876
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26824
26877
  * def __setstate_cython__(self, __pyx_state):
26825
26878
  */
26826
- __Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
26879
+ __Pyx_TraceLine(1,6,0,__PYX_ERR(1, 1, __pyx_L1_error))
26827
26880
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_12_ASyncSorter_14__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncSorter___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[76])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
26828
26881
  __Pyx_GOTREF(__pyx_t_5);
26829
26882
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -26835,7 +26888,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26835
26888
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
26836
26889
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26837
26890
  */
26838
- __Pyx_TraceLine(3,10,0,__PYX_ERR(1, 3, __pyx_L1_error))
26891
+ __Pyx_TraceLine(3,12,0,__PYX_ERR(1, 3, __pyx_L1_error))
26839
26892
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_12_ASyncSorter_16__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncSorter___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[77])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
26840
26893
  __Pyx_GOTREF(__pyx_t_5);
26841
26894
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -27013,12 +27066,12 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
27013
27066
  * import asyncio
27014
27067
  * import copy
27015
27068
  */
27016
- __Pyx_TraceLine(1,5,0,__PYX_ERR(0, 1, __pyx_L1_error))
27069
+ __Pyx_TraceLine(1,2,0,__PYX_ERR(0, 1, __pyx_L1_error))
27017
27070
  __pyx_t_4 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1, __pyx_L1_error)
27018
27071
  __Pyx_GOTREF(__pyx_t_4);
27019
27072
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_4) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
27020
27073
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
27021
- __Pyx_TraceReturnValue(Py_None, 5, 0, __PYX_ERR(0, 1, __pyx_L1_error));
27074
+ __Pyx_TraceReturnValue(Py_None, 2, 0, __PYX_ERR(0, 1, __pyx_L1_error));
27022
27075
  __Pyx_PyMonitoring_ExitScope(0);
27023
27076
 
27024
27077
  /*--- Wrapped vars code ---*/
@@ -27032,7 +27085,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
27032
27085
  __Pyx_XDECREF(__pyx_t_8);
27033
27086
  __Pyx_XDECREF(__pyx_t_9);
27034
27087
  __Pyx_TraceException(__pyx_lineno, 0, 0);
27035
- __Pyx_TraceExceptionUnwind(5, 0);
27088
+ __Pyx_TraceExceptionUnwind(2, 0);
27036
27089
  if (__pyx_m) {
27037
27090
  if (__pyx_mstate->__pyx_d && stringtab_initialized) {
27038
27091
  __Pyx_AddTraceback("init a_sync.iter", __pyx_clineno, __pyx_lineno, __pyx_filename);
@@ -29481,6 +29534,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
29481
29534
  changed = 1;
29482
29535
  }
29483
29536
  #endif // CYTHON_METH_FASTCALL
29537
+ #if !CYTHON_COMPILING_IN_PYPY
29484
29538
  else if (strcmp(memb->name, "__module__") == 0) {
29485
29539
  PyObject *descr;
29486
29540
  assert(memb->type == T_OBJECT);
@@ -29495,11 +29549,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
29495
29549
  }
29496
29550
  changed = 1;
29497
29551
  }
29552
+ #endif // !CYTHON_COMPILING_IN_PYPY
29498
29553
  }
29499
29554
  memb++;
29500
29555
  }
29501
29556
  }
29502
29557
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
29558
+ #if !CYTHON_COMPILING_IN_PYPY
29503
29559
  slot = spec->slots;
29504
29560
  while (slot && slot->slot && slot->slot != Py_tp_getset)
29505
29561
  slot++;
@@ -29531,6 +29587,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
29531
29587
  ++getset;
29532
29588
  }
29533
29589
  }
29590
+ #endif // !CYTHON_COMPILING_IN_PYPY
29534
29591
  if (changed)
29535
29592
  PyType_Modified(type);
29536
29593
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -29663,7 +29720,7 @@ bad:
29663
29720
  }
29664
29721
 
29665
29722
  /* CommonTypesMetaclass */
29666
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
29723
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
29667
29724
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
29668
29725
  }
29669
29726
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -29692,6 +29749,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
29692
29749
  return -1;
29693
29750
  }
29694
29751
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
29752
+ Py_DECREF(bases);
29695
29753
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
29696
29754
  return -1;
29697
29755
  }
@@ -31513,7 +31571,7 @@ static CYTHON_INLINE PyObject *__Pyx_PyIter_Next_Plain(PyObject *iterator) {
31513
31571
  }
31514
31572
 
31515
31573
  /* PyObjectCallMethod1 */
31516
- #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
31574
+ #if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
31517
31575
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
31518
31576
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
31519
31577
  Py_DECREF(method);
@@ -31521,7 +31579,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
31521
31579
  }
31522
31580
  #endif
31523
31581
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
31524
- #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
31582
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
31525
31583
  PyObject *args[2] = {obj, arg};
31526
31584
  (void) __Pyx_PyObject_GetMethod;
31527
31585
  (void) __Pyx_PyObject_CallOneArg;
@@ -33322,6 +33380,13 @@ bad:
33322
33380
 
33323
33381
  /* PyObjectCallMethod0 */
33324
33382
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
33383
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
33384
+ PyObject *args[1] = {obj};
33385
+ (void) __Pyx_PyObject_GetMethod;
33386
+ (void) __Pyx_PyObject_CallOneArg;
33387
+ (void) __Pyx_PyObject_CallNoArg;
33388
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
33389
+ #else
33325
33390
  PyObject *method = NULL, *result = NULL;
33326
33391
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
33327
33392
  if (likely(is_method)) {
@@ -33334,6 +33399,7 @@ bad:
33334
33399
  Py_DECREF(method);
33335
33400
  bad:
33336
33401
  return result;
33402
+ #endif
33337
33403
  }
33338
33404
 
33339
33405
  /* RaiseNoneIterError */
@@ -34030,15 +34096,15 @@ __PYX_GOOD:
34030
34096
  }
34031
34097
 
34032
34098
  /* TypeImport */
34033
- #ifndef __PYX_HAVE_RT_ImportType_3_1_2
34034
- #define __PYX_HAVE_RT_ImportType_3_1_2
34035
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module_name, const char *class_name,
34036
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size)
34099
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_4
34100
+ #define __PYX_HAVE_RT_ImportType_3_1_4
34101
+ static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
34102
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
34037
34103
  {
34038
34104
  PyObject *result = 0;
34039
34105
  Py_ssize_t basicsize;
34040
34106
  Py_ssize_t itemsize;
34041
- #if CYTHON_COMPILING_IN_LIMITED_API
34107
+ #ifdef Py_LIMITED_API
34042
34108
  PyObject *py_basicsize;
34043
34109
  PyObject *py_itemsize;
34044
34110
  #endif
@@ -34051,7 +34117,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
34051
34117
  module_name, class_name);
34052
34118
  goto bad;
34053
34119
  }
34054
- #if !CYTHON_COMPILING_IN_LIMITED_API
34120
+ #ifndef Py_LIMITED_API
34055
34121
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
34056
34122
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
34057
34123
  #else
@@ -34089,7 +34155,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
34089
34155
  module_name, class_name, size, basicsize+itemsize);
34090
34156
  goto bad;
34091
34157
  }
34092
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_2 &&
34158
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
34093
34159
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
34094
34160
  PyErr_Format(PyExc_ValueError,
34095
34161
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -34097,7 +34163,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
34097
34163
  module_name, class_name, size, basicsize, basicsize+itemsize);
34098
34164
  goto bad;
34099
34165
  }
34100
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_2 && (size_t)basicsize > size) {
34166
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
34101
34167
  if (PyErr_WarnFormat(NULL, 0,
34102
34168
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
34103
34169
  "Expected %zd from C header, got %zd from PyObject",
@@ -36696,9 +36762,9 @@ static PyObject *__Pyx_Generator_GetInlinedResult(PyObject *self) {
36696
36762
  }
36697
36763
 
36698
36764
  /* VoidPtrImport */
36699
- #ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_2
36700
- #define __PYX_HAVE_RT_ImportVoidPtr_3_1_2
36701
- static int __Pyx_ImportVoidPtr_3_1_2(PyObject *module, const char *name, void **p, const char *sig) {
36765
+ #ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_4
36766
+ #define __PYX_HAVE_RT_ImportVoidPtr_3_1_4
36767
+ static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig) {
36702
36768
  PyObject *d = 0;
36703
36769
  PyObject *cobj = 0;
36704
36770
  d = PyObject_GetAttrString(module, "__pyx_capi__");
@@ -36736,9 +36802,9 @@ bad:
36736
36802
  #endif
36737
36803
 
36738
36804
  /* FunctionImport */
36739
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_2
36740
- #define __PYX_HAVE_RT_ImportFunction_3_1_2
36741
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
36805
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
36806
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
36807
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
36742
36808
  PyObject *d = 0;
36743
36809
  PyObject *cobj = 0;
36744
36810
  union {
@@ -36840,6 +36906,10 @@ bad:
36840
36906
  PyCode_NewWithPosOnlyArgs
36841
36907
  #endif
36842
36908
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
36909
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
36910
+ if (likely(result))
36911
+ result->_co_firsttraceable = 0;
36912
+ #endif
36843
36913
  return result;
36844
36914
  }
36845
36915
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY