py3k, wrap integer comparisons in int()