Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; '21,': 0.07; 'explicit': 0.07; 'string': 0.09; 'ascii': 0.09; 'received:internal': 0.09; 'strings.': 0.09; 'subject:2.7': 0.09; 'api': 0.11; 'assumptions': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'subject:unicode': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'byte': 0.24; 'unicode': 0.24; 'sort': 0.25; 'header:In-Reply- To:1': 0.27; 'character': 0.29; "d'aprano": 0.31; 'steven': 0.31; 'this.': 0.32; 'fri,': 0.33; 'subject:time': 0.33; 'received:66': 0.35; 'subject: (': 0.35; 'computing': 0.35; 'really': 0.36; 'consist': 0.36; 'opposed': 0.36; 'set.': 0.36; 'subject:one': 0.36; 'should': 0.36; 'received:10': 0.37; 'being': 0.38; 'nov': 0.38; 'others.': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'from:no real name:2**0': 0.61; 'header:Message-Id:1': 0.63; 'subject:more': 0.64; 'different': 0.65; '2014,': 0.84; 'characters,': 0.84; 'dozens': 0.84 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:subject:date:in-reply-to :references; s=mesmtp; bh=Lr0NhpfjJTRflBhHi8+oot83C9M=; b=eBRAWI fCVBnbLIu0bjuB12Cks5WYzVireQQUrN0hEehCbUQTROJZTLPkpMG3KhoB9OXbdQ xKYeqW0ME9MTvRO83xXyQF8wXeOnaBNVxEDsEfy/oDLAoRurpj/9xOnfUAiHOCrv CoZc0hUDTYO1kytkoU6asGQWOZjaevHHcPx1Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:subject :date:in-reply-to:references; s=smtpout; bh=Lr0NhpfjJTRflBhHi8+o ot83C9M=; b=IwIsgf1yFJ0ksjGp1qWbuwXbgyIa1sGbXDNiMKC1sTw43tGxcx1f egTPPh1PG+RCs+iFTUiq+hUjHK+GxA5MtC4HfT1r8P/enNreNtqb48bgOpxG6etD ztSfGo+yVAWWetp25BQGlLCQQuKnnmyLoE/HtZPotx8Y7I2Nz9DjNY4= X-Sasl-Enc: S+q9tV4eAFBXrlkS3WOO8md3OFC0ZrZsiPNraFrBbXrL 1416706553 From: random832@fastmail.us To: python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-a419c8a0 Subject: Re: python 2.7 and unicode (one more time) Date: Sat, 22 Nov 2014 20:35:53 -0500 In-Reply-To: <5470134c$0$12986$c3e8da3$5496439d@news.astraweb.com> References: <1416491999.209592.193345213.3A6FF9A4@webmail.messagingengine.com> <87ppch8zvx.fsf@elektro.pacujo.net> <87k32p6ow8.fsf@elektro.pacujo.net> <871towik8j.fsf@elektro.pacujo.net> <5470134c$0$12986$c3e8da3$5496439d@news.astraweb.com> 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416706556 news.xs4all.nl 2831 [2001:888:2000:d::a6]:33720 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81308 On Fri, Nov 21, 2014, at 23:38, Steven D'Aprano wrote: > I really don't understand what bothers you about this. In Python, we have > Unicode strings and byte strings. In computing in general, strings can > consist of Unicode characters, ASCII characters, Tron characters, EBCDID > characters, ISO-8859-7 characters, and literally dozens of others. It > boogles my mind that you are so opposed to being explicit about what sort > of string we are dealing with. I think he means that it should be implementation-defined with an API that does not allow programs to make assumptions about the encoding, like C. To allow for implementations that use a different character set.