Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: The Cost of Dynamism (was Re: Pyhon 2.x or 3.x, which is faster?) Date: Mon, 21 Mar 2016 10:04:39 -0400 Lines: 14 Message-ID: References: <56e44258$0$1598$c3e8da3$5496439d@news.astraweb.com> <8737rvxs89.fsf@elektro.pacujo.net> <56e7483d$0$1608$c3e8da3$5496439d@news.astraweb.com> <56effbc1$0$1622$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 5vN0Aowliv/6Z/rc3JG1hQ7F9lXoels+beeVWPok8/Hg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '21,': 0.07; 'received:internal': 0.09; 'subject:which': 0.09; 'python': 0.10; 'code?': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'parser?': 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:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'subject:?)': 0.16; 'wrote:': 0.16; 'saying': 0.22; 'parser': 0.22; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'switch': 0.27; 'specifically': 0.28; 'character': 0.29; 'allows': 0.30; 'statement': 0.32; 'point': 0.33; 'source': 0.33; "d'aprano": 0.33; 'steven': 0.33; 'unicode': 0.35; 'but': 0.36; 'skip:i 20': 0.36; 'there': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'really': 0.37; 'being': 0.37; 'received:66': 0.38; 'represent': 0.38; 'to:addr:python.org': 0.40; 'called': 0.40; 'subject:The': 0.61; 'skip:u 10': 0.61; 'header:Message-Id:1': 0.61; 'mar': 0.65; 'correctly?': 0.84; 'pardon': 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=BxoMtvU+hkEBlQWPR5kM6XhxlmM=; b=VH2vP1 jXr8dvb0cn0Q4aodsck7HaMSA14n3a979gOxE52lIrFDxX3mq9PrxNV5QPS6oB0K RH5nisMnMJqGPC9QtokXR1AjaOff+wg6T6m/dfF73zSxdfUR6jvsHN+ieYiO6q+8 yniKqoDgTlVuMDA5y+XN91BOTK7kWlDKBdoOE= 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=BxoMtvU+hkEBlQW PR5kM6XhxlmM=; b=Ibc5YpfMtusiyBzQOWOD/JLqqGHRFH3WepePV/cI0i34CIn bLy2BSFqVAz9zZ7MppNXloe8peGiubC+jl2sftYfCHwB8/uYk75TWY3Ca/2mK3bd TOm/sXQV19oWRbmvXEfMzWuu8wGt1NPy6b2HCY5DStLlfyBolAWXbGsT/5mw= X-Sasl-Enc: GHJu5p56f4qvO4/CS86DKR7+d7JrJT7E9/F9YOukcLAP 1458569079 X-Mailer: MessagingEngine.com Webmail Interface - ajax-2b37838c In-Reply-To: <56effbc1$0$1622$c3e8da3$5496439d@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:105360 On Mon, Mar 21, 2016, at 09:48, Steven D'Aprano wrote: > Pardon me, do I understand you correctly? You're saying that the C parser > is > Unicode-aware and allows you to use Unicode in C source code? Er, "the" C parser? In the C standard, the source character set is implementation-defined, and is specifically called out that it "may contain multibyte characters, used to represent members of the extended character set". But that's really not the point here, the point is that expecting an implementation of a character-based switch statement in Python to be able to rely on there only being 256 characters is unreasonable.