The problem is people treating "." as decimal point instead of "arbitrary separator that happens to be a period".
Limiting oneself to "3.9" is ambiguous. But how do you consider "3.9.1"? Or to use latest Python stable, "3.8.5"?
When facing version numbers, one must split on this "arbitrary separator that happens to be a period" first, integer-ize the portions, tuple-ify the result ... then perform a comparison.
-11
u/NTWK_Identifier Sep 16 '20
This makes me irrationally angry.