<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1961" rel="nofollow">http://projects.scipy.org/numpy/ticket/1961</a> on 2011-10-13 by trac user staticfloat, assigned to unknown.</em></p>
<p dir="auto">If I type numpy.log(2**63), I get the expected answer of 42.975.</p>
<p dir="auto">If I type numpy.log(2**64), I get:</p>
<p dir="auto">AttributeError                            Traceback (most recent call last)<br>
/Users/sabae/ in ()<br>
----&gt; 1 np.log(2**63)</p>
<p dir="auto">AttributeError: log</p>
<p dir="auto">My numpy.version.version says "1.6.1", but that is not an option in the dropdown box, so I've set it to "devel"</p>
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1013" rel="nofollow">http://projects.scipy.org/numpy/ticket/1013</a> on 2009-02-20 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wesm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wesm">@wesm</a>, assigned to unknown.</em></p>
<p dir="auto">This error is very unintuitive for end-users, arrays formed from SQL query results can frequently end up as object arrays by accident.</p>
<p dir="auto">In [15]: arr = np.random.randn(100).astype(object)</p>
<h2 dir="auto">In [16]: np.log(arr)</h2>
<p dir="auto">AttributeError                            Traceback (most recent call last)</p>
<p dir="auto">H:\workspace\Python\src in ()</p>
<p dir="auto">AttributeError: log</p>
<p dir="auto">Same AttributeError is raised for other ufuncs</p>