On Fri, Oct 16, 2020 at 4:37 PM Rob Cliffe via Python-ideas <[email protected]> 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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/HJDDEOLWIZD5ANKQFPS46YS62DYGLCJT/ Code of Conduct: http://python.org/psf/codeofconduct/
