[IronPython] How do you detect operating systems from within IronPython?

2011-02-21 Thread Vernon Cole
I received a reminder today on a module I modified: v v v dsblank http://www.codeplex.com/site/users/view/dsblank wrote Today at 8:01 AM Remember that IronPython runs on many different operating systems. It isn't clear from the patch if this works on Mac and Linux under Mono. ^ ^ ^ Which brings

Re: [IronPython] How do you detect operating systems from within IronPython?

2011-02-21 Thread Jeff Hardy
On Mon, Feb 21, 2011 at 11:05 AM, Vernon Cole vernondc...@gmail.com wrote: How should I really be doing it? os.name usually has the actual underlying OS, but depending on what you need to do it may be better to have a block that is just for 'cli' that calls into a .NET API, and let .NET/Mono

Re: [IronPython] Arright dangit! Where is the OFFICIAL IronPython source code?

2011-02-21 Thread Brian Curtin
On Sun, Feb 20, 2011 at 23:39, Vernon Cole vernondc...@gmail.com wrote: Thanks! That worked great. Now here's my first direct contribution. see http://ironpython.codeplex.com/workitem/30218 for a version of webbrowser.py which actually works on cli. (and therefore import antigravity also

Re: [IronPython] How do you detect operating systems from within IronPython?

2011-02-21 Thread Vernon Cole
This is probably almost a confession on this group, but I don't USE the .NET API very often. My reason for mucking with IronPython is left handed. I have this great module which works on CPython 2.n and CPyton 3.n and I want it to work on IronPython, too. I feel that the .NET API is almost as

Re: [IronPython] Arright dangit! Where is the OFFICIAL IronPython source code?

2011-02-21 Thread Jeff Hardy
On Mon, Feb 21, 2011 at 11:58 AM, Brian Curtin brian.cur...@gmail.com wrote: I think this would be better suited in the standard library at svn.python.org, rather than just within IronPython. Thoughts on that? I haven't followed long enough to know how standard library changes are usually

Re: [IronPython] Arright dangit! Where is the OFFICIAL IronPython source code?

2011-02-21 Thread Vernon Cole
I agree with all of you. I was trying to get something that works in the default case (no switches, IronPython on Windows). I am not really equipped to test the other options. I'ld like to, but I'm not going to run out and buy a Mac just to test on. (If only I could.) If it only works in the

Re: [IronPython] Arright dangit! Where is the OFFICIAL IronPython source code?

2011-02-21 Thread Steve Dower
Ubuntu doesn't have the latest version of Mono, which is required for the .NET 4.0 equivalent compiler (dmcs). You would have to build Mono from sources to get it. Alternatively, most other distributions seem to use the latest version (in particular, OpenSUSE and RHEL are actively supported by

[IronPython] IronPython 2.7 Release Candidate 1 is now available

2011-02-21 Thread Jeff Hardy
On behalf of the entire IronPython team: We are pleased to announce the first Release Candidate for IronPython 2.7[1]. This release contains over two dozen bugs fixed in preparation for 2.7 Final. See the release notes for 2.7 Beta 2[2] for details and what has already been fixed in the earlier

Re: [IronPython] Arright dangit! Where is the OFFICIAL IronPython source code?

2011-02-21 Thread Vernon Cole
Or we can find the bloke who is not keeping Ubuntu Mono and Iron Python releases up to date and kick his errr... ummm (mumble)... It is pretty weird that the distro which always has the latest of everything is the one with the old IPy/Mono, where the one which is NEVER up to date

[IronPython] Road to IronPython 2.7 (update)

2011-02-21 Thread Jeff Hardy
Hi all, The following issues are blockers for IronPython 2.7: * #29841 - sysconfig traceback when starting 2.7B1 - http://ironpython.codeplex.com/workitem/29841 I don't know enough about Mono/MacOS/POSIX to fix this one properly. I haven't yet chercked what the Mono guys did to get it working on

Re: [IronPython] Road to IronPython 2.7 (update)

2011-02-21 Thread Steve Dower
The tools problem seems to be to do with the installer. IPyTools (PythonRuntimeHost.cs:89-100) tries to load the installed path from HKLM\SOFTWARE\IronPython\2.7\(default). On my machine (Win7 x64, IPy 2.7 RC1 installed without IPyTools, which were built from source) this is actually in

Re: [IronPython] Road to IronPython 2.7 (update)

2011-02-21 Thread Jimmy Schementi
I can do a quick test pass of the silverlight support. ~Jimmy On Mon, Feb 21, 2011 at 7:01 PM, Steve Dower s.j.do...@gmail.com wrote: The tools problem seems to be to do with the installer. IPyTools (PythonRuntimeHost.cs:89-100) tries to load the installed path from

Re: [IronPython] Road to IronPython 2.7 (update)

2011-02-21 Thread Dino Viehland
Can you run w/ -X:ExceptionDetail? My guess is there's something different about Mono's big integer implementation when you do bigInt.ToString(X). We used to convert the string to hex ourselves but that was slower than .NETs ToString implementation so I switched to using ToString instead (and

Re: [IronPython] Road to IronPython 2.7 (update)

2011-02-21 Thread Tomas Matousek
IronPython.Mono.sln should build fine on Mono 2.10 RC2. Tomas From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Tristan Zajonc Sent: Monday, February 21, 2011 6:11 PM To: Discussion of IronPython Subject: Re: [IronPython] Road to IronPython 2.7

Re: [IronPython] Road to IronPython 2.7 (update)

2011-02-21 Thread Tristan Zajonc
IronPython 2.7 RC 1 (2.7.0.30) on .NET 4.0.30319.1 Type help, copyright, credits or license for more information. import uuid Number overflow. at System.Numerics.BigInteger.op_Explicit (System.Numerics.BigInteger) 0x000aa at Microsoft.Scripting.Utils.MathUtils.AsInt32