Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.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.040 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; '16,': 0.03; 'bytes.': 0.09; 'dan': 0.09; 'subject:How': 0.10; '(when': 0.16; '24,': 0.16; 'bits.': 0.16; 'bracket': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'garbage': 0.16; 'sizeof': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'bit': 0.19; '>>>': 0.22; 'header :In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'once,': 0.31; 'subject:from': 0.34; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'received:google.com': 0.35; 'there': 0.35; "didn't": 0.36; 'two': 0.37; 'received:209': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'though,': 0.39; 'to:addr:python.org': 0.39; 'units': 0.60; 'today': 0.64; 'market': 0.66; 'reply': 0.66; '20,': 0.68; 'subject:get': 0.81; 'so...': 0.84; 'edwards': 0.91; 'sorry.': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=mXWIbwCd6VoLQKKdTDPvodcxgDm6FHvf75QvS3PpoCc=; b=QMvHf8aE27y/IzMMp4dtaT7/nmM2HYJ5N5r0cCa8oaraCFl0508bSjt6hkDO9mXgJZ 21V0l8NwgLsUY4YwgpzbQUCpjuntRFU1KC3tHJ14dgcV24ohJS4zZ2/9WYDFRDizJADP QgsIzS5tXXpPAttMdYZeSJyCSx6Ry2HxXezcsq0Rvpeiyb4DJvFJDusl7LOzy1sRKoJt 2INUen/VaCg1nZDvEori7bTPWaI7LrgRnHbkGOnDf76RVK4PcTeRnuwHWweeLton+aHw GvYkNQoqzEFnBSogFhWGhP49Qt2SOqGa5e6iDcQfrmQcEbsDxQ7GKOkyxMC+scmu04kQ EQiQ== MIME-Version: 1.0 X-Received: by 10.220.111.133 with SMTP id s5mr19528730vcp.63.1370382595478; Tue, 04 Jun 2013 14:49:55 -0700 (PDT) In-Reply-To: References: Date: Wed, 5 Jun 2013 07:49:55 +1000 Subject: Re: How to get an integer from a sequence of bytes From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370382598 news.xs4all.nl 15921 [2001:888:2000:d::a6]:60216 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46976 On Wed, Jun 5, 2013 at 5:51 AM, Joshua Landau wrote: > On 4 June 2013 14:39, Grant Edwards wrote: >> On 2013-06-03, Dan Stromberg wrote: >>> Today though, it would be difficult to sell a conventional (Von Neumann) >>> computer that didn't have 8 bit bytes. >> >> There are tons (as in millions of units per month) of CPUs still being >> sold in the DSP market with 16, 20, 24, and 32 bit "bytes". (When >> writing C on a TMS320Cxx CPU sizeof (char) == sizeof (int) == sizeof >> (long) == sizeof (float) == sizeof (double) == 1. They all contain 32 >> bits. > ) > > *) for the bracket not in the reply > > Sorry. So... can we cite http://xkcd.com/859/ in two threads at once, or does that create twice as much tension? Once an XKCD is un-cited, will it be garbage collected promptly, or do they contain refloops? ChrisA