[Distutils] RFC PEP 386 : Version comparisons

P.J. Eby pje at telecommunity.com
Mon Jul 6 19:09:34 CEST 2009


At 09:28 AM 7/6/2009 +0100, Floris Bruynooghe wrote:
>On Sun, Jul 05, 2009 at 02:40:37PM -0400, P.J. Eby wrote:
> > At 02:12 PM 7/4/2009 -0400, Tres Seaver wrote:
> >> - -1.  I would rather exclude some use cases (post releases), than drop
> >> standardization altogether.
> >
> > And some people are the exact opposite, which means there's no
> > consensus...  and thus no way to proceed.
>
>I was under the impression that .devX and .postX where accepted, but
>it got messy when .postX.devX got used.  But AFAIC (I'm not re-reading
>the entire thread now) it was stated that .postX.devX was not actually
>required (and if it was required just allowig exactly one each and it
>that order was sufficient).

Not quite; it's .devX.postX that's not required.

It should be possible to implement all the development schemes I know 
of using something like:

     X(.X?)*([abc]X?)?(.postX?)?(.devX?)?

where "X" expands to (\d+).

Which is why I don't really understand what all the fuss is 
about.  If you're going to support a/b/c, you're not going to be able 
to do straight string comparison anyway, so there's little loss in 
allowing ONE post tag and ONE dev tag to be used as well.



More information about the Distutils-SIG mailing list