Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: Assignment Versus Equality Date: Tue, 28 Jun 2016 10:13:17 -0400 Lines: 23 Message-ID: References: <8a53c069-ca13-47bf-a24e-d2393a018b22@googlegroups.com> <576fd6e0$0$1617$c3e8da3$5496439d@news.astraweb.com> <2588c5b2-4b6f-cfbb-f91e-4db03aa50318@icloud.com> <8fbe89a6-c273-0fc9-820b-6ac629e6e769@gmail.com> <02e2d3f4-0198-4cdf-a493-45a248c03aea@googlegroups.com> <577129e0$0$1596$c3e8da3$5496439d@news.astraweb.com> <5771cd54$0$1589$c3e8da3$5496439d@news.astraweb.com> <4805e31e-040d-4caf-a79e-af56f93f6daf@googlegroups.com> <1467123197.2517434.650828881.4491578D@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de A68iVuj4OPU3hdvmr/7eIQxh79UIffG5JCDfrzNfs8ZA== 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; 'utf-8': 0.07; '"if': 0.09; 'encoding.': 0.09; 'likewise': 0.09; 'received:internal': 0.09; 'encoding': 0.15; 'expects': 0.16; 'hex': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'readable': 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:66.111.4.27': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:out3-smtp.messagingengine.com': 0.16; 'received:psf.io': 0.16; 'threw': 0.16; 'wrote:': 0.16; 'fit': 0.23; '(or': 0.23; 'header:In-Reply-To:1': 0.24; "doesn't": 0.26; 'question': 0.27; 'found.': 0.27; 'notation': 0.29; 'character': 0.29; 'certainly': 0.30; 'posts': 0.30; 'tue,': 0.34; 'except': 0.34; 'could': 0.35; 'done': 0.35; 'replace': 0.35; 'unicode': 0.35; 'should': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'received:66': 0.38; 'anything': 0.38; 'skip:p 20': 0.38; 'application': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'skip:u 10': 0.61; 'header:Message-Id:1': 0.61; 'clients': 0.61; 'reach': 0.61; 'increasing': 0.76; 'lacks': 0.84 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=zzfuMb7Fj2USVgNQ6+RP+MVT4dc=; b=cDzxqO uvF/xSdyMbvtaqz43M6Kg+LSQ2QsDr0/2oVWhHrqnYGaKpFcQWS5esaKil+L+5sU bZ/yFsN3zgzJj1Zv9jyH/Fr3806PJJ7bKqNhg/S7Em4Eot1pcUKCAFNlQPOi31gG PgayGlGPMJDroKW5fWR6ZKU2rlbFuZQfjkN10= 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=zzfuMb7Fj2USVgN Q6+RP+MVT4dc=; b=cmHWKb5UB8297CeNyIPz3XL2ld35apLqggXv8IJwQLOM2Nv PqD2hX7glDi5jRudi0ZWPlsJOVto4HwUaQ35Ku5F8aE6377KwZZ5oS0asGTr67Kf qk3rhEhJ4JC2DkOf42xxjqJYkeRRhq9j82HxVLVqSGHwhM52fq8yu95sQSrw= X-Sasl-Enc: uTugNQD5grxV0Ne1TNcgWOJCEigoCqcZMOmW6eaRn7Ho 1467123197 X-Mailer: MessagingEngine.com Webmail Interface - ajax-92c7b58a In-Reply-To: <4805e31e-040d-4caf-a79e-af56f93f6daf@googlegroups.com> 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: <1467123197.2517434.650828881.4491578D@webmail.messagingengine.com> X-Mailman-Original-References: <8a53c069-ca13-47bf-a24e-d2393a018b22@googlegroups.com> <576fd6e0$0$1617$c3e8da3$5496439d@news.astraweb.com> <2588c5b2-4b6f-cfbb-f91e-4db03aa50318@icloud.com> <8fbe89a6-c273-0fc9-820b-6ac629e6e769@gmail.com> <02e2d3f4-0198-4cdf-a493-45a248c03aea@googlegroups.com> <577129e0$0$1596$c3e8da3$5496439d@news.astraweb.com> <5771cd54$0$1589$c3e8da3$5496439d@news.astraweb.com> <4805e31e-040d-4caf-a79e-af56f93f6daf@googlegroups.com> Xref: csiph.com comp.lang.python:110701 On Tue, Jun 28, 2016, at 00:31, Rustom Mody wrote: > GG downgrades posts containing unicode if it can, thereby increasing > reach to recipients with unicode-broken clients That'd be entirely reasonable, except for the excessively broad application of "if it can". Certainly it _can_ do it all the time. Just replace anything that doesn't fit with question marks or hex notation or \N{NAME} or some human readable pseudo-representation a la unidecode. It could have done any of those with the Hindi that you threw in to try to confound it, (or it could have chosen ISCII, which likewise lacks arrow characters, as the encoding to downgrade to). It should pick an encoding which it expects recipients to support and which contains *all* of the characters in the message, as proper characters and not as pseudo-representations, and downgrade to that if and only if such an encoding can be found. For most messages, it can use US-ASCII. For most of the remainder it can use some ISO-8859 or Windows-125x encoding. Or include the UTF-8 and some other character set as multipart/alternative representations.