Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: non-blocking getkey? Date: Thu, 19 Nov 2015 01:01:32 +1100 Lines: 22 Message-ID: References: <564c7f54$0$1597$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de pTwk96Lk1MMwgGPERppS1gz3NnKdyk6C9meYaEGRdwJQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'cc:addr:python-list': 0.09; ':-)': 0.12; 'ignore': 0.14; 'thu,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:non': 0.16; 'wrote:': 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'planet': 0.22; 'am,': 0.23; 'header :In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'see,': 0.27; 'url:wikipedia': 0.29; 'character': 0.29; "i'm": 0.30; 'too.': 0.30; 'url:wiki': 0.30; 'anyone': 0.32; "d'aprano": 0.33; 'steven': 0.33; 'case,': 0.34; 'file': 0.34; 'handle': 0.34; 'received:google.com': 0.35; 'nov': 0.35; 'unicode': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'limitation': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'beyond': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'names': 0.38; 'sure': 0.39; 'url:en': 0.39; 'subject:-': 0.39; 'chrisa': 0.84; 'hardly': 0.84; 'sets,': 0.84; 'to:none': 0.91; 'speaks': 0.91 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=AiMyGwP8KuoTGSmCrjYFPJk17iEnTaIhmdUh2QylzJ8=; b=nk/jST/DEah39R0NiHbfq10UZIO9k43c3cC7GA5hNkWz//4gXY+mKMXUxClEq0obrV lWZBBNM1FunQnREUb6+OHOjBAys7DQdIyD3Tb7TLvC8hYfTd9zTmnRHCn0WK2afKa2q5 optNtmFkAX4Mk3LTiq0LPw5L/W8YlSxyOVtYJvaPQNSRzI0wES7XuspaeW2U9s95h3R8 wyEWoVks72iA/6GtaCVhgoHlK0Q0Ugvh92vE+WmTaxiXRyxFAXeLqP71AkUxIdGbXFCg GXiz6FFhf0BPL8M+cimGHAfiVcDRYaeMlKO09i0cBOJXNb068fBPoMHOjBli0pepln2B hRQQ== X-Received: by 10.50.225.38 with SMTP id rh6mr7771404igc.13.1447855292343; Wed, 18 Nov 2015 06:01:32 -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:98974 On Thu, Nov 19, 2015 at 12:51 AM, Ulli Horlacher wrote: > Steven D'Aprano wrote: > >> >> The limitation is that this will not work if any of the file names >> >> contain astral (non-BMP) chars because tk cannot handle such characters. >> > >> > What are "astral chars"? >> >> Unicode characters beyond U+FFFF. > > I see, for very exotic character sets, like Klingon, etc :-) > In my case, I can simple ignore them. And other exotic character sets, like Chinese. https://en.wikipedia.org/wiki/CJK_Unified_Ideographs#CJK_Unified_Ideographs_Extension_B But I'm sure you can ignore them, too. Hardly anyone on this planet speaks Chinese. ChrisA