<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif">See my post a month ago (29 September) in the archive with links<br>to some related discussions. Subject "while: for the loop".<br>(I don't have access to the archive now so I can't link to the post)<br><br>One proposal was exactly about the "loop" keyword:<br><a href="https://mail.python.org/pipermail/python-ideas/2014-June/028202.html">https://mail.python.org/pipermail/python-ideas/2014-June/028202.html</a></div><div class="gmail_default" style="font-family:times new roman,serif"><br></div><div class="gmail_default" style="font-family:times new roman,serif">I was proposing "while" to replace  "while True". 

<br>My opinion is that adding a new keyword just to replace <br></div><div class="gmail_default" style="font-family:times new roman,serif">"while True:" would be too much, also it can cause <br>problems with syntax highlighting, some code analysis and <br></div><div class="gmail_default" style="font-family:times new roman,serif">replacements if a variable "loop" is used. Since it was not <br></div><div class="gmail_default" style="font-family:times new roman,serif">a keyword, the probability that someone had used such variable <br></div><div class="gmail_default" style="font-family:times new roman,serif">can be significant.<br></div><div class="gmail_default" style="font-family:times new roman,serif"><br></div><div class="gmail_default" style="font-family:times new roman,serif"><br></div><div class="gmail_default" style="font-family:times new roman,serif">Mikhail<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Oct 28, 2018 at 2:38 AM Juancarlo Añez <<a href="mailto:apalala@gmail.com">apalala@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>A `loop:` statement to replace `while True:` has probably been discussed at length more than once.</div><div><br></div><div>Does anyone keep links to the discussions?</div><div><br></div><div>TIA!</div><br>-- <br><div dir="ltr" class="m_5809884401284788641gmail_signature" data-smartmail="gmail_signature"><span style="color:rgb(0,102,0)">Juancarlo </span><b style="color:rgb(0,102,0)">Añez</b></div></div>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/codeofconduct/</a><br>
</blockquote></div>