-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
python language issues #1616
Comments
So, But splitting the (Prism) Python language? |
The only annoying thing should be
and
In Prism |
You could use the Highlight Keywords plugin to change the style of |
Ok, thanks! |
I'm closing this now because without knowing the Python version of the code, it is impossible to when Example: print('foo') It's impossible to tell from syntax alone whether it's Python 2 or 3. As I state before: |
In Python language definition I found some inconsistencies:
"and", "not", "or" are treated as operators in Prism, but IDLE and WING101 (I don't know PyCharm) highlight them as keywords (I agree they should be operators, but this is the usage ...).
The definition seems to reflect Python2: "print" is treated as a keyword (in Python3 it is a builtin function) and "raw_input" (no more used in Python3) is highlighted. Perhaps Python2 and Python3 should have different definitions.
Thanks for your attention
N. Cassetta
The text was updated successfully, but these errors were encountered: