Skip to content
 
 

Repository files navigation

asyncio_monkey

info:monkey patch asyncio modules for expected behaviour

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages