Re: [IronPython] DLR Hosting, Access to .NET Types

2008-04-17 Thread Curt Hagenlocher
On Thu, Apr 17, 2008 at 10:00 PM, David Seruyange <[EMAIL PROTECTED]> wrote: > > Of course if it's a change as of 2.0 I wonder why it doesn't manifest itself > when executing from the command shell. It doesn't manifest from the shell because this code is now part of the PythonCommandLine class, wh

Re: [IronPython] DLR Hosting, Access to .NET Types

2008-04-17 Thread David Seruyange
-- From: Curt Hagenlocher <[EMAIL PROTECTED]> To: Discussion of IronPython Sent: Thursday, April 17, 2008 11:33:29 PM Subject: Re: [IronPython] DLR Hosting, Access to .NET Types On Thu, Apr 17, 2008 at 9:28 PM, David Seruyange <[EMAIL PROTECTED]> wrote: > > But when using a hosted

Re: [IronPython] DLR Hosting, Access to .NET Types

2008-04-17 Thread Curt Hagenlocher
On Thu, Apr 17, 2008 at 9:28 PM, David Seruyange <[EMAIL PROTECTED]> wrote: > > But when using a hosted engine, mscorlib seems not to be loaded for free > anymore - That is correct, and represents a change that was made around 2.0 Alpha 8 (if I remember correctly). That's why you need to explicit

Re: [IronPython] DLR Hosting, Access to .NET Types

2008-04-17 Thread David Seruyange
xecuteFile("Spam.py") Now the reference that came for "free" before to mscorlib seems not to be present. - Original Message From: Curt Hagenlocher <[EMAIL PROTECTED]> To: Discussion of IronPython Sent: Thursday, April 17, 2008 10:39:49 PM Subject: Re: [IronP

Re: [IronPython] DLR Hosting, Access to .NET Types

2008-04-17 Thread Curt Hagenlocher
On Thu, Apr 17, 2008 at 8:33 PM, David Seruyange <[EMAIL PROTECTED]> wrote: > > Are all framework types accessible from a hosted engine? While the module > loads fine using the above code, a reference to the StringBuilder (which > works fine when executing a file that references the module) produc