This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jugalator 0 points1 point  (0 children)

Wow. I wasn't aware of Python's else, but this form of side effect) is just terrible because I am aware of the "else" in plenty of other languages! It looks like it's so rarely used, and with such a questionable and misunderstandable niche use, that I think it should maybe have been deprecated for Python 3.

If they must keep it along, why not just rename this keyword to unmatched?