Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.unit0.net!feeder1.cambriumusenet.nl!82.197.223.103.MISMATCH!feeder3.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2.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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'friday,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '\xe2\x80\x94': 0.09; 'python': 0.11; '(2,': 0.16; 'fine.': 0.16; 'issue?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Unicode': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'seems': 0.21; 'feb': 0.22; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'received:comcast.net': 0.24; 'fine': 0.24; 'header:X-Complaints- To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'errors': 0.30; '>>>>': 0.31; 'bad.': 0.31; 'linux': 0.33; 'noticed': 0.34; 'there': 0.35; 'thanks': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'issue': 0.38; 'pm,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'first': 0.61; 'more': 0.64; '2-3': 0.68; '2014,': 0.84; 'otten': 0.84; 'tone': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ned Batchelder Subject: Re: Unicode 7 Date: Fri, 02 May 2014 21:18:21 -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: 8bit X-Gmane-NNTP-Posting-Host: c-50-133-228-126.hsd1.ma.comcast.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <432508d1-984d-4c07-890b-31a7058429c6@googlegroups.com> 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: 45 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399079916 news.xs4all.nl 2902 [2001:888:2000:d::a6]:46595 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:70881 On 5/2/14 8:58 PM, Rustom Mody wrote: > On Friday, May 2, 2014 11:37:02 PM UTC+5:30, Peter Otten wrote: >> Rustom Mody wrote: > >>> Just noticed a small thing in which python does a bit better than haskell: >>> $ ghci >>> let (fine, fine) = (1,2) >>> Prelude> (fine, fine) >>> (1,2) >>> In case its not apparent, the fi in the first fine is a ligature. >>> Python just barfs: > >> Not Python 3: > >> Python 3.3.2+ (default, Feb 28 2014, 00:52:16) >> [GCC 4.8.1] on linux >> Type "help", "copyright", "credits" or "license" for more information. >>>>> (fine, fine) = (1,2) >>>>> (fine, fine) >> (2, 2) > >> No copy-and-paste errors involved: > >>>>> eval("\ufb01ne") >> 2 >>>>> eval(b"fine".decode("ascii")) >> 2 > > Aah! Thanks Peter (and Ned and Michael) — 2-3 confusion — my bad. > > I am confused about the tone however: > You think this > >>>> (fine, fine) = (1,2) # and no issue about it > > is fine? > > Can you be more explicit? It seems like you think it isn't fine. Why not? What bothers you about it? Should there be an issue? -- Ned Batchelder, http://nedbatchelder.com