ez-a-sync 0.32.26__cp39-cp39-win32.whl → 0.32.27__cp39-cp39-win32.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ez-a-sync might be problematic. Click here for more details.

Files changed (66) hide show
  1. a_sync/_smart.c +58 -44
  2. a_sync/_smart.cp39-win32.pyd +0 -0
  3. a_sync/a_sync/_descriptor.c +69 -54
  4. a_sync/a_sync/_descriptor.cp39-win32.pyd +0 -0
  5. a_sync/a_sync/_flags.c +13 -10
  6. a_sync/a_sync/_flags.cp39-win32.pyd +0 -0
  7. a_sync/a_sync/_helpers.c +62 -47
  8. a_sync/a_sync/_helpers.cp39-win32.pyd +0 -0
  9. a_sync/a_sync/_kwargs.c +33 -18
  10. a_sync/a_sync/_kwargs.cp39-win32.pyd +0 -0
  11. a_sync/a_sync/abstract.c +18 -11
  12. a_sync/a_sync/abstract.cp39-win32.pyd +0 -0
  13. a_sync/a_sync/base.c +177 -163
  14. a_sync/a_sync/base.cp39-win32.pyd +0 -0
  15. a_sync/a_sync/flags.c +6 -3
  16. a_sync/a_sync/flags.cp39-win32.pyd +0 -0
  17. a_sync/a_sync/function.c +89 -75
  18. a_sync/a_sync/function.cp39-win32.pyd +0 -0
  19. a_sync/a_sync/method.c +131 -117
  20. a_sync/a_sync/method.cp39-win32.pyd +0 -0
  21. a_sync/a_sync/modifiers/manager.c +55 -41
  22. a_sync/a_sync/modifiers/manager.cp39-win32.pyd +0 -0
  23. a_sync/a_sync/property.c +82 -67
  24. a_sync/a_sync/property.cp39-win32.pyd +0 -0
  25. a_sync/async_property/cached.c +52 -37
  26. a_sync/async_property/cached.cp39-win32.pyd +0 -0
  27. a_sync/async_property/proxy.c +25 -10
  28. a_sync/async_property/proxy.cp39-win32.pyd +0 -0
  29. a_sync/asyncio/as_completed.c +21 -6
  30. a_sync/asyncio/as_completed.cp39-win32.pyd +0 -0
  31. a_sync/asyncio/create_task.c +32 -18
  32. a_sync/asyncio/create_task.cp39-win32.pyd +0 -0
  33. a_sync/asyncio/gather.c +30 -15
  34. a_sync/asyncio/gather.cp39-win32.pyd +0 -0
  35. a_sync/asyncio/igather.c +33 -19
  36. a_sync/asyncio/igather.cp39-win32.pyd +0 -0
  37. a_sync/asyncio/sleep.c +19 -4
  38. a_sync/asyncio/sleep.cp39-win32.pyd +0 -0
  39. a_sync/debugging.c +54 -40
  40. a_sync/debugging.cp39-win32.pyd +0 -0
  41. a_sync/exceptions.c +18 -11
  42. a_sync/exceptions.cp39-win32.pyd +0 -0
  43. a_sync/executor.py +44 -0
  44. a_sync/functools.c +24 -9
  45. a_sync/functools.cp39-win32.pyd +0 -0
  46. a_sync/iter.c +96 -82
  47. a_sync/iter.cp39-win32.pyd +0 -0
  48. a_sync/primitives/_debug.c +49 -34
  49. a_sync/primitives/_debug.cp39-win32.pyd +0 -0
  50. a_sync/primitives/_loggable.c +25 -10
  51. a_sync/primitives/_loggable.cp39-win32.pyd +0 -0
  52. a_sync/primitives/locks/counter.c +79 -65
  53. a_sync/primitives/locks/counter.cp39-win32.pyd +0 -0
  54. a_sync/primitives/locks/event.c +70 -55
  55. a_sync/primitives/locks/event.cp39-win32.pyd +0 -0
  56. a_sync/primitives/locks/prio_semaphore.c +90 -76
  57. a_sync/primitives/locks/prio_semaphore.cp39-win32.pyd +0 -0
  58. a_sync/primitives/locks/semaphore.c +74 -60
  59. a_sync/primitives/locks/semaphore.cp39-win32.pyd +0 -0
  60. a_sync/utils/repr.c +50 -36
  61. a_sync/utils/repr.cp39-win32.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
a_sync/asyncio/gather.c CHANGED
@@ -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
@@ -3020,7 +3023,7 @@ static unsigned long __Pyx_get_runtime_version(void);
3020
3023
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
3021
3024
 
3022
3025
  /* FunctionImport.proto */
3023
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3026
+ static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
3024
3027
 
3025
3028
  /* MultiPhaseInitModuleState.proto */
3026
3029
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -7376,20 +7379,20 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
7376
7379
  /*--- Function import code ---*/
7377
7380
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7378
7381
  __Pyx_GOTREF(__pyx_t_1);
7379
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "get_event_loop", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop, "PyObject *(int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7382
+ if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "get_event_loop", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop, "PyObject *(int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7380
7383
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7381
7384
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.as_completed"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7382
7385
  __Pyx_GOTREF(__pyx_t_1);
7383
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "as_completed_mapping", (void (**)(void))&__pyx_f_6a_sync_7asyncio_12as_completed_as_completed_mapping, "PyObject *(PyObject *, unsigned int, int, int, int, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7386
+ if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "as_completed_mapping", (void (**)(void))&__pyx_f_6a_sync_7asyncio_12as_completed_as_completed_mapping, "PyObject *(PyObject *, unsigned int, int, int, int, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7384
7387
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7385
7388
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7386
7389
  __Pyx_GOTREF(__pyx_t_1);
7387
- if (__Pyx_ImportFunction_3_1_2(__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)
7388
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "ccreate_task", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task, "PyObject *(PyObject *, PyObject *, int, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7390
+ 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)
7391
+ if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "ccreate_task", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task, "PyObject *(PyObject *, PyObject *, int, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7389
7392
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7390
7393
  __pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.igather"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7391
7394
  __Pyx_GOTREF(__pyx_t_1);
7392
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "cigather", (void (**)(void))&__pyx_f_6a_sync_7asyncio_7igather_cigather, "PyObject *(PyObject *, struct __pyx_opt_args_6a_sync_7asyncio_7igather_cigather *__pyx_optional_args)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7395
+ if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "cigather", (void (**)(void))&__pyx_f_6a_sync_7asyncio_7igather_cigather, "PyObject *(PyObject *, struct __pyx_opt_args_6a_sync_7asyncio_7igather_cigather *__pyx_optional_args)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7393
7396
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7394
7397
  __Pyx_RefNannyFinishContext();
7395
7398
  return 0;
@@ -10412,6 +10415,13 @@ try_unpack:
10412
10415
 
10413
10416
  /* PyObjectCallMethod0 */
10414
10417
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
10418
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
10419
+ PyObject *args[1] = {obj};
10420
+ (void) __Pyx_PyObject_GetMethod;
10421
+ (void) __Pyx_PyObject_CallOneArg;
10422
+ (void) __Pyx_PyObject_CallNoArg;
10423
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
10424
+ #else
10415
10425
  PyObject *method = NULL, *result = NULL;
10416
10426
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
10417
10427
  if (likely(is_method)) {
@@ -10424,6 +10434,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
10424
10434
  Py_DECREF(method);
10425
10435
  bad:
10426
10436
  return result;
10437
+ #endif
10427
10438
  }
10428
10439
 
10429
10440
  /* RaiseNeedMoreValuesToUnpack */
@@ -10912,6 +10923,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
10912
10923
  changed = 1;
10913
10924
  }
10914
10925
  #endif // CYTHON_METH_FASTCALL
10926
+ #if !CYTHON_COMPILING_IN_PYPY
10915
10927
  else if (strcmp(memb->name, "__module__") == 0) {
10916
10928
  PyObject *descr;
10917
10929
  assert(memb->type == T_OBJECT);
@@ -10926,11 +10938,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
10926
10938
  }
10927
10939
  changed = 1;
10928
10940
  }
10941
+ #endif // !CYTHON_COMPILING_IN_PYPY
10929
10942
  }
10930
10943
  memb++;
10931
10944
  }
10932
10945
  }
10933
10946
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
10947
+ #if !CYTHON_COMPILING_IN_PYPY
10934
10948
  slot = spec->slots;
10935
10949
  while (slot && slot->slot && slot->slot != Py_tp_getset)
10936
10950
  slot++;
@@ -10962,6 +10976,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
10962
10976
  ++getset;
10963
10977
  }
10964
10978
  }
10979
+ #endif // !CYTHON_COMPILING_IN_PYPY
10965
10980
  if (changed)
10966
10981
  PyType_Modified(type);
10967
10982
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -11094,7 +11109,7 @@ bad:
11094
11109
  }
11095
11110
 
11096
11111
  /* CommonTypesMetaclass */
11097
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
11112
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
11098
11113
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
11099
11114
  }
11100
11115
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -11314,7 +11329,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyOb
11314
11329
  }
11315
11330
 
11316
11331
  /* PyObjectCallMethod1 */
11317
- #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
11332
+ #if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
11318
11333
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
11319
11334
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
11320
11335
  Py_DECREF(method);
@@ -11322,7 +11337,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
11322
11337
  }
11323
11338
  #endif
11324
11339
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
11325
- #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
11340
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
11326
11341
  PyObject *args[2] = {obj, arg};
11327
11342
  (void) __Pyx_PyObject_GetMethod;
11328
11343
  (void) __Pyx_PyObject_CallOneArg;
@@ -15611,9 +15626,9 @@ static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObj
15611
15626
  }
15612
15627
 
15613
15628
  /* FunctionImport */
15614
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_2
15615
- #define __PYX_HAVE_RT_ImportFunction_3_1_2
15616
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
15629
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
15630
+ #define __PYX_HAVE_RT_ImportFunction_3_1_3
15631
+ static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
15617
15632
  PyObject *d = 0;
15618
15633
  PyObject *cobj = 0;
15619
15634
  union {
Binary file
a_sync/asyncio/igather.c CHANGED
@@ -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
@@ -2774,7 +2777,7 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
2774
2777
  static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);
2775
2778
 
2776
2779
  /* FunctionImport.proto */
2777
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2780
+ static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2778
2781
 
2779
2782
  /* MultiPhaseInitModuleState.proto */
2780
2783
  #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
@@ -5971,7 +5974,7 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
5971
5974
  /*--- Function import code ---*/
5972
5975
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
5973
5976
  __Pyx_GOTREF(__pyx_t_1);
5974
- if (__Pyx_ImportFunction_3_1_2(__pyx_t_1, "get_event_loop", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop, "PyObject *(int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5977
+ if (__Pyx_ImportFunction_3_1_3(__pyx_t_1, "get_event_loop", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop, "PyObject *(int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5975
5978
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5976
5979
  __Pyx_RefNannyFinishContext();
5977
5980
  return 0;
@@ -6745,16 +6748,15 @@ static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) {
6745
6748
  return -1;
6746
6749
  }
6747
6750
  /* #### Code section: init_codeobjects ### */
6748
- \
6749
- typedef struct {
6750
- unsigned int argcount : 2;
6751
- unsigned int num_posonly_args : 1;
6752
- unsigned int num_kwonly_args : 1;
6753
- unsigned int nlocals : 4;
6754
- unsigned int flags : 10;
6755
- unsigned int first_line : 8;
6756
- unsigned int line_table_length : 13;
6757
- } __Pyx_PyCode_New_function_description;
6751
+ typedef struct {
6752
+ unsigned int argcount : 2;
6753
+ unsigned int num_posonly_args : 1;
6754
+ unsigned int num_kwonly_args : 1;
6755
+ unsigned int nlocals : 4;
6756
+ unsigned int flags : 10;
6757
+ unsigned int first_line : 8;
6758
+ unsigned int line_table_length : 13;
6759
+ } __Pyx_PyCode_New_function_description;
6758
6760
  /* NewCodeObj.proto */
6759
6761
  static PyObject* __Pyx_PyCode_New(
6760
6762
  const __Pyx_PyCode_New_function_description descr,
@@ -8264,6 +8266,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
8264
8266
  changed = 1;
8265
8267
  }
8266
8268
  #endif // CYTHON_METH_FASTCALL
8269
+ #if !CYTHON_COMPILING_IN_PYPY
8267
8270
  else if (strcmp(memb->name, "__module__") == 0) {
8268
8271
  PyObject *descr;
8269
8272
  assert(memb->type == T_OBJECT);
@@ -8278,11 +8281,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
8278
8281
  }
8279
8282
  changed = 1;
8280
8283
  }
8284
+ #endif // !CYTHON_COMPILING_IN_PYPY
8281
8285
  }
8282
8286
  memb++;
8283
8287
  }
8284
8288
  }
8285
8289
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
8290
+ #if !CYTHON_COMPILING_IN_PYPY
8286
8291
  slot = spec->slots;
8287
8292
  while (slot && slot->slot && slot->slot != Py_tp_getset)
8288
8293
  slot++;
@@ -8314,6 +8319,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
8314
8319
  ++getset;
8315
8320
  }
8316
8321
  }
8322
+ #endif // !CYTHON_COMPILING_IN_PYPY
8317
8323
  if (changed)
8318
8324
  PyType_Modified(type);
8319
8325
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -8446,7 +8452,7 @@ bad:
8446
8452
  }
8447
8453
 
8448
8454
  /* CommonTypesMetaclass */
8449
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
8455
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
8450
8456
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
8451
8457
  }
8452
8458
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -9759,6 +9765,13 @@ try_unpack:
9759
9765
 
9760
9766
  /* PyObjectCallMethod0 */
9761
9767
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
9768
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
9769
+ PyObject *args[1] = {obj};
9770
+ (void) __Pyx_PyObject_GetMethod;
9771
+ (void) __Pyx_PyObject_CallOneArg;
9772
+ (void) __Pyx_PyObject_CallNoArg;
9773
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
9774
+ #else
9762
9775
  PyObject *method = NULL, *result = NULL;
9763
9776
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
9764
9777
  if (likely(is_method)) {
@@ -9771,6 +9784,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
9771
9784
  Py_DECREF(method);
9772
9785
  bad:
9773
9786
  return result;
9787
+ #endif
9774
9788
  }
9775
9789
 
9776
9790
  /* RaiseNeedMoreValuesToUnpack */
@@ -11806,9 +11820,9 @@ bad:
11806
11820
  }
11807
11821
 
11808
11822
  /* FunctionImport */
11809
- #ifndef __PYX_HAVE_RT_ImportFunction_3_1_2
11810
- #define __PYX_HAVE_RT_ImportFunction_3_1_2
11811
- static int __Pyx_ImportFunction_3_1_2(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
11823
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
11824
+ #define __PYX_HAVE_RT_ImportFunction_3_1_3
11825
+ static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
11812
11826
  PyObject *d = 0;
11813
11827
  PyObject *cobj = 0;
11814
11828
  union {
Binary file
a_sync/asyncio/sleep.c CHANGED
@@ -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
@@ -5666,6 +5669,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
5666
5669
  changed = 1;
5667
5670
  }
5668
5671
  #endif // CYTHON_METH_FASTCALL
5672
+ #if !CYTHON_COMPILING_IN_PYPY
5669
5673
  else if (strcmp(memb->name, "__module__") == 0) {
5670
5674
  PyObject *descr;
5671
5675
  assert(memb->type == T_OBJECT);
@@ -5680,11 +5684,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
5680
5684
  }
5681
5685
  changed = 1;
5682
5686
  }
5687
+ #endif // !CYTHON_COMPILING_IN_PYPY
5683
5688
  }
5684
5689
  memb++;
5685
5690
  }
5686
5691
  }
5687
5692
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
5693
+ #if !CYTHON_COMPILING_IN_PYPY
5688
5694
  slot = spec->slots;
5689
5695
  while (slot && slot->slot && slot->slot != Py_tp_getset)
5690
5696
  slot++;
@@ -5716,6 +5722,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
5716
5722
  ++getset;
5717
5723
  }
5718
5724
  }
5725
+ #endif // !CYTHON_COMPILING_IN_PYPY
5719
5726
  if (changed)
5720
5727
  PyType_Modified(type);
5721
5728
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -5826,6 +5833,13 @@ try_unpack:
5826
5833
 
5827
5834
  /* PyObjectCallMethod0 */
5828
5835
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
5836
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
5837
+ PyObject *args[1] = {obj};
5838
+ (void) __Pyx_PyObject_GetMethod;
5839
+ (void) __Pyx_PyObject_CallOneArg;
5840
+ (void) __Pyx_PyObject_CallNoArg;
5841
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
5842
+ #else
5829
5843
  PyObject *method = NULL, *result = NULL;
5830
5844
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
5831
5845
  if (likely(is_method)) {
@@ -5838,6 +5852,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
5838
5852
  Py_DECREF(method);
5839
5853
  bad:
5840
5854
  return result;
5855
+ #endif
5841
5856
  }
5842
5857
 
5843
5858
  /* ValidateBasesTuple */
@@ -6405,7 +6420,7 @@ bad:
6405
6420
  }
6406
6421
 
6407
6422
  /* CommonTypesMetaclass */
6408
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
6423
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
6409
6424
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
6410
6425
  }
6411
6426
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
Binary file
a_sync/debugging.c CHANGED
@@ -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
@@ -2364,22 +2367,22 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
2364
2367
  CYTHON_UNUSED static int __Pyx_PyType_Ready(PyTypeObject *t);
2365
2368
 
2366
2369
  /* TypeImport.proto */
2367
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_2
2368
- #define __PYX_HAVE_RT_ImportType_proto_3_1_2
2370
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
2371
+ #define __PYX_HAVE_RT_ImportType_proto_3_1_3
2369
2372
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2370
2373
  #include <stdalign.h>
2371
2374
  #endif
2372
2375
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2373
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) alignof(s)
2376
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
2374
2377
  #else
2375
- #define __PYX_GET_STRUCT_ALIGNMENT_3_1_2(s) sizeof(void*)
2378
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
2376
2379
  #endif
2377
- enum __Pyx_ImportType_CheckSize_3_1_2 {
2378
- __Pyx_ImportType_CheckSize_Error_3_1_2 = 0,
2379
- __Pyx_ImportType_CheckSize_Warn_3_1_2 = 1,
2380
- __Pyx_ImportType_CheckSize_Ignore_3_1_2 = 2
2380
+ enum __Pyx_ImportType_CheckSize_3_1_3 {
2381
+ __Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
2382
+ __Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
2383
+ __Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
2381
2384
  };
2382
- 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);
2385
+ 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);
2383
2386
  #endif
2384
2387
 
2385
2388
  /* GetVTable.proto */
@@ -6220,27 +6223,27 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
6220
6223
  /*--- Type import code ---*/
6221
6224
  __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error)
6222
6225
  __Pyx_GOTREF(__pyx_t_1);
6223
- __pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_1_2(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
6226
+ __pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_1_3(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
6224
6227
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
6225
- sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(PyTypeObject),
6228
+ sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(PyTypeObject),
6226
6229
  #elif CYTHON_COMPILING_IN_LIMITED_API
6227
6230
  0, 0,
6228
6231
  #else
6229
- sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(PyHeapTypeObject),
6232
+ sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(PyHeapTypeObject),
6230
6233
  #endif
6231
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(1, 9, __pyx_L1_error)
6234
+ __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(1, 9, __pyx_L1_error)
6232
6235
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6233
6236
  __pyx_t_1 = PyImport_ImportModule("a_sync.iter"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 3, __pyx_L1_error)
6234
6237
  __Pyx_GOTREF(__pyx_t_1);
6235
- __pyx_mstate->__pyx_ptype_6a_sync_4iter__ASyncGeneratorFunction = __Pyx_ImportType_3_1_2(__pyx_t_1, "a_sync.iter", "_ASyncGeneratorFunction",
6238
+ __pyx_mstate->__pyx_ptype_6a_sync_4iter__ASyncGeneratorFunction = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.iter", "_ASyncGeneratorFunction",
6236
6239
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
6237
- sizeof(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction),
6240
+ sizeof(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction),
6238
6241
  #elif CYTHON_COMPILING_IN_LIMITED_API
6239
- sizeof(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction),
6242
+ sizeof(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction),
6240
6243
  #else
6241
- sizeof(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_2(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction),
6244
+ sizeof(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction),
6242
6245
  #endif
6243
- __Pyx_ImportType_CheckSize_Warn_3_1_2); if (!__pyx_mstate->__pyx_ptype_6a_sync_4iter__ASyncGeneratorFunction) __PYX_ERR(2, 3, __pyx_L1_error)
6246
+ __Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_4iter__ASyncGeneratorFunction) __PYX_ERR(2, 3, __pyx_L1_error)
6244
6247
  __pyx_vtabptr_6a_sync_4iter__ASyncGeneratorFunction = (struct __pyx_vtabstruct_6a_sync_4iter__ASyncGeneratorFunction*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_4iter__ASyncGeneratorFunction); if (unlikely(!__pyx_vtabptr_6a_sync_4iter__ASyncGeneratorFunction)) __PYX_ERR(2, 3, __pyx_L1_error)
6245
6248
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6246
6249
  __Pyx_RefNannyFinishContext();
@@ -7158,16 +7161,15 @@ static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) {
7158
7161
  return -1;
7159
7162
  }
7160
7163
  /* #### Code section: init_codeobjects ### */
7161
- \
7162
- typedef struct {
7163
- unsigned int argcount : 2;
7164
- unsigned int num_posonly_args : 1;
7165
- unsigned int num_kwonly_args : 1;
7166
- unsigned int nlocals : 4;
7167
- unsigned int flags : 10;
7168
- unsigned int first_line : 7;
7169
- unsigned int line_table_length : 11;
7170
- } __Pyx_PyCode_New_function_description;
7164
+ typedef struct {
7165
+ unsigned int argcount : 2;
7166
+ unsigned int num_posonly_args : 1;
7167
+ unsigned int num_kwonly_args : 1;
7168
+ unsigned int nlocals : 4;
7169
+ unsigned int flags : 10;
7170
+ unsigned int first_line : 7;
7171
+ unsigned int line_table_length : 11;
7172
+ } __Pyx_PyCode_New_function_description;
7171
7173
  /* NewCodeObj.proto */
7172
7174
  static PyObject* __Pyx_PyCode_New(
7173
7175
  const __Pyx_PyCode_New_function_description descr,
@@ -8928,6 +8930,7 @@ static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp) {
8928
8930
  changed = 1;
8929
8931
  }
8930
8932
  #endif // CYTHON_METH_FASTCALL
8933
+ #if !CYTHON_COMPILING_IN_PYPY
8931
8934
  else if (strcmp(memb->name, "__module__") == 0) {
8932
8935
  PyObject *descr;
8933
8936
  assert(memb->type == T_OBJECT);
@@ -8942,11 +8945,13 @@ static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp) {
8942
8945
  }
8943
8946
  changed = 1;
8944
8947
  }
8948
+ #endif // !CYTHON_COMPILING_IN_PYPY
8945
8949
  }
8946
8950
  memb++;
8947
8951
  }
8948
8952
  }
8949
8953
  #endif // !CYTHON_COMPILING_IN_LIMITED_API
8954
+ #if !CYTHON_COMPILING_IN_PYPY
8950
8955
  slot = spec->slots;
8951
8956
  while (slot && slot->slot && slot->slot != Py_tp_getset)
8952
8957
  slot++;
@@ -8978,6 +8983,7 @@ static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp) {
8978
8983
  ++getset;
8979
8984
  }
8980
8985
  }
8986
+ #endif // !CYTHON_COMPILING_IN_PYPY
8981
8987
  if (changed)
8982
8988
  PyType_Modified(type);
8983
8989
  #endif // PY_VERSION_HEX > 0x030900B1
@@ -9110,7 +9116,7 @@ bad:
9110
9116
  }
9111
9117
 
9112
9118
  /* CommonTypesMetaclass */
9113
- PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
9119
+ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
9114
9120
  return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
9115
9121
  }
9116
9122
  static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
@@ -9438,7 +9444,7 @@ static CYTHON_INLINE PyObject *__Pyx_PyIter_Next_Plain(PyObject *iterator) {
9438
9444
  }
9439
9445
 
9440
9446
  /* PyObjectCallMethod1 */
9441
- #if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
9447
+ #if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
9442
9448
  static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
9443
9449
  PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
9444
9450
  Py_DECREF(method);
@@ -9446,7 +9452,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
9446
9452
  }
9447
9453
  #endif
9448
9454
  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
9449
- #if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
9455
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
9450
9456
  PyObject *args[2] = {obj, arg};
9451
9457
  (void) __Pyx_PyObject_GetMethod;
9452
9458
  (void) __Pyx_PyObject_CallOneArg;
@@ -12269,6 +12275,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_TrueDivideObjC(PyObject *op1, PyObje
12269
12275
 
12270
12276
  /* PyObjectCallMethod0 */
12271
12277
  static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
12278
+ #if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
12279
+ PyObject *args[1] = {obj};
12280
+ (void) __Pyx_PyObject_GetMethod;
12281
+ (void) __Pyx_PyObject_CallOneArg;
12282
+ (void) __Pyx_PyObject_CallNoArg;
12283
+ return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
12284
+ #else
12272
12285
  PyObject *method = NULL, *result = NULL;
12273
12286
  int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
12274
12287
  if (likely(is_method)) {
@@ -12281,6 +12294,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_TrueDivideObjC(PyObject *op1, PyObje
12281
12294
  Py_DECREF(method);
12282
12295
  bad:
12283
12296
  return result;
12297
+ #endif
12284
12298
  }
12285
12299
 
12286
12300
  /* ValidateBasesTuple */
@@ -12454,10 +12468,10 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) {
12454
12468
  }
12455
12469
 
12456
12470
  /* TypeImport */
12457
- #ifndef __PYX_HAVE_RT_ImportType_3_1_2
12458
- #define __PYX_HAVE_RT_ImportType_3_1_2
12459
- static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module_name, const char *class_name,
12460
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_2 check_size)
12471
+ #ifndef __PYX_HAVE_RT_ImportType_3_1_3
12472
+ #define __PYX_HAVE_RT_ImportType_3_1_3
12473
+ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
12474
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
12461
12475
  {
12462
12476
  PyObject *result = 0;
12463
12477
  Py_ssize_t basicsize;
@@ -12513,7 +12527,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
12513
12527
  module_name, class_name, size, basicsize+itemsize);
12514
12528
  goto bad;
12515
12529
  }
12516
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_2 &&
12530
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
12517
12531
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
12518
12532
  PyErr_Format(PyExc_ValueError,
12519
12533
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -12521,7 +12535,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
12521
12535
  module_name, class_name, size, basicsize, basicsize+itemsize);
12522
12536
  goto bad;
12523
12537
  }
12524
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_2 && (size_t)basicsize > size) {
12538
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
12525
12539
  if (PyErr_WarnFormat(NULL, 0,
12526
12540
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
12527
12541
  "Expected %zd from C header, got %zd from PyObject",
Binary file