ez-a-sync 0.32.26__cp38-cp38-musllinux_1_2_i686.whl → 0.32.28__cp38-cp38-musllinux_1_2_i686.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 (71) hide show
  1. a_sync/_smart.c +58 -38
  2. a_sync/_smart.cpython-38-i386-linux-gnu.so +0 -0
  3. a_sync/a_sync/_descriptor.c +83 -63
  4. a_sync/a_sync/_descriptor.cpython-38-i386-linux-gnu.so +0 -0
  5. a_sync/a_sync/_flags.c +13 -10
  6. a_sync/a_sync/_flags.cpython-38-i386-linux-gnu.so +0 -0
  7. a_sync/a_sync/_helpers.c +76 -56
  8. a_sync/a_sync/_helpers.cpython-38-i386-linux-gnu.so +0 -0
  9. a_sync/a_sync/_kwargs.c +45 -25
  10. a_sync/a_sync/_kwargs.cpython-38-i386-linux-gnu.so +0 -0
  11. a_sync/a_sync/abstract.c +54 -24
  12. a_sync/a_sync/abstract.cpython-38-i386-linux-gnu.so +0 -0
  13. a_sync/a_sync/abstract.pyi +2 -2
  14. a_sync/a_sync/base.c +186 -162
  15. a_sync/a_sync/base.cpython-38-i386-linux-gnu.so +0 -0
  16. a_sync/a_sync/flags.c +13 -10
  17. a_sync/a_sync/flags.cpython-38-i386-linux-gnu.so +0 -0
  18. a_sync/a_sync/function.c +106 -77
  19. a_sync/a_sync/function.cpython-38-i386-linux-gnu.so +0 -0
  20. a_sync/a_sync/method.c +150 -118
  21. a_sync/a_sync/method.cpython-38-i386-linux-gnu.so +0 -0
  22. a_sync/a_sync/method.pyi +2 -1
  23. a_sync/a_sync/modifiers/manager.c +60 -40
  24. a_sync/a_sync/modifiers/manager.cpython-38-i386-linux-gnu.so +0 -0
  25. a_sync/a_sync/property.c +104 -78
  26. a_sync/a_sync/property.cpython-38-i386-linux-gnu.so +0 -0
  27. a_sync/async_property/cached.c +66 -46
  28. a_sync/async_property/cached.cpython-38-i386-linux-gnu.so +0 -0
  29. a_sync/async_property/proxy.c +36 -16
  30. a_sync/async_property/proxy.cpython-38-i386-linux-gnu.so +0 -0
  31. a_sync/asyncio/as_completed.c +33 -13
  32. a_sync/asyncio/as_completed.cpython-38-i386-linux-gnu.so +0 -0
  33. a_sync/asyncio/create_task.c +59 -21
  34. a_sync/asyncio/create_task.cpython-38-i386-linux-gnu.so +0 -0
  35. a_sync/asyncio/gather.c +42 -22
  36. a_sync/asyncio/gather.cpython-38-i386-linux-gnu.so +0 -0
  37. a_sync/asyncio/igather.c +42 -18
  38. a_sync/asyncio/igather.cpython-38-i386-linux-gnu.so +0 -0
  39. a_sync/asyncio/sleep.c +24 -4
  40. a_sync/asyncio/sleep.cpython-38-i386-linux-gnu.so +0 -0
  41. a_sync/debugging.c +52 -32
  42. a_sync/debugging.cpython-38-i386-linux-gnu.so +0 -0
  43. a_sync/exceptions.c +36 -20
  44. a_sync/exceptions.cpython-38-i386-linux-gnu.so +0 -0
  45. a_sync/executor.py +44 -0
  46. a_sync/functools.c +36 -16
  47. a_sync/functools.cpython-38-i386-linux-gnu.so +0 -0
  48. a_sync/iter.c +165 -95
  49. a_sync/iter.cpython-38-i386-linux-gnu.so +0 -0
  50. a_sync/primitives/_debug.c +61 -41
  51. a_sync/primitives/_debug.cpython-38-i386-linux-gnu.so +0 -0
  52. a_sync/primitives/_loggable.c +40 -14
  53. a_sync/primitives/_loggable.cpython-38-i386-linux-gnu.so +0 -0
  54. a_sync/primitives/locks/counter.c +93 -63
  55. a_sync/primitives/locks/counter.cpython-38-i386-linux-gnu.so +0 -0
  56. a_sync/primitives/locks/event.c +75 -54
  57. a_sync/primitives/locks/event.cpython-38-i386-linux-gnu.so +0 -0
  58. a_sync/primitives/locks/prio_semaphore.c +120 -80
  59. a_sync/primitives/locks/prio_semaphore.cpython-38-i386-linux-gnu.so +0 -0
  60. a_sync/primitives/locks/prio_semaphore.pyi +2 -2
  61. a_sync/primitives/locks/semaphore.c +92 -65
  62. a_sync/primitives/locks/semaphore.cpython-38-i386-linux-gnu.so +0 -0
  63. a_sync/primitives/locks/semaphore.pyi +10 -9
  64. a_sync/primitives/queue.py +5 -1
  65. a_sync/utils/repr.c +55 -35
  66. a_sync/utils/repr.cpython-38-i386-linux-gnu.so +0 -0
  67. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/METADATA +1 -1
  68. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/RECORD +71 -71
  69. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/LICENSE.txt +0 -0
  70. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/WHEEL +0 -0
  71. {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/top_level.txt +0 -0
a_sync/a_sync/method.pyi CHANGED
@@ -8,6 +8,7 @@ asynchronously based on various conditions and configurations.
8
8
 
9
9
  from a_sync._typing import *
10
10
  import functools
11
+ import logging
11
12
  import weakref
12
13
  from _typeshed import Incomplete
13
14
  from a_sync import TaskMapping as TaskMapping
@@ -21,7 +22,7 @@ from a_sync.a_sync.function import (
21
22
  from typing import Any, final
22
23
 
23
24
  METHOD_CACHE_TTL: Literal[3600]
24
- logger: Incomplete
25
+ logger: logging.Logger
25
26
 
26
27
  class ASyncMethodDescriptor(ASyncDescriptor[I, P, T]):
27
28
  """
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.1.2 */
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_2"
34
- #define CYTHON_HEX_VERSION 0x030102F0
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>
@@ -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
@@ -2040,18 +2043,18 @@ static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *nam
2040
2043
  if (!__Pyx_PyThreadState_Current->tracing) {\
2041
2044
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2042
2045
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2043
- if (unlikely(!__pyx_frame_code)) goto_error;\
2044
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2045
- }\
2046
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2047
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2048
+ } else __pyx_frame_code = NULL;\
2046
2049
  PyGILState_Release(state);\
2047
- }\
2050
+ } else __pyx_frame_code = NULL;\
2048
2051
  } else {\
2049
2052
  if (!__Pyx_PyThreadState_Current->tracing) {\
2050
2053
  if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
2051
2054
  else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
2052
- if (unlikely(!__pyx_frame_code)) goto_error;\
2053
- ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2054
- }\
2055
+ if (unlikely(!__pyx_frame_code)) ret = -1;\
2056
+ else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
2057
+ } else __pyx_frame_code = NULL;\
2055
2058
  }\
2056
2059
  if (unlikely(ret == -1)) goto_error;\
2057
2060
  }
@@ -2696,22 +2699,22 @@ static void* __Pyx_GetVtable(PyTypeObject *type);
2696
2699
  static int __Pyx_MergeVtables(PyTypeObject *type);
2697
2700
 
2698
2701
  /* TypeImport.proto */
2699
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_2
2700
- #define __PYX_HAVE_RT_ImportType_proto_3_1_2
2702
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
2703
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_4
2701
2704
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2702
2705
  #include <stdalign.h>
2703
2706
  #endif
2704
2707
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2705
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) alignof(s)
2708
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
2706
2709
  #else
2707
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) sizeof(void*)
2710
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
2708
2711
  #endif
2709
- enum __Pyx_ImportType_CheckSize_3_1_2 {
2710
- __Pyx_ImportType_CheckSize_Error_3_1_2 = 0,
2711
- __Pyx_ImportType_CheckSize_Warn_3_1_2 = 1,
2712
- __Pyx_ImportType_CheckSize_Ignore_3_1_2 = 2
2712
+ enum __Pyx_ImportType_CheckSize_3_1_4 {
2713
+ __Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
2714
+ __Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
2715
+ __Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
2713
2716
  };
2714
- 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);
2717
+ 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);
2715
2718
  #endif
2716
2719
 
2717
2720
  /* Import.proto */
@@ -2986,7 +2989,7 @@ static unsigned long __Pyx_get_runtime_version(void);
2986
2989
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
2987
2990
 
2988
2991
  /* FunctionImport.proto */
2989
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2992
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2990
2993
 
2991
2994
  /* MultiPhaseInitModuleState.proto */
2992
2995
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -7392,15 +7395,15 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
7392
7395
  /*--- Type import code ---*/
7393
7396
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error)
7394
7397
  __Pyx_GOTREF(__pyx_t_1);
7395
- __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_2(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
7398
+ __pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
7396
7399
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
7397
- 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),
7400
+ 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),
7398
7401
  #elif CYTHON_COMPILING_IN_LIMITED_API
7399
- 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),
7402
+ 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),
7400
7403
  #else
7401
- 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),
7404
+ 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),
7402
7405
  #endif
7403
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(2, 1, __pyx_L1_error)
7406
+ __Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(2, 1, __pyx_L1_error)
7404
7407
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7405
7408
  __Pyx_RefNannyFinishContext();
7406
7409
  return 0;
@@ -7430,7 +7433,7 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
7430
7433
  /*--- Function import code ---*/
7431
7434
  __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7432
7435
  __Pyx_GOTREF(__pyx_t_1);
7433
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "wraps", (void (**)(void))&__pyx_f_6a_sync_9functools_wraps, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7436
+ 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)
7434
7437
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7435
7438
  __Pyx_RefNannyFinishContext();
7436
7439
  return 0;
@@ -10250,6 +10253,13 @@ try_unpack:
10250
10253
 
10251
10254
  /* PyObjectCallMethod0 */
10252
10255
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
10256
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
10257
+ PyObject *args[1] = {obj};
10258
+ (void) __Pyx_PyObject_GetMethod;
10259
+ (void) __Pyx_PyObject_CallOneArg;
10260
+ (void) __Pyx_PyObject_CallNoArg;
10261
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
10262
+ #else
10253
10263
  PyObject *method = NULL, *result = NULL;
10254
10264
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
10255
10265
  if (likely(is_method)) {
@@ -10262,6 +10272,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
10262
10272
  Py_DECREF(method);
10263
10273
  bad:
10264
10274
  return result;
10275
+ #endif
10265
10276
  }
10266
10277
 
10267
10278
  /* RaiseNeedMoreValuesToUnpack */
@@ -10996,6 +11007,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
10996
11007
  changed = 1;
10997
11008
  }
10998
11009
  #endif // CYTHON_METH_FASTCALL
11010
+ #if !CYTHON_COMPILING_IN_PYPY
10999
11011
  else if (strcmp(memb->name, "__module__") == 0) {
11000
11012
  PyObject *descr;
11001
11013
  assert(memb->type == T_OBJECT);
@@ -11010,11 +11022,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
11010
11022
  }
11011
11023
  changed = 1;
11012
11024
  }
11025
+ #endif // !CYTHON_COMPILING_IN_PYPY
11013
11026
  }
11014
11027
  memb++;
11015
11028
  }
11016
11029
  }
11017
11030
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
11031
+ #if !CYTHON_COMPILING_IN_PYPY
11018
11032
  slot = spec->slots;
11019
11033
  while (slot && slot->slot && slot->slot != Py_tp_getset)
11020
11034
  slot++;
@@ -11046,6 +11060,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
11046
11060
  ++getset;
11047
11061
  }
11048
11062
  }
11063
+ #endif // !CYTHON_COMPILING_IN_PYPY
11049
11064
  if (changed)
11050
11065
  PyType_Modified(type);
11051
11066
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -11178,7 +11193,7 @@ bad:
11178
11193
  }
11179
11194
 
11180
11195
  /* CommonTypesMetaclass */
11181
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
11196
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
11182
11197
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
11183
11198
  }
11184
11199
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -11207,6 +11222,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
11207
11222
  return -1;
11208
11223
  }
11209
11224
  mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
11225
+ Py_DECREF(bases);
11210
11226
  if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
11211
11227
  return -1;
11212
11228
  }
@@ -12731,15 +12747,15 @@ other_failure:
12731
12747
  }
12732
12748
 
12733
12749
  /* TypeImport */
12734
- #ifndef __PYX_HAVE_RT_ImportType_3_1_2
12735
- #define __PYX_HAVE_RT_ImportType_3_1_2
12736
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module_name, const char *class_name,
12737
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size)
12750
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_4
12751
+ #define __PYX_HAVE_RT_ImportType_3_1_4
12752
+ static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
12753
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
12738
12754
  {
12739
12755
  PyObject *result = 0;
12740
12756
  Py_ssize_t basicsize;
12741
12757
  Py_ssize_t itemsize;
12742
- #if CYTHON_COMPILING_IN_LIMITED_API
12758
+ #ifdef Py_LIMITED_API
12743
12759
  PyObject *py_basicsize;
12744
12760
  PyObject *py_itemsize;
12745
12761
  #endif
@@ -12752,7 +12768,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
12752
12768
  module_name, class_name);
12753
12769
  goto bad;
12754
12770
  }
12755
- #if !CYTHON_COMPILING_IN_LIMITED_API
12771
+ #ifndef Py_LIMITED_API
12756
12772
  basicsize = ((PyTypeObject *)result)->tp_basicsize;
12757
12773
  itemsize = ((PyTypeObject *)result)->tp_itemsize;
12758
12774
  #else
@@ -12790,7 +12806,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
12790
12806
  module_name, class_name, size, basicsize+itemsize);
12791
12807
  goto bad;
12792
12808
  }
12793
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_2 &&
12809
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
12794
12810
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
12795
12811
  PyErr_Format(PyExc_ValueError,
12796
12812
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -12798,7 +12814,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
12798
12814
  module_name, class_name, size, basicsize, basicsize+itemsize);
12799
12815
  goto bad;
12800
12816
  }
12801
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_2 && (size_t)basicsize > size) {
12817
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
12802
12818
  if (PyErr_WarnFormat(NULL, 0,
12803
12819
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
12804
12820
  "Expected %zd from C header, got %zd from PyObject",
@@ -14328,7 +14344,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyOb
14328
14344
  }
14329
14345
 
14330
14346
  /* PyObjectCallMethod1 */
14331
- #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
14347
+ #if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
14332
14348
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
14333
14349
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
14334
14350
  Py_DECREF(method);
@@ -14336,7 +14352,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
14336
14352
  }
14337
14353
  #endif
14338
14354
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
14339
- #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
14355
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
14340
14356
  PyObject *args[2] = {obj, arg};
14341
14357
  (void) __Pyx_PyObject_GetMethod;
14342
14358
  (void) __Pyx_PyObject_CallOneArg;
@@ -15505,9 +15521,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
15505
15521
  }
15506
15522
 
15507
15523
  /* FunctionImport */
15508
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_2
15509
- #define __PYX_HAVE_RT_ImportFunction_3_1_2
15510
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
15524
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
15525
+ #define __PYX_HAVE_RT_ImportFunction_3_1_4
15526
+ static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
15511
15527
  PyObject *d = 0;
15512
15528
  PyObject *cobj = 0;
15513
15529
  union {
@@ -15609,6 +15625,10 @@ bad:
15609
15625
  PyCode_NewWithPosOnlyArgs
15610
15626
  #endif
15611
15627
  (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
15628
+ #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
15629
+ if (likely(result))
15630
+ result->_co_firsttraceable = 0;
15631
+ #endif
15612
15632
  return result;
15613
15633
  }
15614
15634
  #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY