Author barry
Recipients Natalia, barry, eric.araujo, piotr, tarek
Date 2012-05-24.15:12:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20120524111250.095cbb8e@resist.wooz.org>
In-reply-to <1337871810.71.0.776433883277.issue14894@psf.upfronthosting.co.za>
Content
On May 24, 2012, at 03:03 PM, Éric Araujo wrote:

>> But if 'a' is invalid, then LooseVersion should refuse to accept it in its
>> constructor, right?

>It’s complicated.  The doc does not say much, the docstring however clearly
>states that versions should start with a digit, but a ton of projects use
>invalid-but-not-rejected formats.  distutils2 makes a clean break with clear
>rules (PEP 386); I’m not sure it would be acceptable for distutils to
>suddenly reject these versions.  It sounds useful but even with that change
>people would not always comply with PEP 386, so better let them use broken
>versions with distutils and force a switch to a fully compliant format with
>d2.  Does that make sense?

It does, but in that case, I think the comparison should continue to succeed,
with whatever results it produces in Python 2.7.
History
Date User Action Args
2012-05-24 15:12:59barrysetrecipients: + barry, tarek, eric.araujo, piotr, Natalia
2012-05-24 15:12:58barrylinkissue14894 messages
2012-05-24 15:12:58barrycreate