Skip to content

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

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:pythoninfo_getrandom
Sep 19, 2017
Merged

pythoninfo: ignore OSError(ENOSYS) on getrandom()#3655
vstinner merged 1 commit into
python:masterfrom
vstinner:pythoninfo_getrandom

Conversation

@vstinner

Copy link
Copy Markdown
Member

No description provided.

@vstinner

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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

@miss-islington

Copy link
Copy Markdown
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