List Info

Thread: Code can not be parsed




Code can not be parsed
country flaguser name
United States
2008-02-29 11:33:35
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4809097

By: boostpy2005

One Problem by using Pydev (I use python 2.4.x)

If I view the code with <b> python2.5 syntax
</b>, such as, 
self._vars=a[0] if len(a) else {}

I have troubles under the outline view. In this case, I get
only an error, such
as, encountered if at line....
but no Code structure any more,

Is that a bug of pydev or should I change configurations in
order to view the
outline!

thanks in advance.





____________________________________________________________
__________
You are receiving this email because you elected to monitor
this forum.
To stop monitoring this forum, login to SourceForge.net and
visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=
293649

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Pydev-users mailing list
Pydev-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


RE: Code can not be parsed
country flaguser name
United States
2008-02-29 12:58:50
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4809219

By: fabioz

That's how the outline view works... it'll only be updated
on successful parses
(so, as that's not valid for python 2.4, it won't update
accordingly -- so,
if you want to have python 2.5 syntax, you really must set
the project as such
-- even if your interpreter is a python 2.4 interpreter:
that option is solely
used within pydev to handle those parsings).

Cheers,

Fabio

____________________________________________________________
__________
You are receiving this email because you elected to monitor
this forum.
To stop monitoring this forum, login to SourceForge.net and
visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=
293649

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Pydev-users mailing list
Pydev-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )