[Eric] with statement: feature request
Detlev Offenbach
detlev at die-offenbachs.de
Mon Mar 10 20:49:57 GMT 2008
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
detlev at die-offenbachs.de
More information about the Eric
mailing list