1. 09 Jan, 2017 18 commits
  2. 08 Jan, 2017 15 commits
  3. 07 Jan, 2017 5 commits
  4. 06 Jan, 2017 2 commits
    • Victor Stinner's avatar
      Null merge 3.6 · 6d394d50
      Victor Stinner authored
      6d394d50
    • Victor Stinner's avatar
      Issue #29157: Prefer getrandom() over getentropy() · ff558f5a
      Victor Stinner authored
      * dev_urandom() now calls py_getentropy(). Prepare the fallback to support
        getentropy() failure and falls back on reading from /dev/urandom.
      * Simplify dev_urandom(). pyurandom() is now responsible to call getentropy()
        or getrandom(). Enhance also dev_urandom() and pyurandom() documentation.
      * getrandom() is now preferred over getentropy(). The glibc 2.24 now implements
        getentropy() on Linux using the getrandom() syscall.  But getentropy()
        doesn't support non-blocking mode. Since getrandom() is tried first, it's not
        more needed to explicitly exclude getentropy() on Solaris. Replace:
        "if defined(HAVE_GETENTROPY) && !defined(sun)"
        with "if defined(HAVE_GETENTROPY)"
      * Enhance py_getrandom() documentation. py_getentropy() now supports ENOSYS,
        EPERM & EINTR
      ff558f5a