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:

Python tracker <>
Python-bugs-list mailing list

Reply via email to