Re: [IronPython] Code Formatting on CodePlex Issues

2008-07-09 Thread Dino Viehland
I usually click on edit and I get back the original form of the text. I realize that's not going to work for people who can't edit bugs but the good news is the formatting is preserved, it just doesn't show up when you look at it as HTML. -Original Message- From: [EMAIL PROTECTED]

Re: [IronPython] Possible bug with with statement

2008-07-09 Thread Dino Viehland
Definitely a bug - it also repros on the desktop CLR. It repros with just: from __future__ import with_statement with file('hello.txt', 'w') as f: raise Exception so it looks like the exception code path is broken. The underlying problem is that we end up trying to dynamically convert

Re: [IronPython] upgrading to ip 2b3 in Resolver One

2008-07-09 Thread Dino Viehland
Another way to do this is to create a ScriptSource which is of kind Statements: ScriptRuntime sr = ScriptRuntime.Create(); ScriptEngine engine = sr.GetEngine(py); ScriptSource source = engine.CreateScriptSourceFromFile(test.py, Encoding.Default,

Re: [IronPython] How to get a System.Exception inside a IronPython except: clause

2008-07-09 Thread Dino Viehland
Are you getting a TargetInvocationException and trying to get the stack trace of that? Or is it just some normal exception kind? I'll have to look into why calling FormatException isn't doing the right thing - that info might help... But anyway, it looks like the Silverlight exception

Re: [IronPython] Are there anyone had embedded IronPython or other dynamic language into a biz solution.

2008-07-09 Thread Michael Stephens
We just went live with Iron Python Embedded. We chose IronPython because it was so simple and python is so well documented. Other solutions are pretty precarious whereas iron python implementation was really easy. Michael Stephens Electrical Engineering Graduate Student University of Wyoming

Re: [IronPython] Are there anyone had embedded IronPython or otherdynamic language into a biz solution.

2008-07-09 Thread Han Kejing
Sorry, My English is so poor. Maybe some word is worry or unclear. Follow is my ideas: I will provide some ability in my WinForm application to allow user to write python script to implement his custom business logic easily and quickly. My user is not developer, he has not any experience