Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #71311
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit? |
| Date | 2014-05-11 05:36 -0400 |
| References | <CABMcBh879JgFSke5NGVbPPZBKoUYWXTg+daKoXaVX11kdo-oZQ@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.9881.1399801030.18130.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
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
csiph-web