Author barry
Recipients Natalia, barry, eric.araujo, piotr, tarek
Date 2012-05-23.22:25:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20120523182459.12d69dd2@resist.wooz.org>
In-reply-to <1337811181.86.0.402112240014.issue14894@psf.upfronthosting.co.za>
Content
On May 23, 2012, at 10:13 PM, Éric Araujo wrote:

>
>Thanks for the report.  How did you find this?  According to the doc of
>LooseVersion, 'a' is not valid, so I would like a real example to accept this
>as a bug.

It works in Python 2.7 so I think it was viewed as a regression.

Python 2.7.3 (default, Apr 20 2012, 22:39:59) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from distutils.version import LooseVersion as v
>>> v('a') < v('0')
False

But if 'a' is invalid, then LooseVersion should refuse to accept it in its
constructor, right?
History
Date User Action Args
2012-05-23 22:25:07barrysetrecipients: + barry, tarek, eric.araujo, piotr, Natalia
2012-05-23 22:25:07barrylinkissue14894 messages
2012-05-23 22:25:07barrycreate