See my post a month ago (29 September) in the archive with links to some related discussions. Subject "while: for the loop". (I don't have access to the archive now so I can't link to the post)
One proposal was exactly about the "loop" keyword: https://mail.python.org/pipermail/python-ideas/2014-June/028202.html I was proposing "while" to replace "while True". My opinion is that adding a new keyword just to replace "while True:" would be too much, also it can cause problems with syntax highlighting, some code analysis and replacements if a variable "loop" is used. Since it was not a keyword, the probability that someone had used such variable can be significant. Mikhail On Sun, Oct 28, 2018 at 2:38 AM Juancarlo Añez <apal...@gmail.com> wrote: > > A `loop:` statement to replace `while True:` has probably been discussed > at length more than once. > > Does anyone keep links to the discussions? > > TIA! > > -- > Juancarlo *Añez* > _______________________________________________ > Python-ideas mailing list > Python-ideas@python.org > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/