This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
In-reply-to <>
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')

But if 'a' is invalid, then LooseVersion should refuse to accept it in its
constructor, right?
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