Jernej Simončič <jernej+s-pyt...@eternallybored.org> added the comment:

OK, looks like Qnap is doing something weird there - calls to getrandom result 
in EFAULT, which results in . PHP had the same problem: 
https://bugs.php.net/bug.php?id=75409

Changing "if (errno == ENOSYS || errno == EPERM) {" to "if (errno == ENOSYS || 
errno == EPERM || errno == EFAULT) {" also works.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32580>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to