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
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
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
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
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22585
___
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:
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:
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +700eb415, rpointel
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22585
___
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22585
___
___
Python-bugs-list