Re: [IronPython] IronPython support In Visual Studio 2005 April VSSDK?

2006-05-30 Thread Lesley & Mitch Barnett
Thanks Vagmi and Dino.  I should have mentioned that chunk of code does work in the command line interpreter, but I will change it to see what happens…   As far as debugging is concerned, it does not step me through the source like in C#, but rather the MSIL.  Maybe I am missing something

Re: [IronPython] Takes at least 8 arguments (8 given)

2006-05-30 Thread Dino Viehland
Oh, and we should allow a float -> int conversion, assuming there is no better conversion available. We're actually looking into changing our dispatch rules to more closely mimic C#'s rules. The error messages here are particularly bad - we already have one bug to improve the error messages fo

Re: [IronPython] Takes at least 8 arguments (8 given)

2006-05-30 Thread Dino Viehland
It looks like you're using the wrong calling convention enum, it's expecting a System.Runtime.InteropServices.CallingConvention, and you're passing it a System.Reflection.CallingConventions. This is the 2nd calling convention parameter, the 1st one is still a System.Reflection.CallingConvention

Re: [IronPython] Takes at least 8 arguments (8 given)

2006-05-30 Thread Jonathan Jacobs
Tomi Valkeinen wrote: > I didn't read your code, but I got the same error from my code and the > reason was that one of the arguments to the method being called was of > wrong type. The error message didn't help much finding that bug =). > Perhaps you have the same problem. I've run into this a

Re: [IronPython] IronPython support In Visual Studio 2005 April VSSDK?

2006-05-30 Thread Dino Viehland
The two files that you see is being done through partial class support which is a language feature that both C# & VB support.  Python doesn’t have such a feature, and so we’ve been discussing internally ways we could do this – unfortunately we haven’t come up with the ideal solution yet. 

Re: [IronPython] Singles from outer-space

2006-05-30 Thread Dino Viehland
Thanks for the bug report. We've been looking to get parity between .NET primitives and Python primitives but it looks like we've missed constructors. I've opened a bug on this and it should be fixed for the next release. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC

Re: [IronPython] IronPython support In Visual Studio 2005 April VSSDK?

2006-05-30 Thread Vagmi Mudumbai
May be you should say   for type in types:   instead of   for types in types:   Regards, Vagmi  On 5/30/06, Lesley & Mitch Barnett <[EMAIL PROTECTED]> wrote: Hi, using the April 2005 VSSDK, I am able fire up a new Visual Studio PythonProject (Experimental Hive) using the Windows Application te

[IronPython] IronPython support In Visual Studio 2005 April VSSDK?

2006-05-30 Thread Lesley & Mitch Barnett
Hi, using the April 2005 VSSDK, I am able fire up a new Visual Studio PythonProject (Experimental Hive) using the Windows Application template.  I can drag and drop UI controls from the Toolbox onto the design surface.  However, I notice the IronPython code being generated for both the desi