[Bug 964182] python has multiple bogus integer overflow checks