Skip to content

Can not work with Python3.9 #2

@cfhamlet

Description

@cfhamlet

The example code in README can not work with Python3.9 anymore

/example.py:6: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
......
    with (yield from self._lock_all):
TypeError: 'Lock' object is not iterable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions