-
Notifications
You must be signed in to change notification settings - Fork 30
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
Issue with booleans in python3.8 #57
Comments
I believe this is the relevant error:
|
I seem to have resolved this by changing line 400 in visitor.py to include bool (and also float which had the same problem) in the tuple:
I am not sure why this suddenly became an issue with 3.8 though! Does anyone have any idea what is going on here? |
Going to look into proper 3.8 compatibility this weekend. Sorry for the trouble and thanks for your debugging efforts. |
@felixwoolford Do you mind checking if the latest update works for you on 3.8? |
Have just done a quick check so far but it seems to be working well. Thanks for the update! |
Running neovim 0.4.3 and python 3.8, I am having an issue where semshi apparently stops working after trying to parse a True or False constant. This wasn't a problem with python 3.7. A simple example is:
The image below illustrates what happens when this is typed out, observe how 'self' is correctly italicized up until True, but is not italicized thereafter. And obviously the wonky highlighting on True itself.
The only highlighting which works thereafter is due to my python syntax config rather than semshi.
The text was updated successfully, but these errors were encountered: