On Wed, Jan 21, 2009, Gerald Britton wrote:
>
> OK then, what is the feeling out there about extending the "for"
> syntax in general (and by extension list comprehensions and generator
> expressions) by adding an optional while clause like this:
> 
> for <item> in <iterable> [while [<predicate> | not <predicate>]:
>     <suite>

What I suggest is that your ideas need more thought before bringing them
to python-dev -- I think you should either go back to python-ideas or try
comp.lang.python
-- 
Aahz (a...@pythoncraft.com)           <*>         http://www.pythoncraft.com/

Weinberg's Second Law: If builders built buildings the way programmers wrote 
programs, then the first woodpecker that came along would destroy civilization.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to