Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Paul Moore Newsgroups: comp.lang.python Subject: Re: [Python-ideas] How the heck does async/await work in Python 3.5 Date: Wed, 24 Feb 2016 09:59:24 +0000 Lines: 12 Message-ID: References: <56c7d145$0$1597$c3e8da3$5496439d@news.astraweb.com> <56CCC98C.5060504@mail.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de ozNntHnv1iLbzWM1dprGJgXBQmQ0ISrnLUYNEYyCqktg== 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; 'subject:: [': 0.03; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'subject:How': 0.09; 'brett': 0.09; 'protocols.': 0.09; 'second.': 0.09; 'python.': 0.11; '(but': 0.15; '2016': 0.16; 'did,': 0.16; 'from:addr:p.f.moore': 0.16; 'from:name:paul moore': 0.16; 'on)': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'subject:ideas': 0.16; 'tkinter.': 0.16; 'wrote:': 0.16; 'gui': 0.18; 'subject:] ': 0.19; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'header:In-Reply-To:1': 0.24; 'paul': 0.24; 'example': 0.26; 'message-id:@mail.gmail.com': 0.27; 'ago': 0.29; 'subject:/': 0.30; 'says': 0.32; 'useful': 0.33; 'received:google.com': 0.35; 'clear': 0.35; 'received:74.125.82': 0.35; "isn't": 0.35; 'but': 0.36; 'subject:work': 0.36; 'things': 0.38; 'subject:the': 0.39; 'subject:-': 0.39 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:to :cc; bh=kxEqIYBrv365B93tnTcMLjU5J9/TbTy1/yoGfGrmqnA=; b=zI50nWS/UbFW8Y/wOu2FbYPRO5B3AVAYy12Ij5Y5GByPB/WRb55GnPibkKCQWD6h8I OoxIwULQmp0OgM/w/T1AjYqo+r49VZubBymx8yaUZlldm4oPO7kfJOnLEb9oi9kB7hD0 XW52l4DCKlmUCGO3VZgsPkadnr/LTfiELB+r6Hi4usnsiEROXab6owq4aqWFr6vAxsIg aOmGS+pp52kmnGBCML9QnX0JHUWsfNG4XiKt0CRHpWsVuRkXogMGMZNp+T9Eojx1jEsW cPhsllvShVUpUEmkgY/xpZk7TEQGUL8qUq9ZDLAgC56XLO32ViomZznKSy/1r0ZD2ing GcNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=kxEqIYBrv365B93tnTcMLjU5J9/TbTy1/yoGfGrmqnA=; b=i7v7VajDd+htUBLjhLPVcrcQ5kd+Thhzz8yF1cu8ahHMv77FecGGespYt4NfYwvG7q oFuGVc59NzwWtBU6QofN0ty99VcgcoGohYjuDmpCdiclBX2UGSGcCIy5n49d5BZKmpgF 9CaCGxD11hZexWtYfxY98CjAuccS5AmWRi9Rsq5Q0vrNs1oOaheYDrROgFsqYjChB4Rq kZx8s7EjJl6A9CE7UXUGNbDG2vioLigjJobKPthn5fX8vgXpzSh82/y36wNL+oomY36f cwpmnkZXGkZbVjA4yNuHby2rYnKvBmHz8mdCm/wpRq33iBkozdToVy1njCxBlZqmyfU3 /HRQ== X-Gm-Message-State: AG10YOThRBIVClAkTjEiseWMreJ9yOePsc5KuP3ilF8o3uJHQ8Ur+6laCnpS4CSDFz1pBsVUpasJo4Y13vHYrg== X-Received: by 10.28.189.67 with SMTP id n64mr23921373wmf.24.1456307964772; Wed, 24 Feb 2016 01:59:24 -0800 (PST) In-Reply-To: X-Mailman-Approved-At: Wed, 24 Feb 2016 05:22:11 -0500 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 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:103438 On 24 February 2016 at 02:37, Terry Reedy wrote: > > In this essay, Brett says that asyncio added an event loop to Python. It > did, but it was the second. The tk event loop was added about 20 years ago > with tkinter. One of the things I would love to see (but don't have the time to work on) is a GUI event loop based around async/await. It would be a very useful example to make it clear to people that async/await isn't just about network protocols. Paul