Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: "Sven R. Kunze" Newsgroups: comp.lang.python Subject: Re: How the heck does async/await work in Python 3.5 Date: Tue, 23 Feb 2016 22:05:16 +0100 Lines: 27 Message-ID: References: <56c7d145$0$1597$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de wfjUn+TGuB7jNVeAqCvg7Q8PYnhM3SIkifqrE1BdgXQw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'tries': 0.05; 'url:msdn': 0.07; 'subject:How': 0.09; 'docs.': 0.09; 'python:': 0.09; 'sfxlen:2': 0.10; 'thread': 0.10; 'python': 0.10; 'language,': 0.11; 'syntax': 0.13; 'discussions': 0.15; 'concurrency': 0.16; 'insights': 0.16; 'programmers.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'basically': 0.18; 'developer': 0.20; 'suggested': 0.20; 'to:2**1': 0.21; 'meant': 0.22; 'url:02': 0.22; 'appears': 0.23; 'fit': 0.23; 'finished': 0.23; 'header:In-Reply-To:1': 0.24; 'to:no real name:2**1': 0.27; 'collecting': 0.27; 'thread,': 0.29; 'subject:/': 0.30; 'putting': 0.30; 'somebody': 0.30; 'post': 0.31; 'another': 0.32; 'table': 0.32; 'older': 0.32; 'point': 0.33; 'open': 0.33; 'similar': 0.33; 'received:10.0': 0.34; 'best,': 0.35; 'could': 0.35; 'direction': 0.35; 'something': 0.35; 'but': 0.36; 'modules': 0.36; 'subject:work': 0.36; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'wanted': 0.37; 'christian': 0.38; 'subject:the': 0.39; 'well.': 0.40; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'some': 0.40; 'valuable': 0.61; 'hope': 0.61; 'back': 0.62; 'charset:windows-1252': 0.62; 'here': 0.66; 'to:addr:python- ideas': 0.69; '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/simple; d=mail.de; s=mail201212; t=1456261518; bh=mFYeeddHOuw5v6zSlVFDSEMJnCEBNSiK98qDgL2zhj8=; h=Subject:To:References:From:Date:In-Reply-To:From; b=AuggaYql9q3tG70Uy2TgDXLh2HOnOpvMJVh9qboUiPJ9ONG6lDWB30vXR0e7NNroU 1CosHQuEGvt5g2IMkSXH408BR+1V1uGnnjDhF8APsI0CxG4LH8Pj9CSY1GHf3PIZbH 2R5Zru8vvjUj682Bauh+7ePOZhyD7SYDIsXGCOuY= In-Reply-To: X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 3397 X-purgate-ID: 154282::1456261518-000018ED-74BBCE16/0/0 X-Content-Filtered-By: Mailman/MimeDel 2.1.21rc2 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:103416 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