On Fri, Oct 16, 2020 at 4:37 PM Rob Cliffe via Python-ideas
<python-ideas@python.org> wrote:
> Sorry, but I get the impression from your comment (comparing it to goto)
> that you think breaking out of a ... let's call it a once-only loop ...
> is a Bad Thing and to be discouraged.  If I've misunderstood, I
> apologise and I'm happy.  The fact remains that, in certain situations,
> I have found `for _ in '1':` or equivalent (suitably documented) to be
> the best way of coding that I can think of.

I'd say that giving it explicit language support is a bad thing. :)

ChrisA
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/HJDDEOLWIZD5ANKQFPS46YS62DYGLCJT/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to