Skip to content

Python 3.7 syntax error: async is now a reserved keyword #12

@aalex

Description

@aalex

async is now a reserved keyword in Python 3.7 and up.

Steps to reproduce

Try the example in examples/async_udp_sender.py

Expected behavior

Module should not be named async.

Actual behavior

Module is called async.

    from txosc.async import DatagramClientProtocol
                   ^
SyntaxError: invalid syntax

Technical details

Let's rename that module to asynchronous.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions