The following forum message was posted by mbaas at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3695300:

Hi,

I just had a case where the outliner didn\'t show anything at all after opening 
a Python file. This is in a Python 3 project and the culprit was a line like 
this \"a = 0L\" (that module hasn\'t been ported to Python 3 yet). But instead 
of displaying a syntax error (as the \"L\" suffix is not part of Python 3 
anymore), PyDev apparently just stopped parsing the file. Another effect of 
that was that the mark occurrences feature also didn\'t work anymore.

To reproduce this you can just create a new Python file in a Python 3 project 
and copy this into the file:

def foo():
    a = 0L
    return 

def bar(a):
    return a+1

The outliner won\'t show anything and if you click on the argument \"a\" of 
bar(), no highlighting happens. When you remove the \"L\" suffix, everything is 
fine again.

This is PyDev 1.5.6 in Eclipse 3.5.2 on OSX Tiger.

- Matthias -


------------------------------------------------------------------------------
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to