Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #71311 > unrolled thread

Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit?

Started byTerry Reedy <tjreedy@udel.edu>
First post2014-05-11 05:36 -0400
Last post2014-05-11 05:36 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit? Terry Reedy <tjreedy@udel.edu> - 2014-05-11 05:36 -0400

#71311 — Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit?

FromTerry Reedy <tjreedy@udel.edu>
Date2014-05-11 05:36 -0400
SubjectRe: What is the difference between 32 and 64 bit Python on Windows 7 64 bit?
Message-ID<mailman.9881.1399801030.18130.python-list@python.org>
On 5/11/2014 2:56 AM, Ross Gayler wrote:
> Hi,
>
> I want to install Python on a PC with 16GB of RAM and the 64 bit version
> of Windows 7.
> I want Python to be able to use as much as possible of the RAM.
>
> When I install the 64 bit version of Python I find that sys.maxint ==
> 2**31  - 1

Since sys.maxint is gone in 3.x, you must be using some version of 2.x. 
Do yourself a favor and install 3.4 unless you absolutely need 2.x.

With 3.4:
 >>> a = [None]*1000000000
 >>> sys.getsizeof(a)
8000000064
That is 1000000000 8-byte pointers, as I expected.

-- 
Terry Jan Reedy

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web