ez-a-sync 0.26.0__tar.gz → 0.27.1__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.
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/PKG-INFO +1 -1
- ez_a_sync-0.27.1/a_sync/__init__.pxd +2 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/__init__.py +3 -1
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/_smart.c +44 -0
- ez_a_sync-0.27.1/a_sync/asyncio/__init__.pxd +6 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/__init__.py +2 -2
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/gather.c +1198 -939
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/gather.pyi +3 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/gather.pyx +14 -11
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/igather.c +2397 -1843
- ez_a_sync-0.27.1/a_sync/asyncio/igather.pxd +1 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/igather.pyx +11 -5
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/future.py +4 -4
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/iter.c +158 -136
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/iter.pyx +3 -3
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/counter.c +554 -486
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/counter.pyx +3 -4
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/queue.py +11 -11
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/utils/iterators.py +4 -4
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/ez_a_sync.egg-info/PKG-INFO +1 -1
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/ez_a_sync.egg-info/SOURCES.txt +1 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/asyncio/test_gather.py +19 -2
- ez_a_sync-0.26.0/a_sync/__init__.pxd +0 -1
- ez_a_sync-0.26.0/a_sync/asyncio/__init__.pxd +0 -3
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/.coverage +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/.github/workflows/black.yaml +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/.github/workflows/codeql.yaml +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/.github/workflows/docs.yaml +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/.github/workflows/mypy.yaml +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/.github/workflows/pytest.yaml +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/.github/workflows/release.yaml +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/.gitignore +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/.sourcery.yaml +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/LICENSE.txt +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/MANIFEST.in +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/Makefile +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/README.md +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/TODO +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/ENVIRONMENT_VARIABLES.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/_smart.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/_smart.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/_smart.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/_typing.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/__init__.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_descriptor.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_descriptor.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_descriptor.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_flags.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_flags.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_flags.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_helpers.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_helpers.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_helpers.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_helpers.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_kwargs.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_kwargs.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_kwargs.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_meta.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/abstract.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/abstract.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/abstract.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/base.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/base.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/base.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/config.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/decorator.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/flags.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/function.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/function.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/function.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/function.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/method.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/method.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/method.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/method.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/__init__.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/cache/__init__.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/cache/memory.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/limiter.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/manager.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/manager.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/manager.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/semaphores.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/property.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/property.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/property.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/a_sync/singleton.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/aliases.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/async_property/__init__.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/async_property/__init__.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/async_property/cached.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/async_property/cached.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/async_property/cached.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/async_property/cached.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/async_property/proxy.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/async_property/proxy.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/async_property/proxy.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/async_property/proxy.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/as_completed.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/as_completed.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/as_completed.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/as_completed.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/create_task.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/create_task.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/create_task.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/asyncio/create_task.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/exceptions.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/executor.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/functools.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/functools.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/functools.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/functools.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/iter.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/__init__.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/__init__.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/_debug.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/_debug.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/_debug.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/_debug.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/_loggable.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/_loggable.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/_loggable.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/_loggable.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/__init__.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/__init__.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/counter.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/counter.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/event.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/event.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/event.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/event.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/prio_semaphore.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/prio_semaphore.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/prio_semaphore.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/prio_semaphore.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/semaphore.c +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/semaphore.pxd +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/semaphore.pyi +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/semaphore.pyx +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/py.typed +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/sphinx/__init__.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/sphinx/ext.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/task.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/a_sync/utils/__init__.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/Makefile +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/alabaster.css +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/basic.css +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/custom.css +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/doctools.js +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/documentation_options.js +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/file.png +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/language_data.js +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/minus.png +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/plus.png +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/pygments.css +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/searchtools.js +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/sphinx_highlight.js +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/conf.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/index.rst +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/docs/make.bat +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/ez_a_sync.egg-info/dependency_links.txt +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/ez_a_sync.egg-info/not-zip-safe +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/ez_a_sync.egg-info/requires.txt +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/ez_a_sync.egg-info/top_level.txt +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/pyproject.toml +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/requirements-dev.txt +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/requirements.txt +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/setup.cfg +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/setup.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/__init__.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/a_sync/modifiers/test_apply_semaphore.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/a_sync/test_abstract.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/a_sync/test_base.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/a_sync/test_cache.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/a_sync/test_decorator.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/a_sync/test_limiter.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/a_sync/test_meta.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/a_sync/test_modified.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/a_sync/test_singleton.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/asyncio/test_as_completed.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/asyncio/test_create_task.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/conftest.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/executor.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/fixtures.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/primitives/test_counter.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/primitives/test_event.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/primitives/test_prio_semaphore.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/primitives/test_queue.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/primitives/test_semaphore.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/task/test_task.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/task/test_task_mapping_views.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/test_executor.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/test_future.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/test_helpers.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/test_iter.py +0 -0
- {ez_a_sync-0.26.0 → ez_a_sync-0.27.1}/tests/test_smart.py +0 -0
|
@@ -59,7 +59,7 @@ from a_sync.a_sync.modifiers.semaphores import apply_semaphore
|
|
|
59
59
|
from a_sync.a_sync.property import ASyncCachedPropertyDescriptor, ASyncPropertyDescriptor
|
|
60
60
|
from a_sync.a_sync.property import ASyncCachedPropertyDescriptor as cached_property
|
|
61
61
|
from a_sync.a_sync.property import ASyncPropertyDescriptor as property
|
|
62
|
-
from a_sync.asyncio import as_completed, create_task, gather, igather
|
|
62
|
+
from a_sync.asyncio import as_completed, create_task, gather, cgather, igather
|
|
63
63
|
from a_sync.executor import *
|
|
64
64
|
from a_sync.executor import AsyncThreadPoolExecutor as ThreadPoolExecutor
|
|
65
65
|
from a_sync.executor import AsyncProcessPoolExecutor as ProcessPoolExecutor
|
|
@@ -91,6 +91,8 @@ __all__ = [
|
|
|
91
91
|
# asyncio
|
|
92
92
|
"create_task",
|
|
93
93
|
"gather",
|
|
94
|
+
"cgather",
|
|
95
|
+
"igather",
|
|
94
96
|
"as_completed",
|
|
95
97
|
# functions
|
|
96
98
|
"a_sync",
|
|
@@ -1509,6 +1509,15 @@ struct __pyx_obj_6a_sync_6_smart___pyx_scope_struct_2___await__;
|
|
|
1509
1509
|
struct __pyx_obj_6a_sync_6_smart___pyx_scope_struct_3___await__;
|
|
1510
1510
|
struct __pyx_obj_6a_sync_6_smart___pyx_scope_struct_4___pyx_f_6a_sync_6_smart__get_done_callbacks;
|
|
1511
1511
|
struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_5bbcea__6a_sync_6_smart_7WeakSet_void__lParenWeakSet____etc_to_py_4self_3fut;
|
|
1512
|
+
struct __pyx_opt_args_6a_sync_7asyncio_7igather_cigather;
|
|
1513
|
+
|
|
1514
|
+
/* "a_sync/asyncio/igather.pxd":1
|
|
1515
|
+
* cdef object cigather(object coros_or_futures, bint return_exceptions=*) # <<<<<<<<<<<<<<
|
|
1516
|
+
*/
|
|
1517
|
+
struct __pyx_opt_args_6a_sync_7asyncio_7igather_cigather {
|
|
1518
|
+
int __pyx_n;
|
|
1519
|
+
int return_exceptions;
|
|
1520
|
+
};
|
|
1512
1521
|
struct __pyx_opt_args_6a_sync_6_smart_create_future;
|
|
1513
1522
|
|
|
1514
1523
|
/* "a_sync/_smart.pyx":348
|
|
@@ -2873,6 +2882,16 @@ static void __pyx_f_6a_sync_6_smart_7WeakSet_remove(struct __pyx_obj_6a_sync_6_s
|
|
|
2873
2882
|
/* Module declarations from "a_sync.a_sync._helpers" */
|
|
2874
2883
|
static PyObject *(*__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop)(int __pyx_skip_dispatch); /*proto*/
|
|
2875
2884
|
|
|
2885
|
+
/* Module declarations from "a_sync.asyncio.as_completed" */
|
|
2886
|
+
static PyObject *(*__pyx_f_6a_sync_7asyncio_12as_completed_as_completed_mapping)(PyObject *, unsigned int, int, int, int, PyObject *); /*proto*/
|
|
2887
|
+
|
|
2888
|
+
/* Module declarations from "a_sync.asyncio.create_task" */
|
|
2889
|
+
static PyObject *(*__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task_simple)(PyObject *); /*proto*/
|
|
2890
|
+
static PyObject *(*__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task)(PyObject *, PyObject *, int, int); /*proto*/
|
|
2891
|
+
|
|
2892
|
+
/* Module declarations from "a_sync.asyncio.igather" */
|
|
2893
|
+
static PyObject *(*__pyx_f_6a_sync_7asyncio_7igather_cigather)(PyObject *, struct __pyx_opt_args_6a_sync_7asyncio_7igather_cigather *__pyx_optional_args); /*proto*/
|
|
2894
|
+
|
|
2876
2895
|
/* Module declarations from "a_sync.asyncio" */
|
|
2877
2896
|
|
|
2878
2897
|
/* Module declarations from "a_sync" */
|
|
@@ -3178,6 +3197,12 @@ typedef struct {
|
|
|
3178
3197
|
#if CYTHON_USE_MODULE_STATE
|
|
3179
3198
|
#endif
|
|
3180
3199
|
#if CYTHON_USE_MODULE_STATE
|
|
3200
|
+
#endif
|
|
3201
|
+
#if CYTHON_USE_MODULE_STATE
|
|
3202
|
+
#endif
|
|
3203
|
+
#if CYTHON_USE_MODULE_STATE
|
|
3204
|
+
#endif
|
|
3205
|
+
#if CYTHON_USE_MODULE_STATE
|
|
3181
3206
|
PyObject *__pyx_type_6a_sync_6_smart_WeakSet;
|
|
3182
3207
|
PyObject *__pyx_type_6a_sync_6_smart___pyx_scope_struct____iter__;
|
|
3183
3208
|
PyObject *__pyx_type_6a_sync_6_smart___pyx_scope_struct_1_genexpr;
|
|
@@ -4046,6 +4071,12 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
4046
4071
|
#if CYTHON_USE_MODULE_STATE
|
|
4047
4072
|
#endif
|
|
4048
4073
|
#if CYTHON_USE_MODULE_STATE
|
|
4074
|
+
#endif
|
|
4075
|
+
#if CYTHON_USE_MODULE_STATE
|
|
4076
|
+
#endif
|
|
4077
|
+
#if CYTHON_USE_MODULE_STATE
|
|
4078
|
+
#endif
|
|
4079
|
+
#if CYTHON_USE_MODULE_STATE
|
|
4049
4080
|
#define __pyx_type_6a_sync_6_smart_WeakSet __pyx_mstate_global->__pyx_type_6a_sync_6_smart_WeakSet
|
|
4050
4081
|
#define __pyx_type_6a_sync_6_smart___pyx_scope_struct____iter__ __pyx_mstate_global->__pyx_type_6a_sync_6_smart___pyx_scope_struct____iter__
|
|
4051
4082
|
#define __pyx_type_6a_sync_6_smart___pyx_scope_struct_1_genexpr __pyx_mstate_global->__pyx_type_6a_sync_6_smart___pyx_scope_struct_1_genexpr
|
|
@@ -14068,6 +14099,19 @@ static int __Pyx_modinit_function_import_code(void) {
|
|
|
14068
14099
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14069
14100
|
if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "get_event_loop", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop, "PyObject *(int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
14070
14101
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
14102
|
+
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.as_completed"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
14103
|
+
__Pyx_GOTREF(__pyx_t_1);
|
|
14104
|
+
if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "as_completed_mapping", (void (**)(void))&__pyx_f_6a_sync_7asyncio_12as_completed_as_completed_mapping, "PyObject *(PyObject *, unsigned int, int, int, int, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
14105
|
+
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
14106
|
+
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
14107
|
+
__Pyx_GOTREF(__pyx_t_1);
|
|
14108
|
+
if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "ccreate_task_simple", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task_simple, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
14109
|
+
if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "ccreate_task", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task, "PyObject *(PyObject *, PyObject *, int, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
14110
|
+
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
14111
|
+
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.igather"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
14112
|
+
__Pyx_GOTREF(__pyx_t_1);
|
|
14113
|
+
if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "cigather", (void (**)(void))&__pyx_f_6a_sync_7asyncio_7igather_cigather, "PyObject *(PyObject *, struct __pyx_opt_args_6a_sync_7asyncio_7igather_cigather *__pyx_optional_args)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
14114
|
+
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
14071
14115
|
__Pyx_RefNannyFinishContext();
|
|
14072
14116
|
return 0;
|
|
14073
14117
|
__pyx_L1_error:;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
from a_sync.a_sync._helpers cimport get_event_loop
|
|
2
|
+
from a_sync.asyncio.as_completed cimport as_completed_mapping
|
|
3
|
+
from a_sync.asyncio.create_task cimport ccreate_task, ccreate_task_simple
|
|
4
|
+
from a_sync.asyncio.igather cimport cigather
|
|
5
|
+
|
|
6
|
+
__all__ = ["cigather", "ccreate_task", "ccreate_task_simple", "as_completed_mapping", "get_event_loop"]
|
|
@@ -18,9 +18,9 @@ from a_sync.a_sync._helpers import get_event_loop
|
|
|
18
18
|
from a_sync.asyncio.create_task import create_task
|
|
19
19
|
from a_sync.asyncio.as_completed import as_completed
|
|
20
20
|
from a_sync.asyncio.igather import igather
|
|
21
|
-
from a_sync.asyncio.gather import gather
|
|
21
|
+
from a_sync.asyncio.gather import gather, cgather
|
|
22
22
|
|
|
23
|
-
__all__ = ["create_task", "gather", "igather", "as_completed", "get_event_loop"]
|
|
23
|
+
__all__ = ["create_task", "gather", "cgather", "igather", "as_completed", "get_event_loop"]
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
# Function: create_task
|