ez-a-sync 0.32.27__cp311-cp311-win_amd64.whl → 0.32.28__cp311-cp311-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 (70) hide show
  1. a_sync/_smart.c +41 -36
  2. a_sync/_smart.cp311-win_amd64.pyd +0 -0
  3. a_sync/a_sync/_descriptor.c +63 -58
  4. a_sync/a_sync/_descriptor.cp311-win_amd64.pyd +0 -0
  5. a_sync/a_sync/_flags.c +10 -10
  6. a_sync/a_sync/_flags.cp311-win_amd64.pyd +0 -0
  7. a_sync/a_sync/_helpers.c +57 -52
  8. a_sync/a_sync/_helpers.cp311-win_amd64.pyd +0 -0
  9. a_sync/a_sync/_kwargs.c +27 -22
  10. a_sync/a_sync/_kwargs.cp311-win_amd64.pyd +0 -0
  11. a_sync/a_sync/abstract.c +46 -23
  12. a_sync/a_sync/abstract.cp311-win_amd64.pyd +0 -0
  13. a_sync/a_sync/abstract.pyi +2 -2
  14. a_sync/a_sync/base.c +60 -51
  15. a_sync/a_sync/base.cp311-win_amd64.pyd +0 -0
  16. a_sync/a_sync/flags.c +10 -10
  17. a_sync/a_sync/flags.cp311-win_amd64.pyd +0 -0
  18. a_sync/a_sync/function.c +85 -71
  19. a_sync/a_sync/function.cp311-win_amd64.pyd +0 -0
  20. a_sync/a_sync/method.c +81 -64
  21. a_sync/a_sync/method.cp311-win_amd64.pyd +0 -0
  22. a_sync/a_sync/method.pyi +2 -1
  23. a_sync/a_sync/modifiers/manager.c +42 -37
  24. a_sync/a_sync/modifiers/manager.cp311-win_amd64.pyd +0 -0
  25. a_sync/a_sync/property.c +86 -75
  26. a_sync/a_sync/property.cp311-win_amd64.pyd +0 -0
  27. a_sync/async_property/cached.c +48 -43
  28. a_sync/async_property/cached.cp311-win_amd64.pyd +0 -0
  29. a_sync/async_property/proxy.c +16 -11
  30. a_sync/async_property/proxy.cp311-win_amd64.pyd +0 -0
  31. a_sync/asyncio/as_completed.c +15 -10
  32. a_sync/asyncio/as_completed.cp311-win_amd64.pyd +0 -0
  33. a_sync/asyncio/create_task.c +39 -16
  34. a_sync/asyncio/create_task.cp311-win_amd64.pyd +0 -0
  35. a_sync/asyncio/gather.c +24 -19
  36. a_sync/asyncio/gather.cp311-win_amd64.pyd +0 -0
  37. a_sync/asyncio/igather.c +26 -17
  38. a_sync/asyncio/igather.cp311-win_amd64.pyd +0 -0
  39. a_sync/asyncio/sleep.c +8 -3
  40. a_sync/asyncio/sleep.cp311-win_amd64.pyd +0 -0
  41. a_sync/debugging.c +34 -29
  42. a_sync/debugging.cp311-win_amd64.pyd +0 -0
  43. a_sync/exceptions.c +28 -19
  44. a_sync/exceptions.cp311-win_amd64.pyd +0 -0
  45. a_sync/functools.c +20 -15
  46. a_sync/functools.cp311-win_amd64.pyd +0 -0
  47. a_sync/iter.c +143 -88
  48. a_sync/iter.cp311-win_amd64.pyd +0 -0
  49. a_sync/primitives/_debug.c +51 -46
  50. a_sync/primitives/_debug.cp311-win_amd64.pyd +0 -0
  51. a_sync/primitives/_loggable.c +30 -19
  52. a_sync/primitives/_loggable.cp311-win_amd64.pyd +0 -0
  53. a_sync/primitives/locks/counter.c +75 -60
  54. a_sync/primitives/locks/counter.cp311-win_amd64.pyd +0 -0
  55. a_sync/primitives/locks/event.c +52 -47
  56. a_sync/primitives/locks/event.cp311-win_amd64.pyd +0 -0
  57. a_sync/primitives/locks/prio_semaphore.c +101 -76
  58. a_sync/primitives/locks/prio_semaphore.cp311-win_amd64.pyd +0 -0
  59. a_sync/primitives/locks/prio_semaphore.pyi +2 -2
  60. a_sync/primitives/locks/semaphore.c +74 -62
  61. a_sync/primitives/locks/semaphore.cp311-win_amd64.pyd +0 -0
  62. a_sync/primitives/locks/semaphore.pyi +10 -9
  63. a_sync/primitives/queue.py +5 -1
  64. a_sync/utils/repr.c +36 -31
  65. a_sync/utils/repr.cp311-win_amd64.pyd +0 -0
  66. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/METADATA +1 -1
  67. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/RECORD +70 -70
  68. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/WHEEL +0 -0
  69. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/licenses/LICENSE.txt +0 -0
  70. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.3 */
1
+ /* Generated by Cython 3.1.4 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -29,8 +29,8 @@ END: Cython Metadata */
29
29
  #elif PY_VERSION_HEX < 0x03080000
30
30
  #error Cython requires Python 3.8+.
31
31
  #else
32
- #define __PYX_ABI_VERSION "3_1_3"
33
- #define CYTHON_HEX_VERSION 0x030103F0
32
+ #define __PYX_ABI_VERSION "3_1_4"
33
+ #define CYTHON_HEX_VERSION 0x030104F0
34
34
  #define CYTHON_FUTURE_DIVISION 1
35
35
  /* CModulePreamble */
36
36
  #include <stddef.h>
@@ -2020,18 +2020,18 @@ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
2020
2020
  if (!__Pyx_PyThreadState_Current->tracing) {\
2021
2021
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2022
2022
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2023
- if (unlikely(!__pyx_frame_code)) goto_error;\
2024
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2025
- }\
2023
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2024
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2025
+ } else __pyx_frame_code = NULL;\
2026
2026
  PyGILState_Release(state);\
2027
- }\
2027
+ } else __pyx_frame_code = NULL;\
2028
2028
  } else {\
2029
2029
  if (!__Pyx_PyThreadState_Current->tracing) {\
2030
2030
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2031
2031
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2032
- if (unlikely(!__pyx_frame_code)) goto_error;\
2033
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2034
- }\
2032
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2033
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2034
+ } else __pyx_frame_code = NULL;\
2035
2035
  }\
2036
2036
  if (unlikely(ret == -1)) goto_error;\
2037
2037
  }
@@ -24097,7 +24097,7 @@ __Pyx_RefNannySetupContext("PyInit_proxy", 0);
24097
24097
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
24098
24098
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
24099
24099
  */
24100
- __Pyx_TraceLine(3,4,0,__PYX_ERR(1, 3, __pyx_L1_error))
24100
+ __Pyx_TraceLine(3,3,0,__PYX_ERR(1, 3, __pyx_L1_error))
24101
24101
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_14async_property_5proxy_13AwaitableOnly_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AwaitableOnly___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_async_property_proxy, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[4])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3, __pyx_L1_error)
24102
24102
  __Pyx_GOTREF(__pyx_t_3);
24103
24103
  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)
@@ -29312,6 +29312,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
29312
29312
  return -1;
29313
29313
  }
29314
29314
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
29315
+ Py_DECREF(bases);
29315
29316
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
29316
29317
  return -1;
29317
29318
  }
@@ -34095,6 +34096,10 @@ static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObj
34095
34096
  PyCode_NewWithPosOnlyArgs
34096
34097
  #endif
34097
34098
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
34099
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
34100
+ if (likely(result))
34101
+ result->_co_firsttraceable = 0;
34102
+ #endif
34098
34103
  return result;
34099
34104
  }
34100
34105
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.3 */
1
+ /* Generated by Cython 3.1.4 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -29,8 +29,8 @@ END: Cython Metadata */
29
29
  #elif PY_VERSION_HEX < 0x03080000
30
30
  #error Cython requires Python 3.8+.
31
31
  #else
32
- #define __PYX_ABI_VERSION "3_1_3"
33
- #define CYTHON_HEX_VERSION 0x030103F0
32
+ #define __PYX_ABI_VERSION "3_1_4"
33
+ #define CYTHON_HEX_VERSION 0x030104F0
34
34
  #define CYTHON_FUTURE_DIVISION 1
35
35
  /* CModulePreamble */
36
36
  #include <stddef.h>
@@ -1919,18 +1919,18 @@ static CYTHON_INLINE int __Pyx_CheckKeywordStrings(const char* function_name, Py
1919
1919
  if (!__Pyx_PyThreadState_Current->tracing) {\
1920
1920
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1921
1921
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1922
- if (unlikely(!__pyx_frame_code)) goto_error;\
1923
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1924
- }\
1922
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1923
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1924
+ } else __pyx_frame_code = NULL;\
1925
1925
  PyGILState_Release(state);\
1926
- }\
1926
+ } else __pyx_frame_code = NULL;\
1927
1927
  } else {\
1928
1928
  if (!__Pyx_PyThreadState_Current->tracing) {\
1929
1929
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1930
1930
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1931
- if (unlikely(!__pyx_frame_code)) goto_error;\
1932
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1933
- }\
1931
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1932
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1933
+ } else __pyx_frame_code = NULL;\
1934
1934
  }\
1935
1935
  if (unlikely(ret == -1)) goto_error;\
1936
1936
  }
@@ -12261,6 +12261,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
12261
12261
  return -1;
12262
12262
  }
12263
12263
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
12264
+ Py_DECREF(bases);
12264
12265
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
12265
12266
  return -1;
12266
12267
  }
@@ -17882,6 +17883,10 @@ bad:
17882
17883
  PyCode_NewWithPosOnlyArgs
17883
17884
  #endif
17884
17885
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
17886
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
17887
+ if (likely(result))
17888
+ result->_co_firsttraceable = 0;
17889
+ #endif
17885
17890
  return result;
17886
17891
  }
17887
17892
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.3 */
1
+ /* Generated by Cython 3.1.4 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -30,8 +30,8 @@ END: Cython Metadata */
30
30
  #elif PY_VERSION_HEX < 0x03080000
31
31
  #error Cython requires Python 3.8+.
32
32
  #else
33
- #define __PYX_ABI_VERSION "3_1_3"
34
- #define CYTHON_HEX_VERSION 0x030103F0
33
+ #define __PYX_ABI_VERSION "3_1_4"
34
+ #define CYTHON_HEX_VERSION 0x030104F0
35
35
  #define CYTHON_FUTURE_DIVISION 1
36
36
  /* CModulePreamble */
37
37
  #include <stddef.h>
@@ -1982,18 +1982,18 @@ static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *nam
1982
1982
  if (!__Pyx_PyThreadState_Current->tracing) {\
1983
1983
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1984
1984
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1985
- if (unlikely(!__pyx_frame_code)) goto_error;\
1986
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1987
- }\
1985
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1986
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1987
+ } else __pyx_frame_code = NULL;\
1988
1988
  PyGILState_Release(state);\
1989
- }\
1989
+ } else __pyx_frame_code = NULL;\
1990
1990
  } else {\
1991
1991
  if (!__Pyx_PyThreadState_Current->tracing) {\
1992
1992
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1993
1993
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1994
- if (unlikely(!__pyx_frame_code)) goto_error;\
1995
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1996
- }\
1994
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1995
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1996
+ } else __pyx_frame_code = NULL;\
1997
1997
  }\
1998
1998
  if (unlikely(ret == -1)) goto_error;\
1999
1999
  }
@@ -4130,8 +4130,14 @@ static PyObject *__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task(PyObject *_
4130
4130
  *
4131
4131
  */
4132
4132
  __Pyx_TraceLine(113,61,0,__PYX_ERR(0, 113, __pyx_L1_error))
4133
- __pyx_t_6 = (__pyx_v_name != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_name) != 0);
4134
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_6 < 0))) __PYX_ERR(0, 113, __pyx_L1_error)
4133
+ if (__pyx_v_name == Py_None) __pyx_t_6 = 0;
4134
+ else
4135
+ {
4136
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_name);
4137
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 113, __pyx_L1_error)
4138
+ __pyx_t_6 = (__pyx_temp != 0);
4139
+ }
4140
+
4135
4141
  if (__pyx_t_6) {
4136
4142
 
4137
4143
  /* "a_sync/asyncio/create_task.pyx":114
@@ -4434,8 +4440,14 @@ static PyObject *__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task(PyObject *_
4434
4440
  *
4435
4441
  */
4436
4442
  __Pyx_TraceLine(129,117,0,__PYX_ERR(0, 129, __pyx_L1_error))
4437
- __pyx_t_6 = (__pyx_v_name != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_name) != 0);
4438
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_6 < 0))) __PYX_ERR(0, 129, __pyx_L1_error)
4443
+ if (__pyx_v_name == Py_None) __pyx_t_6 = 0;
4444
+ else
4445
+ {
4446
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_name);
4447
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 129, __pyx_L1_error)
4448
+ __pyx_t_6 = (__pyx_temp != 0);
4449
+ }
4450
+
4439
4451
  if (__pyx_t_6) {
4440
4452
 
4441
4453
  /* "a_sync/asyncio/create_task.pyx":130
@@ -4543,8 +4555,14 @@ static PyObject *__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task(PyObject *_
4543
4555
  * __log_exception(exc)
4544
4556
  */
4545
4557
  __Pyx_TraceLine(138,138,0,__PYX_ERR(0, 138, __pyx_L1_error))
4546
- __pyx_t_6 = (_exceptions != Py_None)&&(__Pyx_PySet_GET_SIZE(_exceptions) != 0);
4547
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_6 < 0))) __PYX_ERR(0, 138, __pyx_L1_error)
4558
+ if (_exceptions == Py_None) __pyx_t_6 = 0;
4559
+ else
4560
+ {
4561
+ Py_ssize_t __pyx_temp = __Pyx_PySet_GET_SIZE(_exceptions);
4562
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 138, __pyx_L1_error)
4563
+ __pyx_t_6 = (__pyx_temp != 0);
4564
+ }
4565
+
4548
4566
  if (__pyx_t_6) {
4549
4567
 
4550
4568
  /* "a_sync/asyncio/create_task.pyx":139
@@ -10491,6 +10509,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
10491
10509
  return -1;
10492
10510
  }
10493
10511
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
10512
+ Py_DECREF(bases);
10494
10513
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
10495
10514
  return -1;
10496
10515
  }
@@ -15145,6 +15164,10 @@ bad:
15145
15164
  PyCode_NewWithPosOnlyArgs
15146
15165
  #endif
15147
15166
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
15167
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
15168
+ if (likely(result))
15169
+ result->_co_firsttraceable = 0;
15170
+ #endif
15148
15171
  return result;
15149
15172
  }
15150
15173
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
a_sync/asyncio/gather.c CHANGED
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.3 */
1
+ /* Generated by Cython 3.1.4 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -29,8 +29,8 @@ END: Cython Metadata */
29
29
  #elif PY_VERSION_HEX < 0x03080000
30
30
  #error Cython requires Python 3.8+.
31
31
  #else
32
- #define __PYX_ABI_VERSION "3_1_3"
33
- #define CYTHON_HEX_VERSION 0x030103F0
32
+ #define __PYX_ABI_VERSION "3_1_4"
33
+ #define CYTHON_HEX_VERSION 0x030104F0
34
34
  #define CYTHON_FUTURE_DIVISION 1
35
35
  /* CModulePreamble */
36
36
  #include <stddef.h>
@@ -2386,18 +2386,18 @@ static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key);
2386
2386
  if (!__Pyx_PyThreadState_Current->tracing) {\
2387
2387
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2388
2388
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2389
- if (unlikely(!__pyx_frame_code)) goto_error;\
2390
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2391
- }\
2389
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2390
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2391
+ } else __pyx_frame_code = NULL;\
2392
2392
  PyGILState_Release(state);\
2393
- }\
2393
+ } else __pyx_frame_code = NULL;\
2394
2394
  } else {\
2395
2395
  if (!__Pyx_PyThreadState_Current->tracing) {\
2396
2396
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2397
2397
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2398
- if (unlikely(!__pyx_frame_code)) goto_error;\
2399
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2400
- }\
2398
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2399
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2400
+ } else __pyx_frame_code = NULL;\
2401
2401
  }\
2402
2402
  if (unlikely(ret == -1)) goto_error;\
2403
2403
  }
@@ -3023,7 +3023,7 @@ static unsigned long __Pyx_get_runtime_version(void);
3023
3023
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
3024
3024
 
3025
3025
  /* FunctionImport.proto */
3026
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3026
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3027
3027
 
3028
3028
  /* MultiPhaseInitModuleState.proto */
3029
3029
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -7379,20 +7379,20 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
7379
7379
  /*--- Function import code ---*/
7380
7380
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7381
7381
  __Pyx_GOTREF(__pyx_t_1);
7382
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "get_event_loop", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop, "PyObject *(int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7382
+ 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)
7383
7383
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7384
7384
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.as_completed"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7385
7385
  __Pyx_GOTREF(__pyx_t_1);
7386
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "as_completed_mapping", (void (**)(void))&__pyx_f_6a_sync_7asyncio_12as_completed_as_completed_mapping, "PyObject *(PyObject *, unsigned int, int, int, int, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7386
+ 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)
7387
7387
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7388
7388
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7389
7389
  __Pyx_GOTREF(__pyx_t_1);
7390
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "ccreate_task_simple", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task_simple, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7391
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "ccreate_task", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task, "PyObject *(PyObject *, PyObject *, int, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7390
+ 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)
7391
+ 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)
7392
7392
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7393
7393
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.igather"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7394
7394
  __Pyx_GOTREF(__pyx_t_1);
7395
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "cigather", (void (**)(void))&__pyx_f_6a_sync_7asyncio_7igather_cigather, "PyObject *(PyObject *, struct __pyx_opt_args_6a_sync_7asyncio_7igather_cigather *__pyx_optional_args)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7395
+ 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)
7396
7396
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7397
7397
  __Pyx_RefNannyFinishContext();
7398
7398
  return 0;
@@ -11138,6 +11138,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
11138
11138
  return -1;
11139
11139
  }
11140
11140
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
11141
+ Py_DECREF(bases);
11141
11142
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
11142
11143
  return -1;
11143
11144
  }
@@ -15626,9 +15627,9 @@ static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObj
15626
15627
  }
15627
15628
 
15628
15629
  /* FunctionImport */
15629
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
15630
- #define __PYX_HAVE_RT_ImportFunction_3_1_3
15631
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
15630
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
15631
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
15632
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
15632
15633
  PyObject *d = 0;
15633
15634
  PyObject *cobj = 0;
15634
15635
  union {
@@ -15730,6 +15731,10 @@ bad:
15730
15731
  PyCode_NewWithPosOnlyArgs
15731
15732
  #endif
15732
15733
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
15734
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
15735
+ if (likely(result))
15736
+ result->_co_firsttraceable = 0;
15737
+ #endif
15733
15738
  return result;
15734
15739
  }
15735
15740
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
Binary file
a_sync/asyncio/igather.c CHANGED
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.3 */
1
+ /* Generated by Cython 3.1.4 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -29,8 +29,8 @@ END: Cython Metadata */
29
29
  #elif PY_VERSION_HEX < 0x03080000
30
30
  #error Cython requires Python 3.8+.
31
31
  #else
32
- #define __PYX_ABI_VERSION "3_1_3"
33
- #define CYTHON_HEX_VERSION 0x030103F0
32
+ #define __PYX_ABI_VERSION "3_1_4"
33
+ #define CYTHON_HEX_VERSION 0x030104F0
34
34
  #define CYTHON_FUTURE_DIVISION 1
35
35
  /* CModulePreamble */
36
36
  #include <stddef.h>
@@ -1949,18 +1949,18 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
1949
1949
  if (!__Pyx_PyThreadState_Current->tracing) {\
1950
1950
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1951
1951
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1952
- if (unlikely(!__pyx_frame_code)) goto_error;\
1953
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1954
- }\
1952
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1953
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1954
+ } else __pyx_frame_code = NULL;\
1955
1955
  PyGILState_Release(state);\
1956
- }\
1956
+ } else __pyx_frame_code = NULL;\
1957
1957
  } else {\
1958
1958
  if (!__Pyx_PyThreadState_Current->tracing) {\
1959
1959
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1960
1960
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1961
- if (unlikely(!__pyx_frame_code)) goto_error;\
1962
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1963
- }\
1961
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1962
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1963
+ } else __pyx_frame_code = NULL;\
1964
1964
  }\
1965
1965
  if (unlikely(ret == -1)) goto_error;\
1966
1966
  }
@@ -2777,7 +2777,7 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
2777
2777
  static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);
2778
2778
 
2779
2779
  /* FunctionImport.proto */
2780
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2780
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2781
2781
 
2782
2782
  /* MultiPhaseInitModuleState.proto */
2783
2783
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -4832,8 +4832,12 @@ static PyObject *__pyx_f_6a_sync_7asyncio_7igather_cigather(PyObject *__pyx_v_co
4832
4832
  *
4833
4833
  */
4834
4834
  __Pyx_TraceLine(57,50,0,__PYX_ERR(0, 57, __pyx_L1_error))
4835
- __pyx_t_5 = (__Pyx_PyList_GET_SIZE(__pyx_cur_scope->__pyx_v_children) != 0);
4836
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_5 < 0))) __PYX_ERR(0, 57, __pyx_L1_error)
4835
+ {
4836
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_cur_scope->__pyx_v_children);
4837
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 57, __pyx_L1_error)
4838
+ __pyx_t_5 = (__pyx_temp != 0);
4839
+ }
4840
+
4837
4841
  __pyx_t_11 = (!__pyx_t_5);
4838
4842
  if (__pyx_t_11) {
4839
4843
 
@@ -5974,7 +5978,7 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
5974
5978
  /*--- Function import code ---*/
5975
5979
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
5976
5980
  __Pyx_GOTREF(__pyx_t_1);
5977
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "get_event_loop", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop, "PyObject *(int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5981
+ 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)
5978
5982
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5979
5983
  __Pyx_RefNannyFinishContext();
5980
5984
  return 0;
@@ -8482,6 +8486,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
8482
8486
  return -1;
8483
8487
  }
8484
8488
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
8489
+ Py_DECREF(bases);
8485
8490
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
8486
8491
  return -1;
8487
8492
  }
@@ -11821,9 +11826,9 @@ bad:
11821
11826
  }
11822
11827
 
11823
11828
  /* FunctionImport */
11824
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
11825
- #define __PYX_HAVE_RT_ImportFunction_3_1_3
11826
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
11829
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
11830
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
11831
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
11827
11832
  PyObject *d = 0;
11828
11833
  PyObject *cobj = 0;
11829
11834
  union {
@@ -11925,6 +11930,10 @@ bad:
11925
11930
  PyCode_NewWithPosOnlyArgs
11926
11931
  #endif
11927
11932
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
11933
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
11934
+ if (likely(result))
11935
+ result->_co_firsttraceable = 0;
11936
+ #endif
11928
11937
  return result;
11929
11938
  }
11930
11939
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
Binary file
a_sync/asyncio/sleep.c CHANGED
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.3 */
1
+ /* Generated by Cython 3.1.4 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -29,8 +29,8 @@ END: Cython Metadata */
29
29
  #elif PY_VERSION_HEX < 0x03080000
30
30
  #error Cython requires Python 3.8+.
31
31
  #else
32
- #define __PYX_ABI_VERSION "3_1_3"
33
- #define CYTHON_HEX_VERSION 0x030103F0
32
+ #define __PYX_ABI_VERSION "3_1_4"
33
+ #define CYTHON_HEX_VERSION 0x030104F0
34
34
  #define CYTHON_FUTURE_DIVISION 1
35
35
  /* CModulePreamble */
36
36
  #include <stddef.h>
@@ -6449,6 +6449,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
6449
6449
  return -1;
6450
6450
  }
6451
6451
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
6452
+ Py_DECREF(bases);
6452
6453
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
6453
6454
  return -1;
6454
6455
  }
@@ -8841,6 +8842,10 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
8841
8842
  PyCode_NewWithPosOnlyArgs
8842
8843
  #endif
8843
8844
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
8845
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
8846
+ if (likely(result))
8847
+ result->_co_firsttraceable = 0;
8848
+ #endif
8844
8849
  return result;
8845
8850
  }
8846
8851
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
Binary file