Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 675
    • Issues 675
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

April 05-07 - Mercurial Paris Conference 2023 - One day of workshop dedicated to Heptapod and Mercurial usage and workflow. There are still places available for both workshops and talks!

  • PyPyPyPy
  • pypypypy
  • Merge requests
  • !333

Deal with platforms without RAND_egd(), take 2.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Bitbucket Importer requested to merge branch/detect_egd2 into branch/default Sep 09, 2015
  • Overview 8
  • Commits 4
  • Pipelines 0
  • Changes 5

Created originally on Bitbucket by vext01 (Edd Barrett)

Detect RAND_egd() and make ssl.RAND_egd() raise if not found.

This time without touching lib_python, thus not requiring import of the 2.7.10 libs.

On linux:

>>>> import ssl
>>>> ssl.RAND_egd("/")
0

On OpenBSD:

>>>> import ssl
>>>> ssl.RAND_egd("/")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SSLError: ('RAND_egd unavailable',)

Looks ok?

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: branch/detect_egd2