own CLR method so you
won't hit this problem.
Martin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giles Thomas
Sent: Wednesday, November 22, 2006 8:12 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Very strange problem with Execut
bject: Re: [IronPython] Very strange problem with ExecuteFile
Martin,
We don't see the same problem in the IronPython console; is this because
it is executing the file somehow differently - perhaps line-by-line,
maintaining a context dictionary?
Regards,
Giles
Martin Maly wrote:
> I be
t;
> Martin
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giles Thomas
> Sent: Wednesday, November 22, 2006 6:07 AM
> To: Discussion of IronPython
> Subject: [IronPython] Very strange problem with ExecuteFile
>
> When the at
up to multiple functions.
Martin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giles Thomas
Sent: Wednesday, November 22, 2006 6:07 AM
To: Discussion of IronPython
Subject: [IronPython] Very strange problem with ExecuteFile
When the attached test.py is
When the attached test.py is executed using ExecuteFile (sample .cs file
also attached), we get the following exception:
System.InvalidProgramException: Common Language Runtime detected an
invalid program.
The problem does not occur under the IP Console (which I guess doesn't
use ExecuteF