Am Sun, Oct 09, 2022 at 05:37:59AM +0100 schrieb Axy via Python-list: > Python is awesome because it's semantic is clear for the majority, but there > are places > that look odd. In case of "for", "else" looks logically tied with "for" > clause, but > actually it is not. It's tied with "break" statement and I overlooked that > even after > re-reading the language reference. If "else" was named like > "never_broken_loop" or > "nobreak", the semantic would be perfectly clear. But, what's done is done.
Or, "eventually". Sadly, "finally" is already taken, and with slightly different semantics... Karsten -- GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B -- https://mail.python.org/mailman/listinfo/python-list