find common type for comparisons *before* coercing operands, to prevent inconsistent types and loosing type information
find common type for comparisons *before* coercing operands, to prevent inconsistent types and loosing type information

bhy/cython-haoyu,bhy/cython-haoyu,bhy/cython-haoyu,bhy/cython-haoyu