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:
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?