Skip to content

Invalid syntax error due to the "async" is a reserved keyboard since python 3.5+ #12

@ghost

Description

ENV

python version:

python3 --version
Python 3.7.4

host OS:

sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G95

install method:

pip3 install --upgrade --pre CodeIntel

issues of running CodeIntel command line

  1. failed to check the db:
 CodeIntel dbcheck
ERROR:codeintel.oop:invalid syntax (ecmacile.py, line 2128) (/usr/local/lib/python3.7/site-packages/codeintel/codeintel2/lang_ecma.py:64 in <module>)
  1. failed to work with the sublimecodeintel, log info from ~/.codeintel/codeintel.log:
ERROR:codeintel.oop:invalid syntax (ecmacile.py, line 2128) (/usr/local/lib/python3.7/site-packages/codeintel/codeintel2/lang_ecma.py:64 in <module>)

relevant source code:

s = "%s=> {...}" % ("async " if node.async else "")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions