STINNER Victor added the comment: Here is a patch using getentropy() if available. I tested it on OpenBSD 5.6 (the only OS implementing this function...).
The patch prepares also random.c to support Linux getrandom(): issue #22181. ---------- keywords: +patch Added file: http://bugs.python.org/file37311/getentropy.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22585> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com