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


Groups > comp.lang.python > #109921

Re: base64.b64encode(data)

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Random832 <random832@fastmail.com>
Newsgroups comp.lang.python
Subject Re: base64.b64encode(data)
Date Mon, 13 Jun 2016 21:19:32 -0400
Lines 7
Message-ID <mailman.52.1465867174.2288.python-list@python.org> (permalink)
References <ccd85c61-263c-4ebd-b47f-b35fafa3f521@googlegroups.com> <575e18f1$0$1588$c3e8da3$5496439d@news.astraweb.com> <1465788057.2854167.635655857.445F242C@webmail.messagingengine.com> <mailman.26.1465788060.2288.python-list@python.org> <575e4198$0$1588$c3e8da3$5496439d@news.astraweb.com> <bb6da4a8-165b-6fc7-700e-4c1855bc36fd@gmail.com> <CAPTjJmrCfoKQ7zAVQY9dh=es8q8CJnn8euDpTxF+GYAszfKUWQ@mail.gmail.com> <mailman.42.1465837657.2288.python-list@python.org> <ds8sulF9u79U1@mid.individual.net> <1465867172.423010.636762145.61A99EF2@webmail.messagingengine.com>
Mime-Version 1.0
Content-Type text/plain
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de DE+095+JiMa7OmrMCLjuDg/PANQMmBByNqyYtijf307w==
Return-Path <random832@fastmail.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:skip:b 10': 0.07; 'utf-8': 0.07; 'cached': 0.09; 'received:internal': 0.09; 'storage.': 0.09; 'underlying': 0.09; 'gregory': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:10.202.2.212': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'bytes': 0.18; 'versions': 0.20; 'bit': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; '13,': 0.29; 'str': 0.29; "we're": 0.30; 'maybe': 0.33; 'could': 0.35; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'received:66': 0.38; 'why': 0.39; 'to:addr:python.org': 0.40; 'still': 0.40; 'some': 0.40; 'share': 0.61; 'header:Message-Id:1': 0.61
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=rIfsFJYTWxrs+T/4wPErOciKWn0=; b=cHmyiK RNI64ykSqWQ10p58cRjrDvDJaoQfZW4D4bDsd02cnXSXkiPvpHkb1gRJjuUr1vqr lY98zYIbiuIHGOm8i6AHmhvSYcmsDIVDE7yVruRnWQgvszlpMB8gMVaHDoXCfaXt xMU4OryYU9mwVwEXj1dxVAR75SWkq0bu6+5XA=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=rIfsFJYTWxrs+T/ 4wPErOciKWn0=; b=u8iEK1o3xYMVsmESBdj0JnNtCTvUGHCYLF7xcV/oXNj8Rhn uGgPjsM9BSI45XEOgKWoed1UJY2EA20C4DjFNSuPEOS2qkaylh0eZ4KqLzcom3rz lBOH4xP1+oZPaC9PRsY89L8YCS/H0yYYlluUVSFjxdB+X/yGNBofG6AVtcQc=
X-Sasl-Enc pLcqhUyYuD1yuZoBnXxL+AO6cWTdFGRRWbBT5F20GRs5 1465867172
X-Mailer MessagingEngine.com Webmail Interface - ajax-aff28cd1
In-Reply-To <ds8sulF9u79U1@mid.individual.net>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <1465867172.423010.636762145.61A99EF2@webmail.messagingengine.com>
X-Mailman-Original-References <ccd85c61-263c-4ebd-b47f-b35fafa3f521@googlegroups.com> <575e18f1$0$1588$c3e8da3$5496439d@news.astraweb.com> <1465788057.2854167.635655857.445F242C@webmail.messagingengine.com> <mailman.26.1465788060.2288.python-list@python.org> <575e4198$0$1588$c3e8da3$5496439d@news.astraweb.com> <bb6da4a8-165b-6fc7-700e-4c1855bc36fd@gmail.com> <CAPTjJmrCfoKQ7zAVQY9dh=es8q8CJnn8euDpTxF+GYAszfKUWQ@mail.gmail.com> <mailman.42.1465837657.2288.python-list@python.org> <ds8sulF9u79U1@mid.individual.net>
Xref csiph.com comp.lang.python:109921

Show key headers only | View raw


On Mon, Jun 13, 2016, at 19:12, Gregory Ewing wrote:
> They could maybe be made a bit cheaper still by arranging
> some way for a bytes object and an ascii-only str object
> to share underlying storage.

While we're at it, why not allow bytes to share storage with FSR latin-1
strings and the cached UTF-8 versions of strings?

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


Thread

base64.b64encode(data) Marcin Rak <mrak@sightlineinnovation.com> - 2016-06-12 11:56 -0700
  Re: base64.b64encode(data) Marko Rauhamaa <marko@pacujo.net> - 2016-06-12 22:26 +0300
  Re: base64.b64encode(data) Steven D'Aprano <steve@pearwood.info> - 2016-06-13 12:22 +1000
    Re: base64.b64encode(data) Random832 <random832@fastmail.com> - 2016-06-12 23:20 -0400
      Re: base64.b64encode(data) Steven D'Aprano <steve@pearwood.info> - 2016-06-13 15:16 +1000
        Re: base64.b64encode(data) Random832 <random832@fastmail.com> - 2016-06-13 01:33 -0400
          Re: base64.b64encode(data) Marko Rauhamaa <marko@pacujo.net> - 2016-06-13 09:45 +0300
          Re: base64.b64encode(data) Steven D'Aprano <steve@pearwood.info> - 2016-06-13 20:35 +1000
            Re: base64.b64encode(data) Random832 <random832@fastmail.com> - 2016-06-13 09:36 -0400
              Re: base64.b64encode(data) Steven D'Aprano <steve@pearwood.info> - 2016-06-22 01:56 +1000
            Re: base64.b64encode(data) Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-06-13 20:20 -0400
        Re: base64.b64encode(data) Michael Torrie <torriem@gmail.com> - 2016-06-13 09:15 -0600
          Re: base64.b64encode(data) Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-06-14 11:04 +1200
        Re: base64.b64encode(data) Chris Angelico <rosuav@gmail.com> - 2016-06-14 03:07 +1000
          Re: base64.b64encode(data) Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-06-14 11:12 +1200
            Re: base64.b64encode(data) Random832 <random832@fastmail.com> - 2016-06-13 21:19 -0400

csiph-web