Re: [IronPython] Very strange problem with ExecuteFile

2006-11-22 Thread Giles Thomas
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

Re: [IronPython] Very strange problem with ExecuteFile

2006-11-22 Thread Martin Maly
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

Re: [IronPython] Very strange problem with ExecuteFile

2006-11-22 Thread Giles Thomas
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

Re: [IronPython] Very strange problem with ExecuteFile

2006-11-22 Thread Martin Maly
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

[IronPython] Very strange problem with ExecuteFile

2006-11-22 Thread Giles Thomas
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