On 27 November 1999, A.M. Kuchling said:
Some things I came across while adding distutils support to some code:
- From a docstring in distutils/versions.py: 0.4 0.4.0 (these two are equivalent) 0.4.1
Does this mean that 0.4.1 is equivalent to 0.41 in the strict versioning class? I'd suggest adding that, just to make it crystal clear.
That is not currently the case, and I think the "strict" version regex -- as well as the semantics attached to its bits and pieces -- would need some work for that to happen. It seems attractive at first blush, but I'm not entirely sure that it's a good idea. "0.4.1 == 0.41" sort-of implies "1.11 == 1.1.1", which is definitely *not* attractive.
ESR's "Software Release Practices HOWTO" argues in favour of major.minor.patch version numbering, and I agree with that. See
- The name option in setup.py: It's not clear if it can/should
contain spaces; given that you mention underscores, I assume they're as space substitutes.