

When you compare two version tuples, for each sub-tuple:
#SONGKONG VERSIONS COMPARISON FREE#
If we have a free hand to specify this, I suggest:

But I'm not going to fight about it.įor comparison purposes, a version string should be converted to a "version tuple". Though I think we should relent and allow dashes to be equivalent to periods. Any characters not specifically permitted are hereby illegal.All the "development release markers" are equivalent.Any version with a "development release marker" is older than one without.You must follow the "development release marker" with another "version number".You may only use a "development release marker" after a "pre-release marker". You may use at most one "development release marker".The strings "dev", "r", and "~" are called "development release markers".If you follow a "pre-release marker" (and subsequent "version string") with "dev", "r", or "~", this version represents a "development release".> from verlib import RationalVersion as V At the second distutils open space we agreed on the following format for a "rational version":
