ez-a-sync 0.29.5__tar.gz → 0.30.0__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.29.5 → ez_a_sync-0.30.0}/PKG-INFO +1 -1
- ez_a_sync-0.30.0/a_sync/debugging.py +124 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/ez_a_sync.egg-info/PKG-INFO +1 -1
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/ez_a_sync.egg-info/SOURCES.txt +1 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/.coverage +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/.github/workflows/black.yaml +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/.github/workflows/codeql.yaml +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/.github/workflows/docs.yaml +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/.github/workflows/mypy.yaml +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/.github/workflows/pytest.yaml +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/.github/workflows/release.yaml +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/.gitignore +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/.sourcery.yaml +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/LICENSE.txt +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/MANIFEST.in +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/Makefile +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/README.md +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/TODO +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/ENVIRONMENT_VARIABLES.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/__init__.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/__init__.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/_smart.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/_smart.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/_smart.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/_smart.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/_typing.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/__init__.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_descriptor.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_descriptor.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_descriptor.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_flags.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_flags.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_flags.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_helpers.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_helpers.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_helpers.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_helpers.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_kwargs.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_kwargs.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_kwargs.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/_meta.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/abstract.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/abstract.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/abstract.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/base.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/base.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/base.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/config.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/decorator.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/flags.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/flags.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/flags.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/flags.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/function.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/function.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/function.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/function.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/method.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/method.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/method.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/method.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/modifiers/__init__.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/modifiers/__init__.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/modifiers/cache/__init__.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/modifiers/cache/memory.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/modifiers/limiter.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/modifiers/manager.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/modifiers/manager.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/modifiers/manager.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/modifiers/manager.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/modifiers/semaphores.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/property.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/property.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/property.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/a_sync/singleton.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/aliases.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/async_property/__init__.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/async_property/__init__.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/async_property/cached.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/async_property/cached.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/async_property/cached.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/async_property/cached.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/async_property/proxy.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/async_property/proxy.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/async_property/proxy.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/async_property/proxy.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/__init__.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/__init__.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/as_completed.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/as_completed.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/as_completed.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/as_completed.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/create_task.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/create_task.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/create_task.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/create_task.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/gather.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/gather.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/gather.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/igather.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/igather.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/igather.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/igather.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/sleep.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/sleep.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/asyncio/sleep.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/exceptions.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/exceptions.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/exceptions.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/executor.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/functools.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/functools.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/functools.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/functools.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/future.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/iter.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/iter.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/iter.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/__init__.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/__init__.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/_debug.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/_debug.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/_debug.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/_debug.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/_loggable.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/_loggable.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/_loggable.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/_loggable.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/__init__.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/__init__.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/counter.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/counter.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/counter.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/counter.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/event.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/event.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/event.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/event.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/prio_semaphore.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/prio_semaphore.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/prio_semaphore.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/prio_semaphore.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/semaphore.c +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/semaphore.pxd +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/semaphore.pyi +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/locks/semaphore.pyx +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/primitives/queue.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/py.typed +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/sphinx/__init__.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/sphinx/ext.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/task.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/utils/__init__.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/utils/iterators.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/a_sync/utils/repr.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/Makefile +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/_build/html/_static/alabaster.css +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/_build/html/_static/basic.css +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/_build/html/_static/custom.css +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/_build/html/_static/doctools.js +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/_build/html/_static/documentation_options.js +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/_build/html/_static/file.png +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/_build/html/_static/language_data.js +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/_build/html/_static/minus.png +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/_build/html/_static/plus.png +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/_build/html/_static/pygments.css +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/_build/html/_static/searchtools.js +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/_build/html/_static/sphinx_highlight.js +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/conf.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/index.rst +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/docs/make.bat +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/ez_a_sync.egg-info/dependency_links.txt +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/ez_a_sync.egg-info/not-zip-safe +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/ez_a_sync.egg-info/requires.txt +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/ez_a_sync.egg-info/top_level.txt +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/pyproject.toml +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/requirements-dev.txt +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/requirements.txt +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/setup.cfg +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/setup.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/__init__.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/a_sync/modifiers/test_apply_semaphore.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/a_sync/test_abstract.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/a_sync/test_base.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/a_sync/test_cache.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/a_sync/test_decorator.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/a_sync/test_limiter.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/a_sync/test_meta.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/a_sync/test_modified.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/a_sync/test_singleton.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/asyncio/test_as_completed.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/asyncio/test_create_task.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/asyncio/test_gather.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/conftest.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/executor.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/fixtures.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/primitives/test_counter.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/primitives/test_event.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/primitives/test_prio_semaphore.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/primitives/test_queue.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/primitives/test_semaphore.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/task/test_task.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/task/test_task_mapping_views.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/test_executor.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/test_future.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/test_helpers.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/test_iter.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/test_smart.py +0 -0
- {ez_a_sync-0.29.5 → ez_a_sync-0.30.0}/tests/utils/test_repr.py +0 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
from asyncio import create_task, sleep
|
|
2
|
+
from inspect import isasyncgenfunction
|
|
3
|
+
from logging import DEBUG, getLogger
|
|
4
|
+
from functools import wraps
|
|
5
|
+
from time import time
|
|
6
|
+
from typing import AsyncIterator, Awaitable, Callable, NoReturn, TypeVar, overload
|
|
7
|
+
|
|
8
|
+
from typing_extensions import Concatenate, ParamSpec
|
|
9
|
+
|
|
10
|
+
from a_sync.a_sync.base import ASyncGenericBase
|
|
11
|
+
from a_sync.a_sync.method import ASyncBoundMethod
|
|
12
|
+
from a_sync.iter import ASyncGeneratorFunction
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
__P = ParamSpec("__P")
|
|
16
|
+
__T = TypeVar("__T")
|
|
17
|
+
__B = TypeVar("__B", bound=ASyncGenericBase)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
logger = getLogger("a_sync.debugging")
|
|
21
|
+
__logger_is_enabled_for = logger.isEnabledFor
|
|
22
|
+
__logger_log = logger._log
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@overload
|
|
26
|
+
def stuck_coro_debugger(
|
|
27
|
+
fn: Callable[Concatenate[__B, __P], AsyncIterator[__T]],
|
|
28
|
+
) -> ASyncGeneratorFunction[__P, __T]: ...
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
@overload
|
|
32
|
+
def stuck_coro_debugger(
|
|
33
|
+
fn: Callable[Concatenate[__B, __P], Awaitable[__T]],
|
|
34
|
+
) -> ASyncBoundMethod[__B, __P, __T]: ...
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
@overload
|
|
38
|
+
def stuck_coro_debugger(
|
|
39
|
+
fn: Callable[Concatenate[__B, __P], __T],
|
|
40
|
+
) -> ASyncBoundMethod[__B, __P, __T]: ...
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
@overload
|
|
44
|
+
def stuck_coro_debugger(
|
|
45
|
+
fn: Callable[__P, AsyncIterator[__T]],
|
|
46
|
+
) -> Callable[__P, AsyncIterator[__T]]: ...
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
@overload
|
|
50
|
+
def stuck_coro_debugger(fn: Callable[__P, Awaitable[__T]]) -> Callable[__P, Awaitable[__T]]: ...
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def stuck_coro_debugger(fn):
|
|
54
|
+
if isasyncgenfunction(fn):
|
|
55
|
+
|
|
56
|
+
@wraps(fn)
|
|
57
|
+
async def stuck_async_gen_wrap(
|
|
58
|
+
*args: __P.args, **kwargs: __P.kwargs
|
|
59
|
+
) -> AsyncIterator[__T]:
|
|
60
|
+
aiterator = fn(*args, **kwargs)
|
|
61
|
+
|
|
62
|
+
if not __logger_is_enabled_for(DEBUG):
|
|
63
|
+
async for thing in aiterator:
|
|
64
|
+
yield thing
|
|
65
|
+
return
|
|
66
|
+
|
|
67
|
+
task = create_task(
|
|
68
|
+
coro=_stuck_debug_task(fn, args, kwargs),
|
|
69
|
+
name="_stuck_debug_task",
|
|
70
|
+
)
|
|
71
|
+
try:
|
|
72
|
+
async for thing in aiterator:
|
|
73
|
+
yield thing
|
|
74
|
+
finally:
|
|
75
|
+
task.cancel()
|
|
76
|
+
|
|
77
|
+
return stuck_async_gen_wrap
|
|
78
|
+
else:
|
|
79
|
+
|
|
80
|
+
@wraps(fn)
|
|
81
|
+
async def stuck_coro_wrap(*args: __P.args, **kwargs: __P.kwargs) -> __T:
|
|
82
|
+
if not __logger_is_enabled_for(DEBUG):
|
|
83
|
+
return await fn(*args, **kwargs)
|
|
84
|
+
|
|
85
|
+
task = create_task(
|
|
86
|
+
coro=_stuck_debug_task(fn, args, kwargs),
|
|
87
|
+
name="_stuck_debug_task",
|
|
88
|
+
)
|
|
89
|
+
try:
|
|
90
|
+
retval = await fn(*args, **kwargs)
|
|
91
|
+
finally:
|
|
92
|
+
task.cancel()
|
|
93
|
+
return retval
|
|
94
|
+
|
|
95
|
+
return stuck_coro_wrap
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
async def _stuck_debug_task(
|
|
99
|
+
fn: Callable[__P, __T], *args: __P.args, **kwargs: __P.kwargs
|
|
100
|
+
) -> NoReturn:
|
|
101
|
+
# sleep early so fast-running coros can exit early
|
|
102
|
+
await sleep(300)
|
|
103
|
+
|
|
104
|
+
start = time() - 300
|
|
105
|
+
module = fn.__module__
|
|
106
|
+
name = fn.__name__
|
|
107
|
+
formatted_args = tuple(map(str, args))
|
|
108
|
+
formatted_kwargs = dict(zip(kwargs.keys(), map(str, kwargs.values())))
|
|
109
|
+
while True:
|
|
110
|
+
__logger_log(
|
|
111
|
+
DEBUG,
|
|
112
|
+
"%s.%s still executing after %sm with args %s kwargs %s",
|
|
113
|
+
(
|
|
114
|
+
module,
|
|
115
|
+
name,
|
|
116
|
+
round((time() - start) / 60, 2),
|
|
117
|
+
formatted_args,
|
|
118
|
+
formatted_kwargs,
|
|
119
|
+
),
|
|
120
|
+
)
|
|
121
|
+
await sleep(300)
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
__all__ = ["stuck_coro_debugger"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|