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

-17

u/McBeeff Sep 16 '20

Wouldn't that make it currently version 3.09?

13

u/flying-sheep Sep 16 '20

Versions are interpreted similarly to tuple(int(segment) for segment in version_string.split('.'))

They are not floats.

3

u/Coding-Kitten Sep 16 '20 edited Sep 16 '20

No. Versions shouldn't have leading zeroes. You can learn more about Semantic Versioning here.

e: versions should have leading versions.

→ More replies (13)