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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4