ez-a-sync 0.32.27__cp39-cp39-win32.whl → 0.32.28__cp39-cp39-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 +51 -45
  2. a_sync/_smart.cp39-win32.pyd +0 -0
  3. a_sync/a_sync/_descriptor.c +63 -58
  4. a_sync/a_sync/_descriptor.cp39-win32.pyd +0 -0
  5. a_sync/a_sync/_flags.c +10 -10
  6. a_sync/a_sync/_flags.cp39-win32.pyd +0 -0
  7. a_sync/a_sync/_helpers.c +57 -52
  8. a_sync/a_sync/_helpers.cp39-win32.pyd +0 -0
  9. a_sync/a_sync/_kwargs.c +27 -22
  10. a_sync/a_sync/_kwargs.cp39-win32.pyd +0 -0
  11. a_sync/a_sync/abstract.c +46 -23
  12. a_sync/a_sync/abstract.cp39-win32.pyd +0 -0
  13. a_sync/a_sync/abstract.pyi +2 -2
  14. a_sync/a_sync/base.c +70 -60
  15. a_sync/a_sync/base.cp39-win32.pyd +0 -0
  16. a_sync/a_sync/flags.c +10 -10
  17. a_sync/a_sync/flags.cp39-win32.pyd +0 -0
  18. a_sync/a_sync/function.c +91 -76
  19. a_sync/a_sync/function.cp39-win32.pyd +0 -0
  20. a_sync/a_sync/method.c +96 -78
  21. a_sync/a_sync/method.cp39-win32.pyd +0 -0
  22. a_sync/a_sync/method.pyi +2 -1
  23. a_sync/a_sync/modifiers/manager.c +52 -46
  24. a_sync/a_sync/modifiers/manager.cp39-win32.pyd +0 -0
  25. a_sync/a_sync/property.c +86 -75
  26. a_sync/a_sync/property.cp39-win32.pyd +0 -0
  27. a_sync/async_property/cached.c +53 -48
  28. a_sync/async_property/cached.cp39-win32.pyd +0 -0
  29. a_sync/async_property/proxy.c +15 -10
  30. a_sync/async_property/proxy.cp39-win32.pyd +0 -0
  31. a_sync/asyncio/as_completed.c +15 -10
  32. a_sync/asyncio/as_completed.cp39-win32.pyd +0 -0
  33. a_sync/asyncio/create_task.c +49 -25
  34. a_sync/asyncio/create_task.cp39-win32.pyd +0 -0
  35. a_sync/asyncio/gather.c +24 -19
  36. a_sync/asyncio/gather.cp39-win32.pyd +0 -0
  37. a_sync/asyncio/igather.c +36 -26
  38. a_sync/asyncio/igather.cp39-win32.pyd +0 -0
  39. a_sync/asyncio/sleep.c +8 -3
  40. a_sync/asyncio/sleep.cp39-win32.pyd +0 -0
  41. a_sync/debugging.c +44 -38
  42. a_sync/debugging.cp39-win32.pyd +0 -0
  43. a_sync/exceptions.c +28 -19
  44. a_sync/exceptions.cp39-win32.pyd +0 -0
  45. a_sync/functools.c +15 -10
  46. a_sync/functools.cp39-win32.pyd +0 -0
  47. a_sync/iter.c +153 -97
  48. a_sync/iter.cp39-win32.pyd +0 -0
  49. a_sync/primitives/_debug.c +49 -44
  50. a_sync/primitives/_debug.cp39-win32.pyd +0 -0
  51. a_sync/primitives/_loggable.c +30 -19
  52. a_sync/primitives/_loggable.cp39-win32.pyd +0 -0
  53. a_sync/primitives/locks/counter.c +90 -74
  54. a_sync/primitives/locks/counter.cp39-win32.pyd +0 -0
  55. a_sync/primitives/locks/event.c +57 -51
  56. a_sync/primitives/locks/event.cp39-win32.pyd +0 -0
  57. a_sync/primitives/locks/prio_semaphore.c +111 -85
  58. a_sync/primitives/locks/prio_semaphore.cp39-win32.pyd +0 -0
  59. a_sync/primitives/locks/prio_semaphore.pyi +2 -2
  60. a_sync/primitives/locks/semaphore.c +85 -72
  61. a_sync/primitives/locks/semaphore.cp39-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 +46 -40
  65. a_sync/utils/repr.cp39-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}/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>
@@ -1877,18 +1877,18 @@ static PyObject *__Pyx_GetBuiltinName(PyObject *name);
1877
1877
  if (!__Pyx_PyThreadState_Current->tracing) {\
1878
1878
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1879
1879
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1880
- if (unlikely(!__pyx_frame_code)) goto_error;\
1881
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1882
- }\
1880
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1881
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1882
+ } else __pyx_frame_code = NULL;\
1883
1883
  PyGILState_Release(state);\
1884
- }\
1884
+ } else __pyx_frame_code = NULL;\
1885
1885
  } else {\
1886
1886
  if (!__Pyx_PyThreadState_Current->tracing) {\
1887
1887
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1888
1888
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1889
- if (unlikely(!__pyx_frame_code)) goto_error;\
1890
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1891
- }\
1889
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1890
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1891
+ } else __pyx_frame_code = NULL;\
1892
1892
  }\
1893
1893
  if (unlikely(ret == -1)) goto_error;\
1894
1894
  }
@@ -2541,22 +2541,22 @@ static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visi
2541
2541
  static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear);
2542
2542
 
2543
2543
  /* TypeImport.proto */
2544
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
2545
- #define __PYX_HAVE_RT_ImportType_proto_3_1_3
2544
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
2545
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_4
2546
2546
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2547
2547
  #include <stdalign.h>
2548
2548
  #endif
2549
2549
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2550
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
2550
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
2551
2551
  #else
2552
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
2552
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
2553
2553
  #endif
2554
- enum __Pyx_ImportType_CheckSize_3_1_3 {
2555
- __Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
2556
- __Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
2557
- __Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
2554
+ enum __Pyx_ImportType_CheckSize_3_1_4 {
2555
+ __Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
2556
+ __Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
2557
+ __Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
2558
2558
  };
2559
- static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size);
2559
+ 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);
2560
2560
  #endif
2561
2561
 
2562
2562
  /* GetVTable.proto */
@@ -2995,7 +2995,7 @@ static unsigned long __Pyx_get_runtime_version(void);
2995
2995
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
2996
2996
 
2997
2997
  /* FunctionImport.proto */
2998
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2998
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2999
2999
 
3000
3000
  /* MultiPhaseInitModuleState.proto */
3001
3001
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -6917,15 +6917,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
6917
6917
  /*--- Type init code ---*/
6918
6918
  __pyx_t_1 = PyImport_ImportModule("a_sync.primitives._loggable"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
6919
6919
  __Pyx_GOTREF(__pyx_t_1);
6920
- __pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
6920
+ __pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
6921
6921
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
6922
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
6922
+ sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
6923
6923
  #elif CYTHON_COMPILING_IN_LIMITED_API
6924
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
6924
+ sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
6925
6925
  #else
6926
- sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
6926
+ sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
6927
6927
  #endif
6928
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin) __PYX_ERR(0, 1, __pyx_L1_error)
6928
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin) __PYX_ERR(0, 1, __pyx_L1_error)
6929
6929
  __pyx_vtabptr_6a_sync_10primitives_9_loggable__LoggerMixin = (struct __pyx_vtabstruct_6a_sync_10primitives_9_loggable__LoggerMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_9_loggable__LoggerMixin)) __PYX_ERR(0, 1, __pyx_L1_error)
6930
6930
  __pyx_vtabptr_6a_sync_10primitives_6_debug__LoopBoundMixin = &__pyx_vtable_6a_sync_10primitives_6_debug__LoopBoundMixin;
6931
6931
  __pyx_vtable_6a_sync_10primitives_6_debug__LoopBoundMixin.__pyx_base = *__pyx_vtabptr_6a_sync_10primitives_9_loggable__LoggerMixin;
@@ -7040,11 +7040,11 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
7040
7040
  /*--- Function import code ---*/
7041
7041
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7042
7042
  __Pyx_GOTREF(__pyx_t_1);
7043
- 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)
7043
+ 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)
7044
7044
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7045
7045
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7046
7046
  __Pyx_GOTREF(__pyx_t_1);
7047
- 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)
7047
+ 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)
7048
7048
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7049
7049
  __Pyx_RefNannyFinishContext();
7050
7050
  return 0;
@@ -7340,7 +7340,7 @@ __Pyx_RefNannySetupContext("PyInit__debug", 0);
7340
7340
  (void)__Pyx_modinit_variable_import_code(__pyx_mstate);
7341
7341
  if (unlikely((__Pyx_modinit_function_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
7342
7342
  /*--- Execution code ---*/
7343
- __Pyx_TraceStartFunc("PyInit__debug", __pyx_f[0], 1, 1, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
7343
+ __Pyx_TraceStartFunc("PyInit__debug", __pyx_f[0], 1, 0, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
7344
7344
 
7345
7345
  /* "a_sync/primitives/_debug.pyx":7
7346
7346
  * """
@@ -7612,7 +7612,7 @@ __Pyx_RefNannySetupContext("PyInit__debug", 0);
7612
7612
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
7613
7613
  * def __setstate_cython__(self, __pyx_state):
7614
7614
  */
7615
- __Pyx_TraceLine(1,2,0,__PYX_ERR(1, 1, __pyx_L1_error))
7615
+ __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
7616
7616
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_6_debug_15_LoopBoundMixin_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_LoopBoundMixin___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives__debug, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[7])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
7617
7617
  __Pyx_GOTREF(__pyx_t_3);
7618
7618
  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)
@@ -7730,7 +7730,7 @@ __Pyx_RefNannySetupContext("PyInit__debug", 0);
7730
7730
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
7731
7731
  * def __setstate_cython__(self, __pyx_state):
7732
7732
  */
7733
- __Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
7733
+ __Pyx_TraceLine(1,2,0,__PYX_ERR(1, 1, __pyx_L1_error))
7734
7734
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_6_debug_17_DebugDaemonMixin_12__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_DebugDaemonMixin___reduce_cytho, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives__debug, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[16])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
7735
7735
  __Pyx_GOTREF(__pyx_t_3);
7736
7736
  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)
@@ -7753,12 +7753,12 @@ __Pyx_RefNannySetupContext("PyInit__debug", 0);
7753
7753
  * This module provides a mixin class used to facilitate the creation of debugging daemons in subclasses.
7754
7754
  *
7755
7755
  */
7756
- __Pyx_TraceLine(1,1,0,__PYX_ERR(0, 1, __pyx_L1_error))
7756
+ __Pyx_TraceLine(1,0,0,__PYX_ERR(0, 1, __pyx_L1_error))
7757
7757
  __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error)
7758
7758
  __Pyx_GOTREF(__pyx_t_3);
7759
7759
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_3) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7760
7760
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7761
- __Pyx_TraceReturnValue(Py_None, 1, 0, __PYX_ERR(0, 1, __pyx_L1_error));
7761
+ __Pyx_TraceReturnValue(Py_None, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
7762
7762
  __Pyx_PyMonitoring_ExitScope(0);
7763
7763
 
7764
7764
  /*--- Wrapped vars code ---*/
@@ -7770,7 +7770,7 @@ __Pyx_RefNannySetupContext("PyInit__debug", 0);
7770
7770
  __Pyx_XDECREF(__pyx_t_4);
7771
7771
  __Pyx_XDECREF(__pyx_t_5);
7772
7772
  __Pyx_TraceException(__pyx_lineno, 0, 0);
7773
- __Pyx_TraceExceptionUnwind(1, 0);
7773
+ __Pyx_TraceExceptionUnwind(0, 0);
7774
7774
  if (__pyx_m) {
7775
7775
  if (__pyx_mstate->__pyx_d && stringtab_initialized) {
7776
7776
  __Pyx_AddTraceback("init a_sync.primitives._debug", __pyx_clineno, __pyx_lineno, __pyx_filename);
@@ -10166,15 +10166,15 @@ static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear) {
10166
10166
  }
10167
10167
 
10168
10168
  /* TypeImport */
10169
- #ifndef __PYX_HAVE_RT_ImportType_3_1_3
10170
- #define __PYX_HAVE_RT_ImportType_3_1_3
10171
- static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
10172
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
10169
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_4
10170
+ #define __PYX_HAVE_RT_ImportType_3_1_4
10171
+ static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
10172
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
10173
10173
  {
10174
10174
  PyObject *result = 0;
10175
10175
  Py_ssize_t basicsize;
10176
10176
  Py_ssize_t itemsize;
10177
- #if CYTHON_COMPILING_IN_LIMITED_API
10177
+ #ifdef Py_LIMITED_API
10178
10178
  PyObject *py_basicsize;
10179
10179
  PyObject *py_itemsize;
10180
10180
  #endif
@@ -10187,7 +10187,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
10187
10187
  module_name, class_name);
10188
10188
  goto bad;
10189
10189
  }
10190
- #if !CYTHON_COMPILING_IN_LIMITED_API
10190
+ #ifndef Py_LIMITED_API
10191
10191
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
10192
10192
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
10193
10193
  #else
@@ -10225,7 +10225,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
10225
10225
  module_name, class_name, size, basicsize+itemsize);
10226
10226
  goto bad;
10227
10227
  }
10228
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
10228
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
10229
10229
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
10230
10230
  PyErr_Format(PyExc_ValueError,
10231
10231
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -10233,7 +10233,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
10233
10233
  module_name, class_name, size, basicsize, basicsize+itemsize);
10234
10234
  goto bad;
10235
10235
  }
10236
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
10236
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
10237
10237
  if (PyErr_WarnFormat(NULL, 0,
10238
10238
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
10239
10239
  "Expected %zd from C header, got %zd from PyObject",
@@ -11307,6 +11307,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
11307
11307
  return -1;
11308
11308
  }
11309
11309
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
11310
+ Py_DECREF(bases);
11310
11311
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
11311
11312
  return -1;
11312
11313
  }
@@ -14884,9 +14885,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
14884
14885
  }
14885
14886
 
14886
14887
  /* FunctionImport */
14887
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
14888
- #define __PYX_HAVE_RT_ImportFunction_3_1_3
14889
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
14888
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
14889
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
14890
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
14890
14891
  PyObject *d = 0;
14891
14892
  PyObject *cobj = 0;
14892
14893
  union {
@@ -14988,6 +14989,10 @@ bad:
14988
14989
  PyCode_NewWithPosOnlyArgs
14989
14990
  #endif
14990
14991
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
14992
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
14993
+ if (likely(result))
14994
+ result->_co_firsttraceable = 0;
14995
+ #endif
14991
14996
  return result;
14992
14997
  }
14993
14998
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
Binary file
@@ -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>
@@ -1833,18 +1833,18 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
1833
1833
  if (!__Pyx_PyThreadState_Current->tracing) {\
1834
1834
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1835
1835
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1836
- if (unlikely(!__pyx_frame_code)) goto_error;\
1837
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1838
- }\
1836
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1837
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1838
+ } else __pyx_frame_code = NULL;\
1839
1839
  PyGILState_Release(state);\
1840
- }\
1840
+ } else __pyx_frame_code = NULL;\
1841
1841
  } else {\
1842
1842
  if (!__Pyx_PyThreadState_Current->tracing) {\
1843
1843
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1844
1844
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1845
- if (unlikely(!__pyx_frame_code)) goto_error;\
1846
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1847
- }\
1845
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1846
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1847
+ } else __pyx_frame_code = NULL;\
1848
1848
  }\
1849
1849
  if (unlikely(ret == -1)) goto_error;\
1850
1850
  }
@@ -3280,8 +3280,14 @@ static PyObject *__pyx_f_6a_sync_10primitives_9_loggable_12_LoggerMixin_get_logg
3280
3280
  * else:
3281
3281
  */
3282
3282
  __Pyx_TraceLine(65,19,0,__PYX_ERR(0, 65, __pyx_L1_error))
3283
- __pyx_t_2 = (__pyx_v_name != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_name) != 0);
3284
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_2 < 0))) __PYX_ERR(0, 65, __pyx_L1_error)
3283
+ if (__pyx_v_name == Py_None) __pyx_t_2 = 0;
3284
+ else
3285
+ {
3286
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_name);
3287
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 65, __pyx_L1_error)
3288
+ __pyx_t_2 = (__pyx_temp != 0);
3289
+ }
3290
+
3285
3291
  if (__pyx_t_2) {
3286
3292
 
3287
3293
  /* "a_sync/primitives/_loggable.pyx":66
@@ -5234,7 +5240,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
5234
5240
  (void)__Pyx_modinit_variable_import_code(__pyx_mstate);
5235
5241
  (void)__Pyx_modinit_function_import_code(__pyx_mstate);
5236
5242
  /*--- Execution code ---*/
5237
- __Pyx_TraceStartFunc("PyInit__loggable", __pyx_f[0], 1, 2, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
5243
+ __Pyx_TraceStartFunc("PyInit__loggable", __pyx_f[0], 1, 1, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
5238
5244
 
5239
5245
  /* "a_sync/primitives/_loggable.pyx":6
5240
5246
  * """
@@ -5320,7 +5326,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
5320
5326
  *
5321
5327
  *
5322
5328
  */
5323
- __Pyx_TraceLine(11,16,0,__PYX_ERR(0, 11, __pyx_L1_error))
5329
+ __Pyx_TraceLine(11,15,0,__PYX_ERR(0, 11, __pyx_L1_error))
5324
5330
  if (__Pyx_PyObject_DelAttrStr(__pyx_m, __pyx_mstate_global->__pyx_n_u_logging) < 0) __PYX_ERR(0, 11, __pyx_L1_error)
5325
5331
 
5326
5332
  /* "a_sync/primitives/_loggable.pyx":58
@@ -5348,7 +5354,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
5348
5354
  * cdef tuple state
5349
5355
  * cdef object _dict
5350
5356
  */
5351
- __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
5357
+ __Pyx_TraceLine(1,2,0,__PYX_ERR(1, 1, __pyx_L1_error))
5352
5358
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_9_loggable_12_LoggerMixin_1__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_LoggerMixin___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives__loggable, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[4])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error)
5353
5359
  __Pyx_GOTREF(__pyx_t_2);
5354
5360
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_2) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -5409,7 +5415,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
5409
5415
  * __pyx_result._logger = __pyx_state[0]
5410
5416
  * if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):
5411
5417
  */
5412
- __Pyx_TraceLine(11,15,0,__PYX_ERR(1, 11, __pyx_L1_error))
5418
+ __Pyx_TraceLine(11,16,0,__PYX_ERR(1, 11, __pyx_L1_error))
5413
5419
 
5414
5420
 
5415
5421
  /* "a_sync/primitives/_loggable.pyx":1
@@ -5417,14 +5423,14 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
5417
5423
  * """
5418
5424
  * This module provides a mixin class to add debug logging capabilities to other classes.
5419
5425
  */
5420
- __Pyx_TraceLine(1,2,0,__PYX_ERR(0, 1, __pyx_L1_error))
5426
+ __Pyx_TraceLine(1,1,0,__PYX_ERR(0, 1, __pyx_L1_error))
5421
5427
  __pyx_t_2 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1, __pyx_L1_error)
5422
5428
  __Pyx_GOTREF(__pyx_t_2);
5423
5429
  if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_kp_u_LoggerMixin_logger___get___line, __pyx_mstate_global->__pyx_kp_u_Provides_a_logger_instance_spec) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5424
5430
  if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_kp_u_LoggerMixin_debug_logs_enabled, __pyx_mstate_global->__pyx_kp_u_Checks_if_debug_logging_is_enab) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5425
5431
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_2) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5426
5432
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5427
- __Pyx_TraceReturnValue(Py_None, 2, 0, __PYX_ERR(0, 1, __pyx_L1_error));
5433
+ __Pyx_TraceReturnValue(Py_None, 1, 0, __PYX_ERR(0, 1, __pyx_L1_error));
5428
5434
  __Pyx_PyMonitoring_ExitScope(0);
5429
5435
 
5430
5436
  /*--- Wrapped vars code ---*/
@@ -5434,7 +5440,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
5434
5440
  __Pyx_XDECREF(__pyx_t_2);
5435
5441
  __Pyx_XDECREF(__pyx_t_3);
5436
5442
  __Pyx_TraceException(__pyx_lineno, 0, 0);
5437
- __Pyx_TraceExceptionUnwind(2, 0);
5443
+ __Pyx_TraceExceptionUnwind(1, 0);
5438
5444
  if (__pyx_m) {
5439
5445
  if (__pyx_mstate->__pyx_d && stringtab_initialized) {
5440
5446
  __Pyx_AddTraceback("init a_sync.primitives._loggable", __pyx_clineno, __pyx_lineno, __pyx_filename);
@@ -8564,6 +8570,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
8564
8570
  return -1;
8565
8571
  }
8566
8572
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
8573
+ Py_DECREF(bases);
8567
8574
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
8568
8575
  return -1;
8569
8576
  }
@@ -10884,6 +10891,10 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
10884
10891
  PyCode_NewWithPosOnlyArgs
10885
10892
  #endif
10886
10893
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
10894
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
10895
+ if (likely(result))
10896
+ result->_co_firsttraceable = 0;
10897
+ #endif
10887
10898
  return result;
10888
10899
  }
10889
10900
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
Binary file