On Wed, 22 Jul 2020 at 10:54, Stestagg <stest...@gmail.com> wrote: > > I'm (weakly) +1 for the concept of for..else being confusing, weird, and > somehow not quite suitable/useful for many use-cases where it feels like it > should. > > I'm -1 for each of the suggested improvements that I've understood so far. > > I agree that the suggested 'ban' on changes in this area is probably not > helpful, however it feels like a sloppy way of saying that changes to the > syntax are very unlikely to be practical, for a couple of annoying, but > important reasons.
I agree that for/while..else is not immediately obvious. But it's useful in some situations, and it *is* used in real-world code. I also agree that all of the proposals I've seen so far are at *least* as confusing, and would make the situation worse, not better. Generalising a bit, proposals that suggest *removing* else on loops are never going to get accepted, because they break existing code for no clear advantage. Ones that retain else on loops are bad because they end up providing two (typically equally confusing) ways of doing things. I don't think there's going to be any sort of "ban" on changing things, but I do think that it's reasonable to point out to people that all of this discussion is a waste of energy, and a distraction for people trying to follow this list for proposals that *do* have a chance of acceptance. The signal to noise ratio on this list can be bad at the best of times, and dropping ideas that simply won't work would help everyone. That's not to say that ideas that won't work aren't welcome - how will anyone learn what's feasible and what isn't if we shut down well-intentioned proposals? But proposers (and other participants) also need to accept that pushing an idea that isn't workable, is unproductive. Paul _______________________________________________ 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/HOO7K6MU7KTHWMEPSONOTYXJA7FZQA24/ Code of Conduct: http://python.org/psf/codeofconduct/