Syntax error parsing trivial Python code [message #632319] |
Tue, 12 October 2010 10:41  |
Eclipse User |
|
|
|
The Python IDE with v2 of the DLTK IDE seems to croak on the simplest Python code.
This code:
class Bob(object):
def fun(self, a):
a.m()
gives the following error on line 1:
Syntax Error:mismatched input '<EOF>' mod_test.py
I've tried v2 release and the latest git HEAD. This is on Eclipse v3.5, 64-bit Ubuntu 10.04, Python 2.6. The only related post I can find is http://www.eclipse.org/forums/index.php?t=rview&goto=557 656&th=175064 but I don't understand enough to track the problem down.
Am I doing something stupid?
Thanks.
Alex
|
|
|
|
Re: Syntax error parsing trivial Python code [message #768578 is a reply to message #632804] |
Tue, 20 December 2011 06:54  |
Eclipse User |
|
|
|
On 14.10.2010 12:40, Alexander Lamaison wrote:
> Turns out, it was because the file didn't end with a newline. Filed a bug.
Sorry, for reviving a year old thread, but I would be curious if you
managed to make DTLK/Python IDE working for you. I understand that the
full size code completion (like what PyDev does) is not yet available,
but does at least Alt+/ (completion based on the current buffer) works?
Thanks for any reply (from anybody),
Matěj
|
|
|
Powered by
FUDForum. Page generated in 0.27219 seconds