[Python-ideas] Special keyword denoting an infinite loop
Steven D'Aprano
steve at pearwood.info
Mon Jun 30 20:20:30 CEST 2014
On Mon, Jun 30, 2014 at 01:24:37PM -0400, random832 at fastmail.us wrote:
> On Sat, Jun 28, 2014, at 06:05, Stefan Behnel wrote:
> > Adding a new keyword needs very serious reasoning, and that's a good
> > thing.
[...]
> What about _just_ "while:" or "for:"?
Why bother? Is there anything you can do with a bare "while:" that you
can't do with "while True:"? If not, what's the point?
--
Steven
More information about the Python-ideas
mailing list