random: py26 fix