[issue22181] os.urandom() should use Linux 3.17 getrandom() syscall
STINNER Victor
report at bugs.python.org
Mon Aug 11 01:32:43 CEST 2014
New submission from STINNER Victor:
The future Linux kernel 3.17 will have a new getrandom() syscall which avoids the need of a file descriptor:
http://lwn.net/Articles/606141/
The file descriptor of os.urandom() causes perfomance issues and surprising bugs: #18756, #21207.
I don't know when the function will land in the libc.
OpenBSD 5.6 (not released yet) will also have a new getentropy() syscall.
For Python 2.7, see also the PEP 466 and the issue #21305.
----------
messages: 225171
nosy: haypo
priority: normal
severity: normal
status: open
title: os.urandom() should use Linux 3.17 getrandom() syscall
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22181>
_______________________________________
More information about the Python-bugs-list
mailing list