Path: csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail From: Terry Reedy Newsgroups: comp.lang.python Subject: Re: Should stdlib files contain 'narrow non breaking space' U+202F? Date: Fri, 18 Dec 2015 16:56:05 -0500 Lines: 23 Message-ID: References: <5673d6ac$0$1612$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de h2Csj+wgQ53B2MQVyqYdNQ82aNkvNznt6Z65slYyPg5Q== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'encoded': 0.05; 'guido': 0.05; "subject:' ": 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:files': 0.09; 'jan': 0.11; 'syntax': 0.13; 'apostrophe': 0.16; 'blanket': 0.16; 'identifiers': 0.16; 'inclined': 0.16; 'leave.': 0.16; 'readability.': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'rule.': 0.16; 'subject:breaking': 0.16; 'subject:non': 0.16; 'thread.': 0.16; 'wrote:': 0.16; 'fixed.': 0.18; '2015': 0.20; '(by': 0.22; 'ascii': 0.22; 'file.': 0.22; 'am,': 0.23; 'dec': 0.23; 'header:In-Reply-To:1': 0.24; 'header :User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'sense': 0.26; 'chris': 0.26; 'fri,': 0.27; 'least': 0.27; 'back.': 0.27; 'specify': 0.27; "people's": 0.29; "i'm": 0.30; 'code': 0.30; 'maybe': 0.33; 'changed': 0.33; "d'aprano": 0.33; 'idle': 0.33; 'steven': 0.33; 'universal': 0.33; 'file': 0.34; 'but': 0.36; 'should': 0.36; 'received:71': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'display': 0.37; 'received:org': 0.37; 'does': 0.39; 'system.': 0.39; 'to:addr:python.org': 0.40; 'space': 0.40; 'some': 0.40; 'no.': 0.62; 'more': 0.63; 'subject:space': 0.84; 'received:fios.verizon.net': 0.91; 'subject:+': 0.91; 'urls,': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: pool-71-185-227-36.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-Reply-To: <5673d6ac$0$1612$c3e8da3$5496439d@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:100605 On 12/18/2015 4:49 AM, Steven D'Aprano wrote: > On Fri, 18 Dec 2015 05:51 pm, Chris Angelico wrote: > >> I would be inclined to ASCIIfy the apostrophes, dashes, and the >> connection.py space that started this thread. People's names, URLs, >> and demonstrative characters I'm more inclined to leave. Agreed? > > No. No in the sense of a blanket rule. But in at least some cases, yes. In idlelib/README.txt, ' somehow got changed to the a latin-1 encoded slanted apostrophe (by Notepad++ I think) when I edited the file. Since IDLE *assumes* that the file is ascii-only and does not specify an encoding, display failed on Serhiy's non-Windows system. Issue 25905. I changed it back. Other accidents should be fixed. Guido also wants syntax chars and identifiers in stdlib code kept to ascii only for universal readability. Maybe that will change someday. -- Terry Jan Reedy