Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'anyway.': 0.05; 'subject:Python': 0.06; 'python3': 0.07; 'subject: -- ': 0.07; 'convention,': 0.09; 'immutable': 0.09; 'subset': 0.09; 'python': 0.11; 'encodings': 0.16; 'subject: \n ': 0.16; 'discussions': 0.16; 'wrote:': 0.18; 'do.': 0.18; "hasn't": 0.19; 'header:User-Agent:1': 0.23; 'aspect': 0.24; 'stick': 0.24; 'unicode': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'chris': 0.29; "doesn't": 0.30; 'code': 0.31; 'away.': 0.31; 'received:132': 0.31; 'subject:skip:i 10': 0.31; 'url:python': 0.33; 'device': 0.34; 'something': 0.35; 'anybody': 0.35; 'but': 0.35; 'really': 0.36; 'url:org': 0.36; 'should': 0.36; 'url:library': 0.38; 'handle': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'even': 0.60; 'header :Return-path:1': 0.60; 'url:3': 0.61; 'simply': 0.61; 'different': 0.65; 'here': 0.66; 'detail.': 0.68; 'wishing': 0.93 Delivery-date: Wed, 04 Jun 2014 10:00:53 +0200 Date: Wed, 04 Jun 2014 10:00:52 +0200 From: Wolfgang Maier User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Micro Python -- a lean and efficient implementation of Python 3 References: <20140603194949.3147497d@x34f> <44acd692-5dcd-4e5f-8238-7fbe0de4db2a@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1401868854 news.xs4all.nl 2906 [2001:888:2000:d::a6]:35620 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:72615 On 04.06.2014 09:16, Chris Angelico wrote: > The point is > not that you might be able to get away with sticking your head in the > sand and wishing Unicode would just go away. Even if you can, it's not > something Python 3 can ever do. > Exactly. These endless discussions about different encodings start to get really boring. I cannot think of any aspect of it that hasn't been discussed here on several occasions, but as a fact: "Strings are immutable sequences of Unicode code points" in Python3 (https://docs.python.org/3/library/stdtypes.html?highlight=str#textseq) and this is not an implementation detail. So if any "implementation" doesn't stick to this convention, it is simply incomplete. > And I don't think anybody can, anyway. If your device is big enough to > hold Python, it should be big enough to handle Unicode; and then you > don't have to say "Oh, sorry rest-of-the-world, this only works in > English... and only a subset of English... and stuff". > Wolfgang