[Python-Dev] [RELEASED] Python 2.7.5 (original) (raw)
Pierre Rouleau prouleau001 at gmail.com
Mon May 20 01:47:20 CEST 2013
- Previous message: [Python-Dev] [RELEASED] Python 2.7.5
- Next message: [Python-Dev] [RELEASED] Python 2.7.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, May 19, 2013 at 7:41 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
On Sun, 19 May 2013 19:37:46 -0400 Pierre Rouleau <prouleau001 at gmail.com> wrote:
> On that topic of bitness for 64-bit platforms, would it not be better for > CPython to be written such that it uses the same 64-bit strategy on all > 64-bit platforms, regardless of the OS? > > As it is now, Python running on 64-bit Windows behaves differently (in > terms of bits for the Python's integer) than it is behaving in other > platforms. I assume that the Python C code is using the type 'long' > instead of something like the C99 int64t. Since Microsoft is using the > LLP64 model and everyone else is using the LP64, code using the C 'long' > type would mean something different on Windows than Unix-like platforms. > Isn't that unfortunate? Well, it's Microsoft's choice. But from a Python point of view, which C type a Python int maps to is of little relevance.
Fair
Moreover, the development version is 3.4, and in Python 3 the int type is a variable-length integer type (sys.maxint doesn't exist anymore). So this discussion is largely moot now. Good to know. Too bad there still are libraries not supporting Python 3. Thanks.
Regards
Antoine.
Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/prouleau001%40gmail.com
-- /Pierre -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20130519/f51d3263/attachment.html>
- Previous message: [Python-Dev] [RELEASED] Python 2.7.5
- Next message: [Python-Dev] [RELEASED] Python 2.7.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]