Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.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.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'mrab': 0.05; 'much!': 0.05; 'pep': 0.09; 'identifier.': 0.16; 'received:10.20.200': 0.16; 'received:209.225': 0.16; 'received:209.225.8': 0.16; 'received:209.225.8.21': 0.16; 'received:charter.net': 0.16; 'received:que11.charter.net': 0.16; 'subject:unicode': 0.16; 'underscore.': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'number)': 0.24; 'unicode': 0.24; 'header:In-Reply-To:1': 0.27; 'received:24': 0.27; '(this': 0.29; 'explained': 0.31; 'received:10.20': 0.33; 'thanks': 0.36; "i'll": 0.36; 'should': 0.36; 'received:209': 0.37; 'received:10': 0.37; 'message- id:@gmail.com': 0.38; '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; 'characters,': 0.84 X-Authority-Analysis: v=2.0 cv=Q7eKePKa c=1 sm=1 a=LkTX9YPXWU1lnSxlYEpgVg==:17 a=zewopLiEtFcA:10 a=0BnVj236Uu0A:10 a=nDghuxUhq_wA:10 a=IkcTkHD0fZMA:10 a=pGLkceISAAAA:8 a=FOr2wbtjNLfn7ShpNFsA:9 a=QEXdDO2ut3YA:10 a=rqNPC8NiGI4A:10 a=gsL7PyQd1FMA:10 a=LkTX9YPXWU1lnSxlYEpgVg==:117 Date: Tue, 25 Mar 2014 14:29:06 -0500 From: Mark H Harris User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 Newsgroups: comp.lang.python To: python-list@python.org Subject: Re: unicode as valid naming symbols References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed 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: , Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395778164 news.xs4all.nl 2975 [2001:888:2000:d::a6]:54929 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69065 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. marcus