[issue22585] os.urandom() should use getentropy() of OpenBSD 5.6

2015-03-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9d3013a383eb by Victor Stinner in branch '3.4': Issue #22585: os.urandom() now releases the GIL when the getentropy() is used https://hg.python.org/cpython/rev/9d3013a383eb New changeset 7f1015e4277a by Victor Stinner in branch 'default': (Merge

[issue22585] os.urandom() should use getentropy() of OpenBSD 5.6

2015-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 371deb4a5fd1 by Ned Deily in branch '3.4': Issue #22585: make URandomFDTests test case actually run https://hg.python.org/cpython/rev/371deb4a5fd1 New changeset c89f7c34e356 by Ned Deily in branch 'default': Issue #22585: null merge

[issue22585] os.urandom() should use getentropy() of OpenBSD 5.6

2014-12-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset f11f84902713 by Victor Stinner in branch '3.4': Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(), https://hg.python.org/cpython/rev/f11f84902713 -- ___ Python tracker

[issue22585] os.urandom() should use getentropy() of OpenBSD 5.6

2014-12-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 75ede5bec8db by Victor Stinner in branch 'default': Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(), https://hg.python.org/cpython/rev/75ede5bec8db -- nosy: +python-dev ___

[issue22585] os.urandom() should use getentropy() of OpenBSD 5.6

2014-12-20 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22585 ___

[issue22585] os.urandom() should use getentropy() of OpenBSD 5.6

2014-11-28 Thread STINNER Victor
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:

[issue22585] os.urandom() should use getentropy() of OpenBSD 5.6

2014-10-09 Thread STINNER Victor
New submission from STINNER Victor: The future OpenBSD 5.6 (scheduled in november 2014) will have a new getentropy() syscall and a new getentropy() in their C library which avoid the need of a file descriptor:

[issue22585] os.urandom() should use getentropy() of OpenBSD 5.6

2014-10-09 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +700eb415, rpointel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22585 ___ ___

[issue22585] os.urandom() should use getentropy() of OpenBSD 5.6

2014-10-09 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +alex ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22585 ___ ___ Python-bugs-list