4 ms·
Um...generators are Python 2.2+ (introduction of the yield statement): http://docs.python.org/release/2.2/ref/yield.html http://docs.python.org/release/2.2/ref
by pdonis 16y ago
Um...generators are Python 2.2+ (introduction of the yield statement):
http://docs.python.org/release/2.2/ref/yield.html http://docs.python.org/release/2.2/ref/yield.html
Generator expressions are 2.4+:
http://docs.python.org/release/2.4/ref/genexpr.html http://docs.python.org/release/2.4/ref/genexpr.html
That said, I don't disagree with removing the Python dependency from the "core" of Mongrel2. As was noted in an earlier comment, people can always write a config file management tool in any language they want (or Mongrel2 bindings in general, for that matter).
- rbanffy 16y ago> Generator expressions are 2.4+: So, what is the big deal? I can swear the oldest Python I had to deal with for the last couple years was 2.4.