Re: [PHP-DEV] [VOTE] Generator Delegation

2015-03-28 Thread Pascal Martin, AFUP
Le 15/03/2015 20:18, Daniel Lowrey a écrit : As the discussion period has reached its conclusion I'd like to announce a two week voting period on the Generator Delegation RFC Hi, Only a few people at AFUP discussed this RFC (I suppose it's the kind of feature not everyone will use), but

Re: [PHP-DEV] [VOTE] Generator Delegation

2015-03-15 Thread Damien Tournoud
Hi Daniel, In the formal definition, you have: $throw $e; ... which I assume is a typo? Damien On Sun, Mar 15, 2015 at 8:18 PM, Daniel Lowrey rdlow...@php.net wrote: Hi folks! As the discussion period has reached its conclusion I'd like to announce a two week voting period on the

Re: [PHP-DEV] [VOTE] Generator Delegation

2015-03-15 Thread Daniel Lowrey
On Sun, Mar 15, 2015 at 3:56 PM, Damien Tournoud d...@damz.org wrote: Hi Daniel, In the formal definition, you have: $throw $e; ... which I assume is a typo? Damien Woops! Yes, this is a typo. Thanks for the heads-up; fixing now ...

Re: [PHP-DEV] [VOTE] Generator Delegation

2015-03-15 Thread Damien Tournoud
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

Re: [PHP-DEV] [VOTE] Generator Delegation

2015-03-15 Thread Niklas Keller
2015-03-15 21:13 GMT+01:00 Damien Tournoud d...@damz.org: 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

Re: [PHP-DEV] [VOTE] Generator Delegation

2015-03-15 Thread Daniel Lowrey
On Sun, Mar 15, 2015 at 4:39 PM, Damien Tournoud d...@damz.org wrote: On Sun, Mar 15, 2015 at 9:35 PM, Daniel Lowrey rdlow...@php.net wrote: This is actually a *vastly* inferior solution to language-level support for generator returns. greenlet/gevent does it this way because these libraries

[PHP-DEV] [VOTE] Generator Delegation

2015-03-15 Thread Daniel Lowrey
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

Re: [PHP-DEV] [VOTE] Generator Delegation

2015-03-15 Thread Damien Tournoud
On Sun, Mar 15, 2015 at 9:35 PM, Daniel Lowrey rdlow...@php.net wrote: This is actually a *vastly* inferior solution to language-level support for generator returns. greenlet/gevent does it this way because these libraries were created before Python supported generator delegation (and

Re: [PHP-DEV] [VOTE] Generator Delegation

2015-03-15 Thread Daniel Lowrey
On Sun, Mar 15, 2015 at 4:13 PM, Damien Tournoud d...@damz.org wrote: Hi Daniel, Would you mind clarifying the relationship between the Generator Delegation RFC and the Generator Return Expressions RFC? Sure, thanks for the question. As mentioned in the RFC: In short: generator delegation