Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'detect': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'assume': 0.14; 'both,': 0.16; 'ops': 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; 'header:User-Agent:1': 0.23; '2.x': 0.24; 'integer': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'received:138': 0.31; 'maybe': 0.34; 'subject:the': 0.34; 'but': 0.35; 'there': 0.35; 'doing': 0.36; 'subject:?': 0.36; 'sometimes': 0.38; 'to:addr:python-list': 0.38; 'use.': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'promotion': 0.63; 'biggest': 0.67; 'confirm.': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Sturla Molden Subject: Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit? Date: Tue, 13 May 2014 02:18:49 +0200 References: 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: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399940347 news.xs4all.nl 2922 [2001:888:2000:d::a6]:33948 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71411 On 13/05/14 02:09, Chris Angelico wrote: > Sometimes you just want to confirm. :) Or maybe you want your program > to be able to detect which it's on. There are ways of doing both, but > sys.maxint isn't one of them, as it's specific to the int->long > promotion of Py2. The OPs main mistake, I guess, was to assume that sys.maxint is the biggest integer value Python 2.x can use. Sturla