Skip to content

future doesn't support python3 functions annotations #2

Open
@matclab

Description

@matclab

I just tried future on a python3 program and it fails on python3 functions annotations (http://www.python.org/dev/peps/pep-3107/) :

    def _parse(self, filename: str, dir='.') -> list:
                             ^
SyntaxError: invalid syntax

I'm not sure if there is a way to fix this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions