On Dienstag, 27. Juli 2010, detlev wrote:

> 

...

> > *) Py3Flakes doesn't understand the 'with' statement even though
> > that's recommended way of handling files according to the official
> > 
> > Python tutorial:
> > >>>with open('foo', 'r') as f:
> > >>>    l = f.readlines()
> > 
> > causes: "py3flakes warning: Undefined name 'f'."
> 
> That is a bug and should be fixed.
> 

That issue will be fixed in the next release/snapshot.

...

Regards,
Detlev
-- 
Detlev Offenbach
[email protected]
_______________________________________________
Eric mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/eric

Reply via email to