Skip to content

"Syntax Error" in Python version 3.8.1 async name #31

@samuelogsantos

Description

@samuelogsantos

The tomorrow module runs a "Syntax Error" in Python version 3.8.1 due to the name "async". I made a correction by changing the function name to "_async".

Change def async(n, base_type, timeout=None): to
def _async(n, base_type, timeout=None):

And def threads(n, timeout=None):

change return return async(n, ThreadPoolExecutor, timeout) to
return _async(n, ThreadPoolExecutor, timeout)

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