On Wednesday 06 July 2005 08:38 am, Tom Anderson wrote:
> On Wed, 6 Jul 2005, Terry Hancock wrote:
> > With list comprehensions and generators becoming so integral, I'm
> > not sure about "unpythonic".
> 
> I'm going to resist the temptation to argue that list comps are themselves 
> unpythonic :).

Ah, but GvR likes them, so that pretty much makes them "pythonic"
by definition, doesn't it?  ;-)

> Hang on, where's the punctuation in either of those? They *are* done with 
> keywords! 

Yeah, that's true, and it could be true here too, if you throw away the
[].  I see that's one of the proposed alternatives.

--
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks  http://www.anansispaceworks.com

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to