Skip to content

Fix compatibility with asyncio 3.4.1+ #170

Closed
@asvetlov

Description

In new asyncio StreamWriter.drain has become coroutine instead of plain function.
That means that transport.drain() should be un-yielded.

Drawback is: in debug mode (PYTHONASYNCIODEBUG env var is on) CoroWrapper raises exception.

Will fix quickly and publish 0.9.3 release.
Need to setup travis for passing tests both with PYTHONASYNCIODEBUG and without it.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions