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
a_sync/a_sync/base.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
  {
@@ -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>
@@ -1975,18 +1975,18 @@ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
1975
1975
  if (!__Pyx_PyThreadState_Current->tracing) {\
1976
1976
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1977
1977
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1978
- if (unlikely(!__pyx_frame_code)) goto_error;\
1979
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1980
- }\
1978
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1979
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1980
+ } else __pyx_frame_code = NULL;\
1981
1981
  PyGILState_Release(state);\
1982
- }\
1982
+ } else __pyx_frame_code = NULL;\
1983
1983
  } else {\
1984
1984
  if (!__Pyx_PyThreadState_Current->tracing) {\
1985
1985
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1986
1986
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1987
- if (unlikely(!__pyx_frame_code)) goto_error;\
1988
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1989
- }\
1987
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1988
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1989
+ } else __pyx_frame_code = NULL;\
1990
1990
  }\
1991
1991
  if (unlikely(ret == -1)) goto_error;\
1992
1992
  }
@@ -2597,22 +2597,22 @@ static CYTHON_INLINE PyObject* __Pyx_PyFrozenSet_New(PyObject* it);
2597
2597
  static CYTHON_INLINE int __Pyx_PySet_ContainsTF(PyObject* key, PyObject* set, int eq);
2598
2598
 
2599
2599
  /* TypeImport.proto */
2600
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
2601
- #define __PYX_HAVE_RT_ImportType_proto_3_1_3
2600
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
2601
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_4
2602
2602
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2603
2603
  #include <stdalign.h>
2604
2604
  #endif
2605
2605
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2606
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
2606
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
2607
2607
  #else
2608
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
2608
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
2609
2609
  #endif
2610
- enum __Pyx_ImportType_CheckSize_3_1_3 {
2611
- __Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
2612
- __Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
2613
- __Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
2610
+ enum __Pyx_ImportType_CheckSize_3_1_4 {
2611
+ __Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
2612
+ __Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
2613
+ __Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
2614
2614
  };
2615
- 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);
2615
+ 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);
2616
2616
  #endif
2617
2617
 
2618
2618
  /* Import.proto */
@@ -2911,10 +2911,10 @@ static unsigned long __Pyx_get_runtime_version(void);
2911
2911
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
2912
2912
 
2913
2913
  /* VoidPtrImport.proto */
2914
- static int __Pyx_ImportVoidPtr_3_1_3(PyObject *module, const char *name, void **p, const char *sig);
2914
+ static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig);
2915
2915
 
2916
2916
  /* FunctionImport.proto */
2917
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2917
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2918
2918
 
2919
2919
  /* MultiPhaseInitModuleState.proto */
2920
2920
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -4595,8 +4595,12 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_4base_16ASyncGenericBase_4__a_sync_fla
4595
4595
  * if len(present_flags) > 1:
4596
4596
  */
4597
4597
  __Pyx_TraceLine(143,45,0,__PYX_ERR(0, 143, __pyx_L6_except_error))
4598
- __pyx_t_6 = (__Pyx_PyList_GET_SIZE(__pyx_v_present_flags) != 0);
4599
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_6 < 0))) __PYX_ERR(0, 143, __pyx_L6_except_error)
4598
+ {
4599
+ Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_v_present_flags);
4600
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 143, __pyx_L6_except_error)
4601
+ __pyx_t_6 = (__pyx_temp != 0);
4602
+ }
4603
+
4600
4604
  __pyx_t_5 = (!__pyx_t_6);
4601
4605
  if (unlikely(__pyx_t_5)) {
4602
4606
 
@@ -7317,27 +7321,27 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
7317
7321
  /*--- Type import code ---*/
7318
7322
  __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 9, __pyx_L1_error)
7319
7323
  __Pyx_GOTREF(__pyx_t_1);
7320
- __pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_1_3(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
7324
+ __pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_1_4(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
7321
7325
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
7322
- sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(PyTypeObject),
7326
+ sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(PyTypeObject),
7323
7327
  #elif CYTHON_COMPILING_IN_LIMITED_API
7324
7328
  0, 0,
7325
7329
  #else
7326
- sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(PyHeapTypeObject),
7330
+ sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(PyHeapTypeObject),
7327
7331
  #endif
7328
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(2, 9, __pyx_L1_error)
7332
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(2, 9, __pyx_L1_error)
7329
7333
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7330
7334
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 1, __pyx_L1_error)
7331
7335
  __Pyx_GOTREF(__pyx_t_1);
7332
- __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
7336
+ __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
7333
7337
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
7334
- sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
7338
+ 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),
7335
7339
  #elif CYTHON_COMPILING_IN_LIMITED_API
7336
- sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
7340
+ 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),
7337
7341
  #else
7338
- sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
7342
+ 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),
7339
7343
  #endif
7340
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(3, 1, __pyx_L1_error)
7344
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(3, 1, __pyx_L1_error)
7341
7345
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7342
7346
  __Pyx_RefNannyFinishContext();
7343
7347
  return 0;
@@ -7358,9 +7362,9 @@ static int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate) {
7358
7362
  /*--- Variable import code ---*/
7359
7363
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7360
7364
  __Pyx_GOTREF(__pyx_t_1);
7361
- 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)
7362
- 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)
7363
- 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)
7365
+ 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)
7366
+ 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)
7367
+ 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)
7364
7368
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7365
7369
  __Pyx_RefNannyFinishContext();
7366
7370
  return 0;
@@ -7381,8 +7385,8 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
7381
7385
  /*--- Function import code ---*/
7382
7386
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7383
7387
  __Pyx_GOTREF(__pyx_t_1);
7384
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "validate_flag_value", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_flag_value, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7385
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "validate_and_negate_if_necessary", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_and_negate_if_necessary, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7388
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "validate_flag_value", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_flag_value, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7389
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "validate_and_negate_if_necessary", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_and_negate_if_necessary, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7386
7390
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7387
7391
  __Pyx_RefNannyFinishContext();
7388
7392
  return 0;
@@ -8394,15 +8398,16 @@ static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) {
8394
8398
  return -1;
8395
8399
  }
8396
8400
  /* #### Code section: init_codeobjects ### */
8397
- typedef struct {
8398
- unsigned int argcount : 2;
8399
- unsigned int num_posonly_args : 1;
8400
- unsigned int num_kwonly_args : 1;
8401
- unsigned int nlocals : 4;
8402
- unsigned int flags : 10;
8403
- unsigned int first_line : 9;
8404
- unsigned int line_table_length : 12;
8405
- } __Pyx_PyCode_New_function_description;
8401
+ \
8402
+ typedef struct {
8403
+ unsigned int argcount : 2;
8404
+ unsigned int num_posonly_args : 1;
8405
+ unsigned int num_kwonly_args : 1;
8406
+ unsigned int nlocals : 4;
8407
+ unsigned int flags : 10;
8408
+ unsigned int first_line : 9;
8409
+ unsigned int line_table_length : 12;
8410
+ } __Pyx_PyCode_New_function_description;
8406
8411
  /* NewCodeObj.proto */
8407
8412
  static PyObject* __Pyx_PyCode_New(
8408
8413
  const __Pyx_PyCode_New_function_description descr,
@@ -11143,15 +11148,15 @@ static CYTHON_INLINE int __Pyx_PySet_ContainsTF(PyObject* key, PyObject* set, in
11143
11148
  }
11144
11149
 
11145
11150
  /* TypeImport */
11146
- #ifndef __PYX_HAVE_RT_ImportType_3_1_3
11147
- #define __PYX_HAVE_RT_ImportType_3_1_3
11148
- static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
11149
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
11151
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_4
11152
+ #define __PYX_HAVE_RT_ImportType_3_1_4
11153
+ static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
11154
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
11150
11155
  {
11151
11156
  PyObject *result = 0;
11152
11157
  Py_ssize_t basicsize;
11153
11158
  Py_ssize_t itemsize;
11154
- #if CYTHON_COMPILING_IN_LIMITED_API
11159
+ #ifdef Py_LIMITED_API
11155
11160
  PyObject *py_basicsize;
11156
11161
  PyObject *py_itemsize;
11157
11162
  #endif
@@ -11164,7 +11169,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
11164
11169
  module_name, class_name);
11165
11170
  goto bad;
11166
11171
  }
11167
- #if !CYTHON_COMPILING_IN_LIMITED_API
11172
+ #ifndef Py_LIMITED_API
11168
11173
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
11169
11174
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
11170
11175
  #else
@@ -11202,7 +11207,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
11202
11207
  module_name, class_name, size, basicsize+itemsize);
11203
11208
  goto bad;
11204
11209
  }
11205
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
11210
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
11206
11211
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
11207
11212
  PyErr_Format(PyExc_ValueError,
11208
11213
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -11210,7 +11215,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
11210
11215
  module_name, class_name, size, basicsize, basicsize+itemsize);
11211
11216
  goto bad;
11212
11217
  }
11213
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
11218
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
11214
11219
  if (PyErr_WarnFormat(NULL, 0,
11215
11220
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
11216
11221
  "Expected %zd from C header, got %zd from PyObject",
@@ -11963,6 +11968,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
11963
11968
  return -1;
11964
11969
  }
11965
11970
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
11971
+ Py_DECREF(bases);
11966
11972
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
11967
11973
  return -1;
11968
11974
  }
@@ -14238,9 +14244,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
14238
14244
  }
14239
14245
 
14240
14246
  /* VoidPtrImport */
14241
- #ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_3
14242
- #define __PYX_HAVE_RT_ImportVoidPtr_3_1_3
14243
- static int __Pyx_ImportVoidPtr_3_1_3(PyObject *module, const char *name, void **p, const char *sig) {
14247
+ #ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_4
14248
+ #define __PYX_HAVE_RT_ImportVoidPtr_3_1_4
14249
+ static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig) {
14244
14250
  PyObject *d = 0;
14245
14251
  PyObject *cobj = 0;
14246
14252
  d = PyObject_GetAttrString(module, "__pyx_capi__");
@@ -14278,9 +14284,9 @@ bad:
14278
14284
  #endif
14279
14285
 
14280
14286
  /* FunctionImport */
14281
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
14282
- #define __PYX_HAVE_RT_ImportFunction_3_1_3
14283
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
14287
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
14288
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
14289
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
14284
14290
  PyObject *d = 0;
14285
14291
  PyObject *cobj = 0;
14286
14292
  union {
@@ -14382,6 +14388,10 @@ bad:
14382
14388
  PyCode_NewWithPosOnlyArgs
14383
14389
  #endif
14384
14390
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
14391
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
14392
+ if (likely(result))
14393
+ result->_co_firsttraceable = 0;
14394
+ #endif
14385
14395
  return result;
14386
14396
  }
14387
14397
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
Binary file
a_sync/a_sync/flags.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>
@@ -1747,18 +1747,18 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
1747
1747
  if (!__Pyx_PyThreadState_Current->tracing) {\
1748
1748
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1749
1749
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1750
- if (unlikely(!__pyx_frame_code)) goto_error;\
1751
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1752
- }\
1750
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1751
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1752
+ } else __pyx_frame_code = NULL;\
1753
1753
  PyGILState_Release(state);\
1754
- }\
1754
+ } else __pyx_frame_code = NULL;\
1755
1755
  } else {\
1756
1756
  if (!__Pyx_PyThreadState_Current->tracing) {\
1757
1757
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
1758
1758
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
1759
- if (unlikely(!__pyx_frame_code)) goto_error;\
1760
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1761
- }\
1759
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
1760
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
1761
+ } else __pyx_frame_code = NULL;\
1762
1762
  }\
1763
1763
  if (unlikely(ret == -1)) goto_error;\
1764
1764
  }
Binary file