<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/679" rel="nofollow">http://projects.scipy.org/numpy/ticket/679</a> on 2008-03-06 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chanley/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chanley">@chanley</a>, assigned to unknown.</em></p>
<p dir="auto">As of r4851 I have been receiving this error on a RHE4 64-bit system.  This same error also occurs in r4852.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="======================================================================
ERROR: check_MyPyLong_AsUnsignedLongLong (test_regression.TestRegression)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/data/thor1/chanley/dev/site-packages/lib/python/numpy/core/tests/test_regression.py&quot;, line 806, in check_MyPyLong_AsUnsignedLongLong
    assert_equal(np.uint64(-2), np.uint64(18446744073709551614))
OverflowError: long too big to convert

----------------------------------------------------------------------"><pre class="notranslate"><code class="notranslate">======================================================================
ERROR: check_MyPyLong_AsUnsignedLongLong (test_regression.TestRegression)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/thor1/chanley/dev/site-packages/lib/python/numpy/core/tests/test_regression.py", line 806, in check_MyPyLong_AsUnsignedLongLong
    assert_equal(np.uint64(-2), np.uint64(18446744073709551614))
OverflowError: long too big to convert

----------------------------------------------------------------------
</code></pre></div>
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/683" rel="nofollow">http://projects.scipy.org/numpy/ticket/683</a> on 2008-03-11 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jarrodmillman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jarrodmillman">@jarrodmillman</a>, assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/charris/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/charris">@charris</a>.</em></p>
<p dir="auto">The buildbot for Linux_x86_64_Ubuntu and FreeBSD_x86_64 has the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="======================================================================
ERROR: check_MyPyLong_AsUnsignedLongLong (test_regression.TestRegression)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/stefan/Buildbot/slave/numpy/b1/numpy-install/lib/python2.5/site-packages/numpy/core/tests/test_regression.py&quot;, line 806, in check_MyPyLong_AsUnsignedLongLong
    assert_equal(np.uint64(-2), np.uint64(18446744073709551614))
OverflowError: long too big to convert"><pre class="notranslate"><code class="notranslate">======================================================================
ERROR: check_MyPyLong_AsUnsignedLongLong (test_regression.TestRegression)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/stefan/Buildbot/slave/numpy/b1/numpy-install/lib/python2.5/site-packages/numpy/core/tests/test_regression.py", line 806, in check_MyPyLong_AsUnsignedLongLong
    assert_equal(np.uint64(-2), np.uint64(18446744073709551614))
OverflowError: long too big to convert
</code></pre></div>
<p dir="auto">I can verify this error on my 64bit Fedora 8 machine:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; numpy.uint64(-2)
18446744073709551614
&gt;&gt;&gt; numpy.uint64(18446744073709551614)
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
OverflowError: long too big to convert"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; numpy.uint64(-2)
18446744073709551614
&gt;&gt;&gt; numpy.uint64(18446744073709551614)
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
OverflowError: long too big to convert
</code></pre></div>