On Tue, Feb 22, 2011 at 12:42 AM, Tristan Zajonc <trist...@gmail.com> wrote: > 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 > (System.Numerics.BigInteger,int&) <0x00067> > at IronPython.Runtime.Operations.BigIntegerOps.Compare > (System.Numerics.BigInteger,int) <0x00028> > at (wrapper dynamic-method) object.CallSite.Target > (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) > <0x0011d> > at System.Dynamic.UpdateDelegates.UpdateAndExecute2<object, object, object> > (System.Runtime.CompilerServices.CallSite,object,object) <0x00382> > at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, object, > object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000bc> > at Microsoft.Scripting.Interpreter.Interpreter.Run > (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00077> > OverflowError: Number overflow.
This *looks* like an issue in Mono, especially since it works on .NET. Can you try computing '1<<128' on Mono? That seems to be the failing expression. - Jeff _______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com