commit | 59f7fb29ec151ab64ace5056ab46cf8127a6dac2 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Wed Mar 18 14:39:33 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Wed Mar 18 14:39:33 2015 +0100 |
tree | 3374b848d6346e5ce6ba314d4dd294dad39f567d | |
parent | 072248ec637a123dc348e6c1ffe075f85785111a [diff] |
Issue #22181: On Linux, os.urandom() now uses the new getrandom() syscall if available, syscall introduced in the Linux kernel 3.17. It is more reliable and more secure, because it avoids the need of a file descriptor and waits until the kernel has enough entropy.