Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ian Kelly Newsgroups: comp.lang.python Subject: Re: Should stdlib files contain 'narrow non breaking space' U+202F? Date: Thu, 17 Dec 2015 16:14:21 -0700 Lines: 12 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de n8hjy8OyCSkv0uKp14dXmQ/d/lJKA9PvsQIQZ5UZPi9A== 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; 'received:209.85.223': 0.03; 'debug': 0.04; "subject:' ": 0.07; 'comment,': 0.09; 'subject:files': 0.09; 'bug': 0.10; '2.7': 0.13; 'thu,': 0.15; 'received:io': 0.16; 'received:psf.io': 0.16; 'runs.': 0.16; 'subject:breaking': 0.16; 'subject:non': 0.16; 'wrote:': 0.16; "shouldn't": 0.18; '2015': 0.20; 'not,': 0.22; '3.2': 0.22; 'lawrence': 0.22; 'seems': 0.23; 'dec': 0.23; 'header:In-Reply- To:1': 0.24; 'url:bugs': 0.24; "i've": 0.25; 'message- id:@mail.gmail.com': 0.27; 'character': 0.29; "i'm": 0.30; 'code': 0.30; 'probably': 0.31; 'url:python': 0.33; 'running': 0.34; 'received:google.com': 0.35; 'unicode': 0.35; 'asking': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'to:addr :python-list': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'difference': 0.38; 'received:209': 0.38; 'why': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'tracking': 0.61; 'minutes': 0.64; 'between': 0.65; 'subject:space': 0.84; 'to:name:python': 0.84; 'url:cpython': 0.84; 'url:rev': 0.84; 'subject:+': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=H/mknK5Ib5VG1lUahYTIb93oCJhycLbvt08/2WjdMfM=; b=nsU6YCBij8xi99HlHETTpgtI6loyPw42uP2iQYPqFNpnUTiTaiHI6qfaX7ZocgCl6y UMUZtI7dDmrheN5nn1LKuYxLOrDWUfxzxqTZ9mwcb7jETZoY+bCc6ZN0Z1e9olZmqDuF Pu0OGOXmR/W8Ec6zZbiOf12m9dlWEUbzRcqNraB5KHZN7DkkIYcdhbwB27TQf+AhPT4l DlJYRUzT4x9sAWPzP3IOLGhbCUWxhCZ+jF7IiV3X9H21KliafJ0ECvygRpSGqDSdTMYw oPyqbYbixBeQRZkMENN0BKMX+PgvpXdglC7i85yNkMW+5Lx53+E4G1zaPOr3Fb+jkoxT vaVg== X-Received: by 10.107.19.30 with SMTP id b30mr1240936ioj.11.1450394101036; Thu, 17 Dec 2015 15:15:01 -0800 (PST) In-Reply-To: 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:100574 On Thu, Dec 17, 2015 at 4:05 PM, Mark Lawrence wrote: > The culprit character is hidden between "Issue #" and "20540" at line 400 of > C:\Python35\Lib\multiprocessing\connection.py. > https://bugs.python.org/issue20540 and > https://hg.python.org/cpython/rev/125c24f47f3c refers. > > I'm asking as I've just spent 30 minutes tracking down why my debug code > would bomb when running on 3.5, but not 2.7 or 3.2 through 3.4. Probably not, but that's inside a comment, so whether the character is U+202F or U+0020 shouldn't make any difference in how the code runs. That seems like a Unicode bug if it does.