Éric Araujo <mer...@netwok.org> added the comment: 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? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14894> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com