Nick Coghlan added the comment:

Right, the only missing piece now is documentation of the ENOSYS case, which 
end users may encounter if a Python 3.6 binary that supports os.getrandom() is 
run against an older kernel.

That's pretty easy to trigger via containers, as getrandom() was added in Linux 
3.17 and hasn't generally been backported to LTS distribution kernels.

Debian 8: based on 3.16
Ubuntu 14.04: 3.13 default, 4.4 (from 16.04) available as of 14.04.5
RHEL/CentOS 7: based on 3.10
RHEL/CentOS 6: based on 2.6

So of those potential LTS container hosts, a recent Ubuntu or Fedora container 
running Python 3.6 will currently get ENOSYS for everything except a fresh 
Ubuntu 14.04 install that uses the Ubuntu 16.04 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

Reply via email to