ez-a-sync 0.32.20__tar.gz → 0.32.22__tar.gz

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 (217) hide show
  1. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/PKG-INFO +1 -1
  2. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/__init__.py +1 -0
  3. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_descriptor.c +6 -6
  4. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/decorator.py +89 -0
  5. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/function.c +14 -14
  6. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/method.c +5 -5
  7. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/async_property/cached.c +5 -5
  8. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/debugging.pyi +6 -3
  9. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/iter.c +16 -16
  10. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/_loggable.c +8 -8
  11. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/counter.c +5 -5
  12. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/event.c +5 -5
  13. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/prio_semaphore.c +9 -9
  14. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/semaphore.c +8 -8
  15. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/ez_a_sync.egg-info/PKG-INFO +1 -1
  16. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/.coverage +0 -0
  17. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/.github/workflows/black.yaml +0 -0
  18. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/.github/workflows/codeql.yaml +0 -0
  19. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/.github/workflows/docs.yaml +0 -0
  20. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/.github/workflows/mypy.yaml +0 -0
  21. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/.github/workflows/pytest.yaml +0 -0
  22. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/.github/workflows/release.yaml +0 -0
  23. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/.gitignore +0 -0
  24. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/.sourcery.yaml +0 -0
  25. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/LICENSE.txt +0 -0
  26. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/MANIFEST.in +0 -0
  27. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/Makefile +0 -0
  28. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/README.md +0 -0
  29. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/TODO +0 -0
  30. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/ENVIRONMENT_VARIABLES.py +0 -0
  31. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/__init__.pxd +0 -0
  32. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/_smart.c +0 -0
  33. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/_smart.pxd +0 -0
  34. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/_smart.pyi +0 -0
  35. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/_smart.pyx +0 -0
  36. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/_typing.py +0 -0
  37. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/__init__.py +0 -0
  38. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_descriptor.pyi +0 -0
  39. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_descriptor.pyx +0 -0
  40. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_flags.c +0 -0
  41. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_flags.pxd +0 -0
  42. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_flags.pyx +0 -0
  43. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_helpers.c +0 -0
  44. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_helpers.pxd +0 -0
  45. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_helpers.pyi +0 -0
  46. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_helpers.pyx +0 -0
  47. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_kwargs.c +0 -0
  48. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_kwargs.pxd +0 -0
  49. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_kwargs.pyx +0 -0
  50. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/_meta.py +0 -0
  51. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/abstract.c +0 -0
  52. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/abstract.pyi +0 -0
  53. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/abstract.pyx +0 -0
  54. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/base.c +0 -0
  55. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/base.pyi +0 -0
  56. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/base.pyx +0 -0
  57. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/config.py +0 -0
  58. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/flags.c +0 -0
  59. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/flags.pxd +0 -0
  60. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/flags.pyi +0 -0
  61. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/flags.pyx +0 -0
  62. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/function.pxd +0 -0
  63. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/function.pyi +0 -0
  64. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/function.pyx +0 -0
  65. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/method.pxd +0 -0
  66. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/method.pyi +0 -0
  67. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/method.pyx +0 -0
  68. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/modifiers/__init__.pxd +0 -0
  69. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/modifiers/__init__.py +0 -0
  70. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/modifiers/cache/__init__.py +0 -0
  71. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/modifiers/cache/memory.py +0 -0
  72. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/modifiers/limiter.py +0 -0
  73. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/modifiers/manager.c +0 -0
  74. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/modifiers/manager.pxd +0 -0
  75. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/modifiers/manager.pyi +0 -0
  76. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/modifiers/manager.pyx +0 -0
  77. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/modifiers/semaphores.py +0 -0
  78. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/property.c +0 -0
  79. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/property.pyi +0 -0
  80. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/property.pyx +0 -0
  81. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/a_sync/singleton.py +0 -0
  82. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/aliases.py +0 -0
  83. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/async_property/__init__.pxd +0 -0
  84. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/async_property/__init__.py +0 -0
  85. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/async_property/cached.pxd +0 -0
  86. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/async_property/cached.pyi +0 -0
  87. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/async_property/cached.pyx +0 -0
  88. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/async_property/proxy.c +0 -0
  89. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/async_property/proxy.pxd +0 -0
  90. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/async_property/proxy.pyi +0 -0
  91. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/async_property/proxy.pyx +0 -0
  92. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/__init__.pxd +0 -0
  93. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/__init__.py +0 -0
  94. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/as_completed.c +0 -0
  95. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/as_completed.pxd +0 -0
  96. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/as_completed.pyi +0 -0
  97. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/as_completed.pyx +0 -0
  98. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/create_task.c +0 -0
  99. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/create_task.pxd +0 -0
  100. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/create_task.pyi +0 -0
  101. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/create_task.pyx +0 -0
  102. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/gather.c +0 -0
  103. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/gather.pyi +0 -0
  104. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/gather.pyx +0 -0
  105. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/igather.c +0 -0
  106. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/igather.pxd +0 -0
  107. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/igather.pyi +0 -0
  108. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/igather.pyx +0 -0
  109. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/sleep.c +0 -0
  110. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/sleep.pyi +0 -0
  111. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/asyncio/sleep.pyx +0 -0
  112. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/debugging.c +0 -0
  113. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/debugging.pyx +0 -0
  114. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/exceptions.c +0 -0
  115. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/exceptions.pyi +0 -0
  116. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/exceptions.pyx +0 -0
  117. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/executor.py +0 -0
  118. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/functools.c +0 -0
  119. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/functools.pxd +0 -0
  120. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/functools.pyi +0 -0
  121. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/functools.pyx +0 -0
  122. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/future.py +0 -0
  123. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/iter.pxd +0 -0
  124. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/iter.pyi +0 -0
  125. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/iter.pyx +0 -0
  126. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/__init__.pxd +0 -0
  127. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/__init__.py +0 -0
  128. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/_debug.c +2 -2
  129. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/_debug.pxd +0 -0
  130. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/_debug.pyi +0 -0
  131. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/_debug.pyx +0 -0
  132. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/_loggable.pxd +0 -0
  133. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/_loggable.pyi +0 -0
  134. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/_loggable.pyx +0 -0
  135. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/__init__.pxd +0 -0
  136. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/__init__.py +0 -0
  137. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/counter.pxd +0 -0
  138. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/counter.pyi +0 -0
  139. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/counter.pyx +0 -0
  140. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/event.pxd +0 -0
  141. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/event.pyi +0 -0
  142. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/event.pyx +0 -0
  143. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/prio_semaphore.pxd +0 -0
  144. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/prio_semaphore.pyi +0 -0
  145. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/prio_semaphore.pyx +0 -0
  146. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/semaphore.pxd +0 -0
  147. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/semaphore.pyi +0 -0
  148. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/locks/semaphore.pyx +0 -0
  149. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/primitives/queue.py +0 -0
  150. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/py.typed +0 -0
  151. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/sphinx/__init__.py +0 -0
  152. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/sphinx/ext.py +0 -0
  153. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/task.py +0 -0
  154. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/utils/__init__.py +0 -0
  155. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/utils/iterators.py +0 -0
  156. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/utils/repr.c +0 -0
  157. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/utils/repr.pyi +0 -0
  158. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/a_sync/utils/repr.pyx +0 -0
  159. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/Makefile +0 -0
  160. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/_build/html/_static/alabaster.css +0 -0
  161. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/_build/html/_static/basic.css +0 -0
  162. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/_build/html/_static/custom.css +0 -0
  163. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/_build/html/_static/doctools.js +0 -0
  164. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/_build/html/_static/documentation_options.js +0 -0
  165. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/_build/html/_static/file.png +0 -0
  166. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/_build/html/_static/language_data.js +0 -0
  167. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/_build/html/_static/minus.png +0 -0
  168. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/_build/html/_static/plus.png +0 -0
  169. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/_build/html/_static/pygments.css +0 -0
  170. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/_build/html/_static/searchtools.js +0 -0
  171. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/_build/html/_static/sphinx_highlight.js +0 -0
  172. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/conf.py +0 -0
  173. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/index.rst +0 -0
  174. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/docs/make.bat +0 -0
  175. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/ez_a_sync.egg-info/SOURCES.txt +0 -0
  176. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/ez_a_sync.egg-info/dependency_links.txt +0 -0
  177. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/ez_a_sync.egg-info/not-zip-safe +0 -0
  178. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/ez_a_sync.egg-info/requires.txt +0 -0
  179. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/ez_a_sync.egg-info/top_level.txt +0 -0
  180. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/include/pythoncapi_compat.h +0 -0
  181. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/pyproject.toml +0 -0
  182. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/requirements-dev.txt +0 -0
  183. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/requirements.txt +0 -0
  184. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/setup.cfg +0 -0
  185. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/setup.py +0 -0
  186. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/__init__.py +0 -0
  187. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/a_sync/modifiers/test_apply_semaphore.py +0 -0
  188. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/a_sync/test_abstract.py +0 -0
  189. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/a_sync/test_base.py +0 -0
  190. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/a_sync/test_cache.py +0 -0
  191. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/a_sync/test_decorator.py +0 -0
  192. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/a_sync/test_limiter.py +0 -0
  193. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/a_sync/test_meta.py +0 -0
  194. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/a_sync/test_modified.py +0 -0
  195. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/a_sync/test_property.py +0 -0
  196. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/a_sync/test_singleton.py +0 -0
  197. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/asyncio/test_as_completed.py +0 -0
  198. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/asyncio/test_create_task.py +0 -0
  199. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/asyncio/test_gather.py +0 -0
  200. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/asyncio/test_igather.py +0 -0
  201. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/conftest.py +0 -0
  202. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/executor.py +0 -0
  203. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/fixtures.py +0 -0
  204. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/iter/test_asyncgenfunc.py +0 -0
  205. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/iter/test_iterables.py +0 -0
  206. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/primitives/test_counter.py +0 -0
  207. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/primitives/test_event.py +0 -0
  208. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/primitives/test_prio_semaphore.py +0 -0
  209. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/primitives/test_queue.py +0 -0
  210. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/primitives/test_semaphore.py +0 -0
  211. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/task/test_task.py +0 -0
  212. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/task/test_task_mapping_views.py +0 -0
  213. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/test_executor.py +0 -0
  214. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/test_future.py +0 -0
  215. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/test_helpers.py +0 -0
  216. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/test_smart.py +0 -0
  217. {ez_a_sync-0.32.20 → ez_a_sync-0.32.22}/tests/utils/test_repr.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ez_a_sync
3
- Version: 0.32.20
3
+ Version: 0.32.22
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
@@ -103,6 +103,7 @@ __all__ = [
103
103
  # classes
104
104
  "ASyncIterable",
105
105
  "ASyncIterator",
106
+ "ASyncGenericBase",
106
107
  "ASyncGenericSingleton",
107
108
  "TaskMapping",
108
109
  # property
@@ -10505,7 +10505,7 @@ __Pyx_RefNannySetupContext("PyInit__descriptor", 0);
10505
10505
  (void)__Pyx_modinit_variable_import_code(__pyx_mstate);
10506
10506
  if (unlikely((__Pyx_modinit_function_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
10507
10507
  /*--- Execution code ---*/
10508
- __Pyx_TraceStartFunc("PyInit__descriptor", __pyx_f[0], 1, 0, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
10508
+ __Pyx_TraceStartFunc("PyInit__descriptor", __pyx_f[0], 1, 2, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
10509
10509
 
10510
10510
  /* "a_sync/a_sync/_descriptor.pyx":16
10511
10511
  * """
@@ -11119,7 +11119,7 @@ __Pyx_RefNannySetupContext("PyInit__descriptor", 0);
11119
11119
  * cdef tuple state
11120
11120
  * cdef object _dict
11121
11121
  */
11122
- __Pyx_TraceLine(1,2,0,__PYX_ERR(1, 1, __pyx_L1_error))
11122
+ __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
11123
11123
  __pyx_t_6 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_11_descriptor_16_ASyncDescriptor_34__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDescriptor___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync__descriptor, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[16])); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1, __pyx_L1_error)
11124
11124
  __Pyx_GOTREF(__pyx_t_6);
11125
11125
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_6a_sync_11_descriptor__ASyncDescriptor, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_6) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -11371,7 +11371,7 @@ __Pyx_RefNannySetupContext("PyInit__descriptor", 0);
11371
11371
  * cdef object __pyx_PickleError
11372
11372
  * cdef object __pyx_result
11373
11373
  */
11374
- __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
11374
+ __Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
11375
11375
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_11_descriptor_1__pyx_unpickle__ASyncDescriptor, 0, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ASyncDescriptor, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync__descriptor, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[21])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
11376
11376
  __Pyx_GOTREF(__pyx_t_3);
11377
11377
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ASyncDescriptor, __pyx_t_3) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -11392,12 +11392,12 @@ __Pyx_RefNannySetupContext("PyInit__descriptor", 0);
11392
11392
  * This module contains the :class:`ASyncDescriptor` class, which is used to create dual-function sync/async methods
11393
11393
  * and properties.
11394
11394
  */
11395
- __Pyx_TraceLine(1,0,0,__PYX_ERR(0, 1, __pyx_L1_error))
11395
+ __Pyx_TraceLine(1,2,0,__PYX_ERR(0, 1, __pyx_L1_error))
11396
11396
  __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error)
11397
11397
  __Pyx_GOTREF(__pyx_t_3);
11398
11398
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_3) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
11399
11399
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11400
- __Pyx_TraceReturnValue(Py_None, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
11400
+ __Pyx_TraceReturnValue(Py_None, 2, 0, __PYX_ERR(0, 1, __pyx_L1_error));
11401
11401
  __Pyx_PyMonitoring_ExitScope(0);
11402
11402
 
11403
11403
  /*--- Wrapped vars code ---*/
@@ -11411,7 +11411,7 @@ __Pyx_RefNannySetupContext("PyInit__descriptor", 0);
11411
11411
  __Pyx_XDECREF(__pyx_t_8);
11412
11412
  __Pyx_XDECREF(__pyx_t_9);
11413
11413
  __Pyx_TraceException(__pyx_lineno, 0, 0);
11414
- __Pyx_TraceExceptionUnwind(0, 0);
11414
+ __Pyx_TraceExceptionUnwind(2, 0);
11415
11415
  if (__pyx_m) {
11416
11416
  if (__pyx_mstate->__pyx_d && stringtab_initialized) {
11417
11417
  __Pyx_AddTraceback("init a_sync.a_sync._descriptor", __pyx_clineno, __pyx_lineno, __pyx_filename);
@@ -1,5 +1,6 @@
1
1
  # mypy: disable-error-code=valid-type
2
2
  # mypy: disable-error-code=misc
3
+ from concurrent.futures import Executor
3
4
  from a_sync._typing import *
4
5
  from a_sync.a_sync import config
5
6
  from a_sync.a_sync.function import (
@@ -24,6 +25,36 @@ from a_sync.a_sync.function import (
24
25
  # pass
25
26
 
26
27
 
28
+ @overload
29
+ def a_sync(
30
+ default: Literal["async"],
31
+ executor: Executor,
32
+ **modifiers: Unpack[ModifierKwargs],
33
+ ) -> ASyncDecoratorAsyncDefault:
34
+ """
35
+ Creates an asynchronous default decorator to run a sync function in an executor.
36
+
37
+ Args:
38
+ default: Specifies the default execution mode as 'async'.
39
+ executor: The executor that will be used to call the sync function.
40
+ **modifiers: Additional keyword arguments to modify the behavior of the decorated function.
41
+
42
+ Examples:
43
+ Basic usage with an asynchronous default:
44
+
45
+ >>> @a_sync(default='async', executor=ThreadPoolExecutor(4))
46
+ ... def my_function():
47
+ ... return True
48
+ >>> await my_function()
49
+ True
50
+ >>> my_function(sync=True)
51
+ True
52
+
53
+ See Also:
54
+ :class:`ASyncDecoratorAsyncDefault`
55
+ """
56
+
57
+
27
58
  @overload
28
59
  def a_sync(
29
60
  default: Literal["async"],
@@ -52,6 +83,36 @@ def a_sync(
52
83
  """
53
84
 
54
85
 
86
+ @overload
87
+ def a_sync(
88
+ default: Literal["sync"],
89
+ executor: Executor,
90
+ **modifiers: Unpack[ModifierKwargs],
91
+ ) -> ASyncDecoratorSyncDefault:
92
+ """
93
+ Creates a synchronous default decorator to run a sync function in an executor when called asynchronously.
94
+
95
+ Args:
96
+ default: Specifies the default execution mode as 'sync'.
97
+ executor: The executor that will be used to call the sync function.
98
+ **modifiers: Additional keyword arguments to modify the behavior of the decorated function.
99
+
100
+ Examples:
101
+ Usage with an executor without specifying a default mode:
102
+
103
+ >>> @a_sync(default="sync", executor=ThreadPoolExecutor(4))
104
+ ... def my_function():
105
+ ... return True
106
+ >>> my_function()
107
+ True
108
+ >>> await my_function(sync=False)
109
+ True
110
+
111
+ See Also:
112
+ :class:`ASyncDecoratorSyncDefault`
113
+ """
114
+
115
+
55
116
  @overload
56
117
  def a_sync(
57
118
  default: Literal["sync"],
@@ -80,6 +141,34 @@ def a_sync(
80
141
  """
81
142
 
82
143
 
144
+ @overload
145
+ def a_sync(
146
+ executor: Executor,
147
+ **modifiers: Unpack[ModifierKwargs],
148
+ ) -> ASyncDecoratorSyncDefault:
149
+ """
150
+ Creates a synchronous default decorator to run a sync function in an executor when called asynchronously.
151
+
152
+ Args:
153
+ executor: The executor that will be used to call the sync function.
154
+ **modifiers: Additional keyword arguments to modify the behavior of the decorated function.
155
+
156
+ Examples:
157
+ Usage with an executor without specifying a default mode:
158
+
159
+ >>> @a_sync(executor=ThreadPoolExecutor(4))
160
+ ... def my_function():
161
+ ... return True
162
+ >>> my_function()
163
+ True
164
+ >>> await my_function(sync=False)
165
+ True
166
+
167
+ See Also:
168
+ :class:`ASyncDecoratorSyncDefault`
169
+ """
170
+
171
+
83
172
  @overload
84
173
  def a_sync(
85
174
  **modifiers: Unpack[ModifierKwargs],
@@ -25341,7 +25341,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
25341
25341
  if (unlikely((__Pyx_modinit_variable_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
25342
25342
  if (unlikely((__Pyx_modinit_function_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
25343
25343
  /*--- Execution code ---*/
25344
- __Pyx_TraceStartFunc("PyInit_function", __pyx_f[0], 1, 0, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
25344
+ __Pyx_TraceStartFunc("PyInit_function", __pyx_f[0], 1, 3, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
25345
25345
 
25346
25346
  /* "cfunc.to_py":65
25347
25347
  *
@@ -26036,7 +26036,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
26036
26036
  * cdef tuple state
26037
26037
  * cdef object _dict
26038
26038
  */
26039
- __Pyx_TraceLine(1,2,0,__PYX_ERR(1, 1, __pyx_L1_error))
26039
+ __Pyx_TraceLine(1,5,0,__PYX_ERR(1, 1, __pyx_L1_error))
26040
26040
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_14_ModifiedMixin_1__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ModifiedMixin___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[10])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
26041
26041
  __Pyx_GOTREF(__pyx_t_5);
26042
26042
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -26760,7 +26760,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
26760
26760
  * cdef tuple state
26761
26761
  * cdef object _dict
26762
26762
  */
26763
- __Pyx_TraceLine(1,5,0,__PYX_ERR(1, 1, __pyx_L1_error))
26763
+ __Pyx_TraceLine(1,6,0,__PYX_ERR(1, 1, __pyx_L1_error))
26764
26764
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_14_ASyncFunction_45__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncFunction___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[42])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
26765
26765
  __Pyx_GOTREF(__pyx_t_5);
26766
26766
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -26772,7 +26772,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
26772
26772
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
26773
26773
  * __pyx_unpickle__ASyncFunction__set_state(self, __pyx_state)
26774
26774
  */
26775
- __Pyx_TraceLine(16,43,0,__PYX_ERR(1, 16, __pyx_L1_error))
26775
+ __Pyx_TraceLine(16,44,0,__PYX_ERR(1, 16, __pyx_L1_error))
26776
26776
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_14_ASyncFunction_47__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncFunction___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[43])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 16, __pyx_L1_error)
26777
26777
  __Pyx_GOTREF(__pyx_t_5);
26778
26778
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < 0) __PYX_ERR(1, 16, __pyx_L1_error)
@@ -27284,7 +27284,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
27284
27284
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
27285
27285
  * def __setstate_cython__(self, __pyx_state):
27286
27286
  */
27287
- __Pyx_TraceLine(1,6,0,__PYX_ERR(1, 1, __pyx_L1_error))
27287
+ __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
27288
27288
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_14ASyncDecorator_9__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecorator___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[56])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
27289
27289
  __Pyx_GOTREF(__pyx_t_3);
27290
27290
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_3) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -27296,7 +27296,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
27296
27296
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
27297
27297
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
27298
27298
  */
27299
- __Pyx_TraceLine(3,12,0,__PYX_ERR(1, 3, __pyx_L1_error))
27299
+ __Pyx_TraceLine(3,11,0,__PYX_ERR(1, 3, __pyx_L1_error))
27300
27300
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_14ASyncDecorator_11__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecorator___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[57])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3, __pyx_L1_error)
27301
27301
  __Pyx_GOTREF(__pyx_t_3);
27302
27302
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_3) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -27922,7 +27922,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
27922
27922
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
27923
27923
  * def __setstate_cython__(self, __pyx_state):
27924
27924
  */
27925
- __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
27925
+ __Pyx_TraceLine(1,7,0,__PYX_ERR(1, 1, __pyx_L1_error))
27926
27926
  __pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_25ASyncDecoratorSyncDefault_9__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecoratorSyncDefault___redu, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[76])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1, __pyx_L1_error)
27927
27927
  __Pyx_GOTREF(__pyx_t_11);
27928
27928
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_11) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -28023,7 +28023,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
28023
28023
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
28024
28024
  * def __setstate_cython__(self, __pyx_state):
28025
28025
  */
28026
- __Pyx_TraceLine(1,7,0,__PYX_ERR(1, 1, __pyx_L1_error))
28026
+ __Pyx_TraceLine(1,4,0,__PYX_ERR(1, 1, __pyx_L1_error))
28027
28027
  __pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_26ASyncDecoratorAsyncDefault_9__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecoratorAsyncDefault___red, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[82])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1, __pyx_L1_error)
28028
28028
  __Pyx_GOTREF(__pyx_t_11);
28029
28029
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_11) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -28035,7 +28035,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
28035
28035
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
28036
28036
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
28037
28037
  */
28038
- __Pyx_TraceLine(3,11,0,__PYX_ERR(1, 3, __pyx_L1_error))
28038
+ __Pyx_TraceLine(3,12,0,__PYX_ERR(1, 3, __pyx_L1_error))
28039
28039
  __pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_26ASyncDecoratorAsyncDefault_11__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecoratorAsyncDefault___set, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[83])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 3, __pyx_L1_error)
28040
28040
  __Pyx_GOTREF(__pyx_t_11);
28041
28041
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_11) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -28056,7 +28056,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
28056
28056
  * cdef object __pyx_PickleError
28057
28057
  * cdef object __pyx_result
28058
28058
  */
28059
- __Pyx_TraceLine(1,3,0,__PYX_ERR(1, 1, __pyx_L1_error))
28059
+ __Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
28060
28060
  __pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_1__pyx_unpickle__ModifiedMixin, 0, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ModifiedMixin, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[85])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1, __pyx_L1_error)
28061
28061
  __Pyx_GOTREF(__pyx_t_11);
28062
28062
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ModifiedMixin, __pyx_t_11) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -28077,7 +28077,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
28077
28077
  * cdef object __pyx_PickleError
28078
28078
  * cdef object __pyx_result
28079
28079
  */
28080
- __Pyx_TraceLine(1,4,0,__PYX_ERR(1, 1, __pyx_L1_error))
28080
+ __Pyx_TraceLine(1,2,0,__PYX_ERR(1, 1, __pyx_L1_error))
28081
28081
  __pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_3__pyx_unpickle__ASyncFunction, 0, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ASyncFunction, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[87])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1, __pyx_L1_error)
28082
28082
  __Pyx_GOTREF(__pyx_t_11);
28083
28083
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ASyncFunction, __pyx_t_11) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -28098,12 +28098,12 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
28098
28098
  * import inspect
28099
28099
  * import sys
28100
28100
  */
28101
- __Pyx_TraceLine(1,0,0,__PYX_ERR(0, 1, __pyx_L1_error))
28101
+ __Pyx_TraceLine(1,3,0,__PYX_ERR(0, 1, __pyx_L1_error))
28102
28102
  __pyx_t_11 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1, __pyx_L1_error)
28103
28103
  __Pyx_GOTREF(__pyx_t_11);
28104
28104
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_11) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
28105
28105
  __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
28106
- __Pyx_TraceReturnValue(Py_None, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
28106
+ __Pyx_TraceReturnValue(Py_None, 3, 0, __PYX_ERR(0, 1, __pyx_L1_error));
28107
28107
  __Pyx_PyMonitoring_ExitScope(0);
28108
28108
 
28109
28109
  /*--- Wrapped vars code ---*/
@@ -28119,7 +28119,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
28119
28119
  __Pyx_XDECREF(__pyx_t_11);
28120
28120
  __Pyx_XDECREF(__pyx_t_12);
28121
28121
  __Pyx_TraceException(__pyx_lineno, 0, 0);
28122
- __Pyx_TraceExceptionUnwind(0, 0);
28122
+ __Pyx_TraceExceptionUnwind(3, 0);
28123
28123
  if (__pyx_m) {
28124
28124
  if (__pyx_mstate->__pyx_d && stringtab_initialized) {
28125
28125
  __Pyx_AddTraceback("init a_sync.a_sync.function", __pyx_clineno, __pyx_lineno, __pyx_filename);
@@ -18168,7 +18168,7 @@ __Pyx_RefNannySetupContext("PyInit_method", 0);
18168
18168
  (void)__Pyx_modinit_variable_import_code(__pyx_mstate);
18169
18169
  if (unlikely((__Pyx_modinit_function_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
18170
18170
  /*--- Execution code ---*/
18171
- __Pyx_TraceStartFunc("PyInit_method", __pyx_f[0], 1, 1, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
18171
+ __Pyx_TraceStartFunc("PyInit_method", __pyx_f[0], 1, 0, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
18172
18172
 
18173
18173
  /* "a_sync/a_sync/method.pyx":11
18174
18174
  * # mypy: disable-error-code=valid-type
@@ -19750,7 +19750,7 @@ __Pyx_RefNannySetupContext("PyInit_method", 0);
19750
19750
  * cdef tuple state
19751
19751
  * cdef object _dict
19752
19752
  */
19753
- __Pyx_TraceLine(1,0,0,__PYX_ERR(2, 1, __pyx_L1_error))
19753
+ __Pyx_TraceLine(1,1,0,__PYX_ERR(2, 1, __pyx_L1_error))
19754
19754
  __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_6method_17_ASyncBoundMethod_24__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncBoundMethod___reduce_cytho, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_method, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[32])); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 1, __pyx_L1_error)
19755
19755
  __Pyx_GOTREF(__pyx_t_9);
19756
19756
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_9) < 0) __PYX_ERR(2, 1, __pyx_L1_error)
@@ -20573,7 +20573,7 @@ __Pyx_RefNannySetupContext("PyInit_method", 0);
20573
20573
  * This module provides classes for implementing dual-functional sync/async methods in Python.
20574
20574
  *
20575
20575
  */
20576
- __Pyx_TraceLine(1,1,0,__PYX_ERR(0, 1, __pyx_L1_error))
20576
+ __Pyx_TraceLine(1,0,0,__PYX_ERR(0, 1, __pyx_L1_error))
20577
20577
  __pyx_t_10 = __Pyx_PyDict_NewPresized(21); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1, __pyx_L1_error)
20578
20578
  __Pyx_GOTREF(__pyx_t_10);
20579
20579
  if (PyDict_SetItem(__pyx_t_10, __pyx_mstate_global->__pyx_kp_u_ASyncMethodDescriptor___call___l, __pyx_mstate_global->__pyx_kp_u_Asynchronously_call_the_method) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
@@ -20599,7 +20599,7 @@ __Pyx_RefNannySetupContext("PyInit_method", 0);
20599
20599
  if (PyDict_SetItem(__pyx_t_10, __pyx_mstate_global->__pyx_kp_u_ASyncBoundMethodAsyncDefault___c_2, __pyx_mstate_global->__pyx_kp_u_Call_the_bound_method_with_asyn) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
20600
20600
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_10) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
20601
20601
  __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
20602
- __Pyx_TraceReturnValue(Py_None, 1, 0, __PYX_ERR(0, 1, __pyx_L1_error));
20602
+ __Pyx_TraceReturnValue(Py_None, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
20603
20603
  __Pyx_PyMonitoring_ExitScope(0);
20604
20604
 
20605
20605
  /*--- Wrapped vars code ---*/
@@ -20615,7 +20615,7 @@ __Pyx_RefNannySetupContext("PyInit_method", 0);
20615
20615
  __Pyx_XDECREF(__pyx_t_10);
20616
20616
  __Pyx_XDECREF(__pyx_t_11);
20617
20617
  __Pyx_TraceException(__pyx_lineno, 0, 0);
20618
- __Pyx_TraceExceptionUnwind(1, 0);
20618
+ __Pyx_TraceExceptionUnwind(0, 0);
20619
20619
  if (__pyx_m) {
20620
20620
  if (__pyx_mstate->__pyx_d && stringtab_initialized) {
20621
20621
  __Pyx_AddTraceback("init a_sync.a_sync.method", __pyx_clineno, __pyx_lineno, __pyx_filename);
@@ -11383,7 +11383,7 @@ __Pyx_RefNannySetupContext("PyInit_cached", 0);
11383
11383
  (void)__Pyx_modinit_variable_import_code(__pyx_mstate);
11384
11384
  if (unlikely((__Pyx_modinit_function_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
11385
11385
  /*--- Execution code ---*/
11386
- __Pyx_TraceStartFunc("PyInit_cached", __pyx_f[0], 1, 0, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
11386
+ __Pyx_TraceStartFunc("PyInit_cached", __pyx_f[0], 1, 1, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
11387
11387
 
11388
11388
  /* "a_sync/async_property/cached.pyx":1
11389
11389
  * import asyncio # <<<<<<<<<<<<<<
@@ -11677,7 +11677,7 @@ __Pyx_RefNannySetupContext("PyInit_cached", 0);
11677
11677
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
11678
11678
  * def __setstate_cython__(self, __pyx_state):
11679
11679
  */
11680
- __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
11680
+ __Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
11681
11681
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_14async_property_6cached_32AsyncCachedPropertyInstanceState_3__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AsyncCachedPropertyInstanceState_2, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_async_property_cached, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[6])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
11682
11682
  __Pyx_GOTREF(__pyx_t_3);
11683
11683
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_3) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -11975,12 +11975,12 @@ __Pyx_RefNannySetupContext("PyInit_cached", 0);
11975
11975
  * import collections
11976
11976
  * import functools
11977
11977
  */
11978
- __Pyx_TraceLine(1,0,0,__PYX_ERR(0, 1, __pyx_L1_error))
11978
+ __Pyx_TraceLine(1,1,0,__PYX_ERR(0, 1, __pyx_L1_error))
11979
11979
  __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error)
11980
11980
  __Pyx_GOTREF(__pyx_t_3);
11981
11981
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_3) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
11982
11982
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11983
- __Pyx_TraceReturnValue(Py_None, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
11983
+ __Pyx_TraceReturnValue(Py_None, 1, 0, __PYX_ERR(0, 1, __pyx_L1_error));
11984
11984
  __Pyx_PyMonitoring_ExitScope(0);
11985
11985
 
11986
11986
  /*--- Wrapped vars code ---*/
@@ -11991,7 +11991,7 @@ __Pyx_RefNannySetupContext("PyInit_cached", 0);
11991
11991
  __Pyx_XDECREF(__pyx_t_3);
11992
11992
  __Pyx_XDECREF(__pyx_t_4);
11993
11993
  __Pyx_TraceException(__pyx_lineno, 0, 0);
11994
- __Pyx_TraceExceptionUnwind(0, 0);
11994
+ __Pyx_TraceExceptionUnwind(1, 0);
11995
11995
  if (__pyx_m) {
11996
11996
  if (__pyx_mstate->__pyx_d && stringtab_initialized) {
11997
11997
  __Pyx_AddTraceback("init a_sync.async_property.cached", __pyx_clineno, __pyx_lineno, __pyx_filename);
@@ -5,6 +5,7 @@ from typing import (
5
5
  AsyncIterator,
6
6
  Awaitable,
7
7
  Callable,
8
+ Coroutine,
8
9
  Literal,
9
10
  NoReturn,
10
11
  TypeVar,
@@ -39,7 +40,7 @@ def stuck_coro_debugger(
39
40
  ) -> ASyncGeneratorFunction[__P, __TYield]: ...
40
41
  @overload
41
42
  def stuck_coro_debugger(
42
- fn: Callable[Concatenate[__TBase, __P], Awaitable[__T]],
43
+ fn: Callable[Concatenate[__TBase, __P], Coroutine[Any, Any, __T]],
43
44
  logger: Logger = logger,
44
45
  interval: int = _FIVE_MINUTES,
45
46
  ) -> ASyncBoundMethod[__TBase, __P, __T]: ...
@@ -63,8 +64,10 @@ def stuck_coro_debugger(
63
64
  ) -> Callable[__P, AsyncIterator[__TYield]]: ...
64
65
  @overload
65
66
  def stuck_coro_debugger(
66
- fn: Callable[__P, Awaitable[__T]], logger: Logger = logger, interval: int = _FIVE_MINUTES
67
- ) -> Callable[__P, Awaitable[__T]]: ...
67
+ fn: Callable[__P, Coroutine[Any, Any, __T]],
68
+ logger: Logger = logger,
69
+ interval: int = _FIVE_MINUTES,
70
+ ) -> Callable[__P, Coroutine[Any, Any, __T]]: ...
68
71
  def stuck_coro_debugger(fn, logger=logger, interval=_FIVE_MINUTES): ...
69
72
  async def _stuck_debug_task(
70
73
  logger: Logger, interval: int, fn: Callable[__P, __T], *args: __P.args, **kwargs: __P.kwargs
@@ -25055,7 +25055,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
25055
25055
  if (unlikely((__Pyx_modinit_variable_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
25056
25056
  if (unlikely((__Pyx_modinit_function_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
25057
25057
  /*--- Execution code ---*/
25058
- __Pyx_TraceStartFunc("PyInit_iter", __pyx_f[0], 1, 2, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
25058
+ __Pyx_TraceStartFunc("PyInit_iter", __pyx_f[0], 1, 3, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
25059
25059
 
25060
25060
  /* "cfunc.to_py":65
25061
25061
  *
@@ -26152,7 +26152,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26152
26152
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26153
26153
  * def __setstate_cython__(self, __pyx_state):
26154
26154
  */
26155
- __Pyx_TraceLine(1,7,0,__PYX_ERR(1, 1, __pyx_L1_error))
26155
+ __Pyx_TraceLine(1,4,0,__PYX_ERR(1, 1, __pyx_L1_error))
26156
26156
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_28_AwaitableAsyncIterableMixin_14__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AwaitableAsyncIterableMixin___r, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[13])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1, __pyx_L1_error)
26157
26157
  __Pyx_GOTREF(__pyx_t_4);
26158
26158
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -26164,7 +26164,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26164
26164
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
26165
26165
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26166
26166
  */
26167
- __Pyx_TraceLine(3,9,0,__PYX_ERR(1, 3, __pyx_L1_error))
26167
+ __Pyx_TraceLine(3,12,0,__PYX_ERR(1, 3, __pyx_L1_error))
26168
26168
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_28_AwaitableAsyncIterableMixin_16__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AwaitableAsyncIterableMixin___s, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[14])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3, __pyx_L1_error)
26169
26169
  __Pyx_GOTREF(__pyx_t_4);
26170
26170
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -26201,7 +26201,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26201
26201
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26202
26202
  * def __setstate_cython__(self, __pyx_state):
26203
26203
  */
26204
- __Pyx_TraceLine(1,5,0,__PYX_ERR(1, 1, __pyx_L1_error))
26204
+ __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
26205
26205
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_14_ASyncIterable_11__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncIterable___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[20])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1, __pyx_L1_error)
26206
26206
  __Pyx_GOTREF(__pyx_t_4);
26207
26207
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -26213,7 +26213,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26213
26213
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
26214
26214
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26215
26215
  */
26216
- __Pyx_TraceLine(3,14,0,__PYX_ERR(1, 3, __pyx_L1_error))
26216
+ __Pyx_TraceLine(3,11,0,__PYX_ERR(1, 3, __pyx_L1_error))
26217
26217
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_14_ASyncIterable_13__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncIterable___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[21])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3, __pyx_L1_error)
26218
26218
  __Pyx_GOTREF(__pyx_t_4);
26219
26219
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -26400,7 +26400,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26400
26400
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26401
26401
  * def __setstate_cython__(self, __pyx_state):
26402
26402
  */
26403
- __Pyx_TraceLine(1,6,0,__PYX_ERR(1, 1, __pyx_L1_error))
26403
+ __Pyx_TraceLine(1,2,0,__PYX_ERR(1, 1, __pyx_L1_error))
26404
26404
  __pyx_t_8 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_14_ASyncIterator_17__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncIterator___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[33])); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1, __pyx_L1_error)
26405
26405
  __Pyx_GOTREF(__pyx_t_8);
26406
26406
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_8) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -26412,7 +26412,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26412
26412
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
26413
26413
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26414
26414
  */
26415
- __Pyx_TraceLine(3,15,0,__PYX_ERR(1, 3, __pyx_L1_error))
26415
+ __Pyx_TraceLine(3,9,0,__PYX_ERR(1, 3, __pyx_L1_error))
26416
26416
  __pyx_t_8 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_14_ASyncIterator_19__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncIterator___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[34])); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 3, __pyx_L1_error)
26417
26417
  __Pyx_GOTREF(__pyx_t_8);
26418
26418
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_8) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -26537,7 +26537,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26537
26537
  * raise TypeError, "self._ASyncGeneratorFunction__weakself_ptr cannot be converted to a Python object for pickling"
26538
26538
  * def __setstate_cython__(self, __pyx_state):
26539
26539
  */
26540
- __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
26540
+ __Pyx_TraceLine(1,6,0,__PYX_ERR(1, 1, __pyx_L1_error))
26541
26541
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_23_ASyncGeneratorFunction_9__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncGeneratorFunction___reduce, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[50])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
26542
26542
  __Pyx_GOTREF(__pyx_t_3);
26543
26543
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_3) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -26549,7 +26549,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26549
26549
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
26550
26550
  * raise TypeError, "self._ASyncGeneratorFunction__weakself_ptr cannot be converted to a Python object for pickling"
26551
26551
  */
26552
- __Pyx_TraceLine(3,11,0,__PYX_ERR(1, 3, __pyx_L1_error))
26552
+ __Pyx_TraceLine(3,14,0,__PYX_ERR(1, 3, __pyx_L1_error))
26553
26553
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_23_ASyncGeneratorFunction_11__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncGeneratorFunction___setsta, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[51])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3, __pyx_L1_error)
26554
26554
  __Pyx_GOTREF(__pyx_t_3);
26555
26555
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_3) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -26630,7 +26630,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26630
26630
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26631
26631
  * def __setstate_cython__(self, __pyx_state):
26632
26632
  */
26633
- __Pyx_TraceLine(1,3,0,__PYX_ERR(1, 1, __pyx_L1_error))
26633
+ __Pyx_TraceLine(1,7,0,__PYX_ERR(1, 1, __pyx_L1_error))
26634
26634
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_10_ASyncView_3__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncView___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[57])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
26635
26635
  __Pyx_GOTREF(__pyx_t_5);
26636
26636
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -26642,7 +26642,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26642
26642
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
26643
26643
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26644
26644
  */
26645
- __Pyx_TraceLine(3,13,0,__PYX_ERR(1, 3, __pyx_L1_error))
26645
+ __Pyx_TraceLine(3,15,0,__PYX_ERR(1, 3, __pyx_L1_error))
26646
26646
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_10_ASyncView_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncView___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[58])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
26647
26647
  __Pyx_GOTREF(__pyx_t_5);
26648
26648
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -26802,7 +26802,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26802
26802
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26803
26803
  * def __setstate_cython__(self, __pyx_state):
26804
26804
  */
26805
- __Pyx_TraceLine(1,4,0,__PYX_ERR(1, 1, __pyx_L1_error))
26805
+ __Pyx_TraceLine(1,5,0,__PYX_ERR(1, 1, __pyx_L1_error))
26806
26806
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_12_ASyncSorter_14__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncSorter___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[76])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
26807
26807
  __Pyx_GOTREF(__pyx_t_5);
26808
26808
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -26814,7 +26814,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26814
26814
  * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
26815
26815
  * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
26816
26816
  */
26817
- __Pyx_TraceLine(3,12,0,__PYX_ERR(1, 3, __pyx_L1_error))
26817
+ __Pyx_TraceLine(3,13,0,__PYX_ERR(1, 3, __pyx_L1_error))
26818
26818
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_4iter_12_ASyncSorter_16__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncSorter___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_iter, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[77])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
26819
26819
  __Pyx_GOTREF(__pyx_t_5);
26820
26820
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
@@ -26992,12 +26992,12 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
26992
26992
  * import asyncio
26993
26993
  * import copy
26994
26994
  */
26995
- __Pyx_TraceLine(1,2,0,__PYX_ERR(0, 1, __pyx_L1_error))
26995
+ __Pyx_TraceLine(1,3,0,__PYX_ERR(0, 1, __pyx_L1_error))
26996
26996
  __pyx_t_4 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1, __pyx_L1_error)
26997
26997
  __Pyx_GOTREF(__pyx_t_4);
26998
26998
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_4) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
26999
26999
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
27000
- __Pyx_TraceReturnValue(Py_None, 2, 0, __PYX_ERR(0, 1, __pyx_L1_error));
27000
+ __Pyx_TraceReturnValue(Py_None, 3, 0, __PYX_ERR(0, 1, __pyx_L1_error));
27001
27001
  __Pyx_PyMonitoring_ExitScope(0);
27002
27002
 
27003
27003
  /*--- Wrapped vars code ---*/
@@ -27011,7 +27011,7 @@ __Pyx_RefNannySetupContext("PyInit_iter", 0);
27011
27011
  __Pyx_XDECREF(__pyx_t_8);
27012
27012
  __Pyx_XDECREF(__pyx_t_9);
27013
27013
  __Pyx_TraceException(__pyx_lineno, 0, 0);
27014
- __Pyx_TraceExceptionUnwind(2, 0);
27014
+ __Pyx_TraceExceptionUnwind(3, 0);
27015
27015
  if (__pyx_m) {
27016
27016
  if (__pyx_mstate->__pyx_d && stringtab_initialized) {
27017
27017
  __Pyx_AddTraceback("init a_sync.iter", __pyx_clineno, __pyx_lineno, __pyx_filename);
@@ -5211,7 +5211,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
5211
5211
  (void)__Pyx_modinit_variable_import_code(__pyx_mstate);
5212
5212
  (void)__Pyx_modinit_function_import_code(__pyx_mstate);
5213
5213
  /*--- Execution code ---*/
5214
- __Pyx_TraceStartFunc("PyInit__loggable", __pyx_f[0], 1, 2, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
5214
+ __Pyx_TraceStartFunc("PyInit__loggable", __pyx_f[0], 1, 0, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
5215
5215
 
5216
5216
  /* "a_sync/primitives/_loggable.pyx":6
5217
5217
  * """
@@ -5297,7 +5297,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
5297
5297
  *
5298
5298
  *
5299
5299
  */
5300
- __Pyx_TraceLine(11,15,0,__PYX_ERR(0, 11, __pyx_L1_error))
5300
+ __Pyx_TraceLine(11,16,0,__PYX_ERR(0, 11, __pyx_L1_error))
5301
5301
  if (__Pyx_PyObject_DelAttrStr(__pyx_m, __pyx_mstate_global->__pyx_n_u_logging) < 0) __PYX_ERR(0, 11, __pyx_L1_error)
5302
5302
 
5303
5303
  /* "a_sync/primitives/_loggable.pyx":58
@@ -5325,7 +5325,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
5325
5325
  * cdef tuple state
5326
5326
  * cdef object _dict
5327
5327
  */
5328
- __Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
5328
+ __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
5329
5329
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_9_loggable_12_LoggerMixin_1__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_LoggerMixin___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives__loggable, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[4])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error)
5330
5330
  __Pyx_GOTREF(__pyx_t_2);
5331
5331
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_2) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -5373,7 +5373,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
5373
5373
  * cdef object __pyx_PickleError
5374
5374
  * cdef object __pyx_result
5375
5375
  */
5376
- __Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
5376
+ __Pyx_TraceLine(1,2,0,__PYX_ERR(1, 1, __pyx_L1_error))
5377
5377
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_9_loggable_1__pyx_unpickle__LoggerMixin, 0, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__LoggerMixin, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives__loggable, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[7])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error)
5378
5378
  __Pyx_GOTREF(__pyx_t_2);
5379
5379
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__LoggerMixin, __pyx_t_2) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
@@ -5386,7 +5386,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
5386
5386
  * __pyx_result._logger = __pyx_state[0]
5387
5387
  * if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):
5388
5388
  */
5389
- __Pyx_TraceLine(11,16,0,__PYX_ERR(1, 11, __pyx_L1_error))
5389
+ __Pyx_TraceLine(11,15,0,__PYX_ERR(1, 11, __pyx_L1_error))
5390
5390
 
5391
5391
 
5392
5392
  /* "a_sync/primitives/_loggable.pyx":1
@@ -5394,14 +5394,14 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
5394
5394
  * """
5395
5395
  * This module provides a mixin class to add debug logging capabilities to other classes.
5396
5396
  */
5397
- __Pyx_TraceLine(1,2,0,__PYX_ERR(0, 1, __pyx_L1_error))
5397
+ __Pyx_TraceLine(1,0,0,__PYX_ERR(0, 1, __pyx_L1_error))
5398
5398
  __pyx_t_2 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1, __pyx_L1_error)
5399
5399
  __Pyx_GOTREF(__pyx_t_2);
5400
5400
  if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_kp_u_LoggerMixin_logger___get___line, __pyx_mstate_global->__pyx_kp_u_Provides_a_logger_instance_spec) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5401
5401
  if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_kp_u_LoggerMixin_debug_logs_enabled, __pyx_mstate_global->__pyx_kp_u_Checks_if_debug_logging_is_enab) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5402
5402
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_2) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5403
5403
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5404
- __Pyx_TraceReturnValue(Py_None, 2, 0, __PYX_ERR(0, 1, __pyx_L1_error));
5404
+ __Pyx_TraceReturnValue(Py_None, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
5405
5405
  __Pyx_PyMonitoring_ExitScope(0);
5406
5406
 
5407
5407
  /*--- Wrapped vars code ---*/
@@ -5411,7 +5411,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
5411
5411
  __Pyx_XDECREF(__pyx_t_2);
5412
5412
  __Pyx_XDECREF(__pyx_t_3);
5413
5413
  __Pyx_TraceException(__pyx_lineno, 0, 0);
5414
- __Pyx_TraceExceptionUnwind(2, 0);
5414
+ __Pyx_TraceExceptionUnwind(0, 0);
5415
5415
  if (__pyx_m) {
5416
5416
  if (__pyx_mstate->__pyx_d && stringtab_initialized) {
5417
5417
  __Pyx_AddTraceback("init a_sync.primitives._loggable", __pyx_clineno, __pyx_lineno, __pyx_filename);