Donald Stufft added the comment: As an additional aside, the documentation of secrets references the documentation of random.py for it's secrets.SystemRandom class, however random.py docouments random.SystemRandom as using os.urandom.
So the documentation for secrets.SystemRandom should be disentangled from the documentation of random.SystemRandom so that it can choose to use the stronger randomness function (or random.SystemRandom should be adapted to use the stronger randomness function, or both things). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27288> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com