Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '21,': 0.07; 'float': 0.07; "'a'": 0.09; 'bits': 0.09; 'subject:2.7': 0.09; 'cc:addr:python- list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:unicode': 0.16; 'unicode,': 0.16; 'unicode.': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'unicode': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'chris': 0.29; 'message-id:@mail.gmail.com': 0.30; 'fri,': 0.33; 'subject:time': 0.33; 'subject: (': 0.35; 'received:google.com': 0.35; 'subject:one': 0.36; 'should': 0.36; 'represent': 0.38; 'nov': 0.38; 'pm,': 0.38; 'anything': 0.39; 'users': 0.40; 'how': 0.40; 'read': 0.60; 'reserved': 0.61; 'subject:more': 0.64; 'more': 0.64; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=kJErIGP9PfZpRckFrG0oHwspF3Z83QacXyd7+MXJiGc=; b=Ysx2H5G6bASdHD7awG57r2qzrhvZVPz58dm/L0hsQsexD4nCiCgjHaNfX2G9WJ2waR 8xqXx/Gz9ioiiO5ZVghO6PXBCQXtnqiez5P8Ddop9gS4FIG1IEM7GeKkcb7rAAkMzxUG vcgx52nHxOf+dO9EE0pkfqAT7TgLqxFimMOc+eZ5X/iKofQxzEMgQyxxzCRihEvZbijw 9HNuHkcMC3MRFfU45Pk5Xl9XIpmXGSwe5sUQpnuNP+T6+2AyZBffxB8SUQ1HUHAi0pKw KZLxupbbIDBtNO2CN1LL24e+FZ9aCCOw1M7pTnJr6uyys+efbzNL44eB4peFesncYU5X d3Bw== MIME-Version: 1.0 X-Received: by 10.50.152.104 with SMTP id ux8mr2361585igb.14.1416558258139; Fri, 21 Nov 2014 00:24:18 -0800 (PST) In-Reply-To: <87ppchhstr.fsf@elektro.pacujo.net> References: <1416491999.209592.193345213.3A6FF9A4@webmail.messagingengine.com> <87ppch8zvx.fsf@elektro.pacujo.net> <87k32p6ow8.fsf@elektro.pacujo.net> <87389d6n59.fsf@elektro.pacujo.net> <87ppchhstr.fsf@elektro.pacujo.net> Date: Fri, 21 Nov 2014 19:24:18 +1100 Subject: Re: python 2.7 and unicode (one more time) From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416558261 news.xs4all.nl 2922 [2001:888:2000:d::a6]:39787 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81181 On Fri, Nov 21, 2014 at 7:16 PM, Marko Rauhamaa wrote: > Chris Angelico : > >> Then you need to read more about Unicode. The *codepoint* for the >> letter 'A' is 65. That is not Unicode, that is one part of the Unicode >> spec. > > I don't think Python users need to know anything more about Unicode than > they need to know about IEEE-754. > > How many bits are reserved for the mantissa? I don't remember and I > don't see why I should care. At what point can a Python float no longer represent every integer? That's why you should care. ChrisA