Re: [IronPython] PYC and 2.6 A1

2009-04-02 Thread Davy Mitchell
Thanks Dino - no urgency for me. I usually compile DIE for my own use but under 2.6A1 it runs fairly snappily even when run from ipy :-) Thanks, Davy On Tue, Mar 31, 2009 at 11:54 PM, Dino Viehland wrote: > Yeah there is apparently an issue here, Resolver reported it to me the > other day off-

Re: [IronPython] Question on loading assembly from byte array

2009-04-02 Thread Samuel Tjokrosoesilo
Wow, thanks a lot, Dino. I went ahead and imported the Assembly from System.Reflection and it resolved it. Samuel 2009/4/2 Dino Viehland > You can do: > > > > import clr > > from System.IO import File > > clr.AddReference(Assembly.Load(File.ReadAllBytes(assemblyName))) > > > > *From:* users-bou

Re: [IronPython] Question on loading assembly from byte array

2009-04-02 Thread Dino Viehland
You can do: import clr from System.IO import File clr.AddReference(Assembly.Load(File.ReadAllBytes(assemblyName))) From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Samuel Tjokrosoesilo Sent: Thursday, April 02, 2009 10:43 AM To: Discussion of Iron

[IronPython] Question on loading assembly from byte array

2009-04-02 Thread Samuel Tjokrosoesilo
I would like to be able to load assembly from byte array inside of IronPython. Is there any way to do it directly in IronPython? I'm unable to run something like clr.AddReference(byte []). Below is what I do in .NET DLR in order to make this work: byte[] rawAssemblyFile = File.ReadAllBytes(assem