<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Sep 8, 2016 at 9:39 AM, Random832 <span dir="ltr"><<a href="mailto:random832@fastmail.com" target="_blank">random832@fastmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You're talking about changing Py_ssize_t, right?<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"></div></div></blockquote><div><br></div><div>wouldn't that be the pointer size?</div><div><br></div><div>Is there a "long" in there anywhere in the integer implementation?</div><div><br></div><div>My example is this:</div><div><br></div><div>on OS-X, py3.5:</div><div class="gmail_quote"><br></div><font face="monospace, monospace">import numpy as np<br><br>In [9]: arr = np.array([1,2,3])<br><br>Out[10]: array([1, 2, 3])<br><br>In [11]: arr.dtype<br><br>Out[11]: dtype('int64')</font><div><br></div><div>I don't have py3 running on win64 anywhere right now, but in win64 py2, that would give you:</div><div><br></div><div><span style="font-family:monospace,monospace">dtype('int32')</span><br></div><div><br></div><div>as it's a "long" under the hood</div><div><br></div><div>(and I'm pretty sure that is not because of numpy code itself, but rather how Cpython is written/compiled)</div><div><br></div><div>Does py3 already use int64?</div><div><br></div><div>-CHB</div><div><br></div></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&R            (206) 526-6959   voice<br>7600 Sand Point Way NE   (206) 526-6329   fax<br>Seattle, WA  98115       (206) 526-6317   main reception<br><br><a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a></div>
</div></div>