[issue14894] distutils.LooseVersion fails to compare number and a word

Éric Araujo report at bugs.python.org
Mon Jun 25 07:59:13 CEST 2012


Éric Araujo <merwok at netwok.org> added the comment:

> I think the comparison should continue to succeed,
> with whatever results it produces in Python 2.7
The point I was trying to make is that this is not something done on purpose, nor useful or guaranteed, but only a side effect of 2.x’s mixed comparisons.  As undefined behavior, I don’t want to change 3.x to match it.

Natalia, could you reply to my questions in msg161515 ?  Thanks.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14894>
_______________________________________


More information about the Python-bugs-list mailing list