Hi Darren, > Would it be possible for eric4 to support python-2.5's "with" statement? > Currently they are flagged as a syntax error. With statements are not > strictly necessary, but convenient. "Rapid GUI Programming with Python and > Qt" discusses them, for example in chapter 19 for dealing with a mutex. >
eric uses the builtin method compile to perform the syntaxcheck. That way, eric will get syntax errors for everything the Python interpreter flags as a syntax error. If you have an idea on how to change this (see Utilities/__init__.py) please let me know. Regards, Detlev -- Detlev Offenbach [EMAIL PROTECTED] _______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
