Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4a.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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'operator': 0.03; 'mrab': 0.05; 'much!': 0.05; 'received:134': 0.05; 'root': 0.05; 'pep': 0.09; 'function?': 0.16; 'identifier.': 0.16; 'subject:unicode': 0.16; 'underscore.': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'header :User-Agent:1': 0.23; 'number)': 0.24; 'unicode': 0.24; 'header :In-Reply-To:1': 0.27; '(this': 0.29; 'explained': 0.31; 'could': 0.34; 'no,': 0.35; 'doing': 0.36; 'thanks': 0.36; "i'll": 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'extended': 0.61; 'name': 0.63; '(that': 0.65; 'chinese': 0.74; 'square': 0.74; 'characters,': 0.84; 'ethan': 0.84; 'furman': 0.84; 'pardon': 0.84 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAEADaOMlOGuA9G/2dsb2JhbABZhyO8XYMOgTCDGQEBAQQjDwFWCxgCAgUhAgIPAkYTCAKHda0Vm2yGRheBKY1MFoJZgUkEmE2GNYt9gy8 Date: Wed, 26 Mar 2014 09:25:43 +0100 From: Antoon Pardon User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.3.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: unicode as valid naming symbols References: <5331D902.3030902@gmail.com> <53320793.8070501@stoneleaf.us> In-Reply-To: <53320793.8070501@stoneleaf.us> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 1395822345 news.xs4all.nl 2905 [2001:888:2000:d::a6]:52551 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69106 On 25-03-14 23:47, Ethan Furman wrote: > On 03/25/2014 12:29 PM, Mark H Harris wrote: >> On 3/25/14 2:24 PM, MRAB wrote: >>> It's explained in PEP 3131. >>> >>> Basically, a name should to start with a letter (this has been extended >>> to include Chinese characters, etc) or an underscore. >>> >>> λ is a classified as Lowercase_Letter. >>> >>> √ is classified as Math_Symbol. >> >> Thanks much! I'll note that for improvements. Any unicode symbol >> (that is not a number) should be allowed as an >> identifier. > > No, it shouldn't. Doing so would mean we could not use √ as the > square root operator in the future. And what advantage would that bring over just using it as a function? -- Antoon Pardon