Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythoninfo: ignore OSError(ENOSYS) on getrandom() #3655

Merged
merged 1 commit into from
Sep 19, 2017
Merged

pythoninfo: ignore OSError(ENOSYS) on getrandom() #3655

merged 1 commit into from
Sep 19, 2017

Conversation

vstinner
Copy link
Member

No description provided.

@vstinner
Copy link
Member Author

Fix the following bug seen at http://buildbot.python.org/all/builders/PPC64LE%20Fedora%203.x/builds/1396/steps/pythoninfo/logs/stdio

./python -m test.pythoninfo
ERROR: collect_os() failed
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64le/build/Lib/test/pythoninfo.py", line 434, in collect_info
    collect_func(info_add)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64le/build/Lib/test/pythoninfo.py", line 226, in collect_os
    os.getrandom(1, os.GRND_NONBLOCK)
OSError: [Errno 38] Function not implemented

@vstinner vstinner changed the title pythininfo: ignore OSError(ENOSYS) on getrandom() pythoninfo: ignore OSError(ENOSYS) on getrandom() Sep 19, 2017
@vstinner vstinner merged commit a92941f into python:master Sep 19, 2017
@vstinner vstinner deleted the pythoninfo_getrandom branch September 19, 2017 14:38
@miss-islington
Copy link
Contributor

Thanks @Haypo for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 19, 2017
@bedevere-bot
Copy link

GH-3657 is a backport of this pull request to the 3.6 branch.

@miss-islington
Copy link
Contributor

Thanks @Haypo for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants