Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tracked by #14
aalex opened this issue Mar 2, 2020 · 0 comments
Open
Tracked by #14

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

aalex opened this issue Mar 2, 2020 · 0 comments
Assignees
Labels

Comments

@aalex
Copy link
Owner

aalex commented Mar 2, 2020

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.

@aalex aalex self-assigned this Mar 2, 2020
@aalex aalex mentioned this issue Mar 2, 2020
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant