Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103261

Re: How the heck does async/await work in Python 3.5

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Ian Kelly <ian.g.kelly@gmail.com>
Newsgroups comp.lang.python
Subject Re: How the heck does async/await work in Python 3.5
Date Sat, 20 Feb 2016 02:21:37 -0700
Lines 8
Message-ID <mailman.21.1455960140.13884.python-list@python.org> (permalink)
References <mailman.224.1455746935.22075.python-list@python.org> <56c7d145$0$1597$c3e8da3$5496439d@news.astraweb.com> <9d968a2e-f23c-4c93-979d-43dfa610c343@googlegroups.com> <CALwzidnVrNmhbRhkoiCkwZbqw+7h8gd_TY5HLUMNs1ROcHzQhQ@mail.gmail.com> <CAPTjJmoFiPtoo7oNopUqsrsQJhZWySA_hGEXbuXbQxKgmPh44A@mail.gmail.com> <CALwzidnQWwtqgLW-dzX4gOrRzO_4EXLzRBCvnczdGp0T0LU=oA@mail.gmail.com> <CAPTjJmpaVXPo=872E6Mjhsbj0dd+A1gDSA1SdhnB12V8E2p+3w@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de 1uv+enrDLTjPAoAC0rRjZAxnBy8le80Z37r+T09OUYKA==
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'received:209.85.223': 0.03; 'subject:Python': 0.05; 'none,': 0.05; 'subject:How': 0.09; '__future__': 0.09; 'issue?': 0.09; 'exception': 0.13; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'suite.': 0.16; 'wrote:': 0.16; 'tracker': 0.20; 'am,': 0.23; 'feb': 0.23; 'sat,': 0.23; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'url:bugs': 0.24; "doesn't": 0.26; 'example': 0.26; 'chris': 0.26; 'message-id:@mail.gmail.com': 0.27; 'raise': 0.29; 'subject:/': 0.30; 'maybe': 0.33; 'url:python': 0.33; 'received:google.com': 0.35; 'returning': 0.35; 'instead': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'subject:work': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'suggestion': 0.37; 'seem': 0.37; 'received:209': 0.38; 'test': 0.39; 'subject:the': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; '20,': 0.66; 'actually,': 0.84; 'to:name:python': 0.84
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=o1SeSTz9Lr8HVycbQj7oIkEe4TWHyQ7cy6JoavHJwa8=; b=RBAXnbKfyCC91DWI0R1VHkHhXX4Cwt2KI3H0AH0mgG2KGdvPvGIKcv9YlqcuSTpDFz NKAo7oBQkwXo8LQQ1C/SdQXrK9ss+pVenzbBHKodndTh7JLxze6Lk8LLkZmZAXh0LW6D pN4mxSDXPDTRVpyQh5pMBo1Cr0H25rkNEkGn0t4Tr70hd8X4QHf3oznN0wCBk62Jjlhx IwRrGEKYz8OnyGTW2x0zJc2arp8Jf/UDUkNhTtDP81ncd6Ls+f4lcIK/028WGnzI5bfE yQDkhojzcRYh0KYLucs2h81FvFo1MoFouI2sS2+UuzK97POMo6ds7vASCKWEkB3XIgnW Y76Q==
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:from:date :message-id:subject:to:content-type; bh=o1SeSTz9Lr8HVycbQj7oIkEe4TWHyQ7cy6JoavHJwa8=; b=jxoNuP+CMvQGXEWKH58GeoheeCD5jqSTx3RYnyYop/eVjmPjpXRKto1aIISPayWdSs MKrurKik2kFkgUZDc0+RaBgnoOLpMUmgy9ocPS+X3nSSBn1ZRpxvfNE68qV4hqfjh1VC gP7TxKv/l/c16HJ0hBHqn2gSlAQECb40bgeNe5RHnpfyI5GHdBXyM+khICxjYDUlQ/Bq 2D3KfH4n57U+BABLBEilIVA5qBvxF1gBkpmtGP/STsnOPzJkEG1v9J9BbVS1o9nu1lLX P5jCALPXeklJh/5nZc/0gBY1VjWhOQG06nHw3bskXKPe8BO/6X0N4DhgNB3gnbSSoOq7 A2Qg==
X-Gm-Message-State AG10YOT8VAaQOHRqWe//Ra3/xIVobIkN3JTAUtFwK34zu2ZKPoQMfYTFmRUghF5H6SLjoZMalbLEQo/OTJ309Q==
X-Received by 10.107.19.90 with SMTP id b87mr20972064ioj.11.1455960136983; Sat, 20 Feb 2016 01:22:16 -0800 (PST)
In-Reply-To <CAPTjJmpaVXPo=872E6Mjhsbj0dd+A1gDSA1SdhnB12V8E2p+3w@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21rc2
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:103261

Show key headers only | View raw


On Sat, Feb 20, 2016 at 1:49 AM, Chris Angelico <rosuav@gmail.com> wrote:
> Actually, that mightn't be a bad thing. Maybe raise that as a tracker
> issue? I just tested, and slapping "from __future__ import
> generator_stop" at the top of Lib/asyncio/futures.py causes your
> example to raise an exception instead of returning None, and doesn't
> seem to break the test suite.

I added your suggestion to the existing http://bugs.python.org/issue26221.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How the heck does async/await work in Python 3.5 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-02-17 22:08 +0000
  Re: How the heck does async/await work in Python 3.5 Steven D'Aprano <steve@pearwood.info> - 2016-02-20 13:36 +1100
    Re: How the heck does async/await work in Python 3.5 Rustom Mody <rustompmody@gmail.com> - 2016-02-19 21:24 -0800
      Re: How the heck does async/await work in Python 3.5 Rustom Mody <rustompmody@gmail.com> - 2016-02-19 21:34 -0800
        Re: How the heck does async/await work in Python 3.5 Paul Rubin <no.email@nospam.invalid> - 2016-02-19 22:44 -0800
          Re: How the heck does async/await work in Python 3.5 Steven D'Aprano <steve@pearwood.info> - 2016-02-21 18:17 +1100
            Re: How the heck does async/await work in Python 3.5 Paul Rubin <no.email@nospam.invalid> - 2016-02-20 23:34 -0800
      Re: How the heck does async/await work in Python 3.5 Ian Kelly <ian.g.kelly@gmail.com> - 2016-02-20 00:48 -0700
      Re: How the heck does async/await work in Python 3.5 Chris Angelico <rosuav@gmail.com> - 2016-02-20 18:57 +1100
      Re: How the heck does async/await work in Python 3.5 Ian Kelly <ian.g.kelly@gmail.com> - 2016-02-20 01:14 -0700
      Re: How the heck does async/await work in Python 3.5 Chris Angelico <rosuav@gmail.com> - 2016-02-20 19:49 +1100
      Re: How the heck does async/await work in Python 3.5 Ian Kelly <ian.g.kelly@gmail.com> - 2016-02-20 02:11 -0700
      Re: How the heck does async/await work in Python 3.5 Ian Kelly <ian.g.kelly@gmail.com> - 2016-02-20 02:21 -0700
    Re: How the heck does async/await work in Python 3.5 Christian Gollwitzer <auriocus@gmx.de> - 2016-02-20 07:53 +0100
      Re: How the heck does async/await work in Python 3.5 "Sven R. Kunze" <srkunze@mail.de> - 2016-02-22 23:16 +0100
      Re: How the heck does async/await work in Python 3.5 Ian Kelly <ian.g.kelly@gmail.com> - 2016-02-22 17:48 -0700
      Re: How the heck does async/await work in Python 3.5 "Sven R. Kunze" <srkunze@mail.de> - 2016-02-23 17:50 +0100
      Re: How the heck does async/await work in Python 3.5 Ian Kelly <ian.g.kelly@gmail.com> - 2016-02-23 10:37 -0700
      Re: How the heck does async/await work in Python 3.5 "Sven R. Kunze" <srkunze@mail.de> - 2016-02-23 20:42 +0100
      Re: How the heck does async/await work in Python 3.5 "Sven R. Kunze" <srkunze@mail.de> - 2016-02-23 22:05 +0100
      Re: [Python-ideas] How the heck does async/await work in Python 3.5 "Joao S. O. Bueno" <jsbueno@python.org.br> - 2016-02-23 18:25 -0300
      Re: [Python-ideas] How the heck does async/await work in Python 3.5 Paul Moore <p.f.moore@gmail.com> - 2016-02-24 09:59 +0000
      Re: [Python-ideas] How the heck does async/await work in Python 3.5 Victor Stinner <victor.stinner@gmail.com> - 2016-02-24 11:01 +0100
      Re: [Python-ideas] How the heck does async/await work in Python 3.5 王珺 <wjun77@gmail.com> - 2016-02-24 18:40 +0800
        Re: [Python-ideas] How the heck does async/await work in Python 3.5 Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-02-25 10:00 +1300
          Re: [Python-ideas] How the heck does async/await work in Python 3.5 王珺 <wjun77@gmail.com> - 2016-02-25 08:40 +0800
          Re: [Python-ideas] How the heck does async/await work in Python 3.5 Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-02-24 20:37 -0500
      Re: [Python-ideas] How the heck does async/await work in Python 3.5 Tem Pl <rtempl31@gmail.com> - 2016-02-24 06:39 -0800
        Re: [Python-ideas] How the heck does async/await work in Python 3.5 Marko Rauhamaa <marko@pacujo.net> - 2016-02-24 17:23 +0200
          Re: [Python-ideas] How the heck does async/await work in Python 3.5 Ian Kelly <ian.g.kelly@gmail.com> - 2016-02-24 08:41 -0700
            Re: [Python-ideas] How the heck does async/await work in Python 3.5 Marko Rauhamaa <marko@pacujo.net> - 2016-02-24 18:13 +0200
              Re: [Python-ideas] How the heck does async/await work in Python 3.5 Ian Kelly <ian.g.kelly@gmail.com> - 2016-02-24 09:47 -0700

csiph-web