Re: [IronPython] Questions for FAQ or User Guide

2005-04-19 Thread Richard Monson-Haefel
It might be better if IronPython auto converted the list of real number to an array in this case. If, that is, all the types in the list can be widened to the correct type, or if the parameter is an array of objects. That way you don't have to call an explicit method to set the list to an array

[IronPython] Re: Working with System.Data.DataColumn[]

2005-04-19 Thread Martin Maly
Anthony, Yes, there is a way. With few changes your code is essentially correct: import sys sys.LoadAssemblyByName('System.Data') from System import Type, Console, Array from System.Data import DataSet, DataColumn key = Array.CreateInstance(DataColumn, 1) dataset = DataSet('MySet') dataset.T

RE: [IronPython] To Compile or Not to compile, that's the question

2005-04-19 Thread Keith J. Farmer
Well, that explains why it's called "pyc" -> rus I actually can sound out much of it. Can't tell the difference much between tch, tsch, and the like. Don't ask me to do it in cursive: mmnnununuunnmm ;) "ipyc", in english, would probably sound much like "eye pick", which reminds me of the H

RE: [IronPython] Questions for FAQ or User Guide

2005-04-19 Thread Martin Maly
>>> John A. Tenney Wrote: >>> >>> 1. I'd like to pass an array of 6 doubles to a method, but get an error message. >>> For example, the "myMethod" call below fails when it requires a double array. >>> array=[1, 2, 3.5, 4] >>> myObject.myMethod(array) If you create the array using the syntax abov

RE: [IronPython] To Compile or Not to compile, that's the question

2005-04-19 Thread Serge Kolgan
pyc.exe is a popular on-the-fly convertor of English letters being typed on a keyboard into Cyrillic fonts on the screen(being Russian myself I just read what Google brought up). I'd suggest ipyc.exe ( pronounced much like HP's IPAQ :) ) Best regards - Serge Kolgan (skolgan @ cox.net)

Re: [IronPython] Ironpython 0.7 released! [mono?]

2005-04-19 Thread Miguel de Icaza
Hello, > > http://www.microsoft.com/downloads/details.aspx?FamilyID=B7ADC595-717C-4EF7-817B-BDEFD6947019&displaylang=en > > Has anyone tried this with Mono, on OS X or Linux? IronPython will work with Mono if you use the SVN version; You need at least version 42243. We were only missing one m

[IronPython] Questions for FAQ or User Guide

2005-04-19 Thread John A. Tenney
I’d like to pass an array of 6 doubles to a method, but get an error message. For example, the “myMethod” call below fails when it requires a double array. array=[1, 2, 3.5, 4] myObject.myMethod(array) I’d like to invoke an overloaded operator, or it’s backing op_xxx

[IronPython] Adding dynamic scripting to an existing .NET application

2005-04-19 Thread John A. Tenney
I’d like to be able to script up a .NET app that I have—say, for example, by bringing up a dialog in which they can interact with existing objects in the environment.   At first blush, it works fine. However, it seems that, even though an assembly is already loaded, that in order to crea

RE: [IronPython] (MS/Beta2) System.Collections.Generic.List bug?

2005-04-19 Thread Keith J. Farmer
This is what I get for not having enough sleep. I was doing this just fine a week ago -- glad to hear it wasn't some sudden breakage. Forgot about those unbound methods.. Been ages since I've done foo(self, arg). Re Environment: If there isn't anything, it may be something to prod the Fram

RE: [IronPython] (MS/Beta2) System.Collections.Generic.List bug?

2005-04-19 Thread Jim Hugunin
Keith J. Farmer wrote: > [Incidentally, the ".NET" in the version info is hardcoded -- is there a > means to pick up the full name of the environment, rather than just the > version? This would allow more accurate reporting between MS and 3rd > party CLR implementations.] We're using System.Envir

Re: [IronPython] vs.net 2k5 beta 2 available

2005-04-19 Thread Richard Monson-Haefel
If memory services me correct, VS.NET 2005 is supposed to provide hooks that allow you extend the platform to support other languages in terms of compiling, syntax highlighting, debugging, etc. Does the IronPython team intend to release a plug-in for the IronPython language? On Apr 18, 2005, a

[IronPython] (MS/Beta2) System.Collections.Generic.List bug?

2005-04-19 Thread Keith J. Farmer
[Incidentally, the ".NET" in the version info is hardcoded -- is there a means to pick up the full name of the environment, rather than just the version? This would allow more accurate reporting between MS and 3rd party CLR implementations.] IronPython 0.7.2 on .NET 2.0.50215.44 Copyright (c)