Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.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.076 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.06; '16,': 0.03; 'bytes.': 0.09; 'dan': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; '(when': 0.16; '24,': 0.16; 'bits.': 0.16; 'bracket': 0.16; 'sizeof': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'subject:from': 0.34; 'received:google.com': 0.35; 'there': 0.35; "didn't": 0.36; 'being': 0.38; 'though,': 0.39; 'units': 0.60; 'today': 0.64; 'market': 0.66; 'reply': 0.66; '20,': 0.68; 'subject:get': 0.81; 'edwards': 0.91; 'sorry.': 0.91; 'to:none': 0.92; '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:from:date:message-id:subject:cc :content-type; bh=chRPw3b5R5qQ/mwQsdvCItDkxnnSY9rdORgD/kv5gN0=; b=H1I+BUOqaLcEvv5cc4xvAhOAOna09gGCmBh9T8Fi1mvH+o7tKlqFdOzaTjUMxq/L3V niLBZgxrH/6NPs5zAYcjX6lVnu+ndTE5dDLHdEZDKEuYn6oxG6S8bz/mDFy7Azie0Nq0 aaElXLbswd6Kd2UtbHtlSTONNPiM3uqtM3AIHOUQBuYq2zSDhs7HmnEhjVr9A3bZeIDB yRcrUuwBFIJj0MtJ6M6Zz0RTwNCRun2lYdDr+gNH3plPS1X5p26svVgR4gmgXqdJ7cnN VsmF1vnZjAF+wumK5DpX2JaJI4a+FEXhn6llHK0ffV3M/vwXphVI5d5R7jK/ee2MsEHV 9Ebw== X-Received: by 10.152.18.194 with SMTP id y2mr13843781lad.30.1370375536810; Tue, 04 Jun 2013 12:52:16 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Joshua Landau Date: Tue, 4 Jun 2013 20:51:35 +0100 Subject: Re: How to get an integer from a sequence of bytes Cc: python-list Content-Type: text/plain; charset=UTF-8 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370375539 news.xs4all.nl 15975 [2001:888:2000:d::a6]:40183 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46962 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.