<div>It appears to be because int is a very large long.  This is probably the core issue:</div><div><br></div><div>In IronPython:</div><div><br></div><div><div>&gt;&gt;&gt; a=143098242404177361603877621312831893704 </div><div>
Traceback (most recent call last):</div><div>OverflowError: Number overflow.</div><div>&gt;&gt;&gt; a=143098242404177361603877621312831893704L</div><div>&gt;&gt;&gt; a</div><div>143098242404177361603877621312831893704L</div>
</div><div><br></div><div>In Python:</div><div><br></div><div><div>&gt;&gt;&gt; a=143098242404177361603877621312831893704</div><div>&gt;&gt;&gt; a</div><div>143098242404177361603877621312831893704L</div><div>&gt;&gt;&gt; a=143098242404177361603877621312831893704L</div>
<div>&gt;&gt;&gt; a</div><div>143098242404177361603877621312831893704L</div><div>&gt;&gt;&gt; </div><div><br></div></div>Tristan<div><br><div class="gmail_quote">On Tue, Feb 22, 2011 at 1:39 PM, Tristan Zajonc <span dir="ltr">&lt;<a href="mailto:tristanz@gmail.com">tristanz@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px"><div>&gt;&gt;&gt; 1&lt;&lt;128</div>
<div>340282366920938463463374607431768211456L</div>
<div><br></div><div>Thomas: Hadn&#39;t tried that and it works.  (At some point it might be nice to try to get it working with MonoDevelop GUI.  When I load it it&#39;s targeting .NET 2.0 and has a bunch of issues.)</div>

<br><font color="#888888">Tristan</font></span><br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Tue, Feb 22, 2011 at 12:34 PM, Jeff Hardy <span dir="ltr">&lt;<a href="mailto:jdhardy@gmail.com" target="_blank">jdhardy@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Tue, Feb 22, 2011 at 12:42 AM, Tristan Zajonc &lt;<a href="mailto:tristanz@gmail.com" target="_blank">tristanz@gmail.com</a>&gt; wrote:<br>


&gt; IronPython 2.7 RC 1 (2.7.0.30) on .NET 4.0.30319.1<br>
&gt; Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>
&gt;&gt;&gt;&gt; import uuid<br>
&gt; Number overflow.<br>
&gt; at System.Numerics.BigInteger.op_Explicit (System.Numerics.BigInteger)<br>
&gt; &lt;0x000aa&gt;<br>
&gt; at Microsoft.Scripting.Utils.MathUtils.AsInt32<br>
&gt; (System.Numerics.BigInteger,int&amp;) &lt;0x00067&gt;<br>
&gt; at IronPython.Runtime.Operations.BigIntegerOps.Compare<br>
&gt; (System.Numerics.BigInteger,int) &lt;0x00028&gt;<br>
&gt; at (wrapper dynamic-method) object.CallSite.Target<br>
&gt; (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object)<br>
&gt; &lt;0x0011d&gt;<br>
&gt; at System.Dynamic.UpdateDelegates.UpdateAndExecute2&lt;object, object, object&gt;<br>
&gt; (System.Runtime.CompilerServices.CallSite,object,object) &lt;0x00382&gt;<br>
&gt; at Microsoft.Scripting.Interpreter.DynamicInstruction`3&lt;object, object,<br>
&gt; object&gt;.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) &lt;0x000bc&gt;<br>
&gt; at Microsoft.Scripting.Interpreter.Interpreter.Run<br>
&gt; (Microsoft.Scripting.Interpreter.InterpretedFrame) &lt;0x00077&gt;<br>
&gt; OverflowError: Number overflow.<br>
<br>
</div>This *looks* like an issue in Mono, especially since it works on .NET.<br>
<br>
Can you try computing &#39;1&lt;&lt;128&#39; on Mono? That seems to be the failing expression.<br>
<font color="#888888"><br>
- Jeff<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br></div>