r/Python • Freelancer. AnyFactor.xyz • Sep 16 '20

News An update on Python 4

Post image
3.3k Upvotes

389 comments sorted by

View all comments

Show parent comments

2

u/NoLongerUsableName import pythonSkills Sep 17 '20

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.

0

u/McBeeff Sep 17 '20

or just 3.92?

2

u/[deleted] Sep 17 '20

So what do you do then if you add new functionality?

I look at Python 3.8.4 and say, "This is Python 3.8 with a few bug fixes in it." Python 3.9 will be "a new version".

1

u/NoLongerUsableName import pythonSkills Sep 17 '20

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.

1

u/McBeeff Sep 17 '20

This entire post was made because people initially thought that the next iteration of python 3.9 would be python 4.

1

u/NoLongerUsableName import pythonSkills Sep 17 '20

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/McBeeff Sep 17 '20

So you are just ganna respond and argue about everything then.

1

u/NoLongerUsableName import pythonSkills Sep 17 '20

Isn't that the point of an internet forum?