[IronPython] Environment.Platform? and a bug
Keith J. Farmer
kfarmer at thuban.org
Thu Aug 25 01:43:14 PDT 2005
Just found suggestion FDBK28390:
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.
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
More information about the users-ironpython.com