I think you need to pass the -X:Python26 command line option in the alpha to enable this.
From: [email protected] [mailto:[email protected]] On Behalf Of Elise Langham (Elanit) Sent: Tuesday, May 19, 2009 6:29 AM To: [email protected] Subject: [IronPython] with_statement in IronPython 2.6 Alpha 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 ? thanks, Elise
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
