Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84898 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13829 invoked from network); 15 Mar 2015 20:13:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2015 20:13:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=damz@damz.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=damz@damz.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain damz.org designates 74.125.82.177 as permitted sender) X-PHP-List-Original-Sender: damz@damz.org X-Host-Fingerprint: 74.125.82.177 mail-we0-f177.google.com Received: from [74.125.82.177] ([74.125.82.177:33923] helo=mail-we0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/83-31306-DF7E5055 for ; Sun, 15 Mar 2015 15:13:51 -0500 Received: by wegp1 with SMTP id p1so25040658weg.1 for ; Sun, 15 Mar 2015 13:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=damz.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=SsdXknOsTQBTUD7BQw8JxRg3VfZPs7mmGDkLx3HVOi4=; b=pcLELuxXy29l+MlBGueD0Fv7bJJ+q9rQ8dKmR6/u2Y+OlkoMB0+K9W9kaRNztH+izw cbGu5vD9Qmk7DO5louM7JUmlgcGifQzRMgK1gafEfhpow2F4r4VO+sCQTW6usQ8LXvp5 nE2Pyqcqa4l3YFNFwOXC3fRFJf9AqsgxVsBLI= 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:content-type; bh=SsdXknOsTQBTUD7BQw8JxRg3VfZPs7mmGDkLx3HVOi4=; b=hlgRhe0mfYka30CGdFjlP1tde8xqsQNjHyNJK8B67+jc7XMaT5PWWJj+oeD+hgUgWj NHCru02a2I4ozV4WfaBmasw3cgc56q3+AVWYYgupEpPS1mwYEZ+GSzLJ8R0i1sSa7S5u gJbMOaxH1ZyO5oD4u5hIbudXjzYsVBUBtxymI7lEICNfCm2seCqPfmfIugugZSJOZLHB tFonwayl29dm/c5hIAF2XFZtI1BfK+AQ+2lU2Kh5QWEUcGnjMg6Lj5YSmIgJsqWEHNJa WSG6ddM4Tnrf9Kn0NyaIEY/SQ5unB155uYbD6iD+PsGlAZIAMBF9SjSlvcRn1QiPvwWc LeXA== X-Gm-Message-State: ALoCoQky5go0Li+slTCu2omRXjDaJxEg7ppNmZs1qTMBnA52XUH7MRX0BTiMCqXZ8uByPKYftPSI MIME-Version: 1.0 X-Received: by 10.180.93.165 with SMTP id cv5mr76110502wib.51.1426450426406; Sun, 15 Mar 2015 13:13:46 -0700 (PDT) Received: by 10.28.177.10 with HTTP; Sun, 15 Mar 2015 13:13:46 -0700 (PDT) X-Originating-IP: [81.220.155.251] In-Reply-To: References: Date: Sun, 15 Mar 2015 21:13:46 +0100 Message-ID: To: Daniel Lowrey Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=f46d043c80b2f4bee30511595e53 Subject: Re: [PHP-DEV] [VOTE] Generator Delegation From: damz@damz.org (Damien Tournoud) --f46d043c80b2f4bee30511595e53 Content-Type: text/plain; charset=UTF-8 Hi Daniel, Would you mind clarifying the relationship between the "Generator Delegation" RFC and the "Generator Return Expressions" RFC? While I really appreciate the "Generator Delegation" RFC, the "Generator Return Expressions" looks both unnecessary and kind of a hack to me. In evented system based on coroutine/generators (for example Python greenlet/gevent) the ability to "return a value" is handled higher up than the generator/coroutine itself, which has other advantages (like the ability to yield until the value is available, instead of simply throwing, etc...). Essentially, "returning a value" is an abstraction of the cooperative framework (usually an event loop), not of the generator itself. Damien On Sun, Mar 15, 2015 at 8:18 PM, Daniel Lowrey wrote: > Hi folks! > > As the discussion period has reached its conclusion I'd like to announce a > two week voting period on the Generator Delegation RFC here: > > https://wiki.php.net/rfc/generator-delegation > > Voting ends Sunday, March 29. > > I know everyone is busy and your time is valuable; thanks for spending a > few minutes to review the proposal. If you have any questions please don't > hesitate to ask. > > -Daniel > --f46d043c80b2f4bee30511595e53--