RE: [IronPython] RE: Numpy port

2005-08-31 Thread Morgan Martinet
> I wouldn't call the FORTRAN "legacy code". People are still using BLAS > and such because the FORTRAN code performs better. These routines have > been rewritten many times in C, C++, and Java and people still use the > FORTRAN simply because it does a better job. Numerical solutions are > wha

[IronPython] Dynamic compilation

2005-08-26 Thread Morgan Martinet
Hi, Today, I wanted to upgrade my current release of IronPython and I went into my folder containing my scripts. Then I realized that there was a lot of files like: MyModule.py MyModule.exe MyModule__1.exe MyModule__2.exe MyModule__3.exe MyModule__4.exe ... Then I remembered that when I was tryin

[IronPython] Console

2005-08-24 Thread Morgan Martinet
Hi, A little detail: why does the console display an empty tuple when you simply press enter? IronPython 0.9.1 on .NET 2.0.50215.44 Copyright (c) Microsoft Corporation. All rights reserved. >>> () >>> () >>> This does not happen with CPython... Also, why don't you enable the tab completion fea

RE: [IronPython] Plans for overloads?

2005-07-21 Thread Morgan Martinet
>Interesting, but this seems to be purely for decorating method definitions, >not method calls, and I'm not sure how any similar syntax would help. This is not completely true. The way decorators work is that they wrap the decorated object (either the function or another decorator if you cascade th

RE: [IronPython] Plans for overloads?

2005-07-21 Thread Morgan Martinet
Hi, Did you guys have a look at the new Python decorators that are a little like .Net meta attributes? You can also see how it can be applied to function overloading, in a Guido's short article: http://www.artima.com/weblogs/viewpost.jsp?thread=101605 I know this is purely Python stuff, but maybe

RE: [IronPython] How to call IronPython Interpreter with C# code?

2005-07-21 Thread Morgan Martinet
t;b = Button(Text='Exit')\n" > + > "b.Click += on_exit \n" > + > "form.Controls.Add(b) \n" > + > "form.Sho