Thanks Geoff

Iain

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 24 August 2005 16:48
To: users-ironpython.com@lists.ironpython.com
Subject: users-ironpython.com Digest, Vol 13, Issue 31


Send users-ironpython.com mailing list submissions to
        users-ironpython.com@lists.ironpython.com

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific than
"Re: Contents of users-ironpython.com digest..."


Today's Topics:

   1. RE: Math accuracy? (Keith J. Farmer)
   2. Re: TestAll.py & Mono 0.8.3 (Zoltan Varga)
   3. RE: TestAll.py & Mono 0.8.3 (Keith J. Farmer)
   4. RE: IronPython 0.9.1 released (Martin Maly)


----------------------------------------------------------------------

Message: 1
Date: Wed, 24 Aug 2005 04:01:58 -0700
From: "Keith J. Farmer" <[EMAIL PROTECTED]>
Subject: RE: [IronPython] Math accuracy?
To: "Discussion of IronPython"
        <users-ironpython.com@lists.ironpython.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

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)

            {

                  if (power == 0) return new Complex64(1, 0);

                  if (power < 0) throw new
ArgumentOutOfRangeException("power", power, "power must be >= 0");

                  Complex64 factor = this;

                  Complex64 result = new Complex64(1, 0); //!!! want a
mutable here for efficiency

                  while (power != 0)

                  {

                        if ((power & 1) != 0) result = result * factor;

                        factor = factor * factor;

                        power >>= 1;

                  }

                  return result;

            }

-----

Keith J. Farmer

[EMAIL 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]>
Subject: Re: [IronPython] TestAll.py & Mono 0.8.3
To: Discussion of IronPython
        <users-ironpython.com@lists.ironpython.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=WINDOWS-1252

                       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 passes when run under MS CLR.
> 
> Could the could-not-load errors be a matter of strong-name bindings 
> going on in IronPython?
> 
> -----
> 
> Keith J. Farmer
> 
> [EMAIL PROTECTED]
> 
>   
> 
> [EMAIL PROTECTED] C:\Program Files (x86)\IronPython-0.9.1\Scripts
> 
> [20] # > mono 'C:\Program Files 
> `(x86`)\IronPython-0.9\bin\IronPythonConsole.exe' TestAll.py
> 
>   
> 
> ** (C:\Program Files
> (x86)\IronPython-0.9\bin\IronPythonConsole.exe:1316):
> WARNING **: bblock split failed in ModuleDef::Generate
> 
>   
> 
> =======================================================
> 
> Testing ParrotBench suite long
> 
> =======================================================
> 
> ParrotBench !!! SKIP !!!
> 
> =======================================================
> 
> =======================================================
> 
> Testing Pystone suite long
> 
> =======================================================
> 
> Pystone !!! SKIP !!!
> 
> =======================================================
> 
> =======================================================
> 
> Testing IronPython suite long
> 
> Running Arithmetics ...    PASS 
> 
> Running Assert ...    PASS 
> 
> Running Attrs ...
> 
> ** (C:\Program Files
> (x86)\IronPython-0.9\bin\IronPythonConsole.exe:1316):
> WARNING **: TypeRef ResolutionScope not yet handled (138)
> 
>   
> 
> ** (C:\Program Files
> (x86)\IronPython-0.9\bin\IronPythonConsole.exe:1316):
> WARNING **: The class Enumerator could not be loaded, used in 
> C:\Program Files (x86)\IronPython-0.9\bin\IronPython.dll (token 
> 0x010000c0)
> 
>   
> 
> ** (C:\Program Files
> (x86)\IronPython-0.9\bin\IronPythonConsole.exe:1316):
> WARNING **: The class System.StringSplitOptions could not be loaded, 
> used in C:\Program Files (x86)\IronPython-0.9\bin\IronPython.dll 
> (token 0x010000a3)
> 
>   
> 
> ** (C:\Program Files
> (x86)\IronPython-0.9\bin\IronPythonConsole.exe:1316):
> WARNING **: Missing method Split in assembly C:\Program Files 
> (x86)\IronPython-0.9\bin\IronPython.dll, type String
> 
>   
> 
> Unhandled Exception: System.NullReferenceException: Object reference 
> not set toan instance of an object
> 
> in <0x00000> <unknown method>
> 
> in <0x000c2> IronPythonConsole.PythonCommandLine:RunFile
> (IronPython.Hosting.PythonEngine engine, System.String filename)
> 
> in <0x00131> IronPythonConsole.PythonCommandLine:Main
> (System.String[] rawArgs)
> 
>   
> 
> [EMAIL PROTECTED] C:\Program Files (x86)\IronPython-0.9.1\Scripts
> 
> [21] # > mono 'C:\Program Files 
> `(x86`)\IronPython-0.9.1\bin\IronPythonConsole.exe'
> TestAll.py
> 
>   
> 
> ** (C:\Program Files
> (x86)\IronPython-0.9.1\bin\IronPythonConsole.exe:1904):
> WARNING **: bblock split failed in ModuleDef::Generate
> 
>   
> 
> =======================================================
> 
> Testing ParrotBench suite long
> 
> =======================================================
> 
> ParrotBench !!! SKIP !!!
> 
> =======================================================
> 
> =======================================================
> 
> Testing Pystone suite long
> 
> =======================================================
> 
> Pystone !!! SKIP !!!
> 
> =======================================================
> 
> =======================================================
> 
> Testing IronPython suite long
> 
> Running Arithmetics ...    PASS 
> 
> Running Assert ...    PASS 
> 
> Running Attrs ...
> 
> ** (C:\Program Files
> (x86)\IronPython-0.9.1\bin\IronPythonConsole.exe:1904):
> WARNING **: TypeRef ResolutionScope not yet handled (164)
> 
>   
> 
> ** (C:\Program Files
> (x86)\IronPython-0.9.1\bin\IronPythonConsole.exe:1904):
> WARNING **: The class Enumerator could not be loaded, used in 
> C:\Program Files (x86)\IronPython-0.9.1\bin\IronPython.dll (token 
> 0x010000ac)
> 
>   
> 
> ** (C:\Program Files
> (x86)\IronPython-0.9.1\bin\IronPythonConsole.exe:1904):
> WARNING **: The class System.StringSplitOptions could not be loaded, 
> used in C:\Program Files (x86)\IronPython-0.9.1\bin\IronPython.dll 
> (token
> 0x01000088) 
> 
>   
> 
> ** (C:\Program Files
> (x86)\IronPython-0.9.1\bin\IronPythonConsole.exe:1904):
> WARNING **: Missing method Split in assembly C:\Program Files 
> (x86)\IronPython-0.9.1\bin\IronPython.dll, type String
> 
>   
> 
> Unhandled Exception: System.NullReferenceException: Object reference 
> not set toan instance of an object
> 
> in <0x00000> <unknown method>
> 
> in <0x000c2> IronPythonConsole.PythonCommandLine:RunFile
> (IronPython.Hosting.PythonEngine engine, System.String filename)
> 
> in <0x00131> IronPythonConsole.PythonCommandLine:Main
> (System.String[] rawArgs)
> 
>   
> 
> [EMAIL PROTECTED] C:\Program Files (x86)\IronPython-0.9.1\Scripts
> 
> [22] # > fepy TestAll.py
> 
> =======================================================
> 
> Testing ParrotBench suite long
> 
> =======================================================
> 
> ParrotBench !!! SKIP !!!
> 
> =======================================================
> 
> =======================================================
> 
> Testing Pystone suite long
> 
> =======================================================
> 
> Pystone !!! SKIP !!!
> 
> =======================================================
> 
> =======================================================
> 
> Testing IronPython suite long
> 
> Running Arithmetics ...    PASS 
> 
> Running Assert ...    PASS 
> 
> Running Attrs ...    PASS 
> 
> Running BigInt ...    PASS 
> 
> Running BindingTest ...    PASS 
> 
> Running Builtin ...    PASS 
> 
> Running calls ...    PASS 
> 
> Running Classes ...    PASS 
> 
> Running conversions ...    PASS 
> 
> Running Dictionary ...    PASS 
> 
> Running doc ...    PASS 
> 
> Running DocTest ...    PASS 
> 
> Running Dynamic ...    PASS 
> 
> Running errors ...    PASS 
> 
> Running Exceptions ...    PASS 
> 
> Running execfile ...    PASS 
> 
> Running Formatting ...    PASS 
> 
> Running Functions ...    PASS 
> 
> Running Generators ...    PASS 
> 
> Running Hosting ...    PASS 
> 
> Running Import ...    PASS 
> 
> Running ImportAs ...    PASS 
> 
> Running Index ...    PASS 
> 
> Running IndiceTest ...    PASS 
> 
> Running Inheritance ...    PASS 
> 
> Running Integers ...    PASS 
> 
> Running InTest ...    PASS 
> 
> Running Iterator ...    PASS 
> 
> Running Lists ...    PASS 
> 
> Running Loader ...    PASS 
> 
> Running Math ...    PASS 
> 
> Running Methods ...    PASS 
> 
> Running Operators ...    PASS 
> 
> Running ParserTest ...    PASS 
> 
> Running properties ...    PASS 
> 
> Running RangeTest ...    PASS 
> 
> Running Slice ...    PASS 
> 
> Running SuperDelegates ...    PASS 
> 
> Running Thread ...    PASS 
> 
> Running toimport ...    PASS 
> 
> Running Types ...    PASS 
> 
> Running Imp ...    PASS 
> 
> ----------------------------------------
> 
>  Test summary:   !!! SUCCESS !!! 
> 
> ----------------------------------------
> 
>  Tests ran: 42
> 
>  Success:   42 
> 
>  Failure:   0 
> 
> ----------------------------------------
> 
> =======================================================
> 
> IronPython !!! PASS !!!
> 
> =======================================================
> 
> =======================================================
> 
> Testing Python Regression suite long
> 
> =======================================================
> 
> Python Regression !!! SKIP !!!
> 
> =======================================================
> 
> *******************************************************
> 
> ParrotBench  SKIP
> 
> Pystone  SKIP
> 
> IronPython  PASS
> 
> Python Regression  SKIP
> 
> *******************************************************
> 
> ALL TESTS PASS
> 
> *******************************************************
> _______________________________________________
> users-ironpython.com mailing list
> users-ironpython.com@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> 
> 
>

------------------------------

Message: 3
Date: Wed, 24 Aug 2005 09:30:51 -0700
From: "Keith J. Farmer" <[EMAIL PROTECTED]>
Subject: RE: [IronPython] TestAll.py & Mono 0.8.3
To: "Discussion of IronPython"
        <users-ironpython.com@lists.ironpython.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="US-ASCII"

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.



------------------------------

Message: 4
Date: Wed, 24 Aug 2005 09:43:47 -0700
From: Martin Maly <[EMAIL PROTECTED]>
Subject: RE: [IronPython] IronPython 0.9.1 released
To: "Discussion of IronPython"
        <users-ironpython.com@lists.ironpython.com>
Message-ID:
        
<[EMAIL PROTECTED]
t.com>
        
Content-Type: text/plain; charset="us-ascii"

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 found. Solution for now is to have
ironpython dlls in the same directory. We need to add the correct references
into the generated exes to get this working. It will be part of our 'static
compilation' project in the future.

x.txt is a by-product of the test-suite. I'll fix the suite to delete the
temporary files. Snippets ... yes, release build doesn't generate snippets.

Thanks
Martin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Keith J. Farmer
Sent: Tuesday, August 23, 2005 8:15 PM
To: Discussion of IronPython
Subject: RE: [IronPython] IronPython 0.9.1 released

I'm running on the x64 Framework.
Re ColorfulConsole:  the colors are dark, and difficult to view against
black.  Is there a way to set them?

Re Stand-alone .exe:  I see that .exe files are generated, but when I try to
execute them from explorer, it gives an error with the following information
sent to MS (for gui_winforms.py):
AppName: gui_winforms.exe      AppVer: 0.0.0.0     AppStamp:430be24e
ModName: kernel32.dll      ModVer: 5.2.3790.1830      ModStamp:42438b79
fDebug: 0       Offset: 000000000000dd30
Re TestAll.py:  It cannot find the IronPythonTest.dll when I run from the
command line.  If I run a second time, after compiling the solution, all
tests pass. If I try to run TestAll.exe, I get the same stand-alone .exe
error noted above. Also, I see an x.txt document containing "Hello"?
snippets.dll is back
-- do I need to build using Release to hide it again?
-----
Keith J. Farmer
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Martin Maly
Sent: Tuesday, 23 August 2005 16:13

* calling .Net methods with "ref" parameters is fixed
* del with parentheses is fixed: "del(x)"
* map called on array of strings now works
* static methods now display better __doc__ strings
* conversions from enums to integer types are implemented
* The EXEs we generate for simple winforms scripts now run standalone
* parrotrun.py is now included with the release to make running our full
test suite easier.
* Jim also changed the way we print exception traces and added the
"-X:ColorfulConsole" command line parameter

_______________________________________________
users-ironpython.com mailing list users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


------------------------------

_______________________________________________
users-ironpython.com mailing list users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


End of users-ironpython.com Digest, Vol 13, Issue 31
****************************************************


_______________________________________________
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to