[IronPython] Environment.Platform? and a bug

Martin Maly martmaly at exchange.microsoft.com
Fri Aug 26 20:11:43 CEST 2005


Keith,

As for the System.Environment.Platform ... I asked around and got
response that the feature won't be added for the Visual Studio 2005
release. The APIs are already locked down at this point.

The bug ... I assume it is in the "-X:TabCompletion" console, correct? I
am going to look into it.

... and, I am also going to improve the Math precision for the obvious
cases, thanks for reporting that!

Martin

-----Original Message-----
From: users-ironpython.com-bounces at lists.ironpython.com
[mailto:users-ironpython.com-bounces at lists.ironpython.com] On Behalf Of
Keith J. Farmer
Sent: Thursday, August 25, 2005 1:43 AM
To: users-ironpython.com at lists.ironpython.com
Subject: [IronPython] Environment.Platform? and a bug

Just found suggestion FDBK28390:
http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedback
id=befed442-718d-45db-bb52-47b8f21357f1
I'd be interested in something like:
Environment.Platform = ".NET", "Mono", etc
I imagine I could try sniffing aspects of the System assembly (such as
its public key), but that's always playing catch-up with each build when
it could simply be exposed by the current runtime. 
Miguel: If there isn't, think Mono/Novell would be able to convince MS
of its value? There are going to be differences between the
distributions, and it'd be worthwhile being able to easily detect which
we're running under, to load compatibility layers, for instance.

BUG:
If you wrap the cursor off the edge of the line and onto the next,
expect the following:
   at System.Console.SetCursorPosition(Int32 left, Int32 top)
System.ArgumentOutOfRangeException: The value must be greater than or
equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was 300.
-----
Keith J. Farmer // kfarmer at thuban.org

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



More information about the Ironpython-users mailing list