Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.087 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.00; 'thread': 0.14; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'streams.': 0.16; 'unicode.': 0.16; 'wrote:': 0.18; 'header:User- Agent:1': 0.23; 'byte': 0.24; 'unicode': 0.24; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'code': 0.31; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'fact': 0.38; 'pdf': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'most': 0.60; 'email addr:gmail.com': 0.63; 'such': 0.63; 'streams': 0.84 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Wed, 08 Jan 2014 10:25:09 -0700 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130105 Thunderbird/10.0.12 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Bytes indexing returns an int References: <52cbe15a$0$29993$c3e8da3$5496439d@news.astraweb.com> <52cc278c$0$29979$c3e8da3$5496439d@news.astraweb.com> <7d2d5d85-afa2-474d-8739-c33745b7c00b@googlegroups.com> In-Reply-To: <7d2d5d85-afa2-474d-8739-c33745b7c00b@googlegroups.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1389201950 news.xs4all.nl 2902 [2001:888:2000:d::a6]:50754 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63501 On 01/08/2014 09:08 AM, wxjmfauth@gmail.com wrote: > Byte strings (encoded code points) or native unicode is one > thing. Byte strings are not necessarily "encoded code points." Most byte streams I work with are definitely not unicode! They are in fact things such as BER-encoded ASN.1 data structures. Or PDF data streams. Or Gzip data streams. This issue in this thread has nothing to do with unicode.