Re: [IronPython] PythonEngine.SetVariable

2006-08-18 Thread Martin Maly
You can use engine.Globals["name"] = value Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Cosby Sent: Thursday, August 17, 2006 5:34 PM To: IronPython Users Subject: [IronPython] PythonEngine.SetVariable At

Re: [IronPython] PythonEngine.SetVariable

2006-08-17 Thread Kristof Wagemans
Now it has become: PythonEngine.Globals["myVar"] = myVar; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Cosby Sent: Friday 18 August 2006 2:34 To: IronPython Users Subject: [IronPython] PythonEngine.SetVariable At

[IronPython] PythonEngine.SetVariable

2006-08-17 Thread Jon Cosby
At one point, PythonEngine.SetVariable was replaced by PythonEngine.SetGlobal. I don't find either of them in RC1. Why is this? Jon ___ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] PythonEngine.SetVariable not in 1.0 RC1

2006-07-27 Thread Mark Rees
Yes the hosting api has changed. It was documented in the beta9 release announcement: http://lists.ironpython.com/pipermail/users-ironpython.com/2006-July/002808.html But to paraphrase: One of the most significant changes is the final updates to the hosting API. The hosting APIs have removed t

[IronPython] PythonEngine.SetVariable not in 1.0 RC1

2006-07-27 Thread Jean-Michel.Perraud
Hi, I am looking at RC1 and noticed that the PythonEngine.SetVariable method is not present anymore. Has is been deprecated and if so what is the new equivalent to expose .NET objects as variables via a hosted engine? The last version I used to compile against was Beta6. Cheers, J-M _