Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix wait_closed dependency on Python <3.7 #304

Closed
@srh

Description

@srh

Describe the bug
#267 uses an API that was added in Python 3.7, StreamWriter's wait_closed method. Prior to that, asyncio went out of its way to work with Python 3.5 and 3.6 (while the async def changes broke 3.4 for compatibility with later Python versions). We should branch on Python version to minimize breakage for older users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnot qualifiedThe issue is not checked yet by the owners

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions