Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'syntax': 0.04; 'purpose.': 0.07; 'converted': 0.09; 'measure': 0.09; 'pep': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'jan': 0.12; 'changes': 0.15; '9:15': 0.16; 'below;': 0.16; 'identifiers': 0.16; 'implemented,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:Unicode': 0.16; 'unlikely': 0.16; 'wrote:': 0.18; 'rules': 0.22; 'header:User-Agent:1': 0.23; 'unicode': 0.24; 'defined': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'chris': 0.29; 'code': 0.31; '(my': 0.31; 'comparison': 0.31; '"the': 0.34; 'something': 0.35; 'case,': 0.35; 'but': 0.35; 'much.': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'how': 0.40; 'break': 0.61; 'received:173': 0.61; 'further': 0.61; 'back': 0.62; 'forward': 0.65; 'temporary': 0.65; '3.4': 0.84; 'received:fios.verizon.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Unicode 7 Date: Fri, 02 May 2014 22:19:55 -0400 References: <5361d4f9$0$11109$c3e8da3@news.astraweb.com> <82067b83-a6f5-4b16-b012-385535ea5607@googlegroups.com> <53635b34$0$29965$c3e8da3$5496439d@news.astraweb.com> <0bdd2577-2893-4564-9857-fcfc6021dced@googlegroups.com> <536387b8$0$29965$c3e8da3$5496439d@news.astraweb.com> <5e91529c-c03f-44ee-a610-5697fea167b2@googlegroups.com> <432508d1-984d-4c07-890b-31a7058429c6@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399083661 news.xs4all.nl 2829 [2001:888:2000:d::a6]:43314 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:70889 On 5/2/2014 9:15 PM, Chris Angelico wrote: > (My reading of PEP 3131 is that NFKC is used; is that what's > implemented, or was that a temporary measure and/or something for Py2 > to consider?) The 3.4 docs say "The syntax of identifiers in Python is based on the Unicode standard annex UAX-31, with elaboration and changes as defined below; see also PEP 3131 for further details." ... "All identifiers are converted into the normal form NFKC while parsing; comparison of identifiers is based on NFKC." Without reading UAX-31, I don't know how much was changed, but I suspect not much. In any case, the current rules are intended and very unlikely to change as that would break code going either forward or back for little purpose. -- Terry Jan Reedy