ez-a-sync 0.32.27__cp38-cp38-win32.whl → 0.32.28__cp38-cp38-win32.whl

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

Potentially problematic release.


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

Files changed (70) hide show
  1. a_sync/_smart.c +36 -31
  2. a_sync/_smart.cp38-win32.pyd +0 -0
  3. a_sync/a_sync/_descriptor.c +63 -58
  4. a_sync/a_sync/_descriptor.cp38-win32.pyd +0 -0
  5. a_sync/a_sync/_flags.c +10 -10
  6. a_sync/a_sync/_flags.cp38-win32.pyd +0 -0
  7. a_sync/a_sync/_helpers.c +57 -52
  8. a_sync/a_sync/_helpers.cp38-win32.pyd +0 -0
  9. a_sync/a_sync/_kwargs.c +27 -22
  10. a_sync/a_sync/_kwargs.cp38-win32.pyd +0 -0
  11. a_sync/a_sync/abstract.c +46 -23
  12. a_sync/a_sync/abstract.cp38-win32.pyd +0 -0
  13. a_sync/a_sync/abstract.pyi +2 -2
  14. a_sync/a_sync/base.c +60 -51
  15. a_sync/a_sync/base.cp38-win32.pyd +0 -0
  16. a_sync/a_sync/flags.c +10 -10
  17. a_sync/a_sync/flags.cp38-win32.pyd +0 -0
  18. a_sync/a_sync/function.c +84 -70
  19. a_sync/a_sync/function.cp38-win32.pyd +0 -0
  20. a_sync/a_sync/method.c +80 -63
  21. a_sync/a_sync/method.cp38-win32.pyd +0 -0
  22. a_sync/a_sync/method.pyi +2 -1
  23. a_sync/a_sync/modifiers/manager.c +42 -37
  24. a_sync/a_sync/modifiers/manager.cp38-win32.pyd +0 -0
  25. a_sync/a_sync/property.c +86 -75
  26. a_sync/a_sync/property.cp38-win32.pyd +0 -0
  27. a_sync/async_property/cached.c +53 -48
  28. a_sync/async_property/cached.cp38-win32.pyd +0 -0
  29. a_sync/async_property/proxy.c +15 -10
  30. a_sync/async_property/proxy.cp38-win32.pyd +0 -0
  31. a_sync/asyncio/as_completed.c +15 -10
  32. a_sync/asyncio/as_completed.cp38-win32.pyd +0 -0
  33. a_sync/asyncio/create_task.c +39 -16
  34. a_sync/asyncio/create_task.cp38-win32.pyd +0 -0
  35. a_sync/asyncio/gather.c +24 -19
  36. a_sync/asyncio/gather.cp38-win32.pyd +0 -0
  37. a_sync/asyncio/igather.c +26 -17
  38. a_sync/asyncio/igather.cp38-win32.pyd +0 -0
  39. a_sync/asyncio/sleep.c +8 -3
  40. a_sync/asyncio/sleep.cp38-win32.pyd +0 -0
  41. a_sync/debugging.c +34 -29
  42. a_sync/debugging.cp38-win32.pyd +0 -0
  43. a_sync/exceptions.c +28 -19
  44. a_sync/exceptions.cp38-win32.pyd +0 -0
  45. a_sync/functools.c +15 -10
  46. a_sync/functools.cp38-win32.pyd +0 -0
  47. a_sync/iter.c +143 -88
  48. a_sync/iter.cp38-win32.pyd +0 -0
  49. a_sync/primitives/_debug.c +49 -44
  50. a_sync/primitives/_debug.cp38-win32.pyd +0 -0
  51. a_sync/primitives/_loggable.c +30 -19
  52. a_sync/primitives/_loggable.cp38-win32.pyd +0 -0
  53. a_sync/primitives/locks/counter.c +75 -60
  54. a_sync/primitives/locks/counter.cp38-win32.pyd +0 -0
  55. a_sync/primitives/locks/event.c +52 -47
  56. a_sync/primitives/locks/event.cp38-win32.pyd +0 -0
  57. a_sync/primitives/locks/prio_semaphore.c +101 -76
  58. a_sync/primitives/locks/prio_semaphore.cp38-win32.pyd +0 -0
  59. a_sync/primitives/locks/prio_semaphore.pyi +2 -2
  60. a_sync/primitives/locks/semaphore.c +71 -59
  61. a_sync/primitives/locks/semaphore.cp38-win32.pyd +0 -0
  62. a_sync/primitives/locks/semaphore.pyi +10 -9
  63. a_sync/primitives/queue.py +5 -1
  64. a_sync/utils/repr.c +36 -31
  65. a_sync/utils/repr.cp38-win32.pyd +0 -0
  66. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/METADATA +1 -1
  67. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/RECORD +70 -70
  68. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/LICENSE.txt +0 -0
  69. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/WHEEL +0 -0
  70. {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/top_level.txt +0 -0
Binary file
a_sync/exceptions.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>
@@ -1938,18 +1938,18 @@ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
1938
1938
  if (!__Pyx_PyThreadState_Current->tracing) {\
1939
1939
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1940
1940
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1941
- if (unlikely(!__pyx_frame_code)) goto_error;\
1942
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1943
- }\
1941
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1942
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1943
+ } else __pyx_frame_code = NULL;\
1944
1944
  PyGILState_Release(state);\
1945
- }\
1945
+ } else __pyx_frame_code = NULL;\
1946
1946
  } else {\
1947
1947
  if (!__Pyx_PyThreadState_Current->tracing) {\
1948
1948
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1949
1949
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1950
- if (unlikely(!__pyx_frame_code)) goto_error;\
1951
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1952
- }\
1950
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1951
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1952
+ } else __pyx_frame_code = NULL;\
1953
1953
  }\
1954
1954
  if (unlikely(ret == -1)) goto_error;\
1955
1955
  }
@@ -2707,7 +2707,7 @@ static unsigned long __Pyx_get_runtime_version(void);
2707
2707
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
2708
2708
 
2709
2709
  /* VoidPtrImport.proto */
2710
- static int __Pyx_ImportVoidPtr_3_1_3(PyObject *module, const char *name, void **p, const char *sig);
2710
+ static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig);
2711
2711
 
2712
2712
  /* MultiPhaseInitModuleState.proto */
2713
2713
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -5237,8 +5237,12 @@ static PyObject *__pyx_pf_6a_sync_10exceptions_27SyncModeInAsyncContextError___i
5237
5237
  * err += f"Check your traceback to determine which, then try calling asynchronously instead with one of the following kwargs:\n"
5238
5238
  */
5239
5239
  __Pyx_TraceLine(320,5,0,__PYX_ERR(0, 320, __pyx_L1_error))
5240
- __pyx_t_1 = (__Pyx_PyUnicode_IS_TRUE(__pyx_v_err) != 0);
5241
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_1 < 0))) __PYX_ERR(0, 320, __pyx_L1_error)
5240
+ {
5241
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_err);
5242
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 320, __pyx_L1_error)
5243
+ __pyx_t_1 = (__pyx_temp != 0);
5244
+ }
5245
+
5242
5246
  __pyx_t_2 = (!__pyx_t_1);
5243
5247
  if (__pyx_t_2) {
5244
5248
 
@@ -6227,9 +6231,9 @@ static int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate) {
6227
6231
  /*--- Variable import code ---*/
6228
6232
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
6229
6233
  __Pyx_GOTREF(__pyx_t_1);
6230
- if (__Pyx_ImportVoidPtr_3_1_3(__pyx_t_1, "AFFIRMATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_AFFIRMATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
6231
- if (__Pyx_ImportVoidPtr_3_1_3(__pyx_t_1, "NEGATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_NEGATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
6232
- if (__Pyx_ImportVoidPtr_3_1_3(__pyx_t_1, "VIABLE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_VIABLE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
6234
+ 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)
6235
+ 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)
6236
+ 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)
6233
6237
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6234
6238
  __Pyx_RefNannyFinishContext();
6235
6239
  return 0;
@@ -10085,6 +10089,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
10085
10089
  return -1;
10086
10090
  }
10087
10091
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
10092
+ Py_DECREF(bases);
10088
10093
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
10089
10094
  return -1;
10090
10095
  }
@@ -12453,9 +12458,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
12453
12458
  }
12454
12459
 
12455
12460
  /* VoidPtrImport */
12456
- #ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_3
12457
- #define __PYX_HAVE_RT_ImportVoidPtr_3_1_3
12458
- static int __Pyx_ImportVoidPtr_3_1_3(PyObject *module, const char *name, void **p, const char *sig) {
12461
+ #ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_4
12462
+ #define __PYX_HAVE_RT_ImportVoidPtr_3_1_4
12463
+ static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig) {
12459
12464
  PyObject *d = 0;
12460
12465
  PyObject *cobj = 0;
12461
12466
  d = PyObject_GetAttrString(module, "__pyx_capi__");
@@ -12552,6 +12557,10 @@ bad:
12552
12557
  PyCode_NewWithPosOnlyArgs
12553
12558
  #endif
12554
12559
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
12560
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
12561
+ if (likely(result))
12562
+ result->_co_firsttraceable = 0;
12563
+ #endif
12555
12564
  return result;
12556
12565
  }
12557
12566
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
Binary file
a_sync/functools.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>
@@ -1967,18 +1967,18 @@ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
1967
1967
  if (!__Pyx_PyThreadState_Current->tracing) {\
1968
1968
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1969
1969
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1970
- if (unlikely(!__pyx_frame_code)) goto_error;\
1971
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1972
- }\
1970
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1971
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1972
+ } else __pyx_frame_code = NULL;\
1973
1973
  PyGILState_Release(state);\
1974
- }\
1974
+ } else __pyx_frame_code = NULL;\
1975
1975
  } else {\
1976
1976
  if (!__Pyx_PyThreadState_Current->tracing) {\
1977
1977
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1978
1978
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1979
- if (unlikely(!__pyx_frame_code)) goto_error;\
1980
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1981
- }\
1979
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1980
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1981
+ } else __pyx_frame_code = NULL;\
1982
1982
  }\
1983
1983
  if (unlikely(ret == -1)) goto_error;\
1984
1984
  }
@@ -8994,6 +8994,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
8994
8994
  return -1;
8995
8995
  }
8996
8996
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
8997
+ Py_DECREF(bases);
8997
8998
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
8998
8999
  return -1;
8999
9000
  }
@@ -11901,6 +11902,10 @@ bad:
11901
11902
  PyCode_NewWithPosOnlyArgs
11902
11903
  #endif
11903
11904
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
11905
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
11906
+ if (likely(result))
11907
+ result->_co_firsttraceable = 0;
11908
+ #endif
11904
11909
  return result;
11905
11910
  }
11906
11911
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
Binary file