Re: [IronPython] IronPython in a web application

2006-11-28 Thread Szymon Kobalczyk
. Regards, Szymon Kobalczyk Ian Warwick napisał(a): Hi, New guy here. I am developing a web application that uses the Front Controller pattern, the idea was that it would provide rich functionality for mapping UI Elements to business objects. It came to the point where it would be nice to have

Re: [IronPython] [ANN] IronPython 1.0 released today!

2006-09-07 Thread Szymon Kobalczyk
On behalf of BizMind team at SoftwareMind, congratulations and thank you for making this such a great product and sharing it with the community starting from the early stages. Also thanks for all the people in this mailing list for helping us all. -- Szymon Kobalczyk SoftwareMind [EMAIL

Re: [IronPython] Importing embedded .py files

2006-07-03 Thread Szymon Kobalczyk
reamReader for actual parsing. You can easily generalize this code to extract a FromStream method and then surface it to the PythonEngine API. If you have this you can easily read the file from a resource stream. Szymon Kobalczyk ___ users mail

[IronPython] IronPython project in CodePlex

2006-05-18 Thread Szymon Kobalczyk
see you moving there from GotDotNet. Regards, Szymon Kobalczyk ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Generated IL is always using the standard input, output and error streams.

2006-04-27 Thread Szymon Kobalczyk
Dino Viehland napisał(a): > > The engine does have a SetStderr / SetStdout / SetStdin API which should be > used for this purpose. And the nice thing is as we rev to the multi-System > state module this API will remain unchanged so you won't be broken in the > future. > Note that I the sampl

[IronPython] Line info in PythonSyntaxError

2006-03-31 Thread Szymon Kobalczyk
   get { return columnNo; }     }     public string File     {     get { return file; }     }     public string LineText     {     get { return lineText; }     } ...     } Regards, Szymon Kobalczyk Szymon Kobalczyk napisał(a): Hi, I foun

[IronPython] Line info in PythonSyntaxError

2006-03-10 Thread Szymon Kobalczyk
exception carries this information in private fields so it can recreate PythonException. Do you have anything against exposing these fields as read-only properties? Regards, Szymon Kobalczyk ___ users mailing list users@lists.ironpytho

Re: [IronPython] unexpected token print at :1

2006-03-03 Thread Szymon Kobalczyk
ython the value of last statement is stored in special '_' variable. So to read it just use: engine.GetVariable("_"); Note that if you precompile your scripts you must set the last argument of Compile method to true in order for this to work: engine.Compile(scrip

Re: [IronPython] basic questions

2006-03-01 Thread Szymon Kobalczyk
sion and rule evaluator for our workflow engine and in templates for document generator (I should blog on this shortly). I think I should carefully evaluate this tools (and maybe others) and choose one that best fits your scenarios. Regards, Szymon Kobalczyk.

Re: [IronPython] IronPython kills CLR

2006-01-12 Thread Szymon Kobalczyk
Hi, Did you receive my last email? Have you been able to reproduce this issue? Please let me know how to avoid this bug (I don't want to blow up my application with some script by incident). Szymon. Szymon Kobalczyk wrote: >I finally found why my NUnit suite doesnt work anymore. I

[IronPython] IronPython kills CLR

2006-01-10 Thread Szymon Kobalczyk
#x27;t have any yet in production code) or there are other cases to avoid. Szymon Kobalczyk. ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] 1.0 Beta 1 is out now!

2006-01-03 Thread Szymon Kobalczyk
Anopther problem: the method PythonEngine.ExecuteFile() throws System.ArgumentException: Error binding to target method. at System.Delegate.CreateDelegate(Type type, Object target, RuntimeMethodHandle method) It's called from: > IronPython.dll!IronPython.Runtime.Ops.CreateDynamicDelegat

Re: [IronPython] 1.0 Beta 1 is out now!

2006-01-03 Thread Szymon Kobalczyk
Generator.GenerateSnippet() method (printExprStmts) that is later passed to CodeGen. I don't know Python enough to know if this is intended behavior but I found the '_' variable really useful for 'multi statement evals'. Szymon Kobalczyk __

Re: [IronPython] DataGridView

2005-12-21 Thread Szymon Kobalczyk
but there are many more WindowsForms FAQs and samples: http://www.windowsforms.net/Default.aspx?tabindex=5&tabid=60 In general the first stop for WinForms sample code is the: http://www.windowsforms. Szymon Kobalczyk. ___ users mailing list users@lis

Re: [IronPython] IronPython is leaking

2005-12-21 Thread Szymon Kobalczyk
h these pitfalls and use it in production system with great success. So once again many thanks to the whole team. Szymon Kobalczyk. ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] IronPython 0.9.6 released

2005-12-12 Thread Szymon Kobalczyk
is is rather important for everyone who embeds PythonEngine in own application and should be fixed before the 1.0 version is released. Regards, Szymon Kobalczyk. ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

[IronPython] Presenting IronPython for local INETA group

2005-11-08 Thread Szymon Kobalczyk
drop in. Regards, Szymon Kobalczyk http://www.geekswithblogs.net/kobush ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Is this memory leak ?

2005-11-04 Thread Szymon Kobalczyk
s E { >public static void Main () { >IDictionary d = new Dictionary(); >PythonModule eval = new PythonModule("", d); >FrameCode x = Builtin.compile("2+2", "", "eval") as FrameCode; >for (;;) { >x.Run(

Re: [IronPython] Is this memory leak ?

2005-11-04 Thread Szymon Kobalczyk
Sorry to bother you again. >x = compile("2+2", "", "eval") >for i in xrange(123456789): >eval(x) > > > In this code, what object is assigned to the x var? Can I just store it by calling PythonEngine.Evaluate once than invoke multiple times passing it as variable: PythonEngine engine = new

Re: [IronPython] Is this memory leak ?

2005-11-04 Thread Szymon Kobalczyk
ge(123456789): >eval(x) > >Martin > >-Original Message- >From: Szymon Kobalczyk [mailto:[EMAIL PROTECTED] >Sent: Friday, November 04, 2005 2:30 PM >To: Martin Maly; users@lists.ironpython.com >Subject: Re: [IronPython] Is this memory leak ? > >But do you

Re: [IronPython] Is this memory leak ?

2005-11-04 Thread Szymon Kobalczyk
--- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Szymon Kobalczyk >Sent: Friday, November 04, 2005 10:13 AM >To: users@lists.ironpython.com >Subject: [IronPython] Is this memory leak ? > >Hi, > >We just noticed a serious memory leak in our server applica