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

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

Open
ghost opened this issue Oct 28, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 28, 2019

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 "")

@aartikalra12
Copy link

Do we have an update here? Or any alternate options to work around this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant