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
a_sync/a_sync/property.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>
@@ -2209,18 +2209,18 @@ static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *nam
2209
2209
  if (!__Pyx_PyThreadState_Current->tracing) {\
2210
2210
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2211
2211
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2212
- if (unlikely(!__pyx_frame_code)) goto_error;\
2213
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2214
- }\
2212
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2213
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2214
+ } else __pyx_frame_code = NULL;\
2215
2215
  PyGILState_Release(state);\
2216
- }\
2216
+ } else __pyx_frame_code = NULL;\
2217
2217
  } else {\
2218
2218
  if (!__Pyx_PyThreadState_Current->tracing) {\
2219
2219
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2220
2220
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2221
- if (unlikely(!__pyx_frame_code)) goto_error;\
2222
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2223
- }\
2221
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2222
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2223
+ } else __pyx_frame_code = NULL;\
2224
2224
  }\
2225
2225
  if (unlikely(ret == -1)) goto_error;\
2226
2226
  }
@@ -3092,22 +3092,22 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
3092
3092
  CYTHON_UNUSED static int __Pyx_PyType_Ready(PyTypeObject *t);
3093
3093
 
3094
3094
  /* TypeImport.proto */
3095
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
3096
- #define __PYX_HAVE_RT_ImportType_proto_3_1_3
3095
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
3096
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_4
3097
3097
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
3098
3098
  #include <stdalign.h>
3099
3099
  #endif
3100
3100
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
3101
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
3101
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
3102
3102
  #else
3103
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
3103
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
3104
3104
  #endif
3105
- enum __Pyx_ImportType_CheckSize_3_1_3 {
3106
- __Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
3107
- __Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
3108
- __Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
3105
+ enum __Pyx_ImportType_CheckSize_3_1_4 {
3106
+ __Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
3107
+ __Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
3108
+ __Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
3109
3109
  };
3110
- 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);
3110
+ 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);
3111
3111
  #endif
3112
3112
 
3113
3113
  /* GetVTable.proto */
@@ -3251,10 +3251,10 @@ static unsigned long __Pyx_get_runtime_version(void);
3251
3251
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
3252
3252
 
3253
3253
  /* VoidPtrImport.proto */
3254
- static int __Pyx_ImportVoidPtr_3_1_3(PyObject *module, const char *name, void **p, const char *sig);
3254
+ static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig);
3255
3255
 
3256
3256
  /* FunctionImport.proto */
3257
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3257
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3258
3258
 
3259
3259
  /* MultiPhaseInitModuleState.proto */
3260
3260
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -5154,8 +5154,14 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_28_ASyncPropertyDescriptorBa
5154
5154
  * elif _is_a_sync_instance(instance):
5155
5155
  */
5156
5156
  __Pyx_TraceLine(159,22,0,__PYX_ERR(0, 159, __pyx_L1_error))
5157
- __pyx_t_1 = (__pyx_v_default != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_default) != 0);
5158
- if (unlikely(((!CYTHON_ASSUME_SAFE_MACROS) && __pyx_t_1 < 0))) __PYX_ERR(0, 159, __pyx_L1_error)
5157
+ if (__pyx_v_default == Py_None) __pyx_t_1 = 0;
5158
+ else
5159
+ {
5160
+ Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_default);
5161
+ if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 159, __pyx_L1_error)
5162
+ __pyx_t_1 = (__pyx_temp != 0);
5163
+ }
5164
+
5159
5165
  if (__pyx_t_1) {
5160
5166
 
5161
5167
  /* "a_sync/a_sync/property.pyx":160
@@ -14992,77 +14998,77 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
14992
14998
  /*--- Type import code ---*/
14993
14999
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.modifiers.manager"); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1, __pyx_L1_error)
14994
15000
  __Pyx_GOTREF(__pyx_t_1);
14995
- __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.a_sync.modifiers.manager", "ModifierManager",
15001
+ __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.a_sync.modifiers.manager", "ModifierManager",
14996
15002
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
14997
- sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
15003
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
14998
15004
  #elif CYTHON_COMPILING_IN_LIMITED_API
14999
- sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
15005
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
15000
15006
  #else
15001
- sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
15007
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
15002
15008
  #endif
15003
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager) __PYX_ERR(1, 1, __pyx_L1_error)
15009
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager) __PYX_ERR(1, 1, __pyx_L1_error)
15004
15010
  __pyx_vtabptr_6a_sync_6a_sync_9modifiers_7manager_ModifierManager = (struct __pyx_vtabstruct_6a_sync_6a_sync_9modifiers_7manager_ModifierManager*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_9modifiers_7manager_ModifierManager)) __PYX_ERR(1, 1, __pyx_L1_error)
15005
15011
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15006
15012
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.function"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 3, __pyx_L1_error)
15007
15013
  __Pyx_GOTREF(__pyx_t_1);
15008
- __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.a_sync.function", "_ModifiedMixin",
15014
+ __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.a_sync.function", "_ModifiedMixin",
15009
15015
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
15010
- sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
15016
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
15011
15017
  #elif CYTHON_COMPILING_IN_LIMITED_API
15012
- sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
15018
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
15013
15019
  #else
15014
- sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
15020
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
15015
15021
  #endif
15016
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin) __PYX_ERR(2, 3, __pyx_L1_error)
15022
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin) __PYX_ERR(2, 3, __pyx_L1_error)
15017
15023
  __pyx_vtabptr_6a_sync_6a_sync_8function__ModifiedMixin = (struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ModifiedMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_8function__ModifiedMixin)) __PYX_ERR(2, 3, __pyx_L1_error)
15018
- __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.a_sync.function", "_ASyncFunction",
15024
+ __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.a_sync.function", "_ASyncFunction",
15019
15025
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
15020
- sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
15026
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
15021
15027
  #elif CYTHON_COMPILING_IN_LIMITED_API
15022
- sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
15028
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
15023
15029
  #else
15024
- sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
15030
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
15025
15031
  #endif
15026
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction) __PYX_ERR(2, 13, __pyx_L1_error)
15032
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction) __PYX_ERR(2, 13, __pyx_L1_error)
15027
15033
  __pyx_vtabptr_6a_sync_6a_sync_8function__ASyncFunction = (struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ASyncFunction*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_8function__ASyncFunction)) __PYX_ERR(2, 13, __pyx_L1_error)
15028
15034
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15029
15035
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.method"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 2, __pyx_L1_error)
15030
15036
  __Pyx_GOTREF(__pyx_t_1);
15031
- __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.a_sync.method", "_ASyncBoundMethod",
15037
+ __pyx_mstate->__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.a_sync.method", "_ASyncBoundMethod",
15032
15038
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
15033
- sizeof(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod),
15039
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod),
15034
15040
  #elif CYTHON_COMPILING_IN_LIMITED_API
15035
- sizeof(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod),
15041
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod),
15036
15042
  #else
15037
- sizeof(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod),
15043
+ sizeof(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod),
15038
15044
  #endif
15039
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod) __PYX_ERR(3, 2, __pyx_L1_error)
15045
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod) __PYX_ERR(3, 2, __pyx_L1_error)
15040
15046
  __pyx_vtabptr_6a_sync_6a_sync_6method__ASyncBoundMethod = (struct __pyx_vtabstruct_6a_sync_6a_sync_6method__ASyncBoundMethod*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_6method__ASyncBoundMethod)) __PYX_ERR(3, 2, __pyx_L1_error)
15041
15047
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15042
15048
  __pyx_t_1 = PyImport_ImportModule("a_sync.async_property.cached"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 6, __pyx_L1_error)
15043
15049
  __Pyx_GOTREF(__pyx_t_1);
15044
- __pyx_mstate->__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.async_property.cached", "AsyncCachedPropertyInstanceState",
15050
+ __pyx_mstate->__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.async_property.cached", "AsyncCachedPropertyInstanceState",
15045
15051
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
15046
- sizeof(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState),
15052
+ sizeof(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState),
15047
15053
  #elif CYTHON_COMPILING_IN_LIMITED_API
15048
- sizeof(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState),
15054
+ sizeof(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState),
15049
15055
  #else
15050
- sizeof(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState),
15056
+ sizeof(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState),
15051
15057
  #endif
15052
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState) __PYX_ERR(4, 6, __pyx_L1_error)
15058
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState) __PYX_ERR(4, 6, __pyx_L1_error)
15053
15059
  __pyx_vtabptr_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState = (struct __pyx_vtabstruct_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState); if (unlikely(!__pyx_vtabptr_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState)) __PYX_ERR(4, 6, __pyx_L1_error)
15054
15060
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15055
15061
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(5, 1, __pyx_L1_error)
15056
15062
  __Pyx_GOTREF(__pyx_t_1);
15057
- __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
15063
+ __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
15058
15064
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
15059
- 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),
15065
+ 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),
15060
15066
  #elif CYTHON_COMPILING_IN_LIMITED_API
15061
- 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),
15067
+ 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),
15062
15068
  #else
15063
- 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),
15069
+ 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),
15064
15070
  #endif
15065
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(5, 1, __pyx_L1_error)
15071
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(5, 1, __pyx_L1_error)
15066
15072
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15067
15073
  __Pyx_RefNannyFinishContext();
15068
15074
  return 0;
@@ -15083,7 +15089,7 @@ static int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate) {
15083
15089
  /*--- Variable import code ---*/
15084
15090
  __pyx_t_1 = PyImport_ImportModule("a_sync.async_property.cached"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
15085
15091
  __Pyx_GOTREF(__pyx_t_1);
15086
- if (__Pyx_ImportVoidPtr_3_1_3(__pyx_t_1, "ASYNC_PROPERTY_ATTR", (void **)&__pyx_vp_6a_sync_14async_property_6cached_ASYNC_PROPERTY_ATTR, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15092
+ if (__Pyx_ImportVoidPtr_3_1_4(__pyx_t_1, "ASYNC_PROPERTY_ATTR", (void **)&__pyx_vp_6a_sync_14async_property_6cached_ASYNC_PROPERTY_ATTR, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15087
15093
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15088
15094
  __Pyx_RefNannyFinishContext();
15089
15095
  return 0;
@@ -15104,25 +15110,25 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
15104
15110
  /*--- Function import code ---*/
15105
15111
  __pyx_t_1 = PyImport_ImportModule("a_sync._smart"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
15106
15112
  __Pyx_GOTREF(__pyx_t_1);
15107
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "shield", (void (**)(void))&__pyx_f_6a_sync_6_smart_shield, "PyObject *(PyObject *, int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15113
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "shield", (void (**)(void))&__pyx_f_6a_sync_6_smart_shield, "PyObject *(PyObject *, int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15108
15114
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15109
15115
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
15110
15116
  __Pyx_GOTREF(__pyx_t_1);
15111
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "_await", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__await, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15112
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "_asyncify", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__asyncify, "PyObject *(PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15117
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "_await", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__await, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15118
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "_asyncify", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__asyncify, "PyObject *(PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15113
15119
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15114
15120
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.method"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
15115
15121
  __Pyx_GOTREF(__pyx_t_1);
15116
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "_is_a_sync_instance", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6method__is_a_sync_instance, "int (PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15117
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "_update_cache_timer", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6method__update_cache_timer, "void (PyObject *, PyObject *, struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15122
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "_is_a_sync_instance", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6method__is_a_sync_instance, "int (PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15123
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "_update_cache_timer", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6method__update_cache_timer, "void (PyObject *, PyObject *, struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15118
15124
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15119
15125
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
15120
15126
  __Pyx_GOTREF(__pyx_t_1);
15121
- 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)
15127
+ 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)
15122
15128
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15123
15129
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
15124
15130
  __Pyx_GOTREF(__pyx_t_1);
15125
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "wraps", (void (**)(void))&__pyx_f_6a_sync_9functools_wraps, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15131
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "wraps", (void (**)(void))&__pyx_f_6a_sync_9functools_wraps, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
15126
15132
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15127
15133
  __Pyx_RefNannyFinishContext();
15128
15134
  return 0;
@@ -21150,6 +21156,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
21150
21156
  return -1;
21151
21157
  }
21152
21158
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
21159
+ Py_DECREF(bases);
21153
21160
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
21154
21161
  return -1;
21155
21162
  }
@@ -24900,15 +24907,15 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) {
24900
24907
  }
24901
24908
 
24902
24909
  /* TypeImport */
24903
- #ifndef __PYX_HAVE_RT_ImportType_3_1_3
24904
- #define __PYX_HAVE_RT_ImportType_3_1_3
24905
- static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
24906
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
24910
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_4
24911
+ #define __PYX_HAVE_RT_ImportType_3_1_4
24912
+ static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
24913
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
24907
24914
  {
24908
24915
  PyObject *result = 0;
24909
24916
  Py_ssize_t basicsize;
24910
24917
  Py_ssize_t itemsize;
24911
- #if CYTHON_COMPILING_IN_LIMITED_API
24918
+ #ifdef Py_LIMITED_API
24912
24919
  PyObject *py_basicsize;
24913
24920
  PyObject *py_itemsize;
24914
24921
  #endif
@@ -24921,7 +24928,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
24921
24928
  module_name, class_name);
24922
24929
  goto bad;
24923
24930
  }
24924
- #if !CYTHON_COMPILING_IN_LIMITED_API
24931
+ #ifndef Py_LIMITED_API
24925
24932
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
24926
24933
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
24927
24934
  #else
@@ -24959,7 +24966,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
24959
24966
  module_name, class_name, size, basicsize+itemsize);
24960
24967
  goto bad;
24961
24968
  }
24962
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
24969
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
24963
24970
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
24964
24971
  PyErr_Format(PyExc_ValueError,
24965
24972
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -24967,7 +24974,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
24967
24974
  module_name, class_name, size, basicsize, basicsize+itemsize);
24968
24975
  goto bad;
24969
24976
  }
24970
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
24977
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
24971
24978
  if (PyErr_WarnFormat(NULL, 0,
24972
24979
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
24973
24980
  "Expected %zd from C header, got %zd from PyObject",
@@ -26462,9 +26469,9 @@ static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObj
26462
26469
  }
26463
26470
 
26464
26471
  /* VoidPtrImport */
26465
- #ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_3
26466
- #define __PYX_HAVE_RT_ImportVoidPtr_3_1_3
26467
- static int __Pyx_ImportVoidPtr_3_1_3(PyObject *module, const char *name, void **p, const char *sig) {
26472
+ #ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_4
26473
+ #define __PYX_HAVE_RT_ImportVoidPtr_3_1_4
26474
+ static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig) {
26468
26475
  PyObject *d = 0;
26469
26476
  PyObject *cobj = 0;
26470
26477
  d = PyObject_GetAttrString(module, "__pyx_capi__");
@@ -26502,9 +26509,9 @@ bad:
26502
26509
  #endif
26503
26510
 
26504
26511
  /* FunctionImport */
26505
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
26506
- #define __PYX_HAVE_RT_ImportFunction_3_1_3
26507
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
26512
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
26513
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
26514
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
26508
26515
  PyObject *d = 0;
26509
26516
  PyObject *cobj = 0;
26510
26517
  union {
@@ -26606,6 +26613,10 @@ bad:
26606
26613
  PyCode_NewWithPosOnlyArgs
26607
26614
  #endif
26608
26615
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
26616
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
26617
+ if (likely(result))
26618
+ result->_co_firsttraceable = 0;
26619
+ #endif
26609
26620
  return result;
26610
26621
  }
26611
26622
  #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>
@@ -2085,18 +2085,18 @@ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
2085
2085
  if (!__Pyx_PyThreadState_Current->tracing) {\
2086
2086
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2087
2087
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2088
- if (unlikely(!__pyx_frame_code)) goto_error;\
2089
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2090
- }\
2088
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2089
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2090
+ } else __pyx_frame_code = NULL;\
2091
2091
  PyGILState_Release(state);\
2092
- }\
2092
+ } else __pyx_frame_code = NULL;\
2093
2093
  } else {\
2094
2094
  if (!__Pyx_PyThreadState_Current->tracing) {\
2095
2095
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2096
2096
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2097
- if (unlikely(!__pyx_frame_code)) goto_error;\
2098
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2099
- }\
2097
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2098
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2099
+ } else __pyx_frame_code = NULL;\
2100
2100
  }\
2101
2101
  if (unlikely(ret == -1)) goto_error;\
2102
2102
  }
@@ -2886,22 +2886,22 @@ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k);
2886
2886
  static int __Pyx_setup_reduce(PyObject* type_obj);
2887
2887
 
2888
2888
  /* TypeImport.proto */
2889
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
2890
- #define __PYX_HAVE_RT_ImportType_proto_3_1_3
2889
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
2890
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_4
2891
2891
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2892
2892
  #include <stdalign.h>
2893
2893
  #endif
2894
2894
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2895
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
2895
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
2896
2896
  #else
2897
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
2897
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
2898
2898
  #endif
2899
- enum __Pyx_ImportType_CheckSize_3_1_3 {
2900
- __Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
2901
- __Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
2902
- __Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
2899
+ enum __Pyx_ImportType_CheckSize_3_1_4 {
2900
+ __Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
2901
+ __Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
2902
+ __Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
2903
2903
  };
2904
- 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);
2904
+ 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);
2905
2905
  #endif
2906
2906
 
2907
2907
  /* Import.proto */
@@ -3100,7 +3100,7 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
3100
3100
  static int __Pyx_ExportVoidPtr(PyObject *name, void *p, const char *sig);
3101
3101
 
3102
3102
  /* FunctionImport.proto */
3103
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3103
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3104
3104
 
3105
3105
  /* MultiPhaseInitModuleState.proto */
3106
3106
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -11059,27 +11059,27 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
11059
11059
  /*--- Type import code ---*/
11060
11060
  __pyx_t_1 = PyImport_ImportModule("a_sync.async_property.proxy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 1, __pyx_L1_error)
11061
11061
  __Pyx_GOTREF(__pyx_t_1);
11062
- __pyx_mstate->__pyx_ptype_6a_sync_14async_property_5proxy_AwaitableOnly = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.async_property.proxy", "AwaitableOnly",
11062
+ __pyx_mstate->__pyx_ptype_6a_sync_14async_property_5proxy_AwaitableOnly = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.async_property.proxy", "AwaitableOnly",
11063
11063
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
11064
- sizeof(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly),
11064
+ sizeof(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly),
11065
11065
  #elif CYTHON_COMPILING_IN_LIMITED_API
11066
- sizeof(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly),
11066
+ sizeof(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly),
11067
11067
  #else
11068
- sizeof(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly),
11068
+ sizeof(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly),
11069
11069
  #endif
11070
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_14async_property_5proxy_AwaitableOnly) __PYX_ERR(3, 1, __pyx_L1_error)
11070
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_14async_property_5proxy_AwaitableOnly) __PYX_ERR(3, 1, __pyx_L1_error)
11071
11071
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11072
11072
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 1, __pyx_L1_error)
11073
11073
  __Pyx_GOTREF(__pyx_t_1);
11074
- __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
11074
+ __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
11075
11075
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
11076
- 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),
11076
+ 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),
11077
11077
  #elif CYTHON_COMPILING_IN_LIMITED_API
11078
- 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),
11078
+ 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),
11079
11079
  #else
11080
- 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),
11080
+ 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),
11081
11081
  #endif
11082
- __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(4, 1, __pyx_L1_error)
11082
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(4, 1, __pyx_L1_error)
11083
11083
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11084
11084
  __Pyx_RefNannyFinishContext();
11085
11085
  return 0;
@@ -11109,11 +11109,11 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
11109
11109
  /*--- Function import code ---*/
11110
11110
  __pyx_t_1 = PyImport_ImportModule("a_sync._smart"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
11111
11111
  __Pyx_GOTREF(__pyx_t_1);
11112
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "shield", (void (**)(void))&__pyx_f_6a_sync_6_smart_shield, "PyObject *(PyObject *, int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
11112
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "shield", (void (**)(void))&__pyx_f_6a_sync_6_smart_shield, "PyObject *(PyObject *, int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
11113
11113
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11114
11114
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
11115
11115
  __Pyx_GOTREF(__pyx_t_1);
11116
- if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "update_wrapper", (void (**)(void))&__pyx_f_6a_sync_9functools_update_wrapper, "PyObject *(PyObject *, PyObject *, int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
11116
+ if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "update_wrapper", (void (**)(void))&__pyx_f_6a_sync_9functools_update_wrapper, "PyObject *(PyObject *, PyObject *, int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
11117
11117
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11118
11118
  __Pyx_RefNannyFinishContext();
11119
11119
  return 0;
@@ -14604,6 +14604,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
14604
14604
  return -1;
14605
14605
  }
14606
14606
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
14607
+ Py_DECREF(bases);
14607
14608
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
14608
14609
  return -1;
14609
14610
  }
@@ -17931,15 +17932,15 @@ __PYX_GOOD:
17931
17932
  }
17932
17933
 
17933
17934
  /* TypeImport */
17934
- #ifndef __PYX_HAVE_RT_ImportType_3_1_3
17935
- #define __PYX_HAVE_RT_ImportType_3_1_3
17936
- static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
17937
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
17935
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_4
17936
+ #define __PYX_HAVE_RT_ImportType_3_1_4
17937
+ static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
17938
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
17938
17939
  {
17939
17940
  PyObject *result = 0;
17940
17941
  Py_ssize_t basicsize;
17941
17942
  Py_ssize_t itemsize;
17942
- #if CYTHON_COMPILING_IN_LIMITED_API
17943
+ #ifdef Py_LIMITED_API
17943
17944
  PyObject *py_basicsize;
17944
17945
  PyObject *py_itemsize;
17945
17946
  #endif
@@ -17952,7 +17953,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
17952
17953
  module_name, class_name);
17953
17954
  goto bad;
17954
17955
  }
17955
- #if !CYTHON_COMPILING_IN_LIMITED_API
17956
+ #ifndef Py_LIMITED_API
17956
17957
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
17957
17958
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
17958
17959
  #else
@@ -17990,7 +17991,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
17990
17991
  module_name, class_name, size, basicsize+itemsize);
17991
17992
  goto bad;
17992
17993
  }
17993
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
17994
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
17994
17995
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
17995
17996
  PyErr_Format(PyExc_ValueError,
17996
17997
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -17998,7 +17999,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
17998
17999
  module_name, class_name, size, basicsize, basicsize+itemsize);
17999
18000
  goto bad;
18000
18001
  }
18001
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
18002
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
18002
18003
  if (PyErr_WarnFormat(NULL, 0,
18003
18004
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
18004
18005
  "Expected %zd from C header, got %zd from PyObject",
@@ -19518,9 +19519,9 @@ bad:
19518
19519
  }
19519
19520
 
19520
19521
  /* FunctionImport */
19521
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
19522
- #define __PYX_HAVE_RT_ImportFunction_3_1_3
19523
- static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
19522
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
19523
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
19524
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
19524
19525
  PyObject *d = 0;
19525
19526
  PyObject *cobj = 0;
19526
19527
  union {
@@ -19622,6 +19623,10 @@ bad:
19622
19623
  PyCode_NewWithPosOnlyArgs
19623
19624
  #endif
19624
19625
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
19626
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
19627
+ if (likely(result))
19628
+ result->_co_firsttraceable = 0;
19629
+ #endif
19625
19630
  return result;
19626
19631
  }
19627
19632
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY