ez-a-sync 0.32.26__cp312-cp312-win_amd64.whl → 0.32.27__cp312-cp312-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 (66) hide show
  1. a_sync/_smart.c +44 -29
  2. a_sync/_smart.cp312-win_amd64.pyd +0 -0
  3. a_sync/a_sync/_descriptor.c +64 -49
  4. a_sync/a_sync/_descriptor.cp312-win_amd64.pyd +0 -0
  5. a_sync/a_sync/_flags.c +13 -10
  6. a_sync/a_sync/_flags.cp312-win_amd64.pyd +0 -0
  7. a_sync/a_sync/_helpers.c +62 -47
  8. a_sync/a_sync/_helpers.cp312-win_amd64.pyd +0 -0
  9. a_sync/a_sync/_kwargs.c +33 -18
  10. a_sync/a_sync/_kwargs.cp312-win_amd64.pyd +0 -0
  11. a_sync/a_sync/abstract.c +18 -11
  12. a_sync/a_sync/abstract.cp312-win_amd64.pyd +0 -0
  13. a_sync/a_sync/base.c +168 -153
  14. a_sync/a_sync/base.cp312-win_amd64.pyd +0 -0
  15. a_sync/a_sync/flags.c +6 -3
  16. a_sync/a_sync/flags.cp312-win_amd64.pyd +0 -0
  17. a_sync/a_sync/function.c +83 -68
  18. a_sync/a_sync/function.cp312-win_amd64.pyd +0 -0
  19. a_sync/a_sync/method.c +123 -108
  20. a_sync/a_sync/method.cp312-win_amd64.pyd +0 -0
  21. a_sync/a_sync/modifiers/manager.c +46 -31
  22. a_sync/a_sync/modifiers/manager.cp312-win_amd64.pyd +0 -0
  23. a_sync/a_sync/property.c +82 -67
  24. a_sync/a_sync/property.cp312-win_amd64.pyd +0 -0
  25. a_sync/async_property/cached.c +57 -42
  26. a_sync/async_property/cached.cp312-win_amd64.pyd +0 -0
  27. a_sync/async_property/proxy.c +24 -9
  28. a_sync/async_property/proxy.cp312-win_amd64.pyd +0 -0
  29. a_sync/asyncio/as_completed.c +21 -6
  30. a_sync/asyncio/as_completed.cp312-win_amd64.pyd +0 -0
  31. a_sync/asyncio/create_task.c +23 -8
  32. a_sync/asyncio/create_task.cp312-win_amd64.pyd +0 -0
  33. a_sync/asyncio/gather.c +30 -15
  34. a_sync/asyncio/gather.cp312-win_amd64.pyd +0 -0
  35. a_sync/asyncio/igather.c +24 -9
  36. a_sync/asyncio/igather.cp312-win_amd64.pyd +0 -0
  37. a_sync/asyncio/sleep.c +19 -4
  38. a_sync/asyncio/sleep.cp312-win_amd64.pyd +0 -0
  39. a_sync/debugging.c +45 -30
  40. a_sync/debugging.cp312-win_amd64.pyd +0 -0
  41. a_sync/exceptions.c +18 -11
  42. a_sync/exceptions.cp312-win_amd64.pyd +0 -0
  43. a_sync/executor.py +44 -0
  44. a_sync/functools.c +24 -9
  45. a_sync/functools.cp312-win_amd64.pyd +0 -0
  46. a_sync/iter.c +87 -72
  47. a_sync/iter.cp312-win_amd64.pyd +0 -0
  48. a_sync/primitives/_debug.c +55 -40
  49. a_sync/primitives/_debug.cp312-win_amd64.pyd +0 -0
  50. a_sync/primitives/_loggable.c +25 -10
  51. a_sync/primitives/_loggable.cp312-win_amd64.pyd +0 -0
  52. a_sync/primitives/locks/counter.c +65 -50
  53. a_sync/primitives/locks/counter.cp312-win_amd64.pyd +0 -0
  54. a_sync/primitives/locks/event.c +61 -45
  55. a_sync/primitives/locks/event.cp312-win_amd64.pyd +0 -0
  56. a_sync/primitives/locks/prio_semaphore.c +80 -65
  57. a_sync/primitives/locks/prio_semaphore.cp312-win_amd64.pyd +0 -0
  58. a_sync/primitives/locks/semaphore.c +65 -50
  59. a_sync/primitives/locks/semaphore.cp312-win_amd64.pyd +0 -0
  60. a_sync/utils/repr.c +41 -26
  61. a_sync/utils/repr.cp312-win_amd64.pyd +0 -0
  62. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/METADATA +1 -1
  63. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/RECORD +66 -66
  64. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/WHEEL +0 -0
  65. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/licenses/LICENSE.txt +0 -0
  66. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.2 */
1
+ /* Generated by Cython 3.1.3 */
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_2"
33
- #define CYTHON_HEX_VERSION 0x030102F0
32
+ #define __PYX_ABI_VERSION "3_1_3"
33
+ #define CYTHON_HEX_VERSION 0x030103F0
34
34
  #define CYTHON_FUTURE_DIVISION 1
35
35
  /* CModulePreamble */
36
36
  #include <stddef.h>
@@ -393,6 +393,9 @@ END: Cython Metadata */
393
393
  enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
394
394
  #endif
395
395
  #endif
396
+ #ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
397
+ #define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
398
+ #endif
396
399
  #ifndef __has_attribute
397
400
  #define __has_attribute(x) 0
398
401
  #endif
@@ -2883,22 +2886,22 @@ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k);
2883
2886
  static int __Pyx_setup_reduce(PyObject* type_obj);
2884
2887
 
2885
2888
  /* TypeImport.proto */
2886
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_2
2887
- #define __PYX_HAVE_RT_ImportType_proto_3_1_2
2889
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
2890
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_3
2888
2891
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2889
2892
  #include <stdalign.h>
2890
2893
  #endif
2891
2894
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2892
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) alignof(s)
2895
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
2893
2896
  #else
2894
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) sizeof(void*)
2897
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
2895
2898
  #endif
2896
- enum __Pyx_ImportType_CheckSize_3_1_2 {
2897
- __Pyx_ImportType_CheckSize_Error_3_1_2 = 0,
2898
- __Pyx_ImportType_CheckSize_Warn_3_1_2 = 1,
2899
- __Pyx_ImportType_CheckSize_Ignore_3_1_2 = 2
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
2900
2903
  };
2901
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size);
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);
2902
2905
  #endif
2903
2906
 
2904
2907
  /* Import.proto */
@@ -3097,7 +3100,7 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
3097
3100
  static int __Pyx_ExportVoidPtr(PyObject *name, void *p, const char *sig);
3098
3101
 
3099
3102
  /* FunctionImport.proto */
3100
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3103
+ static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3101
3104
 
3102
3105
  /* MultiPhaseInitModuleState.proto */
3103
3106
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -11056,27 +11059,27 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
11056
11059
  /*--- Type import code ---*/
11057
11060
  __pyx_t_1 = PyImport_ImportModule("a_sync.async_property.proxy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 1, __pyx_L1_error)
11058
11061
  __Pyx_GOTREF(__pyx_t_1);
11059
- __pyx_mstate->__pyx_ptype_6a_sync_14async_property_5proxy_AwaitableOnly = __Pyx_ImportType_3_1_2(__pyx_t_1, "a_sync.async_property.proxy", "AwaitableOnly",
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",
11060
11063
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
11061
- sizeof(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(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_3(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly),
11062
11065
  #elif CYTHON_COMPILING_IN_LIMITED_API
11063
- sizeof(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(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_3(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly),
11064
11067
  #else
11065
- sizeof(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(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_3(struct __pyx_obj_6a_sync_14async_property_5proxy_AwaitableOnly),
11066
11069
  #endif
11067
- __Pyx_ImportType_CheckSize_Warn_3_1_2); 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_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_14async_property_5proxy_AwaitableOnly) __PYX_ERR(3, 1, __pyx_L1_error)
11068
11071
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11069
11072
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 1, __pyx_L1_error)
11070
11073
  __Pyx_GOTREF(__pyx_t_1);
11071
- __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_2(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
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",
11072
11075
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
11073
- sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(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_3(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
11074
11077
  #elif CYTHON_COMPILING_IN_LIMITED_API
11075
- sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(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_3(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
11076
11079
  #else
11077
- sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(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_3(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
11078
11081
  #endif
11079
- __Pyx_ImportType_CheckSize_Warn_3_1_2); 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_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(4, 1, __pyx_L1_error)
11080
11083
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11081
11084
  __Pyx_RefNannyFinishContext();
11082
11085
  return 0;
@@ -11106,11 +11109,11 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
11106
11109
  /*--- Function import code ---*/
11107
11110
  __pyx_t_1 = PyImport_ImportModule("a_sync._smart"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
11108
11111
  __Pyx_GOTREF(__pyx_t_1);
11109
- if (__Pyx_ImportFunction_3_1_2(__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_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)
11110
11113
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11111
11114
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
11112
11115
  __Pyx_GOTREF(__pyx_t_1);
11113
- if (__Pyx_ImportFunction_3_1_2(__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_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)
11114
11117
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11115
11118
  __Pyx_RefNannyFinishContext();
11116
11119
  return 0;
@@ -11404,7 +11407,7 @@ __Pyx_RefNannySetupContext("PyInit_cached", 0);
11404
11407
  (void)__Pyx_modinit_variable_import_code(__pyx_mstate);
11405
11408
  if (unlikely((__Pyx_modinit_function_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
11406
11409
  /*--- Execution code ---*/
11407
- __Pyx_TraceStartFunc("PyInit_cached", __pyx_f[0], 1, 0, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
11410
+ __Pyx_TraceStartFunc("PyInit_cached", __pyx_f[0], 1, 1, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
11408
11411
 
11409
11412
  /* "a_sync/async_property/cached.pyx":1
11410
11413
  * import asyncio # <<<<<<<<<<<<<<
@@ -11698,7 +11701,7 @@ __Pyx_RefNannySetupContext("PyInit_cached", 0);
11698
11701
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
11699
11702
  * def __setstate_cython__(self, __pyx_state):
11700
11703
  */
11701
- __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
11704
+ __Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
11702
11705
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_14async_property_6cached_32AsyncCachedPropertyInstanceState_3__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AsyncCachedPropertyInstanceState_2, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_async_property_cached, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[6])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
11703
11706
  __Pyx_GOTREF(__pyx_t_3);
11704
11707
  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)
@@ -11996,12 +11999,12 @@ __Pyx_RefNannySetupContext("PyInit_cached", 0);
11996
11999
  * import collections
11997
12000
  * import functools
11998
12001
  */
11999
- __Pyx_TraceLine(1,0,0,__PYX_ERR(0, 1, __pyx_L1_error))
12002
+ __Pyx_TraceLine(1,1,0,__PYX_ERR(0, 1, __pyx_L1_error))
12000
12003
  __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error)
12001
12004
  __Pyx_GOTREF(__pyx_t_3);
12002
12005
  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)
12003
12006
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
12004
- __Pyx_TraceReturnValue(Py_None, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
12007
+ __Pyx_TraceReturnValue(Py_None, 1, 0, __PYX_ERR(0, 1, __pyx_L1_error));
12005
12008
  __Pyx_PyMonitoring_ExitScope(0);
12006
12009
 
12007
12010
  /*--- Wrapped vars code ---*/
@@ -12012,7 +12015,7 @@ __Pyx_RefNannySetupContext("PyInit_cached", 0);
12012
12015
  __Pyx_XDECREF(__pyx_t_3);
12013
12016
  __Pyx_XDECREF(__pyx_t_4);
12014
12017
  __Pyx_TraceException(__pyx_lineno, 0, 0);
12015
- __Pyx_TraceExceptionUnwind(0, 0);
12018
+ __Pyx_TraceExceptionUnwind(1, 0);
12016
12019
  if (__pyx_m) {
12017
12020
  if (__pyx_mstate->__pyx_d && stringtab_initialized) {
12018
12021
  __Pyx_AddTraceback("init a_sync.async_property.cached", __pyx_clineno, __pyx_lineno, __pyx_filename);
@@ -14386,6 +14389,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
14386
14389
  changed = 1;
14387
14390
  }
14388
14391
  #endif // CYTHON_METH_FASTCALL
14392
+ #if !CYTHON_COMPILING_IN_PYPY
14389
14393
  else if (strcmp(memb->name, "__module__") == 0) {
14390
14394
  PyObject *descr;
14391
14395
  assert(memb->type == T_OBJECT);
@@ -14400,11 +14404,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
14400
14404
  }
14401
14405
  changed = 1;
14402
14406
  }
14407
+ #endif // !CYTHON_COMPILING_IN_PYPY
14403
14408
  }
14404
14409
  memb++;
14405
14410
  }
14406
14411
  }
14407
14412
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
14413
+ #if !CYTHON_COMPILING_IN_PYPY
14408
14414
  slot = spec->slots;
14409
14415
  while (slot && slot->slot && slot->slot != Py_tp_getset)
14410
14416
  slot++;
@@ -14436,6 +14442,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
14436
14442
  ++getset;
14437
14443
  }
14438
14444
  }
14445
+ #endif // !CYTHON_COMPILING_IN_PYPY
14439
14446
  if (changed)
14440
14447
  PyType_Modified(type);
14441
14448
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -14568,7 +14575,7 @@ bad:
14568
14575
  }
14569
14576
 
14570
14577
  /* CommonTypesMetaclass */
14571
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
14578
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
14572
14579
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
14573
14580
  }
14574
14581
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -14802,7 +14809,7 @@ try_unpack:
14802
14809
  }
14803
14810
 
14804
14811
  /* PyObjectCallMethod1 */
14805
- #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
14812
+ #if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
14806
14813
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
14807
14814
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
14808
14815
  Py_DECREF(method);
@@ -14810,7 +14817,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
14810
14817
  }
14811
14818
  #endif
14812
14819
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
14813
- #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
14820
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
14814
14821
  PyObject *args[2] = {obj, arg};
14815
14822
  (void) __Pyx_PyObject_GetMethod;
14816
14823
  (void) __Pyx_PyObject_CallOneArg;
@@ -17475,6 +17482,13 @@ static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, Py
17475
17482
 
17476
17483
  /* PyObjectCallMethod0 */
17477
17484
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
17485
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
17486
+ PyObject *args[1] = {obj};
17487
+ (void) __Pyx_PyObject_GetMethod;
17488
+ (void) __Pyx_PyObject_CallOneArg;
17489
+ (void) __Pyx_PyObject_CallNoArg;
17490
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
17491
+ #else
17478
17492
  PyObject *method = NULL, *result = NULL;
17479
17493
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
17480
17494
  if (likely(is_method)) {
@@ -17487,6 +17501,7 @@ static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, Py
17487
17501
  Py_DECREF(method);
17488
17502
  bad:
17489
17503
  return result;
17504
+ #endif
17490
17505
  }
17491
17506
 
17492
17507
  /* ValidateBasesTuple */
@@ -17916,10 +17931,10 @@ __PYX_GOOD:
17916
17931
  }
17917
17932
 
17918
17933
  /* TypeImport */
17919
- #ifndef __PYX_HAVE_RT_ImportType_3_1_2
17920
- #define __PYX_HAVE_RT_ImportType_3_1_2
17921
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module_name, const char *class_name,
17922
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size)
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)
17923
17938
  {
17924
17939
  PyObject *result = 0;
17925
17940
  Py_ssize_t basicsize;
@@ -17975,7 +17990,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
17975
17990
  module_name, class_name, size, basicsize+itemsize);
17976
17991
  goto bad;
17977
17992
  }
17978
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_2 &&
17993
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
17979
17994
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
17980
17995
  PyErr_Format(PyExc_ValueError,
17981
17996
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -17983,7 +17998,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
17983
17998
  module_name, class_name, size, basicsize, basicsize+itemsize);
17984
17999
  goto bad;
17985
18000
  }
17986
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_2 && (size_t)basicsize > size) {
18001
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
17987
18002
  if (PyErr_WarnFormat(NULL, 0,
17988
18003
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
17989
18004
  "Expected %zd from C header, got %zd from PyObject",
@@ -19503,9 +19518,9 @@ bad:
19503
19518
  }
19504
19519
 
19505
19520
  /* FunctionImport */
19506
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_2
19507
- #define __PYX_HAVE_RT_ImportFunction_3_1_2
19508
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
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) {
19509
19524
  PyObject *d = 0;
19510
19525
  PyObject *cobj = 0;
19511
19526
  union {
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.2 */
1
+ /* Generated by Cython 3.1.3 */
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_2"
33
- #define CYTHON_HEX_VERSION 0x030102F0
32
+ #define __PYX_ABI_VERSION "3_1_3"
33
+ #define CYTHON_HEX_VERSION 0x030103F0
34
34
  #define CYTHON_FUTURE_DIVISION 1
35
35
  /* CModulePreamble */
36
36
  #include <stddef.h>
@@ -393,6 +393,9 @@ END: Cython Metadata */
393
393
  enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
394
394
  #endif
395
395
  #endif
396
+ #ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
397
+ #define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
398
+ #endif
396
399
  #ifndef __has_attribute
397
400
  #define __has_attribute(x) 0
398
401
  #endif
@@ -2499,7 +2502,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *, PyObject *);
2499
2502
  static PyObject *__Pyx_PyLong_AbsNeg(PyObject *num);
2500
2503
  #define __Pyx_PyNumber_Absolute(x)\
2501
2504
  ((likely(PyLong_CheckExact(x))) ?\
2502
- (likely(__Pyx_PyLong_IsNonNeg(x)) ? (Py_INCREF(x), (x)) : __Pyx_PyLong_AbsNeg(x)) :\
2505
+ (likely(__Pyx_PyLong_IsNonNeg(x)) ? __Pyx_NewRef(x) : __Pyx_PyLong_AbsNeg(x)) :\
2503
2506
  PyNumber_Absolute(x))
2504
2507
  #else
2505
2508
  #define __Pyx_PyNumber_Absolute(x) PyNumber_Absolute(x)
@@ -3267,7 +3270,7 @@ static const char __pyx_k_ne[] = "__ne__";
3267
3270
  static const char __pyx_k_or[] = "__or__";
3268
3271
  static const char __pyx_k_A_2[] = "\200A\330\010\016\320\016!\240\021\330\020\021";
3269
3272
  static const char __pyx_k_A_L[] = "\200A\330\010\014\210L\230\001\230\027\240\001";
3270
- static const char __pyx_k_A_a[] = "\200A\330\010\020\220\001\220\026\220\240a\360\020\000\t\n";
3273
+ static const char __pyx_k_A_a[] = "\200A\330\010\020\220\001\220\026\220\177\240a\360\020\000\t\n";
3271
3274
  static const char __pyx_k_A_t[] = "\200A\330\010\017\210t\220=\240\002\240!";
3272
3275
  static const char __pyx_k_abs[] = "__abs__";
3273
3276
  static const char __pyx_k_add[] = "__add__";
@@ -28567,7 +28570,7 @@ static PyObject *__Pyx_PyLong_AbsNeg(PyObject *n) {
28567
28570
  PyObject *copy = _PyLong_Copy((PyLongObject*)n);
28568
28571
  if (likely(copy)) {
28569
28572
  #if PY_VERSION_HEX >= 0x030C00A7
28570
- ((PyLongObject*)copy)->long_value.lv_tag = ((PyLongObject*)copy)->long_value.lv_tag & ~_PyLong_SIGN_MASK;
28573
+ ((PyLongObject*)copy)->long_value.lv_tag ^= ((PyLongObject*)copy)->long_value.lv_tag & _PyLong_SIGN_MASK;
28571
28574
  #else
28572
28575
  __Pyx_SET_SIZE(copy, -Py_SIZE(copy));
28573
28576
  #endif
@@ -29094,6 +29097,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
29094
29097
  changed = 1;
29095
29098
  }
29096
29099
  #endif // CYTHON_METH_FASTCALL
29100
+ #if !CYTHON_COMPILING_IN_PYPY
29097
29101
  else if (strcmp(memb->name, "__module__") == 0) {
29098
29102
  PyObject *descr;
29099
29103
  assert(memb->type == T_OBJECT);
@@ -29108,11 +29112,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
29108
29112
  }
29109
29113
  changed = 1;
29110
29114
  }
29115
+ #endif // !CYTHON_COMPILING_IN_PYPY
29111
29116
  }
29112
29117
  memb++;
29113
29118
  }
29114
29119
  }
29115
29120
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
29121
+ #if !CYTHON_COMPILING_IN_PYPY
29116
29122
  slot = spec->slots;
29117
29123
  while (slot && slot->slot && slot->slot != Py_tp_getset)
29118
29124
  slot++;
@@ -29144,6 +29150,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
29144
29150
  ++getset;
29145
29151
  }
29146
29152
  }
29153
+ #endif // !CYTHON_COMPILING_IN_PYPY
29147
29154
  if (changed)
29148
29155
  PyType_Modified(type);
29149
29156
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -29276,7 +29283,7 @@ bad:
29276
29283
  }
29277
29284
 
29278
29285
  /* CommonTypesMetaclass */
29279
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
29286
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
29280
29287
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
29281
29288
  }
29282
29289
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -29504,7 +29511,7 @@ try_unpack:
29504
29511
  }
29505
29512
 
29506
29513
  /* PyObjectCallMethod1 */
29507
- #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
29514
+ #if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
29508
29515
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
29509
29516
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
29510
29517
  Py_DECREF(method);
@@ -29512,7 +29519,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
29512
29519
  }
29513
29520
  #endif
29514
29521
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
29515
- #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
29522
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
29516
29523
  PyObject *args[2] = {obj, arg};
29517
29524
  (void) __Pyx_PyObject_GetMethod;
29518
29525
  (void) __Pyx_PyObject_CallOneArg;
@@ -31063,6 +31070,13 @@ bad:
31063
31070
 
31064
31071
  /* PyObjectCallMethod0 */
31065
31072
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
31073
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
31074
+ PyObject *args[1] = {obj};
31075
+ (void) __Pyx_PyObject_GetMethod;
31076
+ (void) __Pyx_PyObject_CallOneArg;
31077
+ (void) __Pyx_PyObject_CallNoArg;
31078
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
31079
+ #else
31066
31080
  PyObject *method = NULL, *result = NULL;
31067
31081
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
31068
31082
  if (likely(is_method)) {
@@ -31075,6 +31089,7 @@ bad:
31075
31089
  Py_DECREF(method);
31076
31090
  bad:
31077
31091
  return result;
31092
+ #endif
31078
31093
  }
31079
31094
 
31080
31095
  /* ValidateBasesTuple */
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.2 */
1
+ /* Generated by Cython 3.1.3 */
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_2"
33
- #define CYTHON_HEX_VERSION 0x030102F0
32
+ #define __PYX_ABI_VERSION "3_1_3"
33
+ #define CYTHON_HEX_VERSION 0x030103F0
34
34
  #define CYTHON_FUTURE_DIVISION 1
35
35
  /* CModulePreamble */
36
36
  #include <stddef.h>
@@ -393,6 +393,9 @@ END: Cython Metadata */
393
393
  enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
394
394
  #endif
395
395
  #endif
396
+ #ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
397
+ #define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
398
+ #endif
396
399
  #ifndef __has_attribute
397
400
  #define __has_attribute(x) 0
398
401
  #endif
@@ -11503,6 +11506,13 @@ try_unpack:
11503
11506
 
11504
11507
  /* PyObjectCallMethod0 */
11505
11508
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
11509
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
11510
+ PyObject *args[1] = {obj};
11511
+ (void) __Pyx_PyObject_GetMethod;
11512
+ (void) __Pyx_PyObject_CallOneArg;
11513
+ (void) __Pyx_PyObject_CallNoArg;
11514
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
11515
+ #else
11506
11516
  PyObject *method = NULL, *result = NULL;
11507
11517
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
11508
11518
  if (likely(is_method)) {
@@ -11515,6 +11525,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
11515
11525
  Py_DECREF(method);
11516
11526
  bad:
11517
11527
  return result;
11528
+ #endif
11518
11529
  }
11519
11530
 
11520
11531
  /* RaiseNeedMoreValuesToUnpack */
@@ -12035,6 +12046,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
12035
12046
  changed = 1;
12036
12047
  }
12037
12048
  #endif // CYTHON_METH_FASTCALL
12049
+ #if !CYTHON_COMPILING_IN_PYPY
12038
12050
  else if (strcmp(memb->name, "__module__") == 0) {
12039
12051
  PyObject *descr;
12040
12052
  assert(memb->type == T_OBJECT);
@@ -12049,11 +12061,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
12049
12061
  }
12050
12062
  changed = 1;
12051
12063
  }
12064
+ #endif // !CYTHON_COMPILING_IN_PYPY
12052
12065
  }
12053
12066
  memb++;
12054
12067
  }
12055
12068
  }
12056
12069
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
12070
+ #if !CYTHON_COMPILING_IN_PYPY
12057
12071
  slot = spec->slots;
12058
12072
  while (slot && slot->slot && slot->slot != Py_tp_getset)
12059
12073
  slot++;
@@ -12085,6 +12099,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
12085
12099
  ++getset;
12086
12100
  }
12087
12101
  }
12102
+ #endif // !CYTHON_COMPILING_IN_PYPY
12088
12103
  if (changed)
12089
12104
  PyType_Modified(type);
12090
12105
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -12217,7 +12232,7 @@ bad:
12217
12232
  }
12218
12233
 
12219
12234
  /* CommonTypesMetaclass */
12220
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
12235
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
12221
12236
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
12222
12237
  }
12223
12238
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -12437,7 +12452,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyOb
12437
12452
  }
12438
12453
 
12439
12454
  /* PyObjectCallMethod1 */
12440
- #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
12455
+ #if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
12441
12456
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
12442
12457
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
12443
12458
  Py_DECREF(method);
@@ -12445,7 +12460,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
12445
12460
  }
12446
12461
  #endif
12447
12462
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
12448
- #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
12463
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
12449
12464
  PyObject *args[2] = {obj, arg};
12450
12465
  (void) __Pyx_PyObject_GetMethod;
12451
12466
  (void) __Pyx_PyObject_CallOneArg;
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.2 */
1
+ /* Generated by Cython 3.1.3 */
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_2"
34
- #define CYTHON_HEX_VERSION 0x030102F0
33
+ #define __PYX_ABI_VERSION "3_1_3"
34
+ #define CYTHON_HEX_VERSION 0x030103F0
35
35
  #define CYTHON_FUTURE_DIVISION 1
36
36
  /* CModulePreamble */
37
37
  #include <stddef.h>
@@ -394,6 +394,9 @@ END: Cython Metadata */
394
394
  enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
395
395
  #endif
396
396
  #endif
397
+ #ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
398
+ #define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
399
+ #endif
397
400
  #ifndef __has_attribute
398
401
  #define __has_attribute(x) 0
399
402
  #endif
@@ -4771,8 +4774,8 @@ static CYTHON_INLINE void __pyx_f_6a_sync_7asyncio_11create_task___set_task_name
4771
4774
  __Pyx_TraceLine(147,5,0,__PYX_ERR(0, 147, __pyx_L1_error))
4772
4775
  __pyx_t_1 = __Pyx_GetAttr3(__pyx_v_task, __pyx_mstate_global->__pyx_n_u_set_name, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 147, __pyx_L1_error)
4773
4776
  __Pyx_GOTREF(__pyx_t_1);
4774
- __pyx_v_set_name = __pyx_t_1;
4775
4777
  __Pyx_INCREF(__pyx_t_1);
4778
+ __pyx_v_set_name = __pyx_t_1;
4776
4779
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 147, __pyx_L1_error)
4777
4780
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4778
4781
  if (__pyx_t_2) {
@@ -5011,8 +5014,8 @@ static PyObject *__pyx_pf_6a_sync_7asyncio_11create_task_2_persisted_task_callba
5011
5014
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 164, __pyx_L1_error)
5012
5015
  __Pyx_GOTREF(__pyx_t_1);
5013
5016
  }
5014
- __pyx_v_exc = __pyx_t_1;
5015
5017
  __Pyx_INCREF(__pyx_t_1);
5018
+ __pyx_v_exc = __pyx_t_1;
5016
5019
  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 164, __pyx_L1_error)
5017
5020
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5018
5021
  if (__pyx_t_4) {
@@ -10273,6 +10276,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
10273
10276
  changed = 1;
10274
10277
  }
10275
10278
  #endif // CYTHON_METH_FASTCALL
10279
+ #if !CYTHON_COMPILING_IN_PYPY
10276
10280
  else if (strcmp(memb->name, "__module__") == 0) {
10277
10281
  PyObject *descr;
10278
10282
  assert(memb->type == T_OBJECT);
@@ -10287,11 +10291,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
10287
10291
  }
10288
10292
  changed = 1;
10289
10293
  }
10294
+ #endif // !CYTHON_COMPILING_IN_PYPY
10290
10295
  }
10291
10296
  memb++;
10292
10297
  }
10293
10298
  }
10294
10299
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
10300
+ #if !CYTHON_COMPILING_IN_PYPY
10295
10301
  slot = spec->slots;
10296
10302
  while (slot && slot->slot && slot->slot != Py_tp_getset)
10297
10303
  slot++;
@@ -10323,6 +10329,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
10323
10329
  ++getset;
10324
10330
  }
10325
10331
  }
10332
+ #endif // !CYTHON_COMPILING_IN_PYPY
10326
10333
  if (changed)
10327
10334
  PyType_Modified(type);
10328
10335
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -10455,7 +10462,7 @@ bad:
10455
10462
  }
10456
10463
 
10457
10464
  /* CommonTypesMetaclass */
10458
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
10465
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
10459
10466
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
10460
10467
  }
10461
10468
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -10771,7 +10778,7 @@ try_unpack:
10771
10778
  }
10772
10779
 
10773
10780
  /* PyObjectCallMethod1 */
10774
- #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
10781
+ #if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
10775
10782
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
10776
10783
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
10777
10784
  Py_DECREF(method);
@@ -10779,7 +10786,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
10779
10786
  }
10780
10787
  #endif
10781
10788
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
10782
- #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
10789
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
10783
10790
  PyObject *args[2] = {obj, arg};
10784
10791
  (void) __Pyx_PyObject_GetMethod;
10785
10792
  (void) __Pyx_PyObject_CallOneArg;
@@ -12428,6 +12435,13 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
12428
12435
 
12429
12436
  /* PyObjectCallMethod0 */
12430
12437
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
12438
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
12439
+ PyObject *args[1] = {obj};
12440
+ (void) __Pyx_PyObject_GetMethod;
12441
+ (void) __Pyx_PyObject_CallOneArg;
12442
+ (void) __Pyx_PyObject_CallNoArg;
12443
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
12444
+ #else
12431
12445
  PyObject *method = NULL, *result = NULL;
12432
12446
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
12433
12447
  if (likely(is_method)) {
@@ -12440,6 +12454,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
12440
12454
  Py_DECREF(method);
12441
12455
  bad:
12442
12456
  return result;
12457
+ #endif
12443
12458
  }
12444
12459
 
12445
12460
  /* ValidateBasesTuple */