Realistically an idea about something new is easier to consider than changing what you have.
Some newer languages may well be designed from the start in new ways and Julia is an example of a language that allows a wide swath of UNICODE characters to be used in identifiers. They also let you type them in even using ASCII keyboards for some level of compatibility. The original topic asked about the topic of re-using ELSE as a known keyword in a context I and some others feel is a stretch. But the alterative could be to add an ever increasing number of keywords to meet new needs. I had another crazy thought that I AM NOT ASKING anyone to do. OK? I was wondering about a sort of catch method you could use that generates a pseudo-signal only when the enclosed preceding loop exits normally as a sort of way to handle the ELSE need without the use of a keyword known by the language. All you would need is an object of the right kind that is thrown and optionally caught. Of course, even if I fleshed this out and even if anyone thought it made sense, there is no such need now as Python has made a choice that meets the need even if few may dare use it or even know about it! LOL! -----Original Message----- From: Python-list <python-list-bounces+avi.e.gross=gmail....@python.org> On Behalf Of Antoon Pardon Sent: Sunday, October 16, 2022 1:38 PM To: python-list@python.org Subject: Re: for -- else: what was the motivation? Op 16/10/2022 om 19:03 schreef Chris Angelico: > On Mon, 17 Oct 2022 at 03:57, Antoon Pardon<antoon.par...@vub.be> wrote: >> >> Op 16/10/2022 om 17:05 schreef Chris Angelico: >>> On Sun, 16 Oct 2022 at 22:47, Antoon Pardon<antoon.par...@vub.be> wrote: >>>> Why would I need good luck? I expressed an idea and you didn't like it. >>>> That won't affect my life in a meaningful way. >>> Well, with that attitude, it's not going to affect anyone else's >>> life either, so go ahead, carry on. >> What attitude? I just floated a little idea. It was not >> meant/expected to affect anyone else's life. So why do you react as if it was? >> > You expressed an idea that you would like to see implemented in > Python, and part of that idea was that people would be *obliged* to > write their code using non-ASCII keywords. If that were to be > implemented, it absolutely WOULD affect many people's lives. So what? I made it clear that was an if I didn't expect to happen. An idea that doesn't happen will not affect anyone, whatever the consequences tied to the idea. > So if > you're saying that your idea was not meant to affect anyone else's > life, you are saying that you floated the idea fully intending for it > to be ignored, which makes me wonder why you posted it in the first > place. People can find it interesting to discuss an idea, even if they think there is no chance the idea will be carried out. -- Antoon Pardon -- https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list