Nick Coghlan added the comment: Aside from a couple of outdated comments and the EPERM question, the attached patch looks good to me.
Regarding EPERM, I think it would make sense to make py_getrandom and py_getentropy handle that consistently, otherwise I can see future maintainers readily getting confused by the discrepancy. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29157> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com