Author Natalia
Recipients Natalia, eric.araujo, tarek
Date 2012-05-23.20:42:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337805749.61.0.661955519892.issue14894@psf.upfronthosting.co.za>
In-reply-to
Content
$ python2.7 -c 'from distutils.version import LooseVersion as V; print V("a") > V("1")'
True
$ python3.2 -c 'from distutils.version import LooseVersion as V; print(V("a") > V("b"))'
False
$ python3.2 -c 'from distutils.version import LooseVersion as V; print(V("a") > V("1"))'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.2/distutils/version.py", line 70, in __gt__
    c = self._cmp(other)
  File "/usr/lib/python3.2/distutils/version.py", line 343, in _cmp
    if self.version < other.version:
TypeError: unorderable types: str() < int()
History
Date User Action Args
2012-05-23 20:42:29Nataliasetrecipients: + Natalia, tarek, eric.araujo
2012-05-23 20:42:29Nataliasetmessageid: <1337805749.61.0.661955519892.issue14894@psf.upfronthosting.co.za>
2012-05-23 20:42:29Natalialinkissue14894 messages
2012-05-23 20:42:28Nataliacreate