This repository has been archived by the owner on Nov 21, 2022. It is now read-only.
Alternative OR symbol #146
Labels
fully pepped
Issues that have been fully documented in the PEP
rejected
A rejected idea
sc-feedback
Issues raised in the steering committee feedback
At least two SC members don't like
|
and would prefer we spell this asor
.Arguments heard include:
or
is already frequently used cuts either way|
has many other uses cuts either way|
looks better visually is a matter of personal preferenceTo which my main response would be
|
is used in the same way in other matching contexts, e.g. regular expressions, EBNF grammars, and "parser combinators" (e.g. https://pypi.org/project/parsita/:escaped = (quote | reverse_solidus | solidus | backspace | <etc.>)
or
always separates conditions, which are not the same thing as patternsBut if I had to I could get used to
or
.The text was updated successfully, but these errors were encountered: