Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
In 2.7 it uses the cmp built-in to compare the list of version components which accepts comparisons of strings and integers. In python 3 it manually compares each using <, ==, and > which can fail if the the types don't match.
Switch to using our own comparison function that preserves the old behavior.
Additionally the new thrift bindings don't accept strings where they used to. The strings need to be provided use utf-8 encoded bytes.