STINNER Victor added the comment: I pushed the fix for the issue #27955, os.urandom() now handles getrandom() failing with EPERM.
@Christian: Thanks for your review, I pushed a change fixing the two issues that you reported (memory leak and inefficient temporarily buffer). I attached getrandom_errno.patch: a change proposing to document ENOSYS and EPERM. What do you think? ---------- Added file: http://bugs.python.org/file44760/getrandom_errno.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27778> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com