[issue35129] Different behaviour comparing versions (distutils.version.LooseVersion) between python2.7 and python3.x

2018-11-01 Thread davide moro
davide moro added the comment: Thanks and sorry for the duplicate! Il giorno gio 1 nov 2018 alle ore 00:53 Éric Araujo ha scritto: > > Éric Araujo added the comment: > > Please discuss on #14894 > > -- > resolution: -> duplicate > stage: -> res

[issue35129] Different behaviour comparing versions (distutils.version.LooseVersion) between python2.7 and python3.x

2018-10-31 Thread davide moro
New submission from davide moro : I noticed that with the python2.7 version of distutils.version.LooseVersion let you compare '7' with 'xp' without exceptions (e.g., LooseVersion('7') > LooseVersion('xp')). If you do the same with python3.6 or pyt