ez-a-sync 0.27.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.27.0 → ez_a_sync-0.27.1}/PKG-INFO +1 -1
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/_smart.c +13 -0
- ez_a_sync-0.27.1/a_sync/asyncio/__init__.pxd +6 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/gather.c +13 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/future.py +3 -3
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/iter.c +158 -136
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/iter.pyx +3 -3
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/counter.c +554 -486
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/counter.pyx +3 -4
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/queue.py +11 -11
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/utils/iterators.py +4 -4
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/ez_a_sync.egg-info/PKG-INFO +1 -1
- ez_a_sync-0.27.0/a_sync/asyncio/__init__.pxd +0 -5
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/.coverage +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/.github/workflows/black.yaml +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/.github/workflows/codeql.yaml +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/.github/workflows/docs.yaml +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/.github/workflows/mypy.yaml +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/.github/workflows/pytest.yaml +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/.github/workflows/release.yaml +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/.gitignore +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/.sourcery.yaml +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/LICENSE.txt +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/MANIFEST.in +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/Makefile +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/README.md +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/TODO +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/ENVIRONMENT_VARIABLES.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/__init__.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/__init__.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/_smart.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/_smart.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/_smart.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/_typing.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/__init__.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_descriptor.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_descriptor.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_descriptor.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_flags.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_flags.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_flags.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_helpers.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_helpers.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_helpers.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_helpers.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_kwargs.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_kwargs.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_kwargs.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/_meta.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/abstract.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/abstract.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/abstract.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/base.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/base.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/base.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/config.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/decorator.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/flags.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/function.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/function.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/function.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/function.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/method.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/method.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/method.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/method.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/__init__.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/cache/__init__.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/cache/memory.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/limiter.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/manager.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/manager.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/manager.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/modifiers/semaphores.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/property.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/property.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/property.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/a_sync/singleton.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/aliases.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/async_property/__init__.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/async_property/__init__.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/async_property/cached.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/async_property/cached.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/async_property/cached.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/async_property/cached.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/async_property/proxy.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/async_property/proxy.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/async_property/proxy.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/async_property/proxy.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/__init__.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/as_completed.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/as_completed.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/as_completed.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/as_completed.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/create_task.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/create_task.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/create_task.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/create_task.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/gather.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/gather.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/igather.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/igather.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/asyncio/igather.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/exceptions.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/executor.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/functools.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/functools.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/functools.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/functools.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/iter.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/__init__.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/__init__.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/_debug.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/_debug.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/_debug.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/_debug.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/_loggable.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/_loggable.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/_loggable.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/_loggable.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/__init__.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/__init__.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/counter.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/counter.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/event.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/event.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/event.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/event.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/prio_semaphore.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/prio_semaphore.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/prio_semaphore.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/prio_semaphore.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/semaphore.c +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/semaphore.pxd +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/semaphore.pyi +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/primitives/locks/semaphore.pyx +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/py.typed +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/sphinx/__init__.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/sphinx/ext.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/task.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/a_sync/utils/__init__.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/Makefile +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/alabaster.css +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/basic.css +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/custom.css +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/doctools.js +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/documentation_options.js +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/file.png +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/language_data.js +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/minus.png +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/plus.png +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/pygments.css +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/searchtools.js +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/_build/html/_static/sphinx_highlight.js +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/conf.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/index.rst +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/docs/make.bat +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/ez_a_sync.egg-info/SOURCES.txt +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/ez_a_sync.egg-info/dependency_links.txt +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/ez_a_sync.egg-info/not-zip-safe +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/ez_a_sync.egg-info/requires.txt +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/ez_a_sync.egg-info/top_level.txt +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/pyproject.toml +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/requirements-dev.txt +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/requirements.txt +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/setup.cfg +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/setup.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/__init__.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/a_sync/modifiers/test_apply_semaphore.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/a_sync/test_abstract.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/a_sync/test_base.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/a_sync/test_cache.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/a_sync/test_decorator.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/a_sync/test_limiter.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/a_sync/test_meta.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/a_sync/test_modified.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/a_sync/test_singleton.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/asyncio/test_as_completed.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/asyncio/test_create_task.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/asyncio/test_gather.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/conftest.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/executor.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/fixtures.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/primitives/test_counter.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/primitives/test_event.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/primitives/test_prio_semaphore.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/primitives/test_queue.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/primitives/test_semaphore.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/task/test_task.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/task/test_task_mapping_views.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/test_executor.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/test_future.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/test_helpers.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/test_iter.py +0 -0
- {ez_a_sync-0.27.0 → ez_a_sync-0.27.1}/tests/test_smart.py +0 -0
|
@@ -2885,6 +2885,10 @@ static PyObject *(*__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop)(int __pyx_s
|
|
|
2885
2885
|
/* Module declarations from "a_sync.asyncio.as_completed" */
|
|
2886
2886
|
static PyObject *(*__pyx_f_6a_sync_7asyncio_12as_completed_as_completed_mapping)(PyObject *, unsigned int, int, int, int, PyObject *); /*proto*/
|
|
2887
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
|
+
|
|
2888
2892
|
/* Module declarations from "a_sync.asyncio.igather" */
|
|
2889
2893
|
static PyObject *(*__pyx_f_6a_sync_7asyncio_7igather_cigather)(PyObject *, struct __pyx_opt_args_6a_sync_7asyncio_7igather_cigather *__pyx_optional_args); /*proto*/
|
|
2890
2894
|
|
|
@@ -3197,6 +3201,8 @@ typedef struct {
|
|
|
3197
3201
|
#if CYTHON_USE_MODULE_STATE
|
|
3198
3202
|
#endif
|
|
3199
3203
|
#if CYTHON_USE_MODULE_STATE
|
|
3204
|
+
#endif
|
|
3205
|
+
#if CYTHON_USE_MODULE_STATE
|
|
3200
3206
|
PyObject *__pyx_type_6a_sync_6_smart_WeakSet;
|
|
3201
3207
|
PyObject *__pyx_type_6a_sync_6_smart___pyx_scope_struct____iter__;
|
|
3202
3208
|
PyObject *__pyx_type_6a_sync_6_smart___pyx_scope_struct_1_genexpr;
|
|
@@ -4069,6 +4075,8 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
4069
4075
|
#if CYTHON_USE_MODULE_STATE
|
|
4070
4076
|
#endif
|
|
4071
4077
|
#if CYTHON_USE_MODULE_STATE
|
|
4078
|
+
#endif
|
|
4079
|
+
#if CYTHON_USE_MODULE_STATE
|
|
4072
4080
|
#define __pyx_type_6a_sync_6_smart_WeakSet __pyx_mstate_global->__pyx_type_6a_sync_6_smart_WeakSet
|
|
4073
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__
|
|
4074
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
|
|
@@ -14095,6 +14103,11 @@ static int __Pyx_modinit_function_import_code(void) {
|
|
|
14095
14103
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14096
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)
|
|
14097
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;
|
|
14098
14111
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.igather"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
14099
14112
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14100
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)
|
|
@@ -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"]
|
|
@@ -2727,6 +2727,10 @@ static PyObject *(*__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop)(int __pyx_s
|
|
|
2727
2727
|
/* Module declarations from "a_sync.asyncio.as_completed" */
|
|
2728
2728
|
static PyObject *(*__pyx_f_6a_sync_7asyncio_12as_completed_as_completed_mapping)(PyObject *, unsigned int, int, int, int, PyObject *); /*proto*/
|
|
2729
2729
|
|
|
2730
|
+
/* Module declarations from "a_sync.asyncio.create_task" */
|
|
2731
|
+
static PyObject *(*__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task_simple)(PyObject *); /*proto*/
|
|
2732
|
+
static PyObject *(*__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task)(PyObject *, PyObject *, int, int); /*proto*/
|
|
2733
|
+
|
|
2730
2734
|
/* Module declarations from "a_sync.asyncio.igather" */
|
|
2731
2735
|
static PyObject *(*__pyx_f_6a_sync_7asyncio_7igather_cigather)(PyObject *, struct __pyx_opt_args_6a_sync_7asyncio_7igather_cigather *__pyx_optional_args); /*proto*/
|
|
2732
2736
|
|
|
@@ -2890,6 +2894,8 @@ typedef struct {
|
|
|
2890
2894
|
#if CYTHON_USE_MODULE_STATE
|
|
2891
2895
|
#endif
|
|
2892
2896
|
#if CYTHON_USE_MODULE_STATE
|
|
2897
|
+
#endif
|
|
2898
|
+
#if CYTHON_USE_MODULE_STATE
|
|
2893
2899
|
PyObject *__pyx_type_6a_sync_7asyncio_6gather___pyx_scope_struct__gather;
|
|
2894
2900
|
PyObject *__pyx_type_6a_sync_7asyncio_6gather___pyx_scope_struct_1_gather;
|
|
2895
2901
|
PyObject *__pyx_type_6a_sync_7asyncio_6gather___pyx_scope_struct_2_gather;
|
|
@@ -3350,6 +3356,8 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
3350
3356
|
#if CYTHON_USE_MODULE_STATE
|
|
3351
3357
|
#endif
|
|
3352
3358
|
#if CYTHON_USE_MODULE_STATE
|
|
3359
|
+
#endif
|
|
3360
|
+
#if CYTHON_USE_MODULE_STATE
|
|
3353
3361
|
#define __pyx_type_6a_sync_7asyncio_6gather___pyx_scope_struct__gather __pyx_mstate_global->__pyx_type_6a_sync_7asyncio_6gather___pyx_scope_struct__gather
|
|
3354
3362
|
#define __pyx_type_6a_sync_7asyncio_6gather___pyx_scope_struct_1_gather __pyx_mstate_global->__pyx_type_6a_sync_7asyncio_6gather___pyx_scope_struct_1_gather
|
|
3355
3363
|
#define __pyx_type_6a_sync_7asyncio_6gather___pyx_scope_struct_2_gather __pyx_mstate_global->__pyx_type_6a_sync_7asyncio_6gather___pyx_scope_struct_2_gather
|
|
@@ -7609,6 +7617,11 @@ static int __Pyx_modinit_function_import_code(void) {
|
|
|
7609
7617
|
__Pyx_GOTREF(__pyx_t_1);
|
|
7610
7618
|
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)
|
|
7611
7619
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
7620
|
+
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7621
|
+
__Pyx_GOTREF(__pyx_t_1);
|
|
7622
|
+
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)
|
|
7623
|
+
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)
|
|
7624
|
+
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
7612
7625
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.igather"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7613
7626
|
__Pyx_GOTREF(__pyx_t_1);
|
|
7614
7627
|
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)
|
|
@@ -26,12 +26,12 @@ TODO include comparisons between the 'new way' with this future class and the 'o
|
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
import concurrent.futures
|
|
29
|
-
from asyncio import Future, Task,
|
|
29
|
+
from asyncio import Future, Task, get_event_loop
|
|
30
30
|
from functools import partial, wraps
|
|
31
31
|
from inspect import isawaitable
|
|
32
32
|
|
|
33
33
|
from a_sync._typing import *
|
|
34
|
-
from a_sync.asyncio import create_task
|
|
34
|
+
from a_sync.asyncio import create_task, igather
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
def future(
|
|
@@ -83,7 +83,7 @@ async def _gather_check_and_materialize(*things: Unpack[MaybeAwaitable[T]]) -> L
|
|
|
83
83
|
>>> await _gather_check_and_materialize(async_fn(1), 2, async_fn(3))
|
|
84
84
|
[1, 2, 3]
|
|
85
85
|
"""
|
|
86
|
-
return await
|
|
86
|
+
return await igather(map(_check_and_materialize, things))
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
async def _check_and_materialize(thing: T) -> T:
|