ez-a-sync 0.32.12__cp39-cp39-macosx_11_0_arm64.whl → 0.32.13__cp39-cp39-macosx_11_0_arm64.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 (39) hide show
  1. a_sync/_smart.cpython-39-darwin.so +0 -0
  2. a_sync/a_sync/_descriptor.cpython-39-darwin.so +0 -0
  3. a_sync/a_sync/_flags.cpython-39-darwin.so +0 -0
  4. a_sync/a_sync/_helpers.cpython-39-darwin.so +0 -0
  5. a_sync/a_sync/_kwargs.cpython-39-darwin.so +0 -0
  6. a_sync/a_sync/abstract.cpython-39-darwin.so +0 -0
  7. a_sync/a_sync/base.cpython-39-darwin.so +0 -0
  8. a_sync/a_sync/flags.cpython-39-darwin.so +0 -0
  9. a_sync/a_sync/function.cpython-39-darwin.so +0 -0
  10. a_sync/a_sync/method.cpython-39-darwin.so +0 -0
  11. a_sync/a_sync/modifiers/manager.cpython-39-darwin.so +0 -0
  12. a_sync/a_sync/property.cpython-39-darwin.so +0 -0
  13. a_sync/async_property/cached.cpython-39-darwin.so +0 -0
  14. a_sync/async_property/proxy.cpython-39-darwin.so +0 -0
  15. a_sync/asyncio/as_completed.cpython-39-darwin.so +0 -0
  16. a_sync/asyncio/create_task.cpython-39-darwin.so +0 -0
  17. a_sync/asyncio/gather.cpython-39-darwin.so +0 -0
  18. a_sync/asyncio/igather.cpython-39-darwin.so +0 -0
  19. a_sync/asyncio/sleep.cpython-39-darwin.so +0 -0
  20. a_sync/debugging.c +3 -2
  21. a_sync/debugging.cpython-39-darwin.so +0 -0
  22. a_sync/exceptions.cpython-39-darwin.so +0 -0
  23. a_sync/functools.cpython-39-darwin.so +0 -0
  24. a_sync/iter.c +216 -81
  25. a_sync/iter.cpython-39-darwin.so +0 -0
  26. a_sync/iter.pxd +2 -0
  27. a_sync/primitives/_debug.cpython-39-darwin.so +0 -0
  28. a_sync/primitives/_loggable.cpython-39-darwin.so +0 -0
  29. a_sync/primitives/locks/counter.cpython-39-darwin.so +0 -0
  30. a_sync/primitives/locks/event.cpython-39-darwin.so +0 -0
  31. a_sync/primitives/locks/prio_semaphore.cpython-39-darwin.so +0 -0
  32. a_sync/primitives/locks/semaphore.cpython-39-darwin.so +0 -0
  33. a_sync/task.py +22 -6
  34. a_sync/utils/repr.cpython-39-darwin.so +0 -0
  35. {ez_a_sync-0.32.12.dist-info → ez_a_sync-0.32.13.dist-info}/METADATA +1 -1
  36. {ez_a_sync-0.32.12.dist-info → ez_a_sync-0.32.13.dist-info}/RECORD +39 -39
  37. {ez_a_sync-0.32.12.dist-info → ez_a_sync-0.32.13.dist-info}/WHEEL +1 -1
  38. {ez_a_sync-0.32.12.dist-info → ez_a_sync-0.32.13.dist-info}/licenses/LICENSE.txt +0 -0
  39. {ez_a_sync-0.32.12.dist-info → ez_a_sync-0.32.13.dist-info}/top_level.txt +0 -0
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
a_sync/debugging.c CHANGED
@@ -1517,12 +1517,13 @@ struct __pyx_defaults {
1517
1517
  *
1518
1518
  * cdef class _ASyncGeneratorFunction: # <<<<<<<<<<<<<<
1519
1519
  * cdef readonly object _cache_handle
1520
- * cdef readonly object __weakself__
1520
+ * # must be public for functools.wraps
1521
1521
  */
1522
1522
  struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction {
1523
1523
  PyObject_HEAD
1524
1524
  struct __pyx_vtabstruct_6a_sync_4iter__ASyncGeneratorFunction *__pyx_vtab;
1525
1525
  PyObject *_cache_handle;
1526
+ PyObject *__wrapped__;
1526
1527
  PyObject *__weakself__;
1527
1528
  PyObject *_ASyncGeneratorFunction__weakself_ptr;
1528
1529
  };
@@ -1609,7 +1610,7 @@ struct __pyx_obj_6a_sync_9debugging___pyx_scope_struct_3__stuck_debug_task {
1609
1610
  *
1610
1611
  * cdef class _ASyncGeneratorFunction: # <<<<<<<<<<<<<<
1611
1612
  * cdef readonly object _cache_handle
1612
- * cdef readonly object __weakself__
1613
+ * # must be public for functools.wraps
1613
1614
  */
1614
1615
 
1615
1616
  struct __pyx_vtabstruct_6a_sync_4iter__ASyncGeneratorFunction {
Binary file
Binary file
Binary file
a_sync/iter.c CHANGED
@@ -1603,12 +1603,13 @@ struct __pyx_obj_6a_sync_9functools_cached_property_unsafe {
1603
1603
  *
1604
1604
  * cdef class _ASyncGeneratorFunction: # <<<<<<<<<<<<<<
1605
1605
  * cdef readonly object _cache_handle
1606
- * cdef readonly object __weakself__
1606
+ * # must be public for functools.wraps
1607
1607
  */
1608
1608
  struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction {
1609
1609
  PyObject_HEAD
1610
1610
  struct __pyx_vtabstruct_6a_sync_4iter__ASyncGeneratorFunction *__pyx_vtab;
1611
1611
  PyObject *_cache_handle;
1612
+ PyObject *__wrapped__;
1612
1613
  PyObject *__weakself__;
1613
1614
  PyObject *_ASyncGeneratorFunction__weakself_ptr;
1614
1615
  };
@@ -3705,6 +3706,9 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_4__call__(stru
3705
3706
  static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_6__get__(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *__pyx_v_self, PyObject *__pyx_v_instance, CYTHON_UNUSED PyObject *__pyx_v_owner); /* proto */
3706
3707
  static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_8__self_____get__(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *__pyx_v_self); /* proto */
3707
3708
  static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_13_cache_handle___get__(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *__pyx_v_self); /* proto */
3709
+ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped_____get__(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *__pyx_v_self); /* proto */
3710
+ static int __pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___2__set__(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
3711
+ static int __pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___4__del__(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *__pyx_v_self); /* proto */
3708
3712
  static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_12__weakself_____get__(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *__pyx_v_self); /* proto */
3709
3713
  static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_8__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *__pyx_v_self); /* proto */
3710
3714
  static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_10__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
@@ -11498,7 +11502,11 @@ static int __pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction___init__(struct __py
11498
11502
  *
11499
11503
  */
11500
11504
  __Pyx_TraceLine(479,0,__PYX_ERR(0, 479, __pyx_L1_error))
11501
- if (__Pyx_PyObject_SetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_wrapped_2, __pyx_v_async_gen_func) < 0) __PYX_ERR(0, 479, __pyx_L1_error)
11505
+ __Pyx_INCREF(__pyx_v_async_gen_func);
11506
+ __Pyx_GIVEREF(__pyx_v_async_gen_func);
11507
+ __Pyx_GOTREF(__pyx_v_self->__wrapped__);
11508
+ __Pyx_DECREF(__pyx_v_self->__wrapped__);
11509
+ __pyx_v_self->__wrapped__ = __pyx_v_async_gen_func;
11502
11510
 
11503
11511
  /* "a_sync/iter.pyx":482
11504
11512
  * "The actual async generator function."
@@ -11696,8 +11704,7 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_2__repr__(stru
11696
11704
  PyObject *__pyx_t_3 = NULL;
11697
11705
  PyObject *__pyx_t_4 = NULL;
11698
11706
  PyObject *__pyx_t_5 = NULL;
11699
- PyObject *__pyx_t_6 = NULL;
11700
- unsigned int __pyx_t_7;
11707
+ unsigned int __pyx_t_6;
11701
11708
  int __pyx_lineno = 0;
11702
11709
  const char *__pyx_filename = NULL;
11703
11710
  int __pyx_clineno = 0;
@@ -11727,17 +11734,6 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_2__repr__(stru
11727
11734
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))), __pyx_n_s_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 494, __pyx_L1_error)
11728
11735
  __Pyx_GOTREF(__pyx_t_3);
11729
11736
 
11730
- /* "a_sync/iter.pyx":495
11731
- * return "<{} for {} at {}>".format(
11732
- * type(self).__name__,
11733
- * self.__wrapped__, # <<<<<<<<<<<<<<
11734
- * hex(id(self))
11735
- * )
11736
- */
11737
- __Pyx_TraceLine(495,0,__PYX_ERR(0, 495, __pyx_L1_error))
11738
- __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_wrapped_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 495, __pyx_L1_error)
11739
- __Pyx_GOTREF(__pyx_t_4);
11740
-
11741
11737
  /* "a_sync/iter.pyx":496
11742
11738
  * type(self).__name__,
11743
11739
  * self.__wrapped__,
@@ -11746,32 +11742,31 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_2__repr__(stru
11746
11742
  *
11747
11743
  */
11748
11744
  __Pyx_TraceLine(496,0,__PYX_ERR(0, 496, __pyx_L1_error))
11749
- __pyx_t_5 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 496, __pyx_L1_error)
11745
+ __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 496, __pyx_L1_error)
11746
+ __Pyx_GOTREF(__pyx_t_4);
11747
+ __pyx_t_5 = __Pyx_PyObject_CallOneArg(__pyx_builtin_hex, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 496, __pyx_L1_error)
11750
11748
  __Pyx_GOTREF(__pyx_t_5);
11751
- __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_builtin_hex, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 496, __pyx_L1_error)
11752
- __Pyx_GOTREF(__pyx_t_6);
11753
- __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
11754
- __pyx_t_5 = NULL;
11755
- __pyx_t_7 = 0;
11749
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11750
+ __pyx_t_4 = NULL;
11751
+ __pyx_t_6 = 0;
11756
11752
  #if CYTHON_UNPACK_METHODS
11757
11753
  if (likely(PyMethod_Check(__pyx_t_2))) {
11758
- __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_2);
11759
- if (likely(__pyx_t_5)) {
11754
+ __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
11755
+ if (likely(__pyx_t_4)) {
11760
11756
  PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
11761
- __Pyx_INCREF(__pyx_t_5);
11757
+ __Pyx_INCREF(__pyx_t_4);
11762
11758
  __Pyx_INCREF(function);
11763
11759
  __Pyx_DECREF_SET(__pyx_t_2, function);
11764
- __pyx_t_7 = 1;
11760
+ __pyx_t_6 = 1;
11765
11761
  }
11766
11762
  }
11767
11763
  #endif
11768
11764
  {
11769
- PyObject *__pyx_callargs[4] = {__pyx_t_5, __pyx_t_3, __pyx_t_4, __pyx_t_6};
11770
- __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_7, 3+__pyx_t_7);
11771
- __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
11765
+ PyObject *__pyx_callargs[4] = {__pyx_t_4, __pyx_t_3, __pyx_v_self->__wrapped__, __pyx_t_5};
11766
+ __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_6, 3+__pyx_t_6);
11767
+ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
11772
11768
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11773
- __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11774
- __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
11769
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
11775
11770
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 493, __pyx_L1_error)
11776
11771
  __Pyx_GOTREF(__pyx_t_1);
11777
11772
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
@@ -11795,7 +11790,6 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_2__repr__(stru
11795
11790
  __Pyx_XDECREF(__pyx_t_3);
11796
11791
  __Pyx_XDECREF(__pyx_t_4);
11797
11792
  __Pyx_XDECREF(__pyx_t_5);
11798
- __Pyx_XDECREF(__pyx_t_6);
11799
11793
  __Pyx_AddTraceback("a_sync.iter._ASyncGeneratorFunction.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
11800
11794
  __pyx_r = NULL;
11801
11795
  __pyx_L0:;
@@ -11863,9 +11857,8 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_4__call__(stru
11863
11857
  PyObject *__pyx_t_3 = NULL;
11864
11858
  PyObject *__pyx_t_4 = NULL;
11865
11859
  PyObject *__pyx_t_5 = NULL;
11866
- PyObject *__pyx_t_6 = NULL;
11867
- unsigned int __pyx_t_7;
11868
- PyObject *__pyx_t_8 = NULL;
11860
+ unsigned int __pyx_t_6;
11861
+ PyObject *__pyx_t_7 = NULL;
11869
11862
  int __pyx_lineno = 0;
11870
11863
  const char *__pyx_filename = NULL;
11871
11864
  int __pyx_clineno = 0;
@@ -11894,33 +11887,30 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_4__call__(stru
11894
11887
  __Pyx_XDECREF(__pyx_r);
11895
11888
  __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_ASyncIterator); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 507, __pyx_L1_error)
11896
11889
  __Pyx_GOTREF(__pyx_t_3);
11897
- __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_wrapped_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 507, __pyx_L1_error)
11890
+ __pyx_t_4 = PyDict_Copy(__pyx_v_kwargs); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 507, __pyx_L1_error)
11898
11891
  __Pyx_GOTREF(__pyx_t_4);
11899
- __pyx_t_5 = PyDict_Copy(__pyx_v_kwargs); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 507, __pyx_L1_error)
11892
+ __pyx_t_5 = __Pyx_PyObject_Call(__pyx_v_self->__wrapped__, __pyx_v_args, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 507, __pyx_L1_error)
11900
11893
  __Pyx_GOTREF(__pyx_t_5);
11901
- __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_v_args, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 507, __pyx_L1_error)
11902
- __Pyx_GOTREF(__pyx_t_6);
11903
11894
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11904
- __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
11905
- __pyx_t_5 = NULL;
11906
- __pyx_t_7 = 0;
11895
+ __pyx_t_4 = NULL;
11896
+ __pyx_t_6 = 0;
11907
11897
  #if CYTHON_UNPACK_METHODS
11908
11898
  if (unlikely(PyMethod_Check(__pyx_t_3))) {
11909
- __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_3);
11910
- if (likely(__pyx_t_5)) {
11899
+ __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
11900
+ if (likely(__pyx_t_4)) {
11911
11901
  PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
11912
- __Pyx_INCREF(__pyx_t_5);
11902
+ __Pyx_INCREF(__pyx_t_4);
11913
11903
  __Pyx_INCREF(function);
11914
11904
  __Pyx_DECREF_SET(__pyx_t_3, function);
11915
- __pyx_t_7 = 1;
11905
+ __pyx_t_6 = 1;
11916
11906
  }
11917
11907
  }
11918
11908
  #endif
11919
11909
  {
11920
- PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_t_6};
11921
- __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_7, 1+__pyx_t_7);
11922
- __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
11923
- __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
11910
+ PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_5};
11911
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_6, 1+__pyx_t_6);
11912
+ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
11913
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
11924
11914
  if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 507, __pyx_L1_error)
11925
11915
  __Pyx_GOTREF(__pyx_t_2);
11926
11916
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
@@ -11949,8 +11939,6 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_4__call__(stru
11949
11939
  __Pyx_XDECREF(__pyx_r);
11950
11940
  __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_ASyncIterator); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 508, __pyx_L1_error)
11951
11941
  __Pyx_GOTREF(__pyx_t_3);
11952
- __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_wrapped_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 508, __pyx_L1_error)
11953
- __Pyx_GOTREF(__pyx_t_6);
11954
11942
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_self_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 508, __pyx_L1_error)
11955
11943
  __Pyx_GOTREF(__pyx_t_5);
11956
11944
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 508, __pyx_L1_error)
@@ -11963,13 +11951,12 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_4__call__(stru
11963
11951
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11964
11952
  __pyx_t_4 = PyDict_Copy(__pyx_v_kwargs); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 508, __pyx_L1_error)
11965
11953
  __Pyx_GOTREF(__pyx_t_4);
11966
- __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_5, __pyx_t_4); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 508, __pyx_L1_error)
11967
- __Pyx_GOTREF(__pyx_t_8);
11968
- __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
11954
+ __pyx_t_7 = __Pyx_PyObject_Call(__pyx_v_self->__wrapped__, __pyx_t_5, __pyx_t_4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 508, __pyx_L1_error)
11955
+ __Pyx_GOTREF(__pyx_t_7);
11969
11956
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
11970
11957
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11971
11958
  __pyx_t_4 = NULL;
11972
- __pyx_t_7 = 0;
11959
+ __pyx_t_6 = 0;
11973
11960
  #if CYTHON_UNPACK_METHODS
11974
11961
  if (unlikely(PyMethod_Check(__pyx_t_3))) {
11975
11962
  __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
@@ -11978,15 +11965,15 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_4__call__(stru
11978
11965
  __Pyx_INCREF(__pyx_t_4);
11979
11966
  __Pyx_INCREF(function);
11980
11967
  __Pyx_DECREF_SET(__pyx_t_3, function);
11981
- __pyx_t_7 = 1;
11968
+ __pyx_t_6 = 1;
11982
11969
  }
11983
11970
  }
11984
11971
  #endif
11985
11972
  {
11986
- PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_8};
11987
- __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_7, 1+__pyx_t_7);
11973
+ PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_7};
11974
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_6, 1+__pyx_t_6);
11988
11975
  __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
11989
- __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
11976
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
11990
11977
  if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 508, __pyx_L1_error)
11991
11978
  __Pyx_GOTREF(__pyx_t_2);
11992
11979
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
@@ -12009,8 +11996,7 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_4__call__(stru
12009
11996
  __Pyx_XDECREF(__pyx_t_3);
12010
11997
  __Pyx_XDECREF(__pyx_t_4);
12011
11998
  __Pyx_XDECREF(__pyx_t_5);
12012
- __Pyx_XDECREF(__pyx_t_6);
12013
- __Pyx_XDECREF(__pyx_t_8);
11999
+ __Pyx_XDECREF(__pyx_t_7);
12014
12000
  __Pyx_AddTraceback("a_sync.iter._ASyncGeneratorFunction.__call__", __pyx_clineno, __pyx_lineno, __pyx_filename);
12015
12001
  __pyx_r = NULL;
12016
12002
  __pyx_L0:;
@@ -12064,8 +12050,7 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_6__get__(struc
12064
12050
  PyObject *__pyx_t_9 = NULL;
12065
12051
  PyObject *__pyx_t_10 = NULL;
12066
12052
  PyObject *__pyx_t_11 = NULL;
12067
- PyObject *__pyx_t_12 = NULL;
12068
- unsigned int __pyx_t_13;
12053
+ unsigned int __pyx_t_12;
12069
12054
  int __pyx_lineno = 0;
12070
12055
  const char *__pyx_filename = NULL;
12071
12056
  int __pyx_clineno = 0;
@@ -12199,27 +12184,24 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_6__get__(struc
12199
12184
  __Pyx_TraceLine(523,0,__PYX_ERR(0, 523, __pyx_L6_except_error))
12200
12185
  __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_ASyncGeneratorFunction); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 523, __pyx_L6_except_error)
12201
12186
  __Pyx_GOTREF(__pyx_t_10);
12202
- __pyx_t_11 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_wrapped_2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 523, __pyx_L6_except_error)
12203
- __Pyx_GOTREF(__pyx_t_11);
12204
- __pyx_t_12 = NULL;
12205
- __pyx_t_13 = 0;
12187
+ __pyx_t_11 = NULL;
12188
+ __pyx_t_12 = 0;
12206
12189
  #if CYTHON_UNPACK_METHODS
12207
12190
  if (unlikely(PyMethod_Check(__pyx_t_10))) {
12208
- __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_10);
12209
- if (likely(__pyx_t_12)) {
12191
+ __pyx_t_11 = PyMethod_GET_SELF(__pyx_t_10);
12192
+ if (likely(__pyx_t_11)) {
12210
12193
  PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_10);
12211
- __Pyx_INCREF(__pyx_t_12);
12194
+ __Pyx_INCREF(__pyx_t_11);
12212
12195
  __Pyx_INCREF(function);
12213
12196
  __Pyx_DECREF_SET(__pyx_t_10, function);
12214
- __pyx_t_13 = 1;
12197
+ __pyx_t_12 = 1;
12215
12198
  }
12216
12199
  }
12217
12200
  #endif
12218
12201
  {
12219
- PyObject *__pyx_callargs[3] = {__pyx_t_12, __pyx_t_11, __pyx_v_instance};
12220
- __pyx_t_9 = __Pyx_PyObject_FastCall(__pyx_t_10, __pyx_callargs+1-__pyx_t_13, 2+__pyx_t_13);
12221
- __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
12222
- __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
12202
+ PyObject *__pyx_callargs[3] = {__pyx_t_11, __pyx_v_self->__wrapped__, __pyx_v_instance};
12203
+ __pyx_t_9 = __Pyx_PyObject_FastCall(__pyx_t_10, __pyx_callargs+1-__pyx_t_12, 2+__pyx_t_12);
12204
+ __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
12223
12205
  if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 523, __pyx_L6_except_error)
12224
12206
  __Pyx_GOTREF(__pyx_t_9);
12225
12207
  __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
@@ -12314,7 +12296,6 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_6__get__(struc
12314
12296
  __Pyx_XDECREF(__pyx_t_9);
12315
12297
  __Pyx_XDECREF(__pyx_t_10);
12316
12298
  __Pyx_XDECREF(__pyx_t_11);
12317
- __Pyx_XDECREF(__pyx_t_12);
12318
12299
  __Pyx_AddTraceback("a_sync.iter._ASyncGeneratorFunction.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
12319
12300
  __pyx_r = NULL;
12320
12301
  __pyx_L0:;
@@ -12766,8 +12747,8 @@ static void __pyx_f_6a_sync_4iter_23_ASyncGeneratorFunction__ASyncGeneratorFunct
12766
12747
  *
12767
12748
  * cdef class _ASyncGeneratorFunction:
12768
12749
  * cdef readonly object _cache_handle # <<<<<<<<<<<<<<
12769
- * cdef readonly object __weakself__
12770
- * cdef PyObject *__weakself_ptr
12750
+ * # must be public for functools.wraps
12751
+ * cdef public object __wrapped__
12771
12752
  */
12772
12753
 
12773
12754
  /* Python wrapper */
@@ -12810,9 +12791,141 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_13_cache_handl
12810
12791
  return __pyx_r;
12811
12792
  }
12812
12793
 
12813
- /* "a_sync/iter.pxd":5
12814
- * cdef class _ASyncGeneratorFunction:
12794
+ /* "a_sync/iter.pxd":6
12815
12795
  * cdef readonly object _cache_handle
12796
+ * # must be public for functools.wraps
12797
+ * cdef public object __wrapped__ # <<<<<<<<<<<<<<
12798
+ * cdef readonly object __weakself__
12799
+ * cdef PyObject *__weakself_ptr
12800
+ */
12801
+
12802
+ /* Python wrapper */
12803
+ static PyObject *__pyx_pw_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___1__get__(PyObject *__pyx_v_self); /*proto*/
12804
+ static PyObject *__pyx_pw_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___1__get__(PyObject *__pyx_v_self) {
12805
+ CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
12806
+ PyObject *__pyx_r = 0;
12807
+ __Pyx_RefNannyDeclarations
12808
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
12809
+ __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
12810
+ __pyx_r = __pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped_____get__(((struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *)__pyx_v_self));
12811
+
12812
+ /* function exit code */
12813
+ __Pyx_RefNannyFinishContext();
12814
+ return __pyx_r;
12815
+ }
12816
+
12817
+ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped_____get__(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *__pyx_v_self) {
12818
+ PyObject *__pyx_r = NULL;
12819
+ __Pyx_TraceDeclarations
12820
+ __Pyx_RefNannyDeclarations
12821
+ int __pyx_lineno = 0;
12822
+ const char *__pyx_filename = NULL;
12823
+ int __pyx_clineno = 0;
12824
+ __Pyx_RefNannySetupContext("__get__", 1);
12825
+ __Pyx_TraceCall("__get__", __pyx_f[2], 6, 0, __PYX_ERR(2, 6, __pyx_L1_error));
12826
+ __Pyx_XDECREF(__pyx_r);
12827
+ __Pyx_INCREF(__pyx_v_self->__wrapped__);
12828
+ __pyx_r = __pyx_v_self->__wrapped__;
12829
+ goto __pyx_L0;
12830
+
12831
+ /* function exit code */
12832
+ __pyx_L1_error:;
12833
+ __Pyx_AddTraceback("a_sync.iter._ASyncGeneratorFunction.__wrapped__.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
12834
+ __pyx_r = NULL;
12835
+ __pyx_L0:;
12836
+ __Pyx_XGIVEREF(__pyx_r);
12837
+ __Pyx_TraceReturn(__pyx_r, 0);
12838
+ __Pyx_RefNannyFinishContext();
12839
+ return __pyx_r;
12840
+ }
12841
+
12842
+ /* Python wrapper */
12843
+ static int __pyx_pw_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
12844
+ static int __pyx_pw_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
12845
+ CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
12846
+ int __pyx_r;
12847
+ __Pyx_RefNannyDeclarations
12848
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
12849
+ __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
12850
+ __pyx_r = __pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___2__set__(((struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *)__pyx_v_self), ((PyObject *)__pyx_v_value));
12851
+
12852
+ /* function exit code */
12853
+ __Pyx_RefNannyFinishContext();
12854
+ return __pyx_r;
12855
+ }
12856
+
12857
+ static int __pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___2__set__(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *__pyx_v_self, PyObject *__pyx_v_value) {
12858
+ int __pyx_r;
12859
+ __Pyx_TraceDeclarations
12860
+ __Pyx_RefNannyDeclarations
12861
+ int __pyx_lineno = 0;
12862
+ const char *__pyx_filename = NULL;
12863
+ int __pyx_clineno = 0;
12864
+ __Pyx_RefNannySetupContext("__set__", 1);
12865
+ __Pyx_TraceCall("__set__", __pyx_f[2], 6, 0, __PYX_ERR(2, 6, __pyx_L1_error));
12866
+ __Pyx_INCREF(__pyx_v_value);
12867
+ __Pyx_GIVEREF(__pyx_v_value);
12868
+ __Pyx_GOTREF(__pyx_v_self->__wrapped__);
12869
+ __Pyx_DECREF(__pyx_v_self->__wrapped__);
12870
+ __pyx_v_self->__wrapped__ = __pyx_v_value;
12871
+
12872
+ /* function exit code */
12873
+ __pyx_r = 0;
12874
+ goto __pyx_L0;
12875
+ __pyx_L1_error:;
12876
+ __Pyx_AddTraceback("a_sync.iter._ASyncGeneratorFunction.__wrapped__.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
12877
+ __pyx_r = -1;
12878
+ __pyx_L0:;
12879
+ __Pyx_TraceReturn(Py_None, 0);
12880
+ __Pyx_RefNannyFinishContext();
12881
+ return __pyx_r;
12882
+ }
12883
+
12884
+ /* Python wrapper */
12885
+ static int __pyx_pw_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___5__del__(PyObject *__pyx_v_self); /*proto*/
12886
+ static int __pyx_pw_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___5__del__(PyObject *__pyx_v_self) {
12887
+ CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
12888
+ int __pyx_r;
12889
+ __Pyx_RefNannyDeclarations
12890
+ __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
12891
+ __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
12892
+ __pyx_r = __pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___4__del__(((struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *)__pyx_v_self));
12893
+
12894
+ /* function exit code */
12895
+ __Pyx_RefNannyFinishContext();
12896
+ return __pyx_r;
12897
+ }
12898
+
12899
+ static int __pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___4__del__(struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *__pyx_v_self) {
12900
+ int __pyx_r;
12901
+ __Pyx_TraceDeclarations
12902
+ __Pyx_RefNannyDeclarations
12903
+ int __pyx_lineno = 0;
12904
+ const char *__pyx_filename = NULL;
12905
+ int __pyx_clineno = 0;
12906
+ __Pyx_RefNannySetupContext("__del__", 1);
12907
+ __Pyx_TraceCall("__del__", __pyx_f[2], 6, 0, __PYX_ERR(2, 6, __pyx_L1_error));
12908
+ __Pyx_INCREF(Py_None);
12909
+ __Pyx_GIVEREF(Py_None);
12910
+ __Pyx_GOTREF(__pyx_v_self->__wrapped__);
12911
+ __Pyx_DECREF(__pyx_v_self->__wrapped__);
12912
+ __pyx_v_self->__wrapped__ = Py_None;
12913
+
12914
+ /* function exit code */
12915
+ __pyx_r = 0;
12916
+ goto __pyx_L0;
12917
+ __pyx_L1_error:;
12918
+ __Pyx_AddTraceback("a_sync.iter._ASyncGeneratorFunction.__wrapped__.__del__", __pyx_clineno, __pyx_lineno, __pyx_filename);
12919
+ __pyx_r = -1;
12920
+ __pyx_L0:;
12921
+ __Pyx_TraceReturn(Py_None, 0);
12922
+ __Pyx_RefNannyFinishContext();
12923
+ return __pyx_r;
12924
+ }
12925
+
12926
+ /* "a_sync/iter.pxd":7
12927
+ * # must be public for functools.wraps
12928
+ * cdef public object __wrapped__
12816
12929
  * cdef readonly object __weakself__ # <<<<<<<<<<<<<<
12817
12930
  * cdef PyObject *__weakself_ptr
12818
12931
  * cdef inline void _set_cache_handle(self, object handle)
@@ -12841,7 +12954,7 @@ static PyObject *__pyx_pf_6a_sync_4iter_23_ASyncGeneratorFunction_12__weakself__
12841
12954
  const char *__pyx_filename = NULL;
12842
12955
  int __pyx_clineno = 0;
12843
12956
  __Pyx_RefNannySetupContext("__get__", 1);
12844
- __Pyx_TraceCall("__get__", __pyx_f[2], 5, 0, __PYX_ERR(2, 5, __pyx_L1_error));
12957
+ __Pyx_TraceCall("__get__", __pyx_f[2], 7, 0, __PYX_ERR(2, 7, __pyx_L1_error));
12845
12958
  __Pyx_XDECREF(__pyx_r);
12846
12959
  __Pyx_INCREF(__pyx_v_self->__weakself__);
12847
12960
  __pyx_r = __pyx_v_self->__weakself__;
@@ -21572,6 +21685,7 @@ static PyObject *__pyx_tp_new_6a_sync_4iter__ASyncGeneratorFunction(PyTypeObject
21572
21685
  p = ((struct __pyx_obj_6a_sync_4iter__ASyncGeneratorFunction *)o);
21573
21686
  p->__pyx_vtab = __pyx_vtabptr_6a_sync_4iter__ASyncGeneratorFunction;
21574
21687
  p->_cache_handle = Py_None; Py_INCREF(Py_None);
21688
+ p->__wrapped__ = Py_None; Py_INCREF(Py_None);
21575
21689
  p->__weakself__ = Py_None; Py_INCREF(Py_None);
21576
21690
  return o;
21577
21691
  }
@@ -21587,6 +21701,7 @@ static void __pyx_tp_dealloc_6a_sync_4iter__ASyncGeneratorFunction(PyObject *o)
21587
21701
  #endif
21588
21702
  PyObject_GC_UnTrack(o);
21589
21703
  Py_CLEAR(p->_cache_handle);
21704
+ Py_CLEAR(p->__wrapped__);
21590
21705
  Py_CLEAR(p->__weakself__);
21591
21706
  #if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY
21592
21707
  (*Py_TYPE(o)->tp_free)(o);
@@ -21604,6 +21719,9 @@ static int __pyx_tp_traverse_6a_sync_4iter__ASyncGeneratorFunction(PyObject *o,
21604
21719
  if (p->_cache_handle) {
21605
21720
  e = (*v)(p->_cache_handle, a); if (e) return e;
21606
21721
  }
21722
+ if (p->__wrapped__) {
21723
+ e = (*v)(p->__wrapped__, a); if (e) return e;
21724
+ }
21607
21725
  if (p->__weakself__) {
21608
21726
  e = (*v)(p->__weakself__, a); if (e) return e;
21609
21727
  }
@@ -21616,6 +21734,9 @@ static int __pyx_tp_clear_6a_sync_4iter__ASyncGeneratorFunction(PyObject *o) {
21616
21734
  tmp = ((PyObject*)p->_cache_handle);
21617
21735
  p->_cache_handle = Py_None; Py_INCREF(Py_None);
21618
21736
  Py_XDECREF(tmp);
21737
+ tmp = ((PyObject*)p->__wrapped__);
21738
+ p->__wrapped__ = Py_None; Py_INCREF(Py_None);
21739
+ Py_XDECREF(tmp);
21619
21740
  tmp = ((PyObject*)p->__weakself__);
21620
21741
  p->__weakself__ = Py_None; Py_INCREF(Py_None);
21621
21742
  Py_XDECREF(tmp);
@@ -21638,6 +21759,19 @@ static PyObject *__pyx_getprop_6a_sync_4iter_23_ASyncGeneratorFunction__cache_ha
21638
21759
  return __pyx_pw_6a_sync_4iter_23_ASyncGeneratorFunction_13_cache_handle_1__get__(o);
21639
21760
  }
21640
21761
 
21762
+ static PyObject *__pyx_getprop_6a_sync_4iter_23_ASyncGeneratorFunction___wrapped__(PyObject *o, CYTHON_UNUSED void *x) {
21763
+ return __pyx_pw_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___1__get__(o);
21764
+ }
21765
+
21766
+ static int __pyx_setprop_6a_sync_4iter_23_ASyncGeneratorFunction___wrapped__(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
21767
+ if (v) {
21768
+ return __pyx_pw_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___3__set__(o, v);
21769
+ }
21770
+ else {
21771
+ return __pyx_pw_6a_sync_4iter_23_ASyncGeneratorFunction_11__wrapped___5__del__(o);
21772
+ }
21773
+ }
21774
+
21641
21775
  static PyObject *__pyx_getprop_6a_sync_4iter_23_ASyncGeneratorFunction___weakself__(PyObject *o, CYTHON_UNUSED void *x) {
21642
21776
  return __pyx_pw_6a_sync_4iter_23_ASyncGeneratorFunction_12__weakself___1__get__(o);
21643
21777
  }
@@ -21656,6 +21790,7 @@ static PyMethodDef __pyx_methods_6a_sync_4iter__ASyncGeneratorFunction[] = {
21656
21790
  static struct PyGetSetDef __pyx_getsets_6a_sync_4iter__ASyncGeneratorFunction[] = {
21657
21791
  {(char *)"__self__", __pyx_getprop_6a_sync_4iter_23_ASyncGeneratorFunction___self__, 0, (char *)PyDoc_STR("_ASyncGeneratorFunction.__self__: object"), 0},
21658
21792
  {(char *)"_cache_handle", __pyx_getprop_6a_sync_4iter_23_ASyncGeneratorFunction__cache_handle, 0, (char *)0, 0},
21793
+ {(char *)"__wrapped__", __pyx_getprop_6a_sync_4iter_23_ASyncGeneratorFunction___wrapped__, __pyx_setprop_6a_sync_4iter_23_ASyncGeneratorFunction___wrapped__, (char *)PyDoc_STR("__wrapped__: object"), 0},
21659
21794
  {(char *)"__weakself__", __pyx_getprop_6a_sync_4iter_23_ASyncGeneratorFunction___weakself__, 0, (char *)0, 0},
21660
21795
  {0, 0, 0, 0, 0}
21661
21796
  };
Binary file
a_sync/iter.pxd CHANGED
@@ -2,6 +2,8 @@ from cpython.object cimport PyObject
2
2
 
3
3
  cdef class _ASyncGeneratorFunction:
4
4
  cdef readonly object _cache_handle
5
+ # must be public for functools.wraps
6
+ cdef public object __wrapped__
5
7
  cdef readonly object __weakself__
6
8
  cdef PyObject *__weakself_ptr
7
9
  cdef inline void _set_cache_handle(self, object handle)
a_sync/task.py CHANGED
@@ -43,6 +43,9 @@ logger = getLogger(__name__)
43
43
  MappingFn = Callable[Concatenate[K, P], Awaitable[V]]
44
44
 
45
45
 
46
+ _args = WeakKeyDictionary()
47
+
48
+
46
49
  class TaskMapping(DefaultDict[K, "Task[V]"], AsyncIterable[Tuple[K, V]]):
47
50
  """
48
51
  A mapping of keys to asynchronous tasks with additional functionality.
@@ -157,6 +160,9 @@ class TaskMapping(DefaultDict[K, "Task[V]"], AsyncIterable[Tuple[K, V]]):
157
160
 
158
161
  if iterables:
159
162
 
163
+ set_next = self._next.set
164
+ clear_next = self._next.clear
165
+
160
166
  @wraps(wrapped_func)
161
167
  async def _wrapped_set_next(
162
168
  *args: P.args, __a_sync_recursion: int = 0, **kwargs: P.kwargs
@@ -167,17 +173,27 @@ class TaskMapping(DefaultDict[K, "Task[V]"], AsyncIterable[Tuple[K, V]]):
167
173
  e.args = *e.args, f"wrapped:{self.__wrapped__}"
168
174
  raise
169
175
  except TypeError as e:
170
- if __a_sync_recursion > 2 or not (
171
- str(e).startswith(wrapped_func.__name__)
172
- and "got multiple values for argument" in str(e)
176
+ if (
177
+ args is None
178
+ or __a_sync_recursion > 2
179
+ or not (
180
+ str(e).startswith(wrapped_func.__name__)
181
+ and "got multiple values for argument" in str(e)
182
+ )
173
183
  ):
174
184
  raise
185
+
175
186
  # NOTE: args ordering is clashing with provided kwargs. We can handle this in a hacky way.
176
187
  # TODO: perform this check earlier and pre-prepare the args/kwargs ordering
188
+ try:
189
+ argspec = _args[self.__wrapped__]
190
+ except KeyError:
191
+ argspec = _args[self.__wrapped__] = getfullargspec(self.__wrapped__).args
192
+
177
193
  new_args = list(args)
178
194
  new_kwargs = dict(kwargs)
179
195
  try:
180
- for i, arg in enumerate(getfullargspec(self.__wrapped__).args):
196
+ for i, arg in enumerate(argspec):
181
197
  if arg in kwargs:
182
198
  new_args.insert(i, new_kwargs.pop(arg))
183
199
  else:
@@ -194,8 +210,8 @@ class TaskMapping(DefaultDict[K, "Task[V]"], AsyncIterable[Tuple[K, V]]):
194
210
  else e2.with_traceback(e2.__traceback__)
195
211
  )
196
212
  finally:
197
- self._next.set()
198
- self._next.clear()
213
+ set_next()
214
+ clear_next()
199
215
 
200
216
  self._wrapped_func = _wrapped_set_next
201
217
  init_loader_queue: Queue[Tuple[K, "Future[V]"]] = Queue()
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ez_a_sync
3
- Version: 0.32.12
3
+ Version: 0.32.13
4
4
  Summary: A library that makes it easy to define objects that can be used for both sync and async use cases.
5
5
  Home-page: https://github.com/BobTheBuidler/a-sync
6
6
  Author: BobTheBuidler
@@ -1,22 +1,17 @@
1
- ez_a_sync-0.32.12.dist-info/RECORD,,
2
- ez_a_sync-0.32.12.dist-info/WHEEL,sha256=KlkbZAa15pqAW8wXZ_dQ8a2CyxjD5-S6Jsmk2rQqeTQ,134
3
- ez_a_sync-0.32.12.dist-info/top_level.txt,sha256=ew2xVyFeZE_a5XMEL64h7-vJIbaBQieaFcvBAWUpU_s,7
4
- ez_a_sync-0.32.12.dist-info/METADATA,sha256=KX1WtoXgS0c9ntTeeZQly6oCRnE3a3fP8C3brQw7AE4,13197
5
- ez_a_sync-0.32.12.dist-info/licenses/LICENSE.txt,sha256=1on6-17OUMlja6vSPTcmlmeT_DwujCZJijYxaplBvZk,1075
6
- a_sync/debugging.c,sha256=0DDVbUYYKbezBHshu4_b-mzZ0cuvxFE6CpfrqsMV00w,589308
7
- a_sync/debugging.cpython-39-darwin.so,sha256=LBHjoLlR79X2z2GZY-PKMGzAqOJDm5oW9qUKISMREHk,149680
8
- a_sync/task.py,sha256=Es9UpImBgCtggVTzcw40ta2pVnphLinK3qI3Ei_SKdw,34632
9
- a_sync/exceptions.cpython-39-darwin.so,sha256=wGX3ISOiYJg_vVSV2_cU8saPu5_b7u1kMjzj444Hlvc,158128
1
+ a_sync/debugging.c,sha256=RfJnHds7wZdPmWg5PYc26nqjOQijqdOMMbGk43tvUhU,589339
2
+ a_sync/debugging.cpython-39-darwin.so,sha256=oxSZdB2zWmDCTCVPSuh4AjS8mQvJgURgWRFnvZwimVs,149680
3
+ a_sync/task.py,sha256=0aPqOe-nswQniHk1wzZ_pCVKXlWPgOSftYA4CHMertU,35045
4
+ a_sync/exceptions.cpython-39-darwin.so,sha256=4Ivzb8ZJ_BcFEpFm8EM75XPVKFBYGTnwiL4x0DPwQic,158128
10
5
  a_sync/_smart.c,sha256=v4LKFLjQiZylytn_f7uoWYvziiKnwJK6lj6gNhIyWKw,913352
11
6
  a_sync/_smart.pyi,sha256=mUQwUiiSsMsbtJTKdXm076ua5B2A9USaKgjZq1Se_ZQ,5390
12
7
  a_sync/functools.pyi,sha256=HGM208HKg5FOUbu9CbfnIOx3sdQB1OwO1t-0tZKd-T4,1404
13
8
  a_sync/_typing.py,sha256=x24VIVjxz8sUWPmQR072pHAQxJO769Nn02f3eakFpe8,6850
14
9
  a_sync/ENVIRONMENT_VARIABLES.py,sha256=YgIB8mQRqQBLbD3DdwMjx4ylqO8pK3GUvSNCerWJzx8,1280
15
- a_sync/_smart.cpython-39-darwin.so,sha256=WRITSQ9_0SoBxhE5Ki14RWhS0Am2hjjCcvpP4M1eJSQ,208280
10
+ a_sync/_smart.cpython-39-darwin.so,sha256=gMbatMOxF9UJxbqrU9vjwYTMs2TGIz1WOvvcwhEKy4I,208280
16
11
  a_sync/iter.pyx,sha256=TKzdMQkI74oKdgW-Us1WSgE5_KdS_7dOUykAmTHiXgU,37486
17
12
  a_sync/__init__.pxd,sha256=ol4jqkvuweaaU8GQU_Mq9rak8IIsagYTdhYhbKK74ac,81
18
13
  a_sync/functools.pxd,sha256=hhygzVpa5tXnDWR1pi_WLkOBd_1mC60K3279wYFEfA8,187
19
- a_sync/iter.cpython-39-darwin.so,sha256=m2_6XkiuuDoTaN-MybsS38AaE-7GeRJWs-hmJvgjUMw,408040
14
+ a_sync/iter.cpython-39-darwin.so,sha256=y8jlRnShBmCYm8GEnXRoeK67IRTZEdrwJEHxU9BeVY8,408456
20
15
  a_sync/_smart.pxd,sha256=3FlPqSvAtmGXIDFzfm7wpkvL6xt8z8w-vwow4Lura2g,76
21
16
  a_sync/exceptions.pyi,sha256=NnBEKUBzBCl0kLj75ukwyQeWXjwPSkDg-NxKsXh-Ans,10834
22
17
  a_sync/__init__.py,sha256=UrDqNkHGqvSY4O9wM9ObaoOP00cLq1sM-ucRnUvLyKk,5726
@@ -25,9 +20,9 @@ a_sync/aliases.py,sha256=TbLyuLeFfJEmcC5-NP6h4DQ9QXlQjGny2NUP_x1tflw,212
25
20
  a_sync/_smart.pyx,sha256=H69s97xyiuYZcF5k_pXv8c50g40kkooKkSAsSH7359U,19459
26
21
  a_sync/functools.c,sha256=KwvIpLg4DT2z4P-VlvJLL2pR3CeWdQslyKLOY4xrQlI,450421
27
22
  a_sync/functools.pyx,sha256=F-Vp5JrhEt4jaFQDx48FadI7NGLlPfoIPWRWHTQob0Q,4837
28
- a_sync/functools.cpython-39-darwin.so,sha256=8yt1vUu-FtfmV-cWer5imZzp-lqoqgvTw9XS8FeQQj0,121904
29
- a_sync/iter.c,sha256=XmEDM2hAUhyvwT_pGhivBBk5OdIb01HAjZpfsjkiFJY,1611802
30
- a_sync/iter.pxd,sha256=UcuWgdezhjgMQ05x3KaUrmsQJkXwqWZbI6mod31qEXc,351
23
+ a_sync/functools.cpython-39-darwin.so,sha256=YKfJSGoldggEIu-oJfZv0W3l3W1MFFtM4x0cuS6JR-g,121904
24
+ a_sync/iter.c,sha256=WS1z9wYxIBs9XcQBsfZnQCmDdkM5GqM-AbVZR-4-4Bk,1617426
25
+ a_sync/iter.pxd,sha256=VQKDAzm1M4snbrL9vwhU2zl04H4LeJrWtqksw6yGWOc,427
31
26
  a_sync/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
27
  a_sync/future.py,sha256=CK3t7BE1AfuFhWLFw50rFaCox0IRYW2x0HqVpOJC6o8,48675
33
28
  a_sync/iter.pyi,sha256=785C3RAcRT69ngv3LfEE56Sf8hyLqapxS94uqfz1na8,15412
@@ -45,15 +40,15 @@ a_sync/a_sync/property.pyi,sha256=GWXCWpJBa_qxBYfbv_Lmt02Md8WK9nJYTu7blO4O2ew,13
45
40
  a_sync/a_sync/_helpers.pxd,sha256=VG28VRW-jlTZJ-0H-W8Y8u5gw8zUVIbsb3nW-REI_Z4,118
46
41
  a_sync/a_sync/config.py,sha256=siXP4CFLQ_vswuG5K-G6cOSjQ6xKc1gN7-XNHFN2tFU,6221
47
42
  a_sync/a_sync/_flags.c,sha256=hxVtZT5faViQExnKIQnSBb-p9Rbqpxpor9dNxQH9dZA,217269
48
- a_sync/a_sync/property.cpython-39-darwin.so,sha256=rjKAypK8paY1VNzaCqzeVXYNjSV0RNn_DAa7UypmABk,301552
49
- a_sync/a_sync/_descriptor.cpython-39-darwin.so,sha256=bEcX3t6p1DuPMesd8k_1M0R-s166WwLMuFxRA7JVSBc,208640
50
- a_sync/a_sync/function.cpython-39-darwin.so,sha256=nyQypOsYeg69ocyjKqOhhRWtCxjLrNuHOBVYxbWwkKE,384160
51
- a_sync/a_sync/_flags.cpython-39-darwin.so,sha256=umtYebYbefOQuL1yaNe7iqereUpjoEQ1-1t_ciiNLGM,76360
43
+ a_sync/a_sync/property.cpython-39-darwin.so,sha256=OAJP2CP6guQ6rh9Z3I8FQ2VfKTKKLalyBQ69toqnkrU,301552
44
+ a_sync/a_sync/_descriptor.cpython-39-darwin.so,sha256=44TUuD0kAxr9wPRpoONkMaeWladf9hHpYJwEYebJvX0,208640
45
+ a_sync/a_sync/function.cpython-39-darwin.so,sha256=eQjAzC7cYi1dzugR31P8_u6DHqEQFsnmVjsqWhRaND4,384160
46
+ a_sync/a_sync/_flags.cpython-39-darwin.so,sha256=H0q-OTMcXRYNzF7sqME0t0Il8C2Rfyykn95Pyz59_pE,76360
52
47
  a_sync/a_sync/decorator.py,sha256=CdZuy_ql4oxzg4qbxCHTtHrGnMkxJKs1LwzlmLdX3Uc,17188
53
- a_sync/a_sync/method.cpython-39-darwin.so,sha256=iq3axCQrvGYe1jwe_eStC_qL3eIeZunRdDlBcfts-Hg,319128
48
+ a_sync/a_sync/method.cpython-39-darwin.so,sha256=TJ7UmX6qBRAbp1P2GyLvks62GTwNPUk33y5CD2V0vtM,319128
54
49
  a_sync/a_sync/property.c,sha256=xNyEG7-rehLJ5sSqjJopkWCkXvDf8CvT6ZAk_emBoJQ,1243816
55
- a_sync/a_sync/flags.cpython-39-darwin.so,sha256=6IuaNHhEB_tltUgHwPAEPXdErpN8DRty4ajKD57g7RQ,56232
56
- a_sync/a_sync/abstract.cpython-39-darwin.so,sha256=99huAfJt0Nub0Tsdj8GIZl0AGuTWGOzXnBBAbrkH76Y,122288
50
+ a_sync/a_sync/flags.cpython-39-darwin.so,sha256=FEOhKuO1IXVcBjPk9iahbGPofzMzxNDVLBl6ddj04JU,56232
51
+ a_sync/a_sync/abstract.cpython-39-darwin.so,sha256=DdXRQtlz-d8RGanmC1SOXDQAmGKxSt5MWat4XugFXcA,122288
57
52
  a_sync/a_sync/_helpers.pyi,sha256=t2iBYRsG3qCfhzEfO6aG4KLQv_LWe8yjYDZ4RppnOak,319
58
53
  a_sync/a_sync/method.pyx,sha256=gTyPQn1znZCsIHnqeXC2nPRoRNBrnpHTx7fAQwW9nEk,35131
59
54
  a_sync/a_sync/flags.pyi,sha256=PPAqrtJOvabVudb_yT32yZ95PP15uzzuXD2NirkWqTw,2229
@@ -63,10 +58,10 @@ a_sync/a_sync/__init__.py,sha256=P8AO0TBmYPW5BYVk0TohOwLq8jurpRKfXnaPO-qDMJw,220
63
58
  a_sync/a_sync/function.c,sha256=12-cYu-_CbCPan-pW5N_4R-AeiUEkDOgyAgtjRZTp70,1692632
64
59
  a_sync/a_sync/_descriptor.pyi,sha256=N77KA4DQbXUXKeAf-vTpAXc7E4Bk1d-Khtr7vjzwRwI,1343
65
60
  a_sync/a_sync/_helpers.c,sha256=H3xMbljWjqkTByQmwyFkdJGoMXH_EeEQfHPtn9qeAng,550837
66
- a_sync/a_sync/base.cpython-39-darwin.so,sha256=LhmtKp-q49Qy89XI1diII1LHg6W-ApY6DJin1CjXMyY,141720
67
- a_sync/a_sync/_helpers.cpython-39-darwin.so,sha256=z791NHEXsfLjFOpdYMw_UQfhHAR3OOGe2s_10ZfENmw,146096
61
+ a_sync/a_sync/base.cpython-39-darwin.so,sha256=wcuIFsGM7oFY8EZrJ9n06HJ9mP9nl2mck9c_1CfUFc0,141720
62
+ a_sync/a_sync/_helpers.cpython-39-darwin.so,sha256=B0PH81DZmaC_tSr77GbYUcqOxsGEHbiStd3dLP-yGU8,146096
68
63
  a_sync/a_sync/abstract.pyi,sha256=IGEh74mnvZECWpSr0bh-ZQeFc-6Q4cu9EefhEaDLp2c,5071
69
- a_sync/a_sync/_kwargs.cpython-39-darwin.so,sha256=pTe7XH7nFtMN0dB4gmpEDpEZE_zoYsPYUA8FpijAv4g,105696
64
+ a_sync/a_sync/_kwargs.cpython-39-darwin.so,sha256=tEJt10V14Sv5nJBmW_NP4wyG18D-NtZ7fk-YY9FTLR8,105696
70
65
  a_sync/a_sync/base.pyx,sha256=73vU-pr2XClsKLcGlQbhAhjLFHMoBQrb6UH-YuCBhxU,10603
71
66
  a_sync/a_sync/function.pxd,sha256=WLkHI94wFFFMoOwgEg3A83FIR_1h3ViZWENHE3VWHno,679
72
67
  a_sync/a_sync/_descriptor.c,sha256=BIV7KxjkbqOuOsjuSy1Lspvhv4Z-kwhoYZp4fUlPvZQ,843727
@@ -85,7 +80,7 @@ a_sync/a_sync/_kwargs.c,sha256=blxZEu_yTOZAAn1aARwbJlTKoSgC3ojhSWeGgG6Y6ws,40523
85
80
  a_sync/a_sync/_kwargs.pyx,sha256=0hHXMlOpJmtNJ7yApnwEr7U_sub5yrOuZbSn_oBMxwk,1975
86
81
  a_sync/a_sync/_descriptor.pyx,sha256=jlQ8VgBmUB7fMUBsb3cIqyREmspkTgLQv5jZNqowkwg,13602
87
82
  a_sync/a_sync/modifiers/manager.pyi,sha256=oSMpBaZJPxzqaAyLT8ikA1DNHvyPRVqVIXrL0EvDe4A,6222
88
- a_sync/a_sync/modifiers/manager.cpython-39-darwin.so,sha256=CX1riV9h7jFFkbjzjsISG-2GfRE7C9eNs8zptbVmi4g,168944
83
+ a_sync/a_sync/modifiers/manager.cpython-39-darwin.so,sha256=KYYjUezfjON2N9wj4TJ9E1d5xdNvM7eBkKP-SRA_D84,168944
89
84
  a_sync/a_sync/modifiers/__init__.pxd,sha256=17tPpMY2ByVbMGIpI5kiP3WX8V9IM5ZHJp0Y3eT6LvE,60
90
85
  a_sync/a_sync/modifiers/semaphores.py,sha256=V1_jjxwuXq55y6Lv4yP4mymVj5AOCMIZXSkaZSKwEdw,6916
91
86
  a_sync/a_sync/modifiers/manager.pxd,sha256=s7zw1kllYYGpe5uFETRIUFsgbVdtFM8jGh4RxZgm25M,183
@@ -96,7 +91,7 @@ a_sync/a_sync/modifiers/limiter.py,sha256=WjO32P4vZLvyJnwpm2qFgqwRmCM7eEHxcdXzil
96
91
  a_sync/a_sync/modifiers/cache/memory.py,sha256=vON9K6K3nMkGphfUHCTrtURJUXZ3IE9B757wa-H1oFk,5335
97
92
  a_sync/a_sync/modifiers/cache/__init__.py,sha256=SJlZ1EyyzBkYlWMU4XbiAlW9SCqCQbOAmDgVAP7CDN0,5532
98
93
  a_sync/utils/repr.pyx,sha256=xdsVdK75Zi5pAoh-8qRG0q7F0ySAq1zDkksZw37FoL4,2632
99
- a_sync/utils/repr.cpython-39-darwin.so,sha256=GZmcLqg-eYqlzr5B1sLkbwEWN_RMhPgNOc2yKZ_6AEc,145400
94
+ a_sync/utils/repr.cpython-39-darwin.so,sha256=w5kcTQf7vDTknEfaaoCK5PtP4ZfFHtALaBek0ABrTyQ,145400
100
95
  a_sync/utils/__init__.py,sha256=Y6R-IcD5ROzp2Zs3ZMv3bapkcfOpJHlBeD838bntd-Q,3213
101
96
  a_sync/utils/iterators.py,sha256=GkT2fgMVKDorT-BKPPOPOIDj5Zt4yl-5vAmpn4H5wGA,11055
102
97
  a_sync/utils/repr.pyi,sha256=PWdsa6sF9_3nBqEgLaxtaHty7o7gwL--jPqvcelHY10,131
@@ -111,18 +106,18 @@ a_sync/primitives/__init__.py,sha256=U5r-Do_TKR1FbfLEHuckiYs87QkN4HsYNZfunRhX52c
111
106
  a_sync/primitives/_loggable.pxd,sha256=1YRkqc20KcPoTukbWXn7qpbZ8zA16X1h_84vadCqSPc,133
112
107
  a_sync/primitives/_loggable.pyx,sha256=jxKSBCs4VlXuYC7LsxbUJw0FJInjBKOkEdBSoqCndxY,3003
113
108
  a_sync/primitives/_debug.pyx,sha256=NH2hr-yQLz1pKnmleIpIeDVTy75KSguQpUiuoza_ahc,7849
114
- a_sync/primitives/_loggable.cpython-39-darwin.so,sha256=hfcay9q0muz8Qdjtv86IjfM-lnt79AekDqHMRyLh0vs,103904
115
- a_sync/primitives/_debug.cpython-39-darwin.so,sha256=fAcZOa9Yk8xlZIue8bLU6GQo3PZI1YB9ITvpqcLhd7U,149256
109
+ a_sync/primitives/_loggable.cpython-39-darwin.so,sha256=gLBLKES05oiGLuUY6BScQNLIwj0K6drZRxK2rwrCsTg,103904
110
+ a_sync/primitives/_debug.cpython-39-darwin.so,sha256=35ZMlBADQgRZtPNq8aZ9stP3DdQEYHQWD40oe9Zfkhg,149256
116
111
  a_sync/primitives/_loggable.c,sha256=Us1P0zNcyclaIoWNOwRQp92ejJTqgX0aHyIdBBVb2DI,419940
117
- a_sync/primitives/locks/counter.cpython-39-darwin.so,sha256=lrUmAiBQCBLo6ceYwPyzYBk2JrMInU9I1ui-B95oITQ,170256
112
+ a_sync/primitives/locks/counter.cpython-39-darwin.so,sha256=L1bqtO1CF4ektIoJ3v5SogT5IYqzAUZGvJEQN7dmSQE,170256
118
113
  a_sync/primitives/locks/prio_semaphore.pyi,sha256=w3xGj3-kdFEjw4k8vzt4TiWsG8j5KC6erXBNNrEhaL0,7644
119
114
  a_sync/primitives/locks/event.pyx,sha256=PFQoQVZ9DozV2LOdKK-03fWpX_MrvBqxikKk4k3PjHs,6049
120
115
  a_sync/primitives/locks/semaphore.pyx,sha256=eQX6J5SdWK5qnXNPs6frO6BpQf9RuExNwZIjMlkNnHI,14965
121
116
  a_sync/primitives/locks/prio_semaphore.c,sha256=xzwXUNqHvWCUuORdnEuia0oRE7PIYVj2a5dn0AvwXZw,1161447
122
117
  a_sync/primitives/locks/__init__.pxd,sha256=DuPhDRldnCwqBUxgo9V5K0GmA8BWLf5fC266ujDQ9pc,302
123
- a_sync/primitives/locks/semaphore.cpython-39-darwin.so,sha256=0iAWPeJ4FyGl2x4HNggzJFwiRVhx_0XF2w82OABVW48,257264
118
+ a_sync/primitives/locks/semaphore.cpython-39-darwin.so,sha256=mWthRJWmm01RqDSZsS8F3wOhDfbYBtDwu4HqhVW0LR0,257264
124
119
  a_sync/primitives/locks/prio_semaphore.pxd,sha256=SZXX1jH12m9PKH9VmrKpLdTctY0c_wYS75YGWoDdlzE,1041
125
- a_sync/primitives/locks/prio_semaphore.cpython-39-darwin.so,sha256=B5vSi8x0hu-B3slZ6DXyy9lk1flvfH7AzTMl_k4S-T4,257888
120
+ a_sync/primitives/locks/prio_semaphore.cpython-39-darwin.so,sha256=Xcb7LSUBzfc4_vbdF4MFHTLAi3im5-b0ITCLmB6oQXw,257888
126
121
  a_sync/primitives/locks/counter.pyx,sha256=H_3LN50-zDvBSgHoKXXOMlUKs78aZSFDhu8gQrhWV5Y,9055
127
122
  a_sync/primitives/locks/__init__.py,sha256=XPiWbxxPyaCC-NnfNm42up2qf61LdqFgzGkq082DL1Q,436
128
123
  a_sync/primitives/locks/counter.pxd,sha256=_HoPXPMTRY3Gw3GPUB2jAx7lUpjJ4QyO75YiR_BehAQ,409
@@ -133,7 +128,7 @@ a_sync/primitives/locks/prio_semaphore.pyx,sha256=DAgcufTedvvPBj5BfM56chjplEi0QU
133
128
  a_sync/primitives/locks/semaphore.pyi,sha256=ynHIA0k9HMzbsTfhMAwCEfpZSECVhXxhcNAwwQmsSlI,5975
134
129
  a_sync/primitives/locks/counter.c,sha256=MiG2k0PhWJHpC5NBh87GJbLBYOjOhzuf9uGXb86nPjc,713260
135
130
  a_sync/primitives/locks/semaphore.pxd,sha256=zy-PgktLUsFaXxvrSbB3m6gxisgzchCpKrcX8Zzwq_I,585
136
- a_sync/primitives/locks/event.cpython-39-darwin.so,sha256=mySRvs-yzu0np0N208LgWce2-ZF5lShK24jIke7fB-I,167192
131
+ a_sync/primitives/locks/event.cpython-39-darwin.so,sha256=zrm8E7rRk6EQe_UrbvWhtvISLV6kgiWJX5rjEl0WIic,167192
137
132
  a_sync/primitives/locks/event.pxd,sha256=Wk1wLD8P6Nml1mzrRM6H34bD06LZWovjEYKnRhGcXE4,696
138
133
  a_sync/primitives/locks/counter.pyi,sha256=d83iZwFj5mK9fIohh7n1uRdRiGAnfi2FNMZSyKtli9A,5077
139
134
  a_sync/sphinx/__init__.py,sha256=UvdsakVmkn0Lw4vEd3jA3_Acymde95-78o87lel8ikk,49
@@ -144,12 +139,12 @@ a_sync/async_property/cached.pyi,sha256=kL7Cvn7z26R7JROFDQ22GaWll-TvOL79Q-OeQ2oa
144
139
  a_sync/async_property/cached.c,sha256=70ERIMLrNtYymVNVB_dThQUQFH7a7LwUzeDM8oE8znc,858352
145
140
  a_sync/async_property/__init__.pxd,sha256=EGawuQLZIz7ZZLOFmaOQAFUVvabadR0aPYBW7U4TaCo,74
146
141
  a_sync/async_property/cached.pxd,sha256=u4XHDFvvaRv7y65VyDI8gVmYzlGD-kFlN1H2lc48EqU,339
147
- a_sync/async_property/cached.cpython-39-darwin.so,sha256=jhnI_BSjugPBM76Zy8CWlwUmJ4NNixKhA91dd2RtwDQ,205480
142
+ a_sync/async_property/cached.cpython-39-darwin.so,sha256=Jiz_ZoJ6wTSD3_OZe4S4uMtFU7QPA_sZgMq7k8g5evE,205480
148
143
  a_sync/async_property/proxy.pxd,sha256=fyc5IGOcwNzBP6XsG3vYKjbLP6dOfSVCtGb1EEWDxVU,47
149
144
  a_sync/async_property/__init__.py,sha256=L0JYdB7p3RLDRVNExPKl9MtcHaPLIqo5lnpGmHVUI9E,63
150
145
  a_sync/async_property/proxy.pyx,sha256=0_qGYnr6ZyBtQQGIRI2cMB_o0Bz7RZxJKwuVQGFTgTI,13295
151
146
  a_sync/async_property/cached.pyx,sha256=4UoHk6yACkpwKjD_DBHLMb2JIAAhKVmhDGU7WZYg-Cc,6314
152
- a_sync/async_property/proxy.cpython-39-darwin.so,sha256=TeEq26sJNmNqyxOUMJjt5Dxt85y0r99MlkY0d-irqtM,333400
147
+ a_sync/async_property/proxy.cpython-39-darwin.so,sha256=B8PSrE4eH7p8pBVwLhdXahCgBPzwkqn1FKNprx9QP1I,333400
153
148
  a_sync/asyncio/sleep.pyx,sha256=kjNeRimAfMZB6vJs7t-SbtMgnRqhybO3cZ7uijkosJs,1273
154
149
  a_sync/asyncio/as_completed.pxd,sha256=mISE2jdb2jOS0q3TKg0F_k-Zf-d3hzdBNKU1PT-Tn40,162
155
150
  a_sync/asyncio/igather.c,sha256=X7Pcp1euFrTaUY3fkHHfaYmYexKIPapI9I_NmFYpMG8,485487
@@ -164,14 +159,19 @@ a_sync/asyncio/as_completed.pyi,sha256=-VdtfMlX0XdkqJbJm8C0gEAi_BfRbkz3Xkdver6vH
164
159
  a_sync/asyncio/sleep.pyi,sha256=ab8OtiZm4Py0-sVQA2pzGVZiHUoTItkJG_Nd02xduuE,537
165
160
  a_sync/asyncio/sleep.c,sha256=vrlY1_8dMSyk1ggO6tk5Td43gujjXiJAt2FFUgMMpoU,342937
166
161
  a_sync/asyncio/as_completed.c,sha256=jbM1c_UmHWd_oXnWAYNDDNz1kKCRw0Ev8vBOzxri52A,735119
167
- a_sync/asyncio/create_task.cpython-39-darwin.so,sha256=S90_CS4kTmfPWyYqDUDz8u5du1WvyVHUdRUTXffpWfk,148288
162
+ a_sync/asyncio/create_task.cpython-39-darwin.so,sha256=_XTBHTxwO3Zy8E4mt4tQBgBXPO9-3QuCzyihZKMWQoY,148288
168
163
  a_sync/asyncio/create_task.pyi,sha256=5H2z4k_2dGG2QTGjGEgP1N6ITuClYYWzkPbzaeQwKks,1864
169
- a_sync/asyncio/gather.cpython-39-darwin.so,sha256=Ui7y-V41PfBHi46z3QiUhVM8wdH5YsF4YgQ3H9D80kE,166792
170
- a_sync/asyncio/igather.cpython-39-darwin.so,sha256=D-ZlAh4cqwH48nNp9-Gk6FoqYoxdDrMuCScWOezd1uQ,120736
171
- a_sync/asyncio/as_completed.cpython-39-darwin.so,sha256=sB2M8UtmgAp6W0VxD_TBvVG2iniMLarq9xOI0kNbb14,187280
164
+ a_sync/asyncio/gather.cpython-39-darwin.so,sha256=fVBnnPmAtIhUusONpe5VanE9WiriPqoUQT-RHpVFVJI,166792
165
+ a_sync/asyncio/igather.cpython-39-darwin.so,sha256=RMrc88zWECmmRXIKcGMdU-KOpVttGH-H6IyiidnaT0M,120736
166
+ a_sync/asyncio/as_completed.cpython-39-darwin.so,sha256=wDp8bhs-S_8xUTAhhEpkNq9vkrsgVyw91egRp944jGQ,187280
172
167
  a_sync/asyncio/igather.pyx,sha256=TctS1kLzaYztLrZJmLwIOOvJTthKiEwsy-AaW1ObnKg,6325
173
168
  a_sync/asyncio/gather.pyx,sha256=4ALHvhJPQsNtw7b9dsbhwmKpXEbiRzOCjMqagi3sTXs,8566
174
169
  a_sync/asyncio/gather.c,sha256=MLhPvLSGGCpxgMNtiA8Xcx3nniDOLzMSVYnFbSFWukE,637555
175
170
  a_sync/asyncio/create_task.pxd,sha256=x-sZVX-26NoqxYb5mH33uh2Mg-3AqqdYGXx4Ai7xZwU,143
176
- a_sync/asyncio/sleep.cpython-39-darwin.so,sha256=Byx1iSd_wp4bW9R34rWWqjpoloWVP25A7ncDjnG-O7o,84296
171
+ a_sync/asyncio/sleep.cpython-39-darwin.so,sha256=J1OEN2wGb3Y-skIcKHoYGBWDy2zcm2oQkLqBsAFhW8A,84296
177
172
  a_sync/asyncio/as_completed.pyx,sha256=ar0gJ3iN6-4Jw8xy6i7KVJ54RnAGt1JWE85Wh6kPF48,9052
173
+ ez_a_sync-0.32.13.dist-info/RECORD,,
174
+ ez_a_sync-0.32.13.dist-info/WHEEL,sha256=89OZOrMCBZBN9oGuxW8QyYe_D7r5CVvwokoikLschNg,134
175
+ ez_a_sync-0.32.13.dist-info/top_level.txt,sha256=ew2xVyFeZE_a5XMEL64h7-vJIbaBQieaFcvBAWUpU_s,7
176
+ ez_a_sync-0.32.13.dist-info/METADATA,sha256=UR-xEgaccDdRssgXeftsqT0ChtluUZW0hDBbFW03HW0,13197
177
+ ez_a_sync-0.32.13.dist-info/licenses/LICENSE.txt,sha256=1on6-17OUMlja6vSPTcmlmeT_DwujCZJijYxaplBvZk,1075
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.3.1)
2
+ Generator: setuptools (80.7.1)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp39-cp39-macosx_11_0_arm64
5
5
  Generator: delocate 0.13.0