Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: base64.b64encode(data) Date: Mon, 13 Jun 2016 21:19:32 -0400 Lines: 7 Message-ID: References: <575e18f1$0$1588$c3e8da3$5496439d@news.astraweb.com> <1465788057.2854167.635655857.445F242C@webmail.messagingengine.com> <575e4198$0$1588$c3e8da3$5496439d@news.astraweb.com> <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: 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: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <1465867172.423010.636762145.61A99EF2@webmail.messagingengine.com> X-Mailman-Original-References: <575e18f1$0$1588$c3e8da3$5496439d@news.astraweb.com> <1465788057.2854167.635655857.445F242C@webmail.messagingengine.com> <575e4198$0$1588$c3e8da3$5496439d@news.astraweb.com> Xref: csiph.com comp.lang.python:109921 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?