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


Groups > comp.lang.python > #71311

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'subject:Python': 0.06; 'expected.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'jan': 0.12; 'windows': 0.15; 'pointers,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject: \n ': 0.16; 'subject:between': 0.16; 'subject:bit': 0.16; 'wrote:': 0.18; 'bit': 0.19; '>>>': 0.22; 'install': 0.23; 'header:User- Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'subject:the': 0.34; 'version': 0.36; 'ram': 0.36; 'possible': 0.36; 'subject:?': 0.36; 'hi,': 0.36; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'gone': 0.61; 'received:173': 0.61; 'yourself': 0.78; '3.4': 0.84; 'received:fios.verizon.net': 0.84; 'absolutely': 0.87
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit?
Date Sun, 11 May 2014 05:36:49 -0400
References <CABMcBh879JgFSke5NGVbPPZBKoUYWXTg+daKoXaVX11kdo-oZQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-254-207.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
In-Reply-To <CABMcBh879JgFSke5NGVbPPZBKoUYWXTg+daKoXaVX11kdo-oZQ@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9881.1399801030.18130.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1399801030 news.xs4all.nl 2859 [2001:888:2000:d::a6]:55101
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:71311

Show key headers only | View raw


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


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