[New-bugs-announce] [issue36296] distutils.version.StrictVersion objects cannot be compared with distutils.version.LooseVersionobjects

Harry Seeber report at bugs.python.org
Thu Mar 14 19:15:29 EDT 2019


New submission from Harry Seeber <harry.seeber at gusto.com>:

The self.version used in Version._cmp is a List in LooseVersion's implementation, a Tuple in StrictVersion's implementation. Attempting to compare Strict & Loose versions results in a TypeError.

I'd like to PR a fix, but I'd like to know if I'm being stupid first :)

----------
components: Distutils
messages: 337957
nosy: Harry Seeber, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: distutils.version.StrictVersion objects cannot be compared with distutils.version.LooseVersionobjects
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36296>
_______________________________________


More information about the New-bugs-announce mailing list