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


Groups > comp.lang.python > #71408

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!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.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'subject:Windows': 0.02; 'subject:Python': 0.06; 'bits': 0.09; 'bytes,': 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; 'windows': 0.15; 'integer.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject: \n ': 0.16; 'subject:between': 0.16; 'subject:bit': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'dependent': 0.19; '(in': 0.22; 'header:User- Agent:1': 0.23; '2.x': 0.24; 'integer': 0.24; 'pointer': 0.24; 'versions': 0.24; "haven't": 0.24; 'switch': 0.26; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'needed.': 0.30; '3.x': 0.31; 'received:138': 0.31; 'subject:the': 0.34; 'knows': 0.35; 'but': 0.35; 'subject:?': 0.36; 'detail': 0.37; 'searching': 0.37; 'virtual': 0.37; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'space': 0.40; 'even': 0.60; 'address': 0.63; 'hours': 0.66; 'between': 0.67; 'anything.': 0.68
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Sturla Molden <sturla.molden@gmail.com>
Subject Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit?
Date Tue, 13 May 2014 02:05:45 +0200
References <CABMcBh879JgFSke5NGVbPPZBKoUYWXTg+daKoXaVX11kdo-oZQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 138.124.94.181
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; 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.9926.1399939559.18130.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1399939559 news.xs4all.nl 2831 [2001:888:2000:d::a6]:50036
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:71408

Show key headers only | View raw


On 11/05/14 08:56, Ross Gayler wrote:

> Is that true?I have spent a couple of hours searching for a definitive
> description of the difference between the 32 and 64 bit versions of
> Python for Windows and haven't found anything.

Why do you care if a Python int object uses 32 or 64 bits internally? 
Python 2.x will automatically switch to long when needed. The size of 
the Python integer is an internal implementation detail you will not 
notice. Python knows when to use a long instead of an int. Python 3.x 
does not even have a fixed-size integer.

64 bit Python is 64 bit Python, even on Windows. The difference between 
32 bit and 64 bit Python is what you would expect: The size of a C 
pointer is 64 bits, and the virtual address space is much larger (in 
general not 2**63-1 bytes, but some OS dependent value).

Sturla


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? Sturla Molden <sturla.molden@gmail.com> - 2014-05-13 02:05 +0200

csiph-web