[issue30272] distutils.version.LooseVersion's compare raises exception in corner-case

2017-05-05 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. This is a duplicate of issue 14894. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> distutils.LooseVersion fails to compare number and a word

[issue30272] distutils.version.LooseVersion's compare raises exception in corner-case

2017-05-04 Thread Oliver Smith
Changes by Oliver Smith : -- components: +Distutils nosy: +dstufft, merwok type: -> behavior ___ Python tracker ___ ___ Python-bugs-l

[issue30272] distutils.version.LooseVersion's compare raises exception in corner-case

2017-05-04 Thread Oliver Smith
New submission from Oliver Smith: This should return True and not raise an exception: >>> from distutils.version import LooseVersion >>> LooseVersion("22.7-r1") < LooseVersion("22.7.3-r1") Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.6/distutils/version.py",