Skip to main content

Simple lru_cache for asyncio

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.1.tar.gz (3.0 kB view hashes)

Uploaded Source

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