Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46962

Re: How to get an integer from a sequence of bytes

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 <joshua.landau.ws@gmail.com>
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 <kokqma$574$1@reader1.panix.com>
References <knvrhf$n5n$1@news.albasani.net> <mailman.2253.1369668622.3114.python-list@python.org> <ko85jp$vn3$1@news.albasani.net> <mailman.2447.1369941788.3114.python-list@python.org> <kog67o$pt2$1@news.albasani.net> <mailman.2571.1370224134.3114.python-list@python.org> <koi9ch$3ps$1@reader1.panix.com> <mailman.2611.1370299311.3114.python-list@python.org> <kokqma$574$1@reader1.panix.com>
From Joshua Landau <joshua.landau.ws@gmail.com>
Date Tue, 4 Jun 2013 20:51:35 +0100
Subject Re: How to get an integer from a sequence of bytes
Cc python-list <python-list@python.org>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2678.1370375539.3114.python-list@python.org> (permalink)
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

Show key headers only | View raw


On 4 June 2013 14:39, Grant Edwards <invalid@invalid.invalid> wrote:
> On 2013-06-03, Dan Stromberg <drsalists@gmail.com> 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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to get an integer from a sequence of bytes Mok-Kong Shen <mok-kong.shen@t-online.de> - 2013-05-27 16:45 +0200
  Re: How to get an integer from a sequence of bytes Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-27 15:00 +0000
    RE: How to get an integer from a sequence of bytes Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 03:37 +0300
  Re: How to get an integer from a sequence of bytes Ned Batchelder <ned@nedbatchelder.com> - 2013-05-27 11:30 -0400
    Re: How to get an integer from a sequence of bytes Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-28 00:31 +0000
      Re: How to get an integer from a sequence of bytes Dave Angel <davea@davea.name> - 2013-05-27 20:41 -0400
    Re: How to get an integer from a sequence of bytes Mok-Kong Shen <mok-kong.shen@t-online.de> - 2013-05-30 20:26 +0200
      Re: How to get an integer from a sequence of bytes Ian Kelly <ian.g.kelly@gmail.com> - 2013-05-30 12:42 -0600
        Re: How to get an integer from a sequence of bytes jmfauth <wxjmfauth@gmail.com> - 2013-05-30 11:53 -0700
      Re: How to get an integer from a sequence of bytes Ned Batchelder <ned@nedbatchelder.com> - 2013-05-30 15:22 -0400
        Re: How to get an integer from a sequence of bytes Mok-Kong Shen <mok-kong.shen@t-online.de> - 2013-06-02 21:25 +0200
          Re: How to get an integer from a sequence of bytes Chris Angelico <rosuav@gmail.com> - 2013-06-03 05:54 +1000
          Re: How to get an integer from a sequence of bytes Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-02 21:48 -0400
            Re: How to get an integer from a sequence of bytes Grant Edwards <invalid@invalid.invalid> - 2013-06-03 14:31 +0000
              Re: How to get an integer from a sequence of bytes Dave Angel <d@davea.name> - 2013-06-03 18:07 -0400
                Re: How to get an integer from a sequence of bytes Grant Edwards <invalid@invalid.invalid> - 2013-06-03 22:34 +0000
              Re: How to get an integer from a sequence of bytes Dan Stromberg <drsalists@gmail.com> - 2013-06-03 15:41 -0700
                Re: How to get an integer from a sequence of bytes Grant Edwards <invalid@invalid.invalid> - 2013-06-04 13:39 +0000
                Re: How to get an integer from a sequence of bytes Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-04 20:51 +0100
                Re: How to get an integer from a sequence of bytes Chris Angelico <rosuav@gmail.com> - 2013-06-05 07:49 +1000
                Re: How to get an integer from a sequence of bytes Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-04 20:34 -0400
                Re: How to get an integer from a sequence of bytes Tim Roberts <timr@probo.com> - 2013-06-04 22:11 -0700
                Re: How to get an integer from a sequence of bytes Fábio Santos <fabiosantosart@gmail.com> - 2013-06-12 15:00 +0100
                Re: How to get an integer from a sequence of bytes Grant Edwards <invalid@invalid.invalid> - 2013-06-12 14:42 +0000
              RE: How to get an integer from a sequence of bytes Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-04 02:18 +0300
                Re: How to get an integer from a sequence of bytes Grant Edwards <invalid@invalid.invalid> - 2013-06-04 13:42 +0000
                RE: How to get an integer from a sequence of bytes Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-04 16:58 +0300
              Re: How to get an integer from a sequence of bytes Dan Stromberg <drsalists@gmail.com> - 2013-06-03 16:47 -0700
  Re: How to get an integer from a sequence of bytes Grant Edwards <invalid@invalid.invalid> - 2013-05-28 16:04 +0000

csiph-web