Author vstinner
Recipients dstufft, jbeck, python-dev, tim.peters, vstinner
Date 2015-09-18.13:43:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442583810.11.0.286758843848.issue25003@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, I pushed a first fix for Python 3.6. The changeset 8b0c2c7cb4a7 keeps getentropy() on OpenBSD, but it explicitly excludes getentropy() on Solaris ("!defined(sun)"). It adds support for the getrandom() function. As the EINVAL error will be fixed in the final version of Solaris 11.3, I chose to not support this specific error.

@John Beck: Does it look good to you? Can you test it? You may have to manually modify the code to not pass a value too large to getrandom() until the Solaris kernel is fixed.

If John and buildbots are happy, I will backport the change to Python 2.7, 3.4 and 3.5.
History
Date User Action Args
2015-09-18 13:43:30vstinnersetrecipients: + vstinner, tim.peters, python-dev, dstufft, jbeck
2015-09-18 13:43:30vstinnersetmessageid: <1442583810.11.0.286758843848.issue25003@psf.upfronthosting.co.za>
2015-09-18 13:43:30vstinnerlinkissue25003 messages
2015-09-18 13:43:29vstinnercreate