Re: [IronPython] IronPython 2.6 and .NET 4.0 (and the GAC)

2009-06-04 Thread Jeff Hardy
On Tue, Jun 2, 2009 at 10:48 AM, Dave Fugate wrote: > I think it's a safe bet that when the final version of .NET 4.0 is released > we'll either: > * re-release the latest final version of IronPython against it.  If .NET 4.0 > had already shipped today, this would end up being "IronPython 2.0.1 f

Re: [IronPython] Access to current Python engine in C# (Silverlight)

2009-06-04 Thread Michael Foord
Jimmy Schementi wrote: Jimmy - did you get a chance to look at this? Yes, sorry for the wait. Given something.py: class Foo(object): attribute = "w" The following will import it using the hosting API (written in Python because I don't have the SL tools installed at the moment): c

Re: [IronPython] CallTarget0 problem

2009-06-04 Thread Michael Foord
Curt Hagenlocher wrote: On Thu, Jun 4, 2009 at 12:30 PM, Michael Foord wrote: A while ago there were changes to CallTarget0 that made it incompatible with .NET methods that have a void return signature. Dino told me he would change it back so it would work again, but I guess that didn't happ

Re: [IronPython] CallTarget0 problem

2009-06-04 Thread Curt Hagenlocher
On Thu, Jun 4, 2009 at 12:30 PM, Michael Foord wrote: > > A while ago there were changes to CallTarget0 that made it > incompatible with .NET methods that have a void return signature. > Dino told me he would change it back so it would work again, > but I guess that didn't happen... I believe it'

Re: [IronPython] Access to current Python engine in C# (Silverlight)

2009-06-04 Thread Jimmy Schementi
> Jimmy - did you get a chance to look at this? Yes, sorry for the wait. Given something.py: class Foo(object): attribute = "w" The following will import it using the hosting API (written in Python because I don't have the SL tools installed at the moment): code = """ import something ""

[IronPython] Response may be slow from the IronPython team...

2009-06-04 Thread Shri Borde
Dino is OOF through Monday, and a few others are attending some talks. -Original Message- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Thursday, June 04, 2009 12:30 PM To: Discussion of IronPython Subject: Re: [IronP

Re: [IronPython] CallTarget0 problem

2009-06-04 Thread Michael Foord
Kent Johnson wrote: Hi, I am an IPy newbie, trying to run example 7.17 from IronPython in Action. It includes the code delegate = CallTarget0(something.form.Close) something.form.Invoke(delegate) were something.form is a Windows.Forms.Form object. The first line above gives this error: Traceba

[IronPython] CallTarget0 problem

2009-06-04 Thread Kent Johnson
Hi, I am an IPy newbie, trying to run example 7.17 from IronPython in Action. It includes the code delegate = CallTarget0(something.form.Close) something.form.Invoke(delegate) were something.form is a Windows.Forms.Form object. The first line above gives this error: Traceback (most recent call l

Re: [IronPython] Urgent : Unable to open MS Word file from Python

2009-06-04 Thread Sivaguru Perambalam
Thanks a lot Shri ! That helped. I was having the 1.x version of Iron Python . On Wed, Jun 3, 2009 at 7:29 PM, Shri Borde wrote: > Try using this workaround. > > > > import clr > > r = clr.Reference[str]() > > r.Value = source_filename > > word_application.Documents.Open(r) > > > > You should n

[IronPython] IronPython 2.6 CodePlex Source Update

2009-06-04 Thread merllab
This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/53897. MODIFIED SOURCES $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting.C

Re: [IronPython] IronPython 2.0.1 repr of floats on non UK Windows

2009-06-04 Thread Michael Foord
Dave Fugate wrote: Under German 32-bit Vista SP1 I get the following: C:\Users\merllab.REDMOND\Desktop\IronPython-2.0.1>ipy.exe IronPython 2.0 (2.0.0.0) on .NET 2.0.50727.3074 Type "help", "copyright", "credits" or "license" for more information. >>> repr(0.1)