Re: [IronPython] IronPython Tutorial at PyCon UK

2008-07-29 Thread Jimmy Schementi
Have fun! Wish I was there ... =P > -Original Message- > From: [EMAIL PROTECTED] [mailto:users- > [EMAIL PROTECTED] On Behalf Of Michael Foord > Sent: Tuesday, July 29, 2008 1:30 PM > To: Discussion of IronPython > Subject: [IronPython] IronPython Tutorial at PyCon UK > > Hello all, > > Se

[IronPython] IronPython Tutorial at PyCon UK

2008-07-29 Thread Michael Foord
Hello all, September 12-14th at the Birmingham Conservatoire is the 2nd UK Python Conference, organised by the UK Python community. This year the conference starts with a tutorial day, and Christian Muirhead [#]_, Menno Smits and I will be running a half day IronPython tutorial. The tutorial day

Re: [IronPython] PythonEngine

2008-07-29 Thread Dino Viehland
PythonEngine has been replaced w/ the DLR hosting APIs. You'll want to do something more like: ScriptRuntime sr = ScriptRuntime.Create(); sr.Globals["x"] = _x; ScriptEngine se = sr.GetEngine("py"); There is a spec available for the hosting APIs at http://compilerlab.members.winisp.net/dlr-spe

[IronPython] PythonEngine

2008-07-29 Thread Huzaifa
I am not able to run this code with ironpython 2.0 PythonEngine _pyEngine; pyEngine = new PythonEngine(); _pyEngine.Globals["x"] = _x; -- View this message in context: http://www.nabble.com/PythonEngine-tp18720203p18720203.html Sent from the IronPython mailing list archive at Nabble.com. _

Re: [IronPython] difference b/w ironpython 1 and 2.

2008-07-29 Thread Dino Viehland
The high level differences are: CPython 2.5 compatibility DLR support New hosting APIs New dispatch/binding infrastructure The beginnings of x-lang dynamic lang support Tons of bug fixes & general Python compatibility work ---

Re: [IronPython] IAttributesInjector

2008-07-29 Thread Dino Viehland
It's located in Microsoft.Scripting.dll (not to be confused w/ Microsoft.Scripting.Core.dll). The way you use this is you apply the assembly level attribute like: [assembly: ExtensionType(typeof(String), typeof(MyStringExtensions))] And then you define MyStringExtensions: public static class M

[IronPython] difference b/w ironpython 1 and 2.

2008-07-29 Thread Huzaifa
Suggest me a book or link to find changes b/w ironpython 1 and 2. -- View this message in context: http://www.nabble.com/difference-b-w-ironpython-1-and-2.-tp18718624p18718624.html Sent from the IronPython mailing list archive at Nabble.com. ___ Users

Re: [IronPython] IAttributesInjector

2008-07-29 Thread Huzaifa
I could not find it "Microsoft.Scripting.Runtime.ExtensionTypeAttribute" Han Kejing wrote: > > Maybe is the "Microsoft.Scripting.Runtime.ExtensionTypeAttribute" > attribute. > You can found some simples in IronPythonTest project. > > -

Re: [IronPython] exception during ExecuteFile, when file is on network share

2008-07-29 Thread mindmind
> i often get the error below, when "file" is on a network share : During a nightly stress test, the program was set to run every 5 minutes, and the above error occured roughly 1 out of 4 times. ___ Users mailing list Users@lists.ironpython.com http://li

[IronPython] exception during ExecuteFile, when file is on network share

2008-07-29 Thread Troels Pil Thomsen
Hello, I have a python 1.1.1.0 host in my c# app, and when doing a engine.ExecuteFile(file); i often get the error below, when "file" is on a network share : (winXp client , windows ??? server) 21-07-2008 12:47:28 : Traceback (most recent call last): 21-07-2008 12:47:28 : File c:\sandbox

Re: [IronPython] IAttributesInjector

2008-07-29 Thread Han Kejing
Maybe is the "Microsoft.Scripting.Runtime.ExtensionTypeAttribute" attribute. You can found some simples in IronPythonTest project. Follow my heart Colin Han @ GrapeCity -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

[IronPython] IAttributesInjector

2008-07-29 Thread Huzaifa
I can not find this interface in ironpython 2.0 .What is the alternative if this interface have been removed. -- View this message in context: http://www.nabble.com/IAttributesInjector-tp18701101p18701101.html Sent from the IronPython mailing list archive at Nabble.com.