[issue27654] [Patch] Use arc4random_buf() on CloudABI

2016-09-07 Thread Christian Heimes
Christian Heimes added the comment: LGTM, but it's Victor's final call. -- assignee: -> haypo ___ Python tracker ___

[issue27654] [Patch] Use arc4random_buf() on CloudABI

2016-09-07 Thread Ed Schouten
Ed Schouten added the comment: Sure thing! Attached is an updated patch. -- Added file: http://bugs.python.org/file44434/patch-arc4random ___ Python tracker

[issue27654] [Patch] Use arc4random_buf() on CloudABI

2016-09-07 Thread Christian Heimes
Christian Heimes added the comment: Thanks. The bare call to arc4random_buf() looks wrong at first. Please add a comment that arc4random_buf() cannot fail / does not report back errors. -- ___ Python tracker

[issue27654] [Patch] Use arc4random_buf() on CloudABI

2016-09-06 Thread Nick Coghlan
Nick Coghlan added the comment: Victor, Christian - this looks like another interesting platform-specific corner case for the system RNG wrapper. -- nosy: +christian.heimes, haypo, ncoghlan ___ Python tracker

[issue27654] [Patch] Use arc4random_buf() on CloudABI

2016-07-30 Thread Ed Schouten
New submission from Ed Schouten: While porting Python over to CloudABI (https://mail.python.org/pipermail/python-dev/2016-July/145708.html), we stumbled upon a small issue that caused the build to fail. As CloudABI is a sandboxed runtime environment, there is no support for accessing the