Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Joao S. O. Bueno" Newsgroups: comp.lang.python Subject: Re: [Python-ideas] How the heck does async/await work in Python 3.5 Date: Tue, 23 Feb 2016 18:25:47 -0300 Lines: 38 Sender: gwidion@gmail.com 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 uwEd5RV1PPvMGgTxDgbPuAc+0oh+bJuSAotjRaJMddIA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'subject:Python': 0.05; 'tries': 0.05; 'url:msdn': 0.07; 'cc:addr :python-list': 0.09; 'subject:How': 0.09; 'url:psf': 0.09; 'brett': 0.09; 'docs.': 0.09; 'python:': 0.09; 'thread': 0.10; 'python': 0.10; 'language,': 0.11; 'syntax': 0.13; 'discussions': 0.15; '2016': 0.16; 'concurrency': 0.16; 'insights': 0.16; 'programmers.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:ideas': 0.16; 'wrote:': 0.16; 'sender:addr:gmail.com': 0.18; 'basically': 0.18; 'subject:] ': 0.19; 'developer': 0.20; 'cc:addr:python.org': 0.20; 'suggested': 0.20; 'cc:2**1': 0.22; 'meant': 0.22; 'url:02': 0.22; 'cc:no real name:2**0': 0.22; 'appears': 0.23; 'fit': 0.23; 'finished': 0.23; 'header:In-Reply-To:1': 0.24; 'helpful': 0.27; 'message- id:@mail.gmail.com': 0.27; 'collecting': 0.27; 'thread,': 0.29; 'subject:/': 0.30; 'url:mailman': 0.30; 'code': 0.30; 'putting': 0.30; 'somebody': 0.30; 'post': 0.31; 'another': 0.32; 'table': 0.32; 'older': 0.32; 'point': 0.33; 'url:python': 0.33; 'open': 0.33; 'similar': 0.33; 'url:listinfo': 0.34; 'list': 0.34; 'received:google.com': 0.35; 'best,': 0.35; 'could': 0.35; 'direction': 0.35; 'something': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'skip:_ 40': 0.36; 'email addr:python.org': 0.36; 'modules': 0.36; 'subject:work': 0.36; 'received:209.85.213': 0.37; 'wanted': 0.37; 'received:209': 0.38; 'christian': 0.38; 'mailing': 0.38; 'subject:the': 0.39; 'subject:-': 0.39; 'url:mail': 0.40; 'well.': 0.40; 'some': 0.40; 'valuable': 0.61; 'hope': 0.61; 'back': 0.62; 'today': 0.65; 'here': 0.66; 'subject': 0.70; 'finally': 0.70; 'covers': 0.72; 'useful.': 0.72; 'overall': 0.72; 'concept,': 0.84; 'gollwitzer': 0.84; 'url:2016': 0.84; 'video:': 0.84; 'glad': 0.87; 'essence': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=cur3i1SITeQWof8MAgAeKZPCWlQ5EWnCHKGA7Vg/r5Q=; b=Z04Xv1njpK29VugQApOqd9mtoLt2oPW99KyfeR+RcHvgF3Hyr9YAK4v58pKR0lDLqv 5qg1386IIrziT4x/+/PJxQIYdvzybX1n5mGx7iqcmGlxj3Lw/rgv+hDuXjy9jYDty0HA a9IaOJUP0nK3GvtUxjQ87gWKlepjYIT97jVEZeMx0huLdbRMnJeKfTATIgFMwEfJDAaE UiyihdidRz2j7mL2Agg5aaRRwzNHk+EJ7kX4PwW/nS5oCnVlAJCANSrI131bHWpMBZgT 4yYQO9JxRtwuJOPdymFnQDQWJDRJoQSOeMrsrQKTJSrLjXaPTMM0hcqHQzv2zkR6H/YT fzMg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=python-org-br.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=cur3i1SITeQWof8MAgAeKZPCWlQ5EWnCHKGA7Vg/r5Q=; b=otGaa75lgSzlNUHus6sySoJvVrV83qJXLQILsMtlHLjTq4kFEpk9WZCUD/SLkMrOHs 0UeUMw8YKUe3Qt/3KCgjJs1dOYiRAdNmZ8wBc16deulV5lJASJUIB6wU9XldVXs/dduq dG7dhu0tu5oTixEETUk65lUYSlNUsdvgix3hWG1bG1wjz0yT/Cyys8vi0awXGpxFNGzH 6lx7bpiHOkhqcSr3auvtMDangy8QkFXU0+jhh8qJYuFsJzuDF2dS7xZdX0TRl4jdAwCH DDAI6Sm8Bd6EfyoIZy/Z48CwGYPwNzqnsIZbt5IWvEymuBB2+MC3nbMTCMdMdzyXPl4J HT1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cur3i1SITeQWof8MAgAeKZPCWlQ5EWnCHKGA7Vg/r5Q=; b=YNDcycL8qq4Oc0sC+HQKZLd2oCpKv1MD1zKoOvxZ1sLX2jUI759eq2midIhbPHq4Ph vOvSEkzRRfZKDHdzt3SDipHMX4k9//Y5WF+pYsuTcCknhURrMLEcZaMhFmL/DM63o6YF V5QfAPucg1+axSmHphQpYuPj3bYRHiBhBssdvfY1itEclgNYF1EvW2iMqGDOheWzVn6r b4vZpN+upAI1m6mtIYjNtUSleiN1y1s3MHv7qQxqovRfHlWmUW85vp5sNzSJ+rxNm4QD bkQEju1IzMcylR1Ou8eVHJH3bNGxjwn9tAqyAevX5HZccmqe+IIOugeVcax5lKvEgexc nmAQ== X-Gm-Message-State: AG10YOSmo2nIvVoEo8eUyrZ1M2NMLMdeQRDLVHf0Wh7Ejar+53TmzzjzbDoRx6BS34TtVBZS81VkClX3f+6N4g== X-Received: by 10.31.58.193 with SMTP id h184mr30567256vka.111.1456262747346; Tue, 23 Feb 2016 13:25:47 -0800 (PST) In-Reply-To: <56CCC98C.5060504@mail.de> X-Google-Sender-Auth: cqBM9cEFewuWfjxEzgJAebPBw48 X-Mailman-Approved-At: Wed, 24 Feb 2016 05:22:05 -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:103437 Today I also stumbled on this helpful "essay" from Brett Cannon about the same subject http://www.snarky.ca/how-the-heck-does-async-await-work-in-python-3-5 On 23 February 2016 at 18:05, Sven R. Kunze wrote: > On 20.02.2016 07:53, Christian Gollwitzer wrote: > > If you have difficulties wit hthe overall concept, and if you are open to > discussions in another language, take a look at this video: > > https://channel9.msdn.com/Shows/C9-GoingNative/GoingNative-39-await-co-routines > > MS has added coroutine support with very similar syntax to VC++ recently, > and the developer tries to explain it to the "stackful" programmers. > > > Because of this thread, I finally finished an older post collecting valuable > insights from last year discussions regarding concurrency modules available > in Python: http://srkunze.blogspot.com/2016/02/concurrency-in-python.html It > appears to me that it would fit here well. > > @python-ideas > Back then, the old thread ("Concurrency Modules") was like basically meant > to result in something useful. I hope the post covers the essence of the > discussion. > Some even suggested putting the table into the Python docs. I am unaware of > the formal procedure here but I would be glad if somebody could point be at > the right direction if that the survey table is wanted in the docs. > > Best, > Sven > > _______________________________________________ > Python-ideas mailing list > Python-ideas@python.org > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/