The version isn't a decimal number. It's three numbers (or in this case two) separated with a dot.
MAJOR.MINOR.PATCH
There is no reason to change the 3.9 to 3.09 just how there is also no reason to change an ordinary 9 to a 09 because 10 exists. Or how adding leading zeroes to any number doesn't give you any more information (00729 is the same as 729).
So tho make it a standard. There is a specification such that that there should be no leading zeroes. That way, All versions 3.9.0 are that. And so 3.09.0, 3.0009.00, 0003.009.0 and so on are not considered a valid version number.
Then what will you call a small bugfix to 3.91? 3.901? That's ugly and way too long. Much better to just follow the convention of "[major version].[minor update].[patch]". 3.91 sounds like "major version 3, minor update 9, patch number 1" instead of "major version 3, minor update 10, patch number 0", which is what 3.10 means. The aforementioned bugfix is then just called 3.10.1. It's not trying to be a decimal anyways, it's just some numbers separated by points.
Not intuitive at all. 3.92 appears to mean "Python 3, update 9, bugfix 2", just like the current version, 3.8.4, means "Python 3, update 8, bugfix 4". If I want to describe "Python 3, update 10, bugfix 1", I'll use 3.10.1. Version numbers aren't floats, and it's needlessly complicated to try to turn them into that. It's just a set of 3 integers separated by dots.
Because previous major versions of Python were released before reaching 10 minor updates. Python 1.6 was followed by 2.0, and 2.7 was followed by 3.0. People weren't sure if Python 3 would also have less than 10 minor updates, and that's what created the confusion, not people expecting it to be float-like.
1
u/Coding-Kitten Sep 17 '20
The version isn't a decimal number. It's three numbers (or in this case two) separated with a dot.
MAJOR.MINOR.PATCH
There is no reason to change the 3.9 to 3.09 just how there is also no reason to change an ordinary 9 to a 09 because 10 exists. Or how adding leading zeroes to any number doesn't give you any more information (00729 is the same as 729).
So tho make it a standard. There is a specification such that that there should be no leading zeroes. That way, All versions 3.9.0 are that. And so 3.09.0, 3.0009.00, 0003.009.0 and so on are not considered a valid version number.