Antoine Pitrou added the comment: Why exactly does it need to be backported? os.urandom under 2.7 works fine. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue21305> _______________________________________