[issue23115] Backport #22585 -- getentropy for urandom to Python 2.7
Roundup Robot added the comment: New changeset 05b96af72805 by Victor Stinner in branch '2.7': Issue #23115: os.urandom() now releases the GIL when the getentropy() is used https://hg.python.org/cpython/rev/05b96af72805 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23115 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23115] Backport #22585 -- getentropy for urandom to Python 2.7
Roundup Robot added the comment: New changeset 961efafe9497 by Ned Deily in branch '2.7': Issue #22585, #23115: make URandomFDTests test case actually run https://hg.python.org/cpython/rev/961efafe9497 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23115 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23115] Backport #22585 -- getentropy for urandom to Python 2.7
Roundup Robot added the comment: New changeset a1391786abcd by Serhiy Storchaka in branch '2.7': Issue #23115: Fixed compilation on OpenBSD (Py_MIN is not defined in 2.7). https://hg.python.org/cpython/rev/a1391786abcd -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23115 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23115] Backport #22585 -- getentropy for urandom to Python 2.7
New submission from Alex Gaynor: This makes the urandom codebase easier to maintain by allowing porting patches between 2.7 and 3.x easier; it also improves support for the OpenBSD platform. Support for porting patches is not just a theoretical concern, it's likely that Linux's getrandom() will be supported at some point; like getentropy() it's useful because it's less error prone, and works in chroots and other environments that don't explicitly set up the /dev/urandom device. -- components: Library (Lib) keywords: needs review, patch messages: 233105 nosy: alex, benjamin.peterson, dstufft priority: normal severity: normal status: open title: Backport #22585 -- getentropy for urandom to Python 2.7 versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23115 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23115] Backport #22585 -- getentropy for urandom to Python 2.7
Changes by Alex Gaynor alex.gay...@gmail.com: Added file: http://bugs.python.org/file37543/issue23115.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23115 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23115] Backport #22585 -- getentropy for urandom to Python 2.7
Roundup Robot added the comment: New changeset 9cd2641765dc by Benjamin Peterson in branch '2.7': use getentropy when available (backport of 75ede5bec8db) (closes #23115) https://hg.python.org/cpython/rev/9cd2641765dc -- nosy: +python-dev resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23115 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com