Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.072 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'subject:Python': 0.06; 'subject:PEP': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; '(it': 0.16; 'cool.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'jumping': 0.16; 'url:peps': 0.16; 'sat,': 0.16; 'wrote:': 0.18; "hasn't": 0.19; 'not,': 0.20; 'cc:addr:python.org': 0.22; 'url:dev': 0.24; 'paul': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'wonder': 0.29; "doesn't": 0.30; 'strongly': 0.30; 'message- id:@mail.gmail.com': 0.30; 'along': 0.30; 'anyone': 0.31; 'url:python': 0.33; "i'd": 0.34; 'created': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'being': 0.38; 'subject:new': 0.38; 'whatever': 0.38; 'pm,': 0.38; 'enough': 0.39; 'interested,': 0.61; 'mentioned': 0.61; 'new': 0.61; "you're": 0.61; 'complete': 0.62; 'chance': 0.65; 'land': 0.65; 'here': 0.66; 'brand': 0.72; '2015': 0.84; 'duplication': 0.84; 'replica': 0.84; '1:47': 0.91; 'to:none': 0.92; 'drink': 0.93 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=VAAecTm8OvUah00E0UZp+jFm/amtmUrMHimuu21wpDU=; b=B+NdFg0h7V3LB1JB0ve2JlsncXZOG90iyfUSYaUYhwQ9F3KYjT9j1LFZzp5uqO3JXE Mbr4Bl3QC2xKjhUNb0A8Ew/EaLnQ4zx+DsNqEt17dd4WrpkXwRlxg4tu2MY2gqMMLw4g wc3cUAAV4e4mDCgc5YwMervFCb9iwpbaMa/xo9DCILwJZcTCRN9WEL3mWIc5+qKZjIne vBtW9cC97TDb3m/EzSR5HAL2jl5BKgUIdwDPOqpLHLF17nTYjtvKl6ySqL3Lhl+E8/La ++syw37t3uewPgFF03jmtv6vUU32+Ylnl5o3w79yPbzGX9NTdhB6YH/InbTWediW435n RFHA== MIME-Version: 1.0 X-Received: by 10.43.39.1 with SMTP id tk1mr7037652icb.26.1429329753516; Fri, 17 Apr 2015 21:02:33 -0700 (PDT) In-Reply-To: <87fv7yjdw7.fsf@jester.gateway.pace.com> References: <87fv7yjdw7.fsf@jester.gateway.pace.com> Date: Sat, 18 Apr 2015 14:02:33 +1000 Subject: Re: PEP 492, new coroutine syntax for Python From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1429329761 news.xs4all.nl 2911 [2001:888:2000:d::a6]:54668 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:89107 On Sat, Apr 18, 2015 at 1:47 PM, Paul Rubin wrote: > I don't remember anyone mentioning this here yet, and it is mighty cool: > > https://www.python.org/dev/peps/pep-0492/ Hah. It only just hit python-ideas, so you're jumping in on something brand new - no wonder it hasn't been mentioned yet :) And yes, it IS cool. I think the current proposal has a lot of duplication (it looks like there's almost a complete replica of the generator protocol being created in parallel), but whatever happens, it's a good thing. The document's in a state of some flux at the moment. If you're interested, I strongly recommend jumping over to python-ideas and following along - that is, if you're interested enough to drink from the veritable fire-hose of -ideas! There's a chance this will land in Python 3.5, but if not, I'd be very surprised if it doesn't hit 3.6. This is an exciting time to be a Python programmer! ChrisA