Skip to main content

monkey patch asyncio modules for expected behaviour

Project description

info:

monkey patch asyncio modules for expected behaviour

https://img.shields.io/travis/wikibusiness/asyncio_monkey.svg https://img.shields.io/pypi/v/asyncio_monkey.svg

Installation

pip install asyncio_monkey

Usage

# it must be done before any import asyncio statement, once per project
# best place is __init__.py of You'r application
from asyncio_monkey import patch_all  # noqa isort:skip
patch_all()  # noqa isort:skip

Features

  • Disables get_event_loop returns currently running loop, even if MainThread loop is None, useful for Python 3.6.0+ docs

  • Disables silent destroying futures inside asyncio.gather source

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asyncio_monkey-0.0.3.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file asyncio_monkey-0.0.3.tar.gz.

File metadata

File hashes

Hashes for asyncio_monkey-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0bf399971aa4d08cc7ff1faa90ef8e564bbc74e839622560e8bfe38da8acf9ce
MD5 df0b31aa2eb33a91b275b1ccaaf08a34
BLAKE2b-256 b42239f7cfe74dcb23381bcac6245c171fcfd6ca55795cd106b5f274639f4205

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page