Christian Heimes <li...@cheimes.de> added the comment:
It's a CentOS 5 system with Kernel 2.6.18. The getrandom() syscall was added in Linux Kernel version 3.17. Your OS simply lacks the necessary feature to use linux/random.h. Python will automatically fall back to /dev/urandom. ---------- nosy: +christian.heimes resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue29397> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com