RE: [IronPython] using ironpython write a code editor

2005-08-24 Thread Victor A. Wagner Jr.
At 13:20 2005-08-22, you wrote: :) And yet another minor correction: ".. which is incorrect, but I believe Queen Elizabeth would forgive you.." I think you meant to use an ellipse (" ... "), defined as 3 dots separated by spaces, which denotes something left out or a voice trailing off. err,

RE: [IronPython] Console

2005-08-24 Thread Martin Maly
Hi Morgan, Good question. I believe it is actually a bug that we print the "()" on enter. We didn't turn the console on by default because it is just the first draft of the console, but it is not yet good enough to turn on by default, I think. As time permits I hope to improve it and eventually t

[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

[IronPython] RE: users-ironpython.com Digest, Vol 13, Issue 31

2005-08-24 Thread Iain Mackay
AIL PROTECTED] -- next part -- An HTML attachment was scrubbed... URL: /pipermail/users-ironpython.com/attachments/20050824/3763038e/attachment-000 1.html -- Message: 2 Date: Wed, 24 Aug 2005 13:44:31 +0200 From: Zoltan Varga <[EMAIL PROTECTED]&

RE: [IronPython] TestAll.py & Mono 0.8.3

2005-08-24 Thread Miguel de Icaza
Hello, > And when is that? ;) Late August, early September. Before the PDC for sure. Miguel ___ users-ironpython.com mailing list users-ironpython.com@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

RE: [IronPython] IronPython 0.9.1 released

2005-08-24 Thread Martin Maly
Hi Keith, I believe that the colors were originally designed to run on the white background (better for demos). To change them, I am convinced that code change is needed at this point. Running the generated exes ... the error you are getting, I believe, means that the referenced dlls cannot be fo

RE: [IronPython] TestAll.py & Mono 0.8.3

2005-08-24 Thread Keith J. Farmer
And when is that? ;) - Keith J. Farmer // [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zoltan Varga Try 1.1.9 when its released. ___ users-ironpython.com mailing list users-ironpython

Re: [IronPython] TestAll.py & Mono 0.8.3

2005-08-24 Thread Zoltan Varga
Hi, Try 1.1.9 when its released. Zoltan On 8/24/05, Keith J. Farmer <[EMAIL PROTECTED]> wrote: > > > > Got bored, decided to run TestAll.py under IronPython (0.9 and 0.9.1), under > Mono (0.8.3), under Monad, under x64… > > In contrast, TestAll.py p

RE: [IronPython] Math accuracy?

2005-08-24 Thread Keith J. Farmer
Or just:   if (Math.Truncate(c) == c && d == 0 && c >= 0)   {     return this.pow((int)c);   }   Where you uncomment some better code already provided, and adjust:     internal Complex64 pow(int power)  

RE: [IronPython] Math accuracy?

2005-08-24 Thread Keith J. Farmer
Here’s a *VERY* naïve solution (ie, a 4am solution) for complex ^ positiveInt.  It could be improved by generating the binomial expansion directly for n and avoiding a bunch of extra Complex64 instantiations. IronPython 0.9.1 on .NET 2.0.50215.44 Copyright (c) Microsoft Corporation. All r

RE: [IronPython] Math accuracy?

2005-08-24 Thread Keith J. Farmer
That should be “what CPython returns”. - Keith J. Farmer [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith J. Farmer Sent: Wednesday, 24 August 2005 02:56 I don’t know why CPython returns in this case, _

[IronPython] Math accuracy?

2005-08-24 Thread Keith J. Farmer
I don’t know why CPython returns in this case, but I wonder if it’d be possible to improve the accuracy for certain calculations? >>> a = 1j >>> a ** 2 (-1+1.22464679914735E-16j) >>> pow(a,2) (-1+1.22464679914735E-16j) - Keith J. Farmer [EMAIL PROTECTED]  

[IronPython] fade-in window on ASPN

2005-08-24 Thread Keith J. Farmer
Stumbled across this example, from last year: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303062 To make it work with the current version, add the following to the beginning of the file: import sys sys.LoadAssemblyByName('System.Windows.Forms') sys.LoadAssemblyByName('System