This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients martin.panter, ncoghlan, python-dev, vstinner
Date 2016-09-07.03:03:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> HAVE_GETRANDOM_SYSCALL seems to be a compile-time library check, not a runtime check. I compiled and run on Linux 3.15.5, and os.getrandom() exists but raises ENOSYS:

Oh, I'm surprised the configure sees getrandom() as available. But well ok, the error can occur if you compile Python on a more recent kernel than the running kernel.

I fixed the unit test: skip getrandom() tests if getrandom() fails with ENOSYS.

Do you think that it's worth to document this case?
Date User Action Args
2016-09-07 03:03:43vstinnersetrecipients: + vstinner, ncoghlan, python-dev, martin.panter
2016-09-07 03:03:43vstinnersetmessageid: <>
2016-09-07 03:03:43vstinnerlinkissue27778 messages
2016-09-07 03:03:43vstinnercreate