Serhiy Storchaka added the comment: There are other affected methods: randrange(), randint(), shuffle(), sample(). ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue24567> _______________________________________