ez-a-sync 0.32.12__cp312-cp312-macosx_11_0_arm64.whl → 0.32.13__cp312-cp312-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-312-darwin.so +0 -0
  2. a_sync/a_sync/_descriptor.cpython-312-darwin.so +0 -0
  3. a_sync/a_sync/_flags.cpython-312-darwin.so +0 -0
  4. a_sync/a_sync/_helpers.cpython-312-darwin.so +0 -0
  5. a_sync/a_sync/_kwargs.cpython-312-darwin.so +0 -0
  6. a_sync/a_sync/abstract.cpython-312-darwin.so +0 -0
  7. a_sync/a_sync/base.cpython-312-darwin.so +0 -0
  8. a_sync/a_sync/flags.cpython-312-darwin.so +0 -0
  9. a_sync/a_sync/function.cpython-312-darwin.so +0 -0
  10. a_sync/a_sync/method.cpython-312-darwin.so +0 -0
  11. a_sync/a_sync/modifiers/manager.cpython-312-darwin.so +0 -0
  12. a_sync/a_sync/property.cpython-312-darwin.so +0 -0
  13. a_sync/async_property/cached.cpython-312-darwin.so +0 -0
  14. a_sync/async_property/proxy.cpython-312-darwin.so +0 -0
  15. a_sync/asyncio/as_completed.cpython-312-darwin.so +0 -0
  16. a_sync/asyncio/create_task.cpython-312-darwin.so +0 -0
  17. a_sync/asyncio/gather.cpython-312-darwin.so +0 -0
  18. a_sync/asyncio/igather.cpython-312-darwin.so +0 -0
  19. a_sync/asyncio/sleep.cpython-312-darwin.so +0 -0
  20. a_sync/debugging.c +3 -2
  21. a_sync/debugging.cpython-312-darwin.so +0 -0
  22. a_sync/exceptions.cpython-312-darwin.so +0 -0
  23. a_sync/functools.cpython-312-darwin.so +0 -0
  24. a_sync/iter.c +216 -81
  25. a_sync/iter.cpython-312-darwin.so +0 -0
  26. a_sync/iter.pxd +2 -0
  27. a_sync/primitives/_debug.cpython-312-darwin.so +0 -0
  28. a_sync/primitives/_loggable.cpython-312-darwin.so +0 -0
  29. a_sync/primitives/locks/counter.cpython-312-darwin.so +0 -0
  30. a_sync/primitives/locks/event.cpython-312-darwin.so +0 -0
  31. a_sync/primitives/locks/prio_semaphore.cpython-312-darwin.so +0 -0
  32. a_sync/primitives/locks/semaphore.cpython-312-darwin.so +0 -0
  33. a_sync/task.py +22 -6
  34. a_sync/utils/repr.cpython-312-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
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,45 +1,40 @@
1
- ez_a_sync-0.32.12.dist-info/RECORD,,
2
- ez_a_sync-0.32.12.dist-info/WHEEL,sha256=SwyhoeD6EmB_dYF3AMoudzNZbcpWs2V9bg8Km_uke6A,136
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/task.py,sha256=Es9UpImBgCtggVTzcw40ta2pVnphLinK3qI3Ei_SKdw,34632
1
+ a_sync/debugging.c,sha256=RfJnHds7wZdPmWg5PYc26nqjOQijqdOMMbGk43tvUhU,589339
2
+ a_sync/task.py,sha256=0aPqOe-nswQniHk1wzZ_pCVKXlWPgOSftYA4CHMertU,35045
8
3
  a_sync/_smart.c,sha256=v4LKFLjQiZylytn_f7uoWYvziiKnwJK6lj6gNhIyWKw,913352
9
4
  a_sync/_smart.pyi,sha256=mUQwUiiSsMsbtJTKdXm076ua5B2A9USaKgjZq1Se_ZQ,5390
10
5
  a_sync/functools.pyi,sha256=HGM208HKg5FOUbu9CbfnIOx3sdQB1OwO1t-0tZKd-T4,1404
11
6
  a_sync/_typing.py,sha256=x24VIVjxz8sUWPmQR072pHAQxJO769Nn02f3eakFpe8,6850
12
- a_sync/functools.cpython-312-darwin.so,sha256=fHZP7YW7X7R-gX-WSVMEHBw4KiPrB3hupcHoPBxdeog,121904
7
+ a_sync/functools.cpython-312-darwin.so,sha256=tOYL4ReQt6ol9MF9JfQMNsmpeUB4ff-bmsM95KBP3jU,121904
13
8
  a_sync/ENVIRONMENT_VARIABLES.py,sha256=YgIB8mQRqQBLbD3DdwMjx4ylqO8pK3GUvSNCerWJzx8,1280
14
9
  a_sync/iter.pyx,sha256=TKzdMQkI74oKdgW-Us1WSgE5_KdS_7dOUykAmTHiXgU,37486
15
10
  a_sync/__init__.pxd,sha256=ol4jqkvuweaaU8GQU_Mq9rak8IIsagYTdhYhbKK74ac,81
16
- a_sync/_smart.cpython-312-darwin.so,sha256=VlSxTQIba-1LzLNmmRQHOzZXcihoIT9YNE_ZXQpUvcQ,225312
11
+ a_sync/_smart.cpython-312-darwin.so,sha256=6MrT7hYOrdKykx-Sv8q_KY1BDKgL74vhGb8WPEBV1iU,225312
17
12
  a_sync/functools.pxd,sha256=hhygzVpa5tXnDWR1pi_WLkOBd_1mC60K3279wYFEfA8,187
18
13
  a_sync/_smart.pxd,sha256=3FlPqSvAtmGXIDFzfm7wpkvL6xt8z8w-vwow4Lura2g,76
19
14
  a_sync/exceptions.pyi,sha256=NnBEKUBzBCl0kLj75ukwyQeWXjwPSkDg-NxKsXh-Ans,10834
20
15
  a_sync/__init__.py,sha256=UrDqNkHGqvSY4O9wM9ObaoOP00cLq1sM-ucRnUvLyKk,5726
21
16
  a_sync/debugging.pyx,sha256=Z29Lek1NyUXVFHjfk9O6XWxPNk1uRFyY6tK6fTfgxGM,3045
22
17
  a_sync/aliases.py,sha256=TbLyuLeFfJEmcC5-NP6h4DQ9QXlQjGny2NUP_x1tflw,212
23
- a_sync/debugging.cpython-312-darwin.so,sha256=k4g9BFeaVdCff4yAcDI1kBWgicDcB7yyXoX6eogt3z0,150080
18
+ a_sync/debugging.cpython-312-darwin.so,sha256=svo91Xy2tv261oHHfBL5UlCKbcbLrKWvVzME8iYmpPY,150080
24
19
  a_sync/_smart.pyx,sha256=H69s97xyiuYZcF5k_pXv8c50g40kkooKkSAsSH7359U,19459
25
20
  a_sync/functools.c,sha256=KwvIpLg4DT2z4P-VlvJLL2pR3CeWdQslyKLOY4xrQlI,450421
26
21
  a_sync/functools.pyx,sha256=F-Vp5JrhEt4jaFQDx48FadI7NGLlPfoIPWRWHTQob0Q,4837
27
- a_sync/iter.c,sha256=XmEDM2hAUhyvwT_pGhivBBk5OdIb01HAjZpfsjkiFJY,1611802
28
- a_sync/iter.pxd,sha256=UcuWgdezhjgMQ05x3KaUrmsQJkXwqWZbI6mod31qEXc,351
22
+ a_sync/iter.c,sha256=WS1z9wYxIBs9XcQBsfZnQCmDdkM5GqM-AbVZR-4-4Bk,1617426
23
+ a_sync/iter.pxd,sha256=VQKDAzm1M4snbrL9vwhU2zl04H4LeJrWtqksw6yGWOc,427
29
24
  a_sync/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
25
  a_sync/future.py,sha256=CK3t7BE1AfuFhWLFw50rFaCox0IRYW2x0HqVpOJC6o8,48675
31
26
  a_sync/iter.pyi,sha256=785C3RAcRT69ngv3LfEE56Sf8hyLqapxS94uqfz1na8,15412
32
27
  a_sync/exceptions.c,sha256=7juaOwpPuyUNyMcN3KavW1QM6uUIDHYKwTQBf3PYpH8,550527
33
- a_sync/iter.cpython-312-darwin.so,sha256=_vu6PHhGVwC1OzBTCM9SQM5_hmFHsDE1aqVp-HisGQo,408296
28
+ a_sync/iter.cpython-312-darwin.so,sha256=de_-jdRh1BTULglnp0HaO_Yn7_tU0QIuWq2J-URsvog,408712
34
29
  a_sync/exceptions.pyx,sha256=MGgpBVAESC-5TtEEECgs74ZIx5ToR6qi_stfmnCyoaQ,13201
35
30
  a_sync/debugging.pyi,sha256=82AWVId_ghlFnIZkB3IQiEPqW9Yn3gKwknWNX6CCRLM,2257
36
- a_sync/exceptions.cpython-312-darwin.so,sha256=xp5_nsTLdVLOm4WDO3D9q6WcUOGPn_rHRSsH0CKWLvY,158384
31
+ a_sync/exceptions.cpython-312-darwin.so,sha256=mX3PSg2GqGh0-3hn_KHdoyG6gH7IHTbF18s4R0SwOJg,158384
37
32
  a_sync/executor.py,sha256=bacluNlegqlioPxlcFOTaGiH2ylXJYkfBSsUMnQqOWQ,21401
38
33
  a_sync/a_sync/_kwargs.pxd,sha256=RdEVKGXeBvq5_O4WkRXtjKdi8FV6oNPGhtJ-epUnr1M,92
39
34
  a_sync/a_sync/abstract.pyx,sha256=OUp1CJ3NnBInC5agJ-6Ob_n6HfjkHY-f_6gPgZxaGx8,7864
40
- a_sync/a_sync/_kwargs.cpython-312-darwin.so,sha256=09462OxeTuAKSvwwoirygI5uTFrmclEANMYo7-Te6fY,106016
35
+ a_sync/a_sync/_kwargs.cpython-312-darwin.so,sha256=vwj3fx9B0cN5r7QszYSF3_SiYs6e1_Kv3CdZWitA18Q,106016
41
36
  a_sync/a_sync/base.pyi,sha256=t7AsaZzf74djHjkAA7Dnzf12sG1ppoxpwm0Iyn1GM3w,2326
42
- a_sync/a_sync/_helpers.cpython-312-darwin.so,sha256=sVugwnpdsj6ocooRCzxH4TFZoqmPjy-dKMCl6p-3Sdw,146688
37
+ a_sync/a_sync/_helpers.cpython-312-darwin.so,sha256=42r7W_ul_RRph1wYu5-RHRk2tdjKk_sszN7U_KXtwlY,146688
43
38
  a_sync/a_sync/_meta.py,sha256=PnmPbTSGOB3WMjJUj8FfhafrkGcWJ-SzjYeENfS37NI,9427
44
39
  a_sync/a_sync/_flags.pyx,sha256=suOkvo37BZ9RIOdCpAdsXgk_98IOkn6jr1Ss5yunvdU,2806
45
40
  a_sync/a_sync/flags.pxd,sha256=Jxe9hvWn-mPfGXHXLEvRPM2i44c4y2D4iq4ZqZZst80,2238
@@ -48,7 +43,7 @@ a_sync/a_sync/_helpers.pxd,sha256=VG28VRW-jlTZJ-0H-W8Y8u5gw8zUVIbsb3nW-REI_Z4,11
48
43
  a_sync/a_sync/config.py,sha256=siXP4CFLQ_vswuG5K-G6cOSjQ6xKc1gN7-XNHFN2tFU,6221
49
44
  a_sync/a_sync/_flags.c,sha256=hxVtZT5faViQExnKIQnSBb-p9Rbqpxpor9dNxQH9dZA,217269
50
45
  a_sync/a_sync/decorator.py,sha256=CdZuy_ql4oxzg4qbxCHTtHrGnMkxJKs1LwzlmLdX3Uc,17188
51
- a_sync/a_sync/flags.cpython-312-darwin.so,sha256=yHdvJ8j-zR41wxcz-L-hECxlf11rOXdSHcf-cn-Dtjc,56472
46
+ a_sync/a_sync/flags.cpython-312-darwin.so,sha256=PPgAOBMSR-XZMKGGceJeERoazNGX1bQd7QsDy0d0GGI,56472
52
47
  a_sync/a_sync/property.c,sha256=xNyEG7-rehLJ5sSqjJopkWCkXvDf8CvT6ZAk_emBoJQ,1243816
53
48
  a_sync/a_sync/_helpers.pyi,sha256=t2iBYRsG3qCfhzEfO6aG4KLQv_LWe8yjYDZ4RppnOak,319
54
49
  a_sync/a_sync/method.pyx,sha256=gTyPQn1znZCsIHnqeXC2nPRoRNBrnpHTx7fAQwW9nEk,35131
@@ -61,26 +56,26 @@ a_sync/a_sync/_descriptor.pyi,sha256=N77KA4DQbXUXKeAf-vTpAXc7E4Bk1d-Khtr7vjzwRwI
61
56
  a_sync/a_sync/_helpers.c,sha256=H3xMbljWjqkTByQmwyFkdJGoMXH_EeEQfHPtn9qeAng,550837
62
57
  a_sync/a_sync/abstract.pyi,sha256=IGEh74mnvZECWpSr0bh-ZQeFc-6Q4cu9EefhEaDLp2c,5071
63
58
  a_sync/a_sync/base.pyx,sha256=73vU-pr2XClsKLcGlQbhAhjLFHMoBQrb6UH-YuCBhxU,10603
64
- a_sync/a_sync/method.cpython-312-darwin.so,sha256=hn47CG55gDYBHE7YIZO6sToAm3WO-6ts5u0-w_X5qVM,336096
59
+ a_sync/a_sync/method.cpython-312-darwin.so,sha256=-4wbtisyyyRWSr4xpFsDZ_kk7oy59QGxlbg6FOmDFUk,336096
65
60
  a_sync/a_sync/function.pxd,sha256=WLkHI94wFFFMoOwgEg3A83FIR_1h3ViZWENHE3VWHno,679
66
61
  a_sync/a_sync/_descriptor.c,sha256=BIV7KxjkbqOuOsjuSy1Lspvhv4Z-kwhoYZp4fUlPvZQ,843727
67
- a_sync/a_sync/_descriptor.cpython-312-darwin.so,sha256=DmTsNJa6Z_FCR3YFlb-_vEdsOPK4cSil4nBBCZNg0Ts,225648
62
+ a_sync/a_sync/_descriptor.cpython-312-darwin.so,sha256=HacgDawQL0uuyMjDM-aqICXvCQlSXSp9kg3Idbm7CSk,225648
68
63
  a_sync/a_sync/method.pxd,sha256=3kcpKfsO6rtO8wFokzShcwlAeSKxy9WNq2t710zi8dw,123
69
64
  a_sync/a_sync/property.pyx,sha256=qEFhqtYQhg2rsoDwXdfyVmtCfKvQa--OUkF89plRSek,27599
70
65
  a_sync/a_sync/singleton.py,sha256=WRJ9FEqeFB8T59NSOiLLcm-QmMCI0H7nwEpvDIUp9IQ,2492
71
- a_sync/a_sync/base.cpython-312-darwin.so,sha256=joQaU4_AT0doRwxsl-aXmevR8jXjDbgLxWPwFo9vWl8,142152
72
- a_sync/a_sync/function.cpython-312-darwin.so,sha256=3bb-EY70IHvlrUtqtVN0bPlNvOK_p7On-erSovKBBCo,384672
66
+ a_sync/a_sync/base.cpython-312-darwin.so,sha256=IkNglw-hzp8gdIGF03zecOHkoLwgduxKJyjL_01b3M4,142152
67
+ a_sync/a_sync/function.cpython-312-darwin.so,sha256=iSrFIAE3zOd3ww5jUPAMp1XN1StOzq9_spD_MSJty8M,384672
73
68
  a_sync/a_sync/abstract.c,sha256=my8pajUN_xUqEIJitvZ7ZN5Mxy8e4lJv-iXgV308oQE,461336
74
69
  a_sync/a_sync/flags.c,sha256=pnoCgI2Cochd4fMayKEKI82lw8f83fwhhUkNajLvxJk,175737
75
- a_sync/a_sync/abstract.cpython-312-darwin.so,sha256=_NMloSBei4h6tun9gLMoLhCeF3MCNpEFXQkuFoz0ff0,122640
70
+ a_sync/a_sync/abstract.cpython-312-darwin.so,sha256=fbmGyBONNQf7hTA-_i62LnBrOw-ngFmauqZx7Jdsgoc,122640
76
71
  a_sync/a_sync/method.c,sha256=t3BPxuFhK8z8ZODABEx1L_whq6JUTwPwoJkY-s7yjw4,1261576
77
- a_sync/a_sync/_flags.cpython-312-darwin.so,sha256=17DNLLW_1tVn__XZNJ_B_O2xu3RxIg7aFC5EACYxgDg,76496
72
+ a_sync/a_sync/_flags.cpython-312-darwin.so,sha256=6frWls1XRAwkLeEz2heoN6qoiOd-9KeBVpirHJOtTfY,76496
78
73
  a_sync/a_sync/method.pyi,sha256=DpzdpuYSi7wiZkkX9xB0pg1oFcCYxJbVrWj3J_ISo3M,17815
79
74
  a_sync/a_sync/_helpers.pyx,sha256=rvsCXR7tvddUIymUQCSi4eGzNCstYi5zGAdLCTPaIFQ,5409
80
75
  a_sync/a_sync/flags.pyx,sha256=PU_DAZzoXhn-Z-okbTu0p6stnwnKsSEn781TryRRs0E,2305
81
76
  a_sync/a_sync/_flags.pxd,sha256=w8CBx5wDoCBRHFmeQOuVwWefDC3LP3zIWGaao_-y_uY,188
82
77
  a_sync/a_sync/function.pyi,sha256=3F4BQplDW0IU5wDlkvc0T9n58qMQHtop3EPo1GYV0rg,17737
83
- a_sync/a_sync/property.cpython-312-darwin.so,sha256=fq6MnI-7TZzv_U24vcAZtSHhYrbgGgeu6Evx2zHAYuM,302112
78
+ a_sync/a_sync/property.cpython-312-darwin.so,sha256=wm3iTtZKYz8zAfdcSMrToS62Fv7RZ_CdhOWjF0ww3zE,302112
84
79
  a_sync/a_sync/_kwargs.c,sha256=blxZEu_yTOZAAn1aARwbJlTKoSgC3ojhSWeGgG6Y6ws,405231
85
80
  a_sync/a_sync/_kwargs.pyx,sha256=0hHXMlOpJmtNJ7yApnwEr7U_sub5yrOuZbSn_oBMxwk,1975
86
81
  a_sync/a_sync/_descriptor.pyx,sha256=jlQ8VgBmUB7fMUBsb3cIqyREmspkTgLQv5jZNqowkwg,13602
@@ -90,14 +85,14 @@ a_sync/a_sync/modifiers/semaphores.py,sha256=V1_jjxwuXq55y6Lv4yP4mymVj5AOCMIZXSk
90
85
  a_sync/a_sync/modifiers/manager.pxd,sha256=s7zw1kllYYGpe5uFETRIUFsgbVdtFM8jGh4RxZgm25M,183
91
86
  a_sync/a_sync/modifiers/__init__.py,sha256=JXyupO5h2hICMd-ha642ttCEFib_gAA6v-Ll6cyHNCA,4159
92
87
  a_sync/a_sync/modifiers/manager.pyx,sha256=PcyGpRnWgTZlPRukzPotwtUn43SYcbiR2TXaKSgEioI,9396
93
- a_sync/a_sync/modifiers/manager.cpython-312-darwin.so,sha256=c3fBEYnawHbUN4fngRUD3fCaWxbDAAm_D_q5me8-HAM,169152
88
+ a_sync/a_sync/modifiers/manager.cpython-312-darwin.so,sha256=IwTpBPmXSPs6KXZotJe9Dyd5ccwhECTntstgfjkWbXI,169152
94
89
  a_sync/a_sync/modifiers/manager.c,sha256=GiQBNW8VlS3IOx1EyS7HQ4njW7OGi90J83SPz7eYIbk,626521
95
90
  a_sync/a_sync/modifiers/limiter.py,sha256=WjO32P4vZLvyJnwpm2qFgqwRmCM7eEHxcdXzilzLlps,4303
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
94
  a_sync/utils/__init__.py,sha256=Y6R-IcD5ROzp2Zs3ZMv3bapkcfOpJHlBeD838bntd-Q,3213
100
- a_sync/utils/repr.cpython-312-darwin.so,sha256=-B25bYpNYbkgTV42aAad5k63BuNBGl0AiZeammVOLzI,145688
95
+ a_sync/utils/repr.cpython-312-darwin.so,sha256=ZYQH8umPagRAaRFZJIPso0pD31p9sASmPcjmPy4vIuM,145688
101
96
  a_sync/utils/iterators.py,sha256=GkT2fgMVKDorT-BKPPOPOIDj5Zt4yl-5vAmpn4H5wGA,11055
102
97
  a_sync/utils/repr.pyi,sha256=PWdsa6sF9_3nBqEgLaxtaHty7o7gwL--jPqvcelHY10,131
103
98
  a_sync/utils/repr.c,sha256=4HDcDzNN4_R5Z_QrhMy9kxWXK7iALDKpa--_D0k6_-Y,571751
@@ -106,11 +101,11 @@ a_sync/primitives/_loggable.pyi,sha256=MxE1kINwYiXBFq6tPSWppWs4hToR-6vfBZwIhGJ11
106
101
  a_sync/primitives/_debug.pyi,sha256=mcGGn_C9ICgn2mcP-cER1ps-q1pdei-2niu-fEQnFXQ,2175
107
102
  a_sync/primitives/__init__.pxd,sha256=FIO-eD4HaJ259mz3XB6HE1YF4tDej6ojrxQ_kx-tMwM,38
108
103
  a_sync/primitives/_debug.pxd,sha256=EaMH5xgQHs7hwnWFUocHEl9pAmUZs9J1aRVtb62zvw0,464
109
- a_sync/primitives/_loggable.cpython-312-darwin.so,sha256=P0JCsAjCxBKDegmietcrUAfbJbNEK_aFDiaRVQwmsqQ,104112
104
+ a_sync/primitives/_loggable.cpython-312-darwin.so,sha256=_oqneIINQzAw9iqgOfu01EChMNcObO7SNuPWao6g5HE,104112
110
105
  a_sync/primitives/_debug.c,sha256=i2c5IcDvCJXiiPUw7BOOrE37_0TxU7TAA4MqbGtJwEc,600616
111
106
  a_sync/primitives/__init__.py,sha256=U5r-Do_TKR1FbfLEHuckiYs87QkN4HsYNZfunRhX52c,1642
112
107
  a_sync/primitives/_loggable.pxd,sha256=1YRkqc20KcPoTukbWXn7qpbZ8zA16X1h_84vadCqSPc,133
113
- a_sync/primitives/_debug.cpython-312-darwin.so,sha256=QBuYpHMQxoB1eSnlcvv3Q-Sm_wTZt-rJikDZ0cILfoY,149536
108
+ a_sync/primitives/_debug.cpython-312-darwin.so,sha256=Oa_fyMCYXvMvTZ2XgkQEiHCDu86_vSM3eI1gi-UwScU,149536
114
109
  a_sync/primitives/_loggable.pyx,sha256=jxKSBCs4VlXuYC7LsxbUJw0FJInjBKOkEdBSoqCndxY,3003
115
110
  a_sync/primitives/_debug.pyx,sha256=NH2hr-yQLz1pKnmleIpIeDVTy75KSguQpUiuoza_ahc,7849
116
111
  a_sync/primitives/_loggable.c,sha256=Us1P0zNcyclaIoWNOwRQp92ejJTqgX0aHyIdBBVb2DI,419940
@@ -122,8 +117,8 @@ a_sync/primitives/locks/__init__.pxd,sha256=DuPhDRldnCwqBUxgo9V5K0GmA8BWLf5fC266
122
117
  a_sync/primitives/locks/prio_semaphore.pxd,sha256=SZXX1jH12m9PKH9VmrKpLdTctY0c_wYS75YGWoDdlzE,1041
123
118
  a_sync/primitives/locks/counter.pyx,sha256=H_3LN50-zDvBSgHoKXXOMlUKs78aZSFDhu8gQrhWV5Y,9055
124
119
  a_sync/primitives/locks/__init__.py,sha256=XPiWbxxPyaCC-NnfNm42up2qf61LdqFgzGkq082DL1Q,436
125
- a_sync/primitives/locks/counter.cpython-312-darwin.so,sha256=5OLjT22kAhaeRlzJQMdJtwEJ2Zj6eVwGz8uMPNbaRXk,170512
126
- a_sync/primitives/locks/prio_semaphore.cpython-312-darwin.so,sha256=RxJaD9Do3Tm0Rj5Z5J3ShysKSNUHgOcxIK-gqNLNHy8,258280
120
+ a_sync/primitives/locks/counter.cpython-312-darwin.so,sha256=8c0HZ8baFrZG3abO5tQteYyUe-JpUugcz7g3xcWZGN0,170512
121
+ a_sync/primitives/locks/prio_semaphore.cpython-312-darwin.so,sha256=nPrE46jLZ_mp7x5inxNmkROBkYYYsUNwS8Evqy668Fk,258280
127
122
  a_sync/primitives/locks/counter.pxd,sha256=_HoPXPMTRY3Gw3GPUB2jAx7lUpjJ4QyO75YiR_BehAQ,409
128
123
  a_sync/primitives/locks/semaphore.c,sha256=PdVvYfEJ-gng0U32kj4yNJb_GtsTVCiGl-b5a-QhfDM,1135566
129
124
  a_sync/primitives/locks/event.c,sha256=1KiOCYD4Y0YwNJ42fMo0oSnpdXmpmpeqS6ckoOOcvL8,655928
@@ -134,8 +129,8 @@ a_sync/primitives/locks/counter.c,sha256=MiG2k0PhWJHpC5NBh87GJbLBYOjOhzuf9uGXb86
134
129
  a_sync/primitives/locks/semaphore.pxd,sha256=zy-PgktLUsFaXxvrSbB3m6gxisgzchCpKrcX8Zzwq_I,585
135
130
  a_sync/primitives/locks/event.pxd,sha256=Wk1wLD8P6Nml1mzrRM6H34bD06LZWovjEYKnRhGcXE4,696
136
131
  a_sync/primitives/locks/counter.pyi,sha256=d83iZwFj5mK9fIohh7n1uRdRiGAnfi2FNMZSyKtli9A,5077
137
- a_sync/primitives/locks/event.cpython-312-darwin.so,sha256=i2I75W1sC3X4WSZUkSIRw3mWx_cDNh5SE6PAJ-SA1u8,167768
138
- a_sync/primitives/locks/semaphore.cpython-312-darwin.so,sha256=0cmcdEHQ9vpGt1T87jWCl-0nJKn0tW8oxSXC14p4Hq0,257792
132
+ a_sync/primitives/locks/event.cpython-312-darwin.so,sha256=9olIknYGi-O9UGkd2JYGAX0Wuj2kZbIjUmQlQAHHysw,167768
133
+ a_sync/primitives/locks/semaphore.cpython-312-darwin.so,sha256=_C7PeCnLlTmdW7j_Z6g9xjht9wl9bpDpid2yPvsAjts,257792
139
134
  a_sync/sphinx/__init__.py,sha256=UvdsakVmkn0Lw4vEd3jA3_Acymde95-78o87lel8ikk,49
140
135
  a_sync/sphinx/ext.py,sha256=E93N5AmGcfGksN1J3oUsvewJZVZ3dNYcr0mwKJQ3ALk,8917
141
136
  a_sync/async_property/proxy.c,sha256=nMXGrx7jZNuTdlhfQC4DmWWTZgDe6DRlednm07ozysA,1514493
@@ -144,34 +139,39 @@ 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-312-darwin.so,sha256=zMOb_-p_i2QvR9TAIrP-U91wzxQpAHptChj5PeBJ-Lc,206224
142
+ a_sync/async_property/cached.cpython-312-darwin.so,sha256=YeAirbzgYAtNL6PjgAK2npccuwqgX7yhgwryOzIj5Ag,206224
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
- a_sync/async_property/proxy.cpython-312-darwin.so,sha256=E0-zDVFH6RDyxd-1gURT0xAj6F21gG7secAcP1-iX7w,350392
146
+ a_sync/async_property/proxy.cpython-312-darwin.so,sha256=kcQH5XtXXQRjPSHZ6lvlP2-xmWyL2sGucAvuHAiXptI,350392
152
147
  a_sync/async_property/cached.pyx,sha256=4UoHk6yACkpwKjD_DBHLMb2JIAAhKVmhDGU7WZYg-Cc,6314
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
156
151
  a_sync/asyncio/create_task.pyx,sha256=tMvH96pSYgxQamU5Vfaeq-5SdyC3aBXtBdi-PF5CwrA,8597
157
152
  a_sync/asyncio/create_task.c,sha256=KpPjTlsDn2GHSRAxB4BwQNCOSC8sWHSpJhKZkpO08Sw,606164
158
- a_sync/asyncio/as_completed.cpython-312-darwin.so,sha256=Yb6pgwAOF-kK37y-0pqt7V8E_KzTE-kaxSYcglE1qqw,187952
153
+ a_sync/asyncio/as_completed.cpython-312-darwin.so,sha256=XXMqoLS21nIHCKeJDQ2l0CpfUAjJylywLDpJf98OuEA,187952
159
154
  a_sync/asyncio/igather.pxd,sha256=M9hMUtgp6118pa0ddR9daQubvnceefnbt4pbvEl0doE,71
160
155
  a_sync/asyncio/igather.pyi,sha256=ms6FY78h_8D3aiuPsPo0h3AheTzLGy-73ja-s2gmW_A,201
161
- a_sync/asyncio/create_task.cpython-312-darwin.so,sha256=BXrkBgUhvot0hd8yc8udzXWAkemyT61Y3UlTILe7xSk,165440
156
+ a_sync/asyncio/create_task.cpython-312-darwin.so,sha256=A6dl6eAMBi-3AmKmA_MRMAmD_PErgwCXOG2uH0XA67g,165440
162
157
  a_sync/asyncio/gather.pyi,sha256=7P_GapnZAz4z3xDZeg4wKpM1zD-6nVd15tRzG6b_jKk,4515
163
158
  a_sync/asyncio/__init__.pxd,sha256=Hsy-wTlG1iLWv4mNIRQ9g2rs_8w5ooVIgFFe6VnL7nc,336
164
- a_sync/asyncio/sleep.cpython-312-darwin.so,sha256=MJXm36rkow4ShMNySfxyOGT143manh0shAHRiz5guKs,84088
159
+ a_sync/asyncio/sleep.cpython-312-darwin.so,sha256=Jt4-OgSPmhtsmvQgmZSyw5-KSNU-wRN0_Z4yEjbDF3Y,84088
165
160
  a_sync/asyncio/__init__.py,sha256=Z-_qJgdLFqIacrKRABlk64c1aroLUmgKAqXTeE_GQfU,6333
166
161
  a_sync/asyncio/as_completed.pyi,sha256=-VdtfMlX0XdkqJbJm8C0gEAi_BfRbkz3Xkdver6vHs4,3753
167
162
  a_sync/asyncio/sleep.pyi,sha256=ab8OtiZm4Py0-sVQA2pzGVZiHUoTItkJG_Nd02xduuE,537
168
163
  a_sync/asyncio/sleep.c,sha256=vrlY1_8dMSyk1ggO6tk5Td43gujjXiJAt2FFUgMMpoU,342937
169
164
  a_sync/asyncio/as_completed.c,sha256=jbM1c_UmHWd_oXnWAYNDDNz1kKCRw0Ev8vBOzxri52A,735119
170
- a_sync/asyncio/gather.cpython-312-darwin.so,sha256=ZbEjKFoeJHOcy1bUNKoMbRI63gUKd2bm8o-SrLv9mlw,167312
165
+ a_sync/asyncio/gather.cpython-312-darwin.so,sha256=C9q9RZuj15LEALMohJ0VaRB5V9zXk61VGpgJiPvAbck,167312
171
166
  a_sync/asyncio/create_task.pyi,sha256=5H2z4k_2dGG2QTGjGEgP1N6ITuClYYWzkPbzaeQwKks,1864
172
167
  a_sync/asyncio/igather.pyx,sha256=TctS1kLzaYztLrZJmLwIOOvJTthKiEwsy-AaW1ObnKg,6325
173
168
  a_sync/asyncio/gather.pyx,sha256=4ALHvhJPQsNtw7b9dsbhwmKpXEbiRzOCjMqagi3sTXs,8566
174
- a_sync/asyncio/igather.cpython-312-darwin.so,sha256=Vso1c6R6R1VQyF2dhgeTDyVkmjDkG2_IQnw26cUajJE,120768
169
+ a_sync/asyncio/igather.cpython-312-darwin.so,sha256=rfWa_z5feBWervg--BuxYhdzmBKFj7SMFsTE7w0138Q,120768
175
170
  a_sync/asyncio/gather.c,sha256=MLhPvLSGGCpxgMNtiA8Xcx3nniDOLzMSVYnFbSFWukE,637555
176
171
  a_sync/asyncio/create_task.pxd,sha256=x-sZVX-26NoqxYb5mH33uh2Mg-3AqqdYGXx4Ai7xZwU,143
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=tCpHVpIZLNw3nEpZsB0tKTN6qo2uHdiO-a2hkt8dPlY,136
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: cp312-cp312-macosx_11_0_arm64
5
5
  Generator: delocate 0.13.0