[Python-Dev] Merging PEP 310 and PEP 340-redux?

Paul Moore p.f.moore at gmail.com
Fri May 13 17:53:03 CEST 2005


On 5/13/05, Guido van Rossum <gvanrossum at gmail.com> wrote:
> Tastes differ. I think the generator wins; more so when there's more
> state to remember.
[...]
> > > Straight up-or-down votes in the full senate are appreciated at this point.
> >
> > +1 for the PEP 340 variant.

I am also +1 for the PEP 340 variant. I can see the value in
generators when state management starts to become more complex.

No significant opinion on choice of keyword.

I don't follow the subtleties for the more elaborate __exit__, so I'll
pass on that one as well.

Paul.


More information about the Python-Dev mailing list