[IronPython] with_statement in IronPython for ASP.Net?

Adam Brand adamb at silverkeytech.com
Fri Apr 3 21:01:40 CEST 2009

Using IronPython for ASP.Net, trying to use:
from __future__ import with_statement

...get the message:
future feature is not defined:with_statement

Have put the __future__.py file in the directory that py file is in as well
as my lib folder.

Any ideas? I saw some references to needing to put the switch -X:Python25,
but I think that was for earlier versions of IPY. AFAIK the IP for
ASP.NETis IronPython 2, Alpha 1...I'm thinking that one shouldn't need
the switch?

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

More information about the Ironpython-users mailing list