Nick Coghlan added the comment: Ah, I'd missed that Martin was talking about the other way around from #27990.
Yes, I think it's worth documenting that os.getrandom() may raise OSError if the running kernel doesn't provide the syscall - that's going to be pretty easy to trigger by running a container with Python 3.6 on a container host running an older Linux kernel. ---------- _______________________________________ 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