Message161516
| Author |
eric.araujo |
| Recipients |
Natalia, barry, eric.araujo, piotr, tarek |
| Date |
2012年05月24日.15:03:29 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1337871810.71.0.776433883277.issue14894@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
About Barry’s reply:
> 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? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年05月24日 15:03:30 | eric.araujo | set | recipients:
+ eric.araujo, barry, tarek, piotr, Natalia |
| 2012年05月24日 15:03:30 | eric.araujo | set | messageid: <1337871810.71.0.776433883277.issue14894@psf.upfronthosting.co.za> |
| 2012年05月24日 15:03:30 | eric.araujo | link | issue14894 messages |
| 2012年05月24日 15:03:30 | eric.araujo | create |
|