The VS2008 integration is old, awful, was built by the VS Integration
team and not the IronPython team, and based in IronPython 1.0. That
version of IronPython predates the `except ... as ...:` syntax, which
is why it's a syntax error.
You can run Python Tools for Visual Studio (pytools.codeplex.c
Hi,
I'm getting issues with try / except blocks in VS 2008, particularly with
the following way of catching the errors:
try:
something
except Error as e:
do something with e
When I try this directly from the IPY console it works fine:
>>> try:
... open(fakefile.txt)