Follow-up to r8648, as on Windows Vista x64, Python 2.3.5 would fail with `ValueError: empty range for randrange()`.
This is because 0xffffffff is -1, in Python 2.3:
{{{
>>> 0xffffffff
<stdin>:1: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
-1
}}}