Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'one?': 0.05; '22,': 0.09; 'overflow': 0.09; 'received:internal': 0.09; 'python': 0.11; 'jan': 0.12; 'assortment': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'precision.': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'throw': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'machine': 0.22; 'integer': 0.24; 'header:In- Reply-To:1': 0.27; 'chris': 0.29; 'exceptions': 0.31; 'received:66': 0.35; 'usual': 0.35; 'library.': 0.36; 'subject:?': 0.36; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'from:no real name:2**0': 0.61; 'header:Message-Id:1': 0.63; 'default': 0.69; '2014,': 0.84 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:subject:date:in-reply-to:references; s=mesmtp; bh= hLCJ/npq1ZpSO9veIT1dBewvzo0=; b=qex8RNrPWmZBv3zu78losKyVTsjB58OU fPve3/hYfrkeLgf44wBQ1TtSnYWMXd9+NNqSoGHWX89EUZAs4lZhUfFBZ8E6ySD6 pSyfIFitrzqII1rPP/d3Sz/IlKJdeDrzo73piaVq5T54UT5shZFKis77hrbY0iEq Bha7jb4TeLQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date:in-reply-to :references; s=smtpout; bh=hLCJ/npq1ZpSO9veIT1dBewvzo0=; b=CoCIj 5kwb0c17A/Qjab1sH7wUFGmKh396J7ryJgbW7Ax+fUCaShKEgXpgrFXpfxW5L4Tt FlK/pD3KWLHGCk14OaEl59q66AZXT3mL9DuNjckOC3fhv9GQEvDQu0BUqhC1EH9r Xqi8umd9hXNSKfGbZ9m8BCut0A0Y49rkd4UYgg= X-Sasl-Enc: Oz5dQpa4o9fLKsH2t5xxc2NFEhRjPlUBHnREmxIyICEL 1390432411 From: random832@fastmail.us To: python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-aec78a11 Subject: Re: No overflow in variables? Date: Wed, 22 Jan 2014 18:13:31 -0500 In-Reply-To: References: 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: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390432414 news.xs4all.nl 2945 [2001:888:2000:d::a6]:32798 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64542 On Wed, Jan 22, 2014, at 13:26, Chris Angelico wrote: > The Python integer type stores arbitrary precision. It's not a machine > word, like the C# integer types (plural, or does it have only one? C# has the usual assortment of fixed-width integer types - though by default they throw exceptions on overflow instead of wrapping around - and a BigInteger type in the library.