Since I updated PyDev the Code analysis shows error on valid Python lines like
def (a, *b):
It breaks on parsing the "*" saying "Expected :)" . Actually it doesn't always do that and copy-pasting the same text into a new file may not show an error in the new file. The program works.
Moreover PyDev started complaining about "from a import b" (Unresolved import) where "b" actually does really exist and the Python program runs fine.
I tried refreshing the projects, but I don't know what else to try.
Any suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
Since I updated PyDev the Code analysis shows error on valid Python lines like
def (a, *b):
It breaks on parsing the "*" saying "Expected :)" . Actually it doesn't always do that and copy-pasting the same text into a new file may not show an error in the new file. The program works.
Moreover PyDev started complaining about "from a import b" (Unresolved import) where "b" actually does really exist and the Python program runs fine.
I tried refreshing the projects, but I don't know what else to try.
Any suggestions?
Do you have a file or code snippet that causes the error? I don't have enough information from your above post to help.
It's hard to show a code snippet since as I said it (usually) works if I copy it to a new file. It must be some settings problem.
Anyway, the errors disappeared. I suspect it is because I had an old version of Python in the grammar setting.