[IronPython] out parameters

2006-05-15 Thread Andrzej Krzywda
Hi all, Having the following piece of C# code (note the ignore parameter): public class C { public static int M(out int i, out int j, out int k, bool ignore) { i = 20; j = 30; k = 40; return 10; } } we call

Re: [IronPython] making assemblies

2006-05-15 Thread Dino Viehland
This is something that were slowly working on but may not have done in time for v1.0. We do have some compiler support in IronPython, but the assemblies arent usable from C#. The challenge here is mapping a highly dynamic language like Python into a world that C# can see w/o altering the

Re: [IronPython] out parameters

2006-05-15 Thread Dino Viehland
Thanks for the bug report. This is due to the enabling of our optimized code paths for all calls into C#. I'll get a bug on this one filed and it should be fixed for beta 7 (tentatively scheduled for later this week). Do you want to help develop Dynamic languages on CLR?

[IronPython] Line numbers in snippets...

2006-05-15 Thread Alex Henderson
We've been using IronPython as a scripting engine in one of our products that's in development for a while now, works great :) However when executing code which has syntax errors in it we can't seem to get line numbers back from the exception, or find any compilation context we can examine for a

Re: [IronPython] Line numbers in snippets...

2006-05-15 Thread Alex Henderson
Not quite... my problem is I don't have a PythonSyntaxError thrown, I believe that's because I'm actually receiving a python generated exception, for instance I might catch a PythonNameError when someone incorrectly spells a variable name... and that doesn't contain any information I can use the

Re: [IronPython] Line numbers in snippets...

2006-05-15 Thread Alex Henderson
Sure thing I'll keep you posted. Chez, - Alex -Original Message- From: [EMAIL PROTECTED] [mailto:users- [EMAIL PROTECTED] On Behalf Of Dino Viehland Sent: Tuesday, 16 May 2006 9:14 a.m. To: Discussion of IronPython Subject: Re: [IronPython] Line numbers in snippets... The