Added standardized comparison mixin for numerical comparison between Python 2 and 3.