[IronPython] with_statement in IronPython 2.6 Alpha
dinov at microsoft.com
Tue May 19 17:09:36 CEST 2009
I think you need to pass the -X:Python26 command line option in the alpha to enable this.
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Elise Langham (Elanit)
Sent: Tuesday, May 19, 2009 6:29 AM
To: users at lists.ironpython.com
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users