Would the symbol ≈ (almost equal, U+2248) under any circumstance be acceptable as an alias for math.isclose
?
>>> import math
>>> math.isclose(0.1 + 0.2, 0.3)
True
>>> 0.1 + 0.2 ≈ 0.3
True
?
Would the symbol ≈ (almost equal, U+2248) under any circumstance be acceptable as an alias for math.isclose
?
>>> import math
>>> math.isclose(0.1 + 0.2, 0.3)
True
>>> 0.1 + 0.2 ≈ 0.3
True
?
I don’t think so. It’s a niche use case, and it’s very easy to visually mistake for =
.
I’m surprised anyone wants to use unicode characters that aren’t native to the typical keyboard. Do we really want to be typing alt codes in our editors?
This is the same conversation.
You’ve confirmed it. There is no circumstance where it is acceptable.