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

The following code yields a number of errors in pydev code analysis:

[code]with open('tmp.txt', 'w') as file:
    pass[/code]

I get "undefined variable" for 'with' and 'as', and that 'open' was unexpected.
My eclipse project is set to use Python 2.5 grammar.

Is the above construct not supported in pydev? Or am I doing something wrong?

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to