Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327665 - Syntax error parsing modules without a trailing newline
Summary: Syntax error parsing modules without a trailing newline
Status: CLOSED WONTFIX
Alias: None
Product: DLTK
Classification: Technology
Component: Python (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dltk.python-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 10:17 EDT by Alexander Lamaison CLA
Modified: 2020-01-03 07:54 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Lamaison CLA 2010-10-13 10:17:35 EDT
DTLK Python reports "Syntax Error:mismatched input '<EOF>'" when displaying a module that doesn't end with the '\n' newline character.  If, for instance, the file ends on the last code line or even if that last line contains whitespace it triggers this syntax error.
Comment 1 Nobody - feel free to take it CLA 2012-01-29 20:29:20 EST
hi i am a newbie here
with good knowledge of parsing and tokenizing
If anyone can tell me how to fetch repository of DTLK python
or even link of this repository
I will try to debug this bug
thanks in advance
Comment 2 Nobody - feel free to take it CLA 2012-01-29 20:48:42 EST
I m getting below error 

fatal: http://dev.eclipse.org/org.eclipse.dltk/org.eclipse.dltk.git/info/refs not found: did you run git update-server-info on the server? 

trying to figure out .
Comment 3 Andrei Sobolev CLA 2012-01-29 21:22:15 EST
Hi
DLTK is still use CVS.

Please use following URL:
:pserver:anonymous@dev.eclipse.org:/cvsroot/technology
and checkout module: org.eclipse.dltk. Python are in python/plugins.

Best regards,
Andrey.
Comment 4 Matěj Cepl CLA 2012-01-31 18:05:43 EST
Just to note that there is now https://gitorious.org/various-small-stuff/eclipse-dltk , but it is just one run of git-cvsimport, no QA was done, so no guarantee that some commits are not missing, etc.
Comment 5 Nobody - feel free to take it CLA 2012-02-08 21:13:50 EST
I was anyhow able to fetch source code of dtlk . Now for compilation and testing should i make a plug in development project and use the downloaded source in python folder inside dtlk or i should do something else .
Comment 6 Matěj Cepl CLA 2012-02-09 08:28:30 EST
Just to note, there is a patch in bug 201506 for Python DLTK, if you are able to apply, it would be awesome.
Comment 7 Dawid Pakula CLA 2020-01-03 07:54:29 EST
Python support has been removed