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
from asyncio_monkey import patch_all; patch_all()  # noqa

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.2.tar.gz (2.9 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for asyncio_monkey-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ee4e3bfe5b7058e9d52422bf3dac668031ef3401fd9d2fb25ff8291bb4af088b
MD5 3ddb3ffe3fd71229f98f64debcb285dc
BLAKE2b-256 46637226bb6bf633e3fe07220ef744a0455048f20d7575ed2144b566f0110224

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