[IronPython] with_statement in IronPython 2.6 Alpha

Elise Langham (Elanit) i-ellang at microsoft.com
Tue May 19 15:29:10 CEST 2009

Can anyone explain to me how to use the with_statement in IronPython 2.6 ?
It is totally unrecognised as a keyword

I've tried the Iron Python 2.5 solution:

from __future__ import with_statement  which gives the error future feature is not defined:with_statement

can anyone help me ?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20090519/ec9826a6/attachment.html>

More information about the Ironpython-users mailing list