<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 19, 2013 at 7:41 PM, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net" target="_blank">solipsis@pitrou.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sun, 19 May 2013 19:37:46 -0400<br>
Pierre Rouleau <<a href="mailto:prouleau001@gmail.com">prouleau001@gmail.com</a>> wrote:<br>
<br>
> On that topic of bitness for 64-bit platforms, would it not be better for<br>
> CPython to be written such that it uses the same 64-bit strategy on all<br>
> 64-bit platforms, regardless of the OS?<br>
><br>
> As it is now, Python running on 64-bit Windows behaves differently (in<br>
> terms of bits for the Python's integer) than it is behaving in other<br>
> platforms.  I assume that the Python C code is using the type 'long'<br>
> instead of something like the C99 int64_t.  Since Microsoft is using the<br>
> LLP64 model and everyone else is using the LP64, code using the C 'long'<br>
> type would mean something different on Windows than Unix-like platforms.<br>
>  Isn't that unfortunate?<br>
<br>
</div>Well, it's Microsoft's choice. But from a Python point of view, which C<br>
type a Python int maps to is of little relevance.<br></blockquote><div><br></div><div style>Fair</div><div style> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Moreover, the development version is 3.4, and in Python 3 the int<br>
type is a variable-length integer type (sys.maxint doesn't exist<br>
anymore). So this discussion is largely moot now.<br>
<br></blockquote><div><br></div><div style>Good to know.  Too bad there still are libraries not supporting Python 3.  Thanks.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Regards<br>
<span class="HOEnZb"><font color="#888888"><br>
Antoine.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-dev" target="_blank">http://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/prouleau001%40gmail.com" target="_blank">http://mail.python.org/mailman/options/python-dev/prouleau001%40gmail.com</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>/Pierre
</div></div>