ez-a-sync 0.24.49__tar.gz → 0.24.51__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 (171) hide show
  1. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/PKG-INFO +9 -2
  2. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/_smart.c +7 -7
  3. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/__init__.py +1 -1
  4. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/_flags.c +6 -6
  5. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/_helpers.c +7 -7
  6. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/_kwargs.c +11 -11
  7. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/abstract.c +13 -13
  8. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/base.c +12 -12
  9. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/config.py +4 -4
  10. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/function.c +15 -15
  11. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/method.c +14 -14
  12. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/modifiers/manager.c +7 -7
  13. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/property.c +16 -16
  14. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/asyncio/as_completed.c +7 -7
  15. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/asyncio/create_task.c +7 -7
  16. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/asyncio/gather.c +387 -999
  17. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/asyncio/gather.pyx +3 -3
  18. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/future.py +6 -6
  19. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/iter.c +13 -13
  20. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/__init__.py +1 -1
  21. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/_debug.c +29 -29
  22. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/_loggable.c +6 -6
  23. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/counter.c +26 -26
  24. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/event.c +25 -25
  25. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/prio_semaphore.c +28 -28
  26. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/semaphore.c +25 -25
  27. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/queue.py +1 -1
  28. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/task.py +78 -43
  29. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/utils/__init__.py +1 -1
  30. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/utils/iterators.py +2 -2
  31. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/ez_a_sync.egg-info/PKG-INFO +9 -2
  32. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/ez_a_sync.egg-info/top_level.txt +0 -1
  33. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/setup.py +1 -1
  34. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/.coverage +0 -0
  35. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/.github/workflows/black.yaml +0 -0
  36. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/.github/workflows/codeql.yaml +0 -0
  37. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/.github/workflows/docs.yaml +0 -0
  38. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/.github/workflows/mypy.yaml +0 -0
  39. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/.github/workflows/pytest.yaml +0 -0
  40. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/.github/workflows/release.yaml +0 -0
  41. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/.gitignore +0 -0
  42. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/.sourcery.yaml +0 -0
  43. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/LICENSE.txt +0 -0
  44. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/MANIFEST.in +0 -0
  45. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/Makefile +0 -0
  46. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/README.md +0 -0
  47. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/TODO +0 -0
  48. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/ENVIRONMENT_VARIABLES.py +0 -0
  49. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/__init__.pxd +0 -0
  50. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/__init__.py +0 -0
  51. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/_smart.pyx +0 -0
  52. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/_typing.py +0 -0
  53. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/_descriptor.py +0 -0
  54. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/_flags.pxd +0 -0
  55. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/_flags.pyx +0 -0
  56. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/_helpers.pxd +0 -0
  57. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/_helpers.pyi +0 -0
  58. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/_helpers.pyx +0 -0
  59. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/_kwargs.pxd +0 -0
  60. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/_kwargs.pyx +0 -0
  61. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/_meta.py +0 -0
  62. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/abstract.pyi +0 -0
  63. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/abstract.pyx +0 -0
  64. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/base.pyi +0 -0
  65. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/base.pyx +0 -0
  66. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/decorator.py +0 -0
  67. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/flags.py +0 -0
  68. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/function.pyi +0 -0
  69. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/function.pyx +0 -0
  70. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/method.pxd +0 -0
  71. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/method.pyi +0 -0
  72. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/method.pyx +0 -0
  73. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/modifiers/__init__.py +0 -0
  74. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/modifiers/cache/__init__.py +0 -0
  75. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/modifiers/cache/memory.py +0 -0
  76. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/modifiers/limiter.py +0 -0
  77. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/modifiers/manager.pyi +0 -0
  78. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/modifiers/manager.pyx +0 -0
  79. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/modifiers/semaphores.py +0 -0
  80. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/property.pyi +0 -0
  81. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/property.pyx +0 -0
  82. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/a_sync/singleton.py +0 -0
  83. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/aliases.py +0 -0
  84. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/asyncio/__init__.py +0 -0
  85. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/asyncio/as_completed.pxd +0 -0
  86. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/asyncio/as_completed.pyi +0 -0
  87. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/asyncio/as_completed.pyx +0 -0
  88. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/asyncio/create_task.pxd +0 -0
  89. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/asyncio/create_task.pyi +0 -0
  90. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/asyncio/create_task.pyx +0 -0
  91. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/asyncio/gather.pyi +0 -0
  92. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/exceptions.py +0 -0
  93. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/executor.py +0 -0
  94. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/iter.pyi +0 -0
  95. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/iter.pyx +0 -0
  96. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/__init__.pxd +0 -0
  97. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/_debug.pxd +0 -0
  98. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/_debug.pyi +0 -0
  99. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/_debug.pyx +0 -0
  100. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/_loggable.pxd +0 -0
  101. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/_loggable.pyi +0 -0
  102. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/_loggable.pyx +0 -0
  103. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/__init__.pxd +0 -0
  104. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/__init__.py +0 -0
  105. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/counter.pxd +0 -0
  106. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/counter.pyi +0 -0
  107. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/counter.pyx +0 -0
  108. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/event.pxd +0 -0
  109. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/event.pyi +0 -0
  110. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/event.pyx +0 -0
  111. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/prio_semaphore.pxd +0 -0
  112. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/prio_semaphore.pyi +0 -0
  113. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/prio_semaphore.pyx +0 -0
  114. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/semaphore.pxd +0 -0
  115. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/semaphore.pyi +0 -0
  116. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/primitives/locks/semaphore.pyx +0 -0
  117. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/py.typed +0 -0
  118. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/sphinx/__init__.py +0 -0
  119. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/a_sync/sphinx/ext.py +0 -0
  120. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/Makefile +0 -0
  121. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/_build/html/_static/alabaster.css +0 -0
  122. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/_build/html/_static/basic.css +0 -0
  123. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/_build/html/_static/custom.css +0 -0
  124. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/_build/html/_static/doctools.js +0 -0
  125. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/_build/html/_static/documentation_options.js +0 -0
  126. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/_build/html/_static/file.png +0 -0
  127. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/_build/html/_static/language_data.js +0 -0
  128. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/_build/html/_static/minus.png +0 -0
  129. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/_build/html/_static/plus.png +0 -0
  130. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/_build/html/_static/pygments.css +0 -0
  131. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/_build/html/_static/searchtools.js +0 -0
  132. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/_build/html/_static/sphinx_highlight.js +0 -0
  133. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/conf.py +0 -0
  134. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/index.rst +0 -0
  135. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/docs/make.bat +0 -0
  136. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/ez_a_sync.egg-info/SOURCES.txt +0 -0
  137. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/ez_a_sync.egg-info/dependency_links.txt +0 -0
  138. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/ez_a_sync.egg-info/not-zip-safe +0 -0
  139. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/ez_a_sync.egg-info/requires.txt +0 -0
  140. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/pyproject.toml +0 -0
  141. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/requirements-dev.txt +0 -0
  142. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/requirements.txt +0 -0
  143. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/setup.cfg +0 -0
  144. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/__init__.py +0 -0
  145. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/a_sync/modifiers/test_apply_semaphore.py +0 -0
  146. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/a_sync/test_abstract.py +0 -0
  147. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/a_sync/test_base.py +0 -0
  148. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/a_sync/test_cache.py +0 -0
  149. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/a_sync/test_decorator.py +0 -0
  150. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/a_sync/test_limiter.py +0 -0
  151. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/a_sync/test_meta.py +0 -0
  152. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/a_sync/test_modified.py +0 -0
  153. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/a_sync/test_singleton.py +0 -0
  154. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/asyncio/test_as_completed.py +0 -0
  155. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/asyncio/test_create_task.py +0 -0
  156. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/asyncio/test_gather.py +0 -0
  157. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/conftest.py +0 -0
  158. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/executor.py +0 -0
  159. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/fixtures.py +0 -0
  160. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/primitives/test_counter.py +0 -0
  161. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/primitives/test_event.py +0 -0
  162. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/primitives/test_prio_semaphore.py +0 -0
  163. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/primitives/test_queue.py +0 -0
  164. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/primitives/test_semaphore.py +0 -0
  165. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/task/test_task.py +0 -0
  166. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/task/test_task_mapping_views.py +0 -0
  167. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/test_executor.py +0 -0
  168. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/test_future.py +0 -0
  169. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/test_helpers.py +0 -0
  170. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/test_iter.py +0 -0
  171. {ez_a_sync-0.24.49 → ez_a_sync-0.24.51}/tests/test_smart.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: ez-a-sync
3
- Version: 0.24.49
3
+ Version: 0.24.51
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
@@ -13,3 +13,10 @@ Requires-Dist: async_lru_threadsafe==2.0.4
13
13
  Requires-Dist: async_property==0.2.1
14
14
  Requires-Dist: typed_envs>=0.0.5
15
15
  Requires-Dist: typing_extensions>=4.1.0
16
+ Dynamic: author
17
+ Dynamic: author-email
18
+ Dynamic: home-page
19
+ Dynamic: license
20
+ Dynamic: requires-dist
21
+ Dynamic: requires-python
22
+ Dynamic: summary
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.0.11 */
1
+ /* Generated by Cython 3.0.12 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -37,10 +37,10 @@ END: Cython Metadata */
37
37
  #else
38
38
  #define __PYX_EXTRA_ABI_MODULE_NAME ""
39
39
  #endif
40
- #define CYTHON_ABI "3_0_11" __PYX_EXTRA_ABI_MODULE_NAME
40
+ #define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
41
41
  #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
42
42
  #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
43
- #define CYTHON_HEX_VERSION 0x03000BF0
43
+ #define CYTHON_HEX_VERSION 0x03000CF0
44
44
  #define CYTHON_FUTURE_DIVISION 1
45
45
  #include <stddef.h>
46
46
  #ifndef offsetof
@@ -1864,7 +1864,7 @@ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
1864
1864
  #include "compile.h"
1865
1865
  #include "frameobject.h"
1866
1866
  #include "traceback.h"
1867
- #if PY_VERSION_HEX >= 0x030b00a6
1867
+ #if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
1868
1868
  #ifndef Py_BUILD_CORE
1869
1869
  #define Py_BUILD_CORE 1
1870
1870
  #endif
@@ -2151,7 +2151,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
2151
2151
  #if !CYTHON_VECTORCALL
2152
2152
  #if PY_VERSION_HEX >= 0x03080000
2153
2153
  #include "frameobject.h"
2154
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
2154
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
2155
2155
  #ifndef Py_BUILD_CORE
2156
2156
  #define Py_BUILD_CORE 1
2157
2157
  #endif
@@ -20045,7 +20045,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
20045
20045
  #include "compile.h"
20046
20046
  #include "frameobject.h"
20047
20047
  #include "traceback.h"
20048
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
20048
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
20049
20049
  #ifndef Py_BUILD_CORE
20050
20050
  #define Py_BUILD_CORE 1
20051
20051
  #endif
@@ -21343,7 +21343,7 @@ static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name
21343
21343
 
21344
21344
  /* CoroutineBase */
21345
21345
  #include <frameobject.h>
21346
- #if PY_VERSION_HEX >= 0x030b00a6
21346
+ #if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
21347
21347
  #ifndef Py_BUILD_CORE
21348
21348
  #define Py_BUILD_CORE 1
21349
21349
  #endif
@@ -1,5 +1,5 @@
1
1
  """
2
- This module enables developers to write both synchronous and asynchronous code without having to write redundant code.
2
+ This module enables developers to write both synchronous and asynchronous code without having to write redundant code.
3
3
 
4
4
  The two main objects you should use are
5
5
  - a decorator `@a_sync()`
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.0.11 */
1
+ /* Generated by Cython 3.0.12 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -36,10 +36,10 @@ END: Cython Metadata */
36
36
  #else
37
37
  #define __PYX_EXTRA_ABI_MODULE_NAME ""
38
38
  #endif
39
- #define CYTHON_ABI "3_0_11" __PYX_EXTRA_ABI_MODULE_NAME
39
+ #define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
40
40
  #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
41
41
  #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
42
- #define CYTHON_HEX_VERSION 0x03000BF0
42
+ #define CYTHON_HEX_VERSION 0x03000CF0
43
43
  #define CYTHON_FUTURE_DIVISION 1
44
44
  #include <stddef.h>
45
45
  #ifndef offsetof
@@ -1673,7 +1673,7 @@ static PyObject *__Pyx_GetBuiltinName(PyObject *name);
1673
1673
  #include "compile.h"
1674
1674
  #include "frameobject.h"
1675
1675
  #include "traceback.h"
1676
- #if PY_VERSION_HEX >= 0x030b00a6
1676
+ #if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
1677
1677
  #ifndef Py_BUILD_CORE
1678
1678
  #define Py_BUILD_CORE 1
1679
1679
  #endif
@@ -1951,7 +1951,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
1951
1951
  #if !CYTHON_VECTORCALL
1952
1952
  #if PY_VERSION_HEX >= 0x03080000
1953
1953
  #include "frameobject.h"
1954
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
1954
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
1955
1955
  #ifndef Py_BUILD_CORE
1956
1956
  #define Py_BUILD_CORE 1
1957
1957
  #endif
@@ -4608,7 +4608,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
4608
4608
  #include "compile.h"
4609
4609
  #include "frameobject.h"
4610
4610
  #include "traceback.h"
4611
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
4611
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
4612
4612
  #ifndef Py_BUILD_CORE
4613
4613
  #define Py_BUILD_CORE 1
4614
4614
  #endif
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.0.11 */
1
+ /* Generated by Cython 3.0.12 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -36,10 +36,10 @@ END: Cython Metadata */
36
36
  #else
37
37
  #define __PYX_EXTRA_ABI_MODULE_NAME ""
38
38
  #endif
39
- #define CYTHON_ABI "3_0_11" __PYX_EXTRA_ABI_MODULE_NAME
39
+ #define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
40
40
  #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
41
41
  #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
42
- #define CYTHON_HEX_VERSION 0x03000BF0
42
+ #define CYTHON_HEX_VERSION 0x03000CF0
43
43
  #define CYTHON_FUTURE_DIVISION 1
44
44
  #include <stddef.h>
45
45
  #ifndef offsetof
@@ -1724,7 +1724,7 @@ static PyObject *__Pyx_GetBuiltinName(PyObject *name);
1724
1724
  #include "compile.h"
1725
1725
  #include "frameobject.h"
1726
1726
  #include "traceback.h"
1727
- #if PY_VERSION_HEX >= 0x030b00a6
1727
+ #if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
1728
1728
  #ifndef Py_BUILD_CORE
1729
1729
  #define Py_BUILD_CORE 1
1730
1730
  #endif
@@ -1996,7 +1996,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
1996
1996
  #if !CYTHON_VECTORCALL
1997
1997
  #if PY_VERSION_HEX >= 0x03080000
1998
1998
  #include "frameobject.h"
1999
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
1999
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
2000
2000
  #ifndef Py_BUILD_CORE
2001
2001
  #define Py_BUILD_CORE 1
2002
2002
  #endif
@@ -7694,7 +7694,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
7694
7694
 
7695
7695
  /* CoroutineBase */
7696
7696
  #include <frameobject.h>
7697
- #if PY_VERSION_HEX >= 0x030b00a6
7697
+ #if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
7698
7698
  #ifndef Py_BUILD_CORE
7699
7699
  #define Py_BUILD_CORE 1
7700
7700
  #endif
@@ -10886,7 +10886,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
10886
10886
  #include "compile.h"
10887
10887
  #include "frameobject.h"
10888
10888
  #include "traceback.h"
10889
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
10889
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
10890
10890
  #ifndef Py_BUILD_CORE
10891
10891
  #define Py_BUILD_CORE 1
10892
10892
  #endif
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.0.11 */
1
+ /* Generated by Cython 3.0.12 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -37,10 +37,10 @@ END: Cython Metadata */
37
37
  #else
38
38
  #define __PYX_EXTRA_ABI_MODULE_NAME ""
39
39
  #endif
40
- #define CYTHON_ABI "3_0_11" __PYX_EXTRA_ABI_MODULE_NAME
40
+ #define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
41
41
  #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
42
42
  #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
43
- #define CYTHON_HEX_VERSION 0x03000BF0
43
+ #define CYTHON_HEX_VERSION 0x03000CF0
44
44
  #define CYTHON_FUTURE_DIVISION 1
45
45
  #include <stddef.h>
46
46
  #ifndef offsetof
@@ -1737,7 +1737,7 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
1737
1737
  #include "compile.h"
1738
1738
  #include "frameobject.h"
1739
1739
  #include "traceback.h"
1740
- #if PY_VERSION_HEX >= 0x030b00a6
1740
+ #if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
1741
1741
  #ifndef Py_BUILD_CORE
1742
1742
  #define Py_BUILD_CORE 1
1743
1743
  #endif
@@ -2060,7 +2060,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
2060
2060
  #if !CYTHON_VECTORCALL
2061
2061
  #if PY_VERSION_HEX >= 0x03080000
2062
2062
  #include "frameobject.h"
2063
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
2063
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
2064
2064
  #ifndef Py_BUILD_CORE
2065
2065
  #define Py_BUILD_CORE 1
2066
2066
  #endif
@@ -2372,7 +2372,7 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
2372
2372
  static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);
2373
2373
 
2374
2374
  /* FunctionImport.proto */
2375
- static int __Pyx_ImportFunction_3_0_11(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2375
+ static int __Pyx_ImportFunction_3_0_12(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2376
2376
 
2377
2377
  /* InitStrings.proto */
2378
2378
  static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
@@ -3290,7 +3290,7 @@ static int __Pyx_modinit_function_import_code(void) {
3290
3290
  /*--- Function import code ---*/
3291
3291
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
3292
3292
  __Pyx_GOTREF(__pyx_t_1);
3293
- if (__Pyx_ImportFunction_3_0_11(__pyx_t_1, "validate_and_negate_if_necessary", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_and_negate_if_necessary, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
3293
+ if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "validate_and_negate_if_necessary", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_and_negate_if_necessary, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
3294
3294
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3295
3295
  __Pyx_RefNannyFinishContext();
3296
3296
  return 0;
@@ -6624,7 +6624,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
6624
6624
  #include "compile.h"
6625
6625
  #include "frameobject.h"
6626
6626
  #include "traceback.h"
6627
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
6627
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
6628
6628
  #ifndef Py_BUILD_CORE
6629
6629
  #define Py_BUILD_CORE 1
6630
6630
  #endif
@@ -7652,9 +7652,9 @@ bad:
7652
7652
  }
7653
7653
 
7654
7654
  /* FunctionImport */
7655
- #ifndef __PYX_HAVE_RT_ImportFunction_3_0_11
7656
- #define __PYX_HAVE_RT_ImportFunction_3_0_11
7657
- static int __Pyx_ImportFunction_3_0_11(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
7655
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_0_12
7656
+ #define __PYX_HAVE_RT_ImportFunction_3_0_12
7657
+ static int __Pyx_ImportFunction_3_0_12(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
7658
7658
  PyObject *d = 0;
7659
7659
  PyObject *cobj = 0;
7660
7660
  union {
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.0.11 */
1
+ /* Generated by Cython 3.0.12 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -36,10 +36,10 @@ END: Cython Metadata */
36
36
  #else
37
37
  #define __PYX_EXTRA_ABI_MODULE_NAME ""
38
38
  #endif
39
- #define CYTHON_ABI "3_0_11" __PYX_EXTRA_ABI_MODULE_NAME
39
+ #define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
40
40
  #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
41
41
  #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
42
- #define CYTHON_HEX_VERSION 0x03000BF0
42
+ #define CYTHON_HEX_VERSION 0x03000CF0
43
43
  #define CYTHON_FUTURE_DIVISION 1
44
44
  #include <stddef.h>
45
45
  #ifndef offsetof
@@ -1732,7 +1732,7 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject
1732
1732
  #include "compile.h"
1733
1733
  #include "frameobject.h"
1734
1734
  #include "traceback.h"
1735
- #if PY_VERSION_HEX >= 0x030b00a6
1735
+ #if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
1736
1736
  #ifndef Py_BUILD_CORE
1737
1737
  #define Py_BUILD_CORE 1
1738
1738
  #endif
@@ -1957,7 +1957,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
1957
1957
  #if !CYTHON_VECTORCALL
1958
1958
  #if PY_VERSION_HEX >= 0x03080000
1959
1959
  #include "frameobject.h"
1960
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
1960
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
1961
1961
  #ifndef Py_BUILD_CORE
1962
1962
  #define Py_BUILD_CORE 1
1963
1963
  #endif
@@ -2439,7 +2439,7 @@ static unsigned long __Pyx_get_runtime_version(void);
2439
2439
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
2440
2440
 
2441
2441
  /* FunctionImport.proto */
2442
- static int __Pyx_ImportFunction_3_0_11(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2442
+ static int __Pyx_ImportFunction_3_0_12(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2443
2443
 
2444
2444
  /* InitStrings.proto */
2445
2445
  static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
@@ -5858,12 +5858,12 @@ static int __Pyx_modinit_function_import_code(void) {
5858
5858
  /*--- Function import code ---*/
5859
5859
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._kwargs"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
5860
5860
  __Pyx_GOTREF(__pyx_t_1);
5861
- if (__Pyx_ImportFunction_3_0_11(__pyx_t_1, "get_flag_name", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_get_flag_name, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5862
- if (__Pyx_ImportFunction_3_0_11(__pyx_t_1, "is_sync", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_is_sync, "int (PyObject *, PyObject *, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5861
+ if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "get_flag_name", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_get_flag_name, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5862
+ if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "is_sync", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_is_sync, "int (PyObject *, PyObject *, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5863
5863
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5864
5864
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
5865
5865
  __Pyx_GOTREF(__pyx_t_1);
5866
- if (__Pyx_ImportFunction_3_0_11(__pyx_t_1, "validate_and_negate_if_necessary", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_and_negate_if_necessary, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5866
+ if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "validate_and_negate_if_necessary", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_and_negate_if_necessary, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
5867
5867
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5868
5868
  __Pyx_RefNannyFinishContext();
5869
5869
  return 0;
@@ -10139,7 +10139,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
10139
10139
  #include "compile.h"
10140
10140
  #include "frameobject.h"
10141
10141
  #include "traceback.h"
10142
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
10142
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
10143
10143
  #ifndef Py_BUILD_CORE
10144
10144
  #define Py_BUILD_CORE 1
10145
10145
  #endif
@@ -11227,9 +11227,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
11227
11227
  }
11228
11228
 
11229
11229
  /* FunctionImport */
11230
- #ifndef __PYX_HAVE_RT_ImportFunction_3_0_11
11231
- #define __PYX_HAVE_RT_ImportFunction_3_0_11
11232
- static int __Pyx_ImportFunction_3_0_11(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
11230
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_0_12
11231
+ #define __PYX_HAVE_RT_ImportFunction_3_0_12
11232
+ static int __Pyx_ImportFunction_3_0_12(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
11233
11233
  PyObject *d = 0;
11234
11234
  PyObject *cobj = 0;
11235
11235
  union {
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.0.11 */
1
+ /* Generated by Cython 3.0.12 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -37,10 +37,10 @@ END: Cython Metadata */
37
37
  #else
38
38
  #define __PYX_EXTRA_ABI_MODULE_NAME ""
39
39
  #endif
40
- #define CYTHON_ABI "3_0_11" __PYX_EXTRA_ABI_MODULE_NAME
40
+ #define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
41
41
  #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
42
42
  #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
43
- #define CYTHON_HEX_VERSION 0x03000BF0
43
+ #define CYTHON_HEX_VERSION 0x03000CF0
44
44
  #define CYTHON_FUTURE_DIVISION 1
45
45
  #include <stddef.h>
46
46
  #ifndef offsetof
@@ -1752,7 +1752,7 @@ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
1752
1752
  #include "compile.h"
1753
1753
  #include "frameobject.h"
1754
1754
  #include "traceback.h"
1755
- #if PY_VERSION_HEX >= 0x030b00a6
1755
+ #if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
1756
1756
  #ifndef Py_BUILD_CORE
1757
1757
  #define Py_BUILD_CORE 1
1758
1758
  #endif
@@ -2024,7 +2024,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
2024
2024
  #if !CYTHON_VECTORCALL
2025
2025
  #if PY_VERSION_HEX >= 0x03080000
2026
2026
  #include "frameobject.h"
2027
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
2027
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
2028
2028
  #ifndef Py_BUILD_CORE
2029
2029
  #define Py_BUILD_CORE 1
2030
2030
  #endif
@@ -2461,7 +2461,7 @@ static unsigned long __Pyx_get_runtime_version(void);
2461
2461
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
2462
2462
 
2463
2463
  /* FunctionImport.proto */
2464
- static int __Pyx_ImportFunction_3_0_11(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2464
+ static int __Pyx_ImportFunction_3_0_12(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2465
2465
 
2466
2466
  /* InitStrings.proto */
2467
2467
  static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
@@ -7200,8 +7200,8 @@ static int __Pyx_modinit_function_import_code(void) {
7200
7200
  /*--- Function import code ---*/
7201
7201
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
7202
7202
  __Pyx_GOTREF(__pyx_t_1);
7203
- if (__Pyx_ImportFunction_3_0_11(__pyx_t_1, "validate_flag_value", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_flag_value, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7204
- if (__Pyx_ImportFunction_3_0_11(__pyx_t_1, "validate_and_negate_if_necessary", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_and_negate_if_necessary, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7203
+ if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "validate_flag_value", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_flag_value, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7204
+ if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "validate_and_negate_if_necessary", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_and_negate_if_necessary, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
7205
7205
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7206
7206
  __Pyx_RefNannyFinishContext();
7207
7207
  return 0;
@@ -11746,7 +11746,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
11746
11746
  #include "compile.h"
11747
11747
  #include "frameobject.h"
11748
11748
  #include "traceback.h"
11749
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
11749
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
11750
11750
  #ifndef Py_BUILD_CORE
11751
11751
  #define Py_BUILD_CORE 1
11752
11752
  #endif
@@ -12898,9 +12898,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
12898
12898
  }
12899
12899
 
12900
12900
  /* FunctionImport */
12901
- #ifndef __PYX_HAVE_RT_ImportFunction_3_0_11
12902
- #define __PYX_HAVE_RT_ImportFunction_3_0_11
12903
- static int __Pyx_ImportFunction_3_0_11(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
12901
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_0_12
12902
+ #define __PYX_HAVE_RT_ImportFunction_3_0_12
12903
+ static int __Pyx_ImportFunction_3_0_12(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
12904
12904
  PyObject *d = 0;
12905
12905
  PyObject *cobj = 0;
12906
12906
  union {
@@ -5,8 +5,8 @@ and handling environment variable configurations.
5
5
 
6
6
  Environment Variables:
7
7
  :obj:`~A_SYNC_EXECUTOR_TYPE`: Specifies the type of executor to use. Valid values are
8
- strings that start with 'p' for :class:`~concurrent.futures.ProcessPoolExecutor`
9
- (e.g., 'processes') or 't' for :class:`~concurrent.futures.ThreadPoolExecutor`
8
+ strings that start with 'p' for :class:`~concurrent.futures.ProcessPoolExecutor`
9
+ (e.g., 'processes') or 't' for :class:`~concurrent.futures.ThreadPoolExecutor`
10
10
  (e.g., 'threads'). Defaults to 'threads'.
11
11
  :obj:`~A_SYNC_EXECUTOR_VALUE`: Specifies the number of workers for the executor.
12
12
  Defaults to 8.
@@ -15,14 +15,14 @@ Environment Variables:
15
15
  :obj:`~A_SYNC_CACHE_TYPED`: Boolean flag to determine if cache keys should consider types.
16
16
  :obj:`~A_SYNC_RAM_CACHE_MAXSIZE`: Sets the maximum size for the RAM cache. Defaults to -1.
17
17
  :obj:`~A_SYNC_RAM_CACHE_TTL`: Sets the time-to-live for cache entries. If not specified,
18
- defaults to 0, which is then checked against `null_modifiers["ram_cache_ttl"]`
18
+ defaults to 0, which is then checked against `null_modifiers["ram_cache_ttl"]`
19
19
  to potentially set it to `None`, meaning cache entries do not expire by default.
20
20
  :obj:`~A_SYNC_RUNS_PER_MINUTE`: Sets the rate limit for function execution.
21
21
  :obj:`~A_SYNC_SEMAPHORE`: Sets the semaphore limit for function execution.
22
22
 
23
23
  Examples:
24
24
  To set the executor type to use threads with 4 workers, set the environment variables:
25
-
25
+
26
26
  .. code-block:: bash
27
27
 
28
28
  export A_SYNC_EXECUTOR_TYPE=threads
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.0.11 */
1
+ /* Generated by Cython 3.0.12 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -37,10 +37,10 @@ END: Cython Metadata */
37
37
  #else
38
38
  #define __PYX_EXTRA_ABI_MODULE_NAME ""
39
39
  #endif
40
- #define CYTHON_ABI "3_0_11" __PYX_EXTRA_ABI_MODULE_NAME
40
+ #define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
41
41
  #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
42
42
  #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
43
- #define CYTHON_HEX_VERSION 0x03000BF0
43
+ #define CYTHON_HEX_VERSION 0x03000CF0
44
44
  #define CYTHON_FUTURE_DIVISION 1
45
45
  #include <stddef.h>
46
46
  #ifndef offsetof
@@ -1979,7 +1979,7 @@ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
1979
1979
  #include "compile.h"
1980
1980
  #include "frameobject.h"
1981
1981
  #include "traceback.h"
1982
- #if PY_VERSION_HEX >= 0x030b00a6
1982
+ #if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
1983
1983
  #ifndef Py_BUILD_CORE
1984
1984
  #define Py_BUILD_CORE 1
1985
1985
  #endif
@@ -2352,7 +2352,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
2352
2352
  #if !CYTHON_VECTORCALL
2353
2353
  #if PY_VERSION_HEX >= 0x03080000
2354
2354
  #include "frameobject.h"
2355
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
2355
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
2356
2356
  #ifndef Py_BUILD_CORE
2357
2357
  #define Py_BUILD_CORE 1
2358
2358
  #endif
@@ -2910,7 +2910,7 @@ static unsigned long __Pyx_get_runtime_version(void);
2910
2910
  static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
2911
2911
 
2912
2912
  /* FunctionImport.proto */
2913
- static int __Pyx_ImportFunction_3_0_11(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2913
+ static int __Pyx_ImportFunction_3_0_12(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2914
2914
 
2915
2915
  /* InitStrings.proto */
2916
2916
  static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
@@ -22862,13 +22862,13 @@ static int __Pyx_modinit_function_import_code(void) {
22862
22862
  /*--- Function import code ---*/
22863
22863
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._kwargs"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
22864
22864
  __Pyx_GOTREF(__pyx_t_1);
22865
- if (__Pyx_ImportFunction_3_0_11(__pyx_t_1, "get_flag_name", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_get_flag_name, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
22866
- if (__Pyx_ImportFunction_3_0_11(__pyx_t_1, "is_sync", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_is_sync, "int (PyObject *, PyObject *, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
22865
+ if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "get_flag_name", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_get_flag_name, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
22866
+ if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "is_sync", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_is_sync, "int (PyObject *, PyObject *, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
22867
22867
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
22868
22868
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
22869
22869
  __Pyx_GOTREF(__pyx_t_1);
22870
- if (__Pyx_ImportFunction_3_0_11(__pyx_t_1, "_await", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__await, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
22871
- if (__Pyx_ImportFunction_3_0_11(__pyx_t_1, "_asyncify", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__asyncify, "PyObject *(PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
22870
+ if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "_await", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__await, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
22871
+ if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "_asyncify", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__asyncify, "PyObject *(PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
22872
22872
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
22873
22873
  __Pyx_RefNannyFinishContext();
22874
22874
  return 0;
@@ -29907,7 +29907,7 @@ static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name
29907
29907
 
29908
29908
  /* CoroutineBase */
29909
29909
  #include <frameobject.h>
29910
- #if PY_VERSION_HEX >= 0x030b00a6
29910
+ #if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
29911
29911
  #ifndef Py_BUILD_CORE
29912
29912
  #define Py_BUILD_CORE 1
29913
29913
  #endif
@@ -32495,7 +32495,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
32495
32495
  #include "compile.h"
32496
32496
  #include "frameobject.h"
32497
32497
  #include "traceback.h"
32498
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
32498
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
32499
32499
  #ifndef Py_BUILD_CORE
32500
32500
  #define Py_BUILD_CORE 1
32501
32501
  #endif
@@ -33763,9 +33763,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
33763
33763
  }
33764
33764
 
33765
33765
  /* FunctionImport */
33766
- #ifndef __PYX_HAVE_RT_ImportFunction_3_0_11
33767
- #define __PYX_HAVE_RT_ImportFunction_3_0_11
33768
- static int __Pyx_ImportFunction_3_0_11(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
33766
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_0_12
33767
+ #define __PYX_HAVE_RT_ImportFunction_3_0_12
33768
+ static int __Pyx_ImportFunction_3_0_12(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
33769
33769
  PyObject *d = 0;
33770
33770
  PyObject *cobj = 0;
33771
33771
  union {
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.0.11 */
1
+ /* Generated by Cython 3.0.12 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -37,10 +37,10 @@ END: Cython Metadata */
37
37
  #else
38
38
  #define __PYX_EXTRA_ABI_MODULE_NAME ""
39
39
  #endif
40
- #define CYTHON_ABI "3_0_11" __PYX_EXTRA_ABI_MODULE_NAME
40
+ #define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
41
41
  #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
42
42
  #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
43
- #define CYTHON_HEX_VERSION 0x03000BF0
43
+ #define CYTHON_HEX_VERSION 0x03000CF0
44
44
  #define CYTHON_FUTURE_DIVISION 1
45
45
  #include <stddef.h>
46
46
  #ifndef offsetof
@@ -1782,7 +1782,7 @@ static PyObject *__Pyx_GetBuiltinName(PyObject *name);
1782
1782
  #include "compile.h"
1783
1783
  #include "frameobject.h"
1784
1784
  #include "traceback.h"
1785
- #if PY_VERSION_HEX >= 0x030b00a6
1785
+ #if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
1786
1786
  #ifndef Py_BUILD_CORE
1787
1787
  #define Py_BUILD_CORE 1
1788
1788
  #endif
@@ -2007,7 +2007,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
2007
2007
  #if !CYTHON_VECTORCALL
2008
2008
  #if PY_VERSION_HEX >= 0x03080000
2009
2009
  #include "frameobject.h"
2010
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
2010
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
2011
2011
  #ifndef Py_BUILD_CORE
2012
2012
  #define Py_BUILD_CORE 1
2013
2013
  #endif
@@ -2768,7 +2768,7 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
2768
2768
  static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);
2769
2769
 
2770
2770
  /* FunctionImport.proto */
2771
- static int __Pyx_ImportFunction_3_0_11(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2771
+ static int __Pyx_ImportFunction_3_0_12(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
2772
2772
 
2773
2773
  /* InitStrings.proto */
2774
2774
  static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
@@ -17606,12 +17606,12 @@ static int __Pyx_modinit_function_import_code(void) {
17606
17606
  /*--- Function import code ---*/
17607
17607
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._kwargs"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
17608
17608
  __Pyx_GOTREF(__pyx_t_1);
17609
- if (__Pyx_ImportFunction_3_0_11(__pyx_t_1, "get_flag_name", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_get_flag_name, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
17610
- if (__Pyx_ImportFunction_3_0_11(__pyx_t_1, "is_sync", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_is_sync, "int (PyObject *, PyObject *, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
17609
+ if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "get_flag_name", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_get_flag_name, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
17610
+ if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "is_sync", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_is_sync, "int (PyObject *, PyObject *, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
17611
17611
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
17612
17612
  __pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
17613
17613
  __Pyx_GOTREF(__pyx_t_1);
17614
- if (__Pyx_ImportFunction_3_0_11(__pyx_t_1, "_await", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__await, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
17614
+ if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "_await", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__await, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
17615
17615
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
17616
17616
  __Pyx_RefNannyFinishContext();
17617
17617
  return 0;
@@ -22036,7 +22036,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
22036
22036
 
22037
22037
  /* CoroutineBase */
22038
22038
  #include <frameobject.h>
22039
- #if PY_VERSION_HEX >= 0x030b00a6
22039
+ #if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
22040
22040
  #ifndef Py_BUILD_CORE
22041
22041
  #define Py_BUILD_CORE 1
22042
22042
  #endif
@@ -26434,7 +26434,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
26434
26434
  #include "compile.h"
26435
26435
  #include "frameobject.h"
26436
26436
  #include "traceback.h"
26437
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
26437
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
26438
26438
  #ifndef Py_BUILD_CORE
26439
26439
  #define Py_BUILD_CORE 1
26440
26440
  #endif
@@ -27806,9 +27806,9 @@ bad:
27806
27806
  }
27807
27807
 
27808
27808
  /* FunctionImport */
27809
- #ifndef __PYX_HAVE_RT_ImportFunction_3_0_11
27810
- #define __PYX_HAVE_RT_ImportFunction_3_0_11
27811
- static int __Pyx_ImportFunction_3_0_11(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
27809
+ #ifndef __PYX_HAVE_RT_ImportFunction_3_0_12
27810
+ #define __PYX_HAVE_RT_ImportFunction_3_0_12
27811
+ static int __Pyx_ImportFunction_3_0_12(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
27812
27812
  PyObject *d = 0;
27813
27813
  PyObject *cobj = 0;
27814
27814
  union {