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


Groups > comp.lang.python > #5599

Re: Python 3.x and bytes

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.04; 'suppose': 0.05; 'type,': 0.07; 'bytearray': 0.09; 'kelly': 0.09; 'mutable': 0.09; 'url:dev': 0.09; 'url:peps': 0.09; 'pm,': 0.11; 'wrote:': 0.14; 'constructor.': 0.16; 'tue,': 0.20; 'header:In- Reply-To:1': 0.22; 'parameters': 0.26; 'received:209.85.161.46': 0.26; 'received:mail-fx0-f46.google.com': 0.26; 'message- id:@mail.gmail.com': 0.28; 'received:209.85.161': 0.29; '17,': 0.31; 'to:addr:python-list': 0.32; 'received:209.85': 0.37; 'url:python': 0.37; 'received:google.com': 0.38; 'url:org': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'takes': 0.40; "it's": 0.40; 'header:Received:5': 0.40; '2011': 0.62
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=d6sO7WzWq1eXWPFrbUVhhv5HUElhnvqkMqY78Yl68W0=; b=ar6z8jbOWYFtparbxlNSFbMIen6KefWpxk5QDW3jdC2T9at7LS6BLAZmP+/LaehksS Nv/H9IO7/q/GmIOAKWttRPBgP4zZGQJT2u3sg6uS2y/oGDoHNtRqwjzAKbcJ6eKCoVac lGjGNQFdXUFhVQ+UVXKMgvBRK39QMu99SB7wI=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=Rao3UATdsMignE20bxj5rz66Q6mucWrZ92GsCx0wLdUmkVicrGEk1Z8VknjEBSXg15 xxDp85CAV5m1Nd9kyMZ6C+ckyInFxui+7IeiHgrELZZLGsO8z2yoP+qtCtB6XI0BJoqT NGeCBXEarkUIc9E1vyTtf1SBXT7sXwSJ3FVK8=
MIME-Version 1.0
In-Reply-To <BANLkTikKW7v-7-9ScyJvLbbt2jGfayoYPw@mail.gmail.com>
References <4DD2C2A5.3080403@stoneleaf.us> <BANLkTikKW7v-7-9ScyJvLbbt2jGfayoYPw@mail.gmail.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Tue, 17 May 2011 13:25:35 -0600
Subject Re: Python 3.x and bytes
To Python <python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.1699.1305660366.9059.python-list@python.org> (permalink)
Lines 5
NNTP-Posting-Host 82.94.164.166
X-Trace 1305660367 news.xs4all.nl 49038 [::ffff:82.94.164.166]:57716
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:5599

Show key headers only | View raw


On Tue, May 17, 2011 at 1:20 PM, Ian Kelly <ian.g.kelly@gmail.com> wrote:
> I suppose it's for interoperability with the mutable bytearray type,
> which takes the same parameters in the constructor.

http://www.python.org/dev/peps/pep-3137/#constructors

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


Thread

Re: Python 3.x and bytes Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-17 13:25 -0600

csiph-web