On Jun 18, 12:35 am, Matt Chisholm <[EMAIL PROTECTED]> wrote: > Hi. I was wondering if there had ever been an official decision on > the idea of adding labeled break and continue functionality to Python. > > I've found a few places where the idea has come up, in the context of > named code blocks: > > http://groups.google.com/group/comp.lang.python/browse_thread/thread/... > > and in the context of discussing do/while loops and assignments in > conditionals: > > http://groups.google.com/group/comp.lang.python/browse_thread/thread/... > > Both of those discussions just kind of petered out or changed > direction without any conclusion. > > There's also this Python 2.6 which has a similar syntax (although > different semantics) to one of the syntaxes proposed in the first > discussion above: > > http://sourceforge.net/tracker/index.php?func=detail&aid=1714448&grou... > > I would be willing to help make a case and then write a PEP for > labeled break and continue, as long as the community or the BDFL > hasn't already decided against it. > > -matt > > P.S. My apologies about cross posting; python-ideas seems like a > better place to post this, but PEP 1 says to post to python-list.
python-dev just mentioned that the BDFL vetoed it a while ago. they're writing a PEP just to document why it was vetoed. -- http://mail.python.org/mailman/listinfo/python-list