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 martin.panter
Recipients martin.panter, ncoghlan, python-dev, vstinner
Date 2016-09-07.01:44:03
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:

ERROR: test_getrandom0 (test.test_os.GetRandomTests)
Traceback (most recent call last):
  File "/media/disk/home/proj/python/cpython/Lib/test/", line 1280, in test_getrandom0
    empty = os.getrandom(0)
OSError: [Errno 38] Function not implemented
Date User Action Args
2016-09-07 01:44:03martin.pantersetrecipients: + martin.panter, ncoghlan, vstinner, python-dev
2016-09-07 01:44:03martin.pantersetmessageid: <>
2016-09-07 01:44:03martin.panterlinkissue27778 messages
2016-09-07 01:44:03martin.pantercreate