Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!ecngs!feeder.ecngs.de!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'infinite': 0.07; 'subject:missing': 0.07; 'lawrence': 0.09; 'am,': 0.12; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'skip:a 120': 0.16; 'subject:Language': 0.16; 'wrote:': 0.18; '>>>': 0.18; 'suggest': 0.20; 'memory': 0.21; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'string': 0.24; 'obviously': 0.25; 'bit': 0.28; "i'm": 0.28; 'message-id:@gmail.com': 0.31; 'quite': 0.31; 'does': 0.32; 'that,': 0.32; 'header:User-Agent:1': 0.33; 'integer': 0.34; 'to:addr:python-list': 0.35; 'question': 0.36; 'received:org': 0.36; 'but': 0.37; 'represent': 0.37; 'received:192': 0.38; 'could': 0.38; 'should': 0.38; 'e.g.': 0.39; "i'd": 0.39; 'to:addr:python.org': 0.40; "you've": 0.61; 'matter': 0.62; 'subject:!': 0.66; 'easily.': 0.67; 'subject:types': 0.84 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Fri, 24 Feb 2012 16:16:47 -0700 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.16 MIME-Version: 1.0 To: python-list@python.org Subject: Re: PyWart: Language missing maximum constant of numeric types! References: <8c2096d9-3cc2-4b64-8f11-c1d958d94243@x19g2000yqh.googlegroups.com> <3bdf4796-3a45-43db-8575-d4ba819a8229@f4g2000yqh.googlegroups.com> <4F47B96C.80707@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1330125416 news.xs4all.nl 6896 [2001:888:2000:d::a6]:53346 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20840 On 02/24/2012 09:59 AM, Mark Lawrence wrote: > The C integer bit doesn't matter since e.g. > >>> > a=10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 > >>> a > 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000L > > And no, I'm not going to calculate how much memory I'd need to store a > string that's this long :) Sure but that doesn't answer the question posed. How does Rick plan to represent an infinite integer? Obviously you've shown that with an infinite amount of memory we could do it quite easily. But baring that, how does Rick suggest we should represent an infinite integer?