Message267935
| Author | larry |
|---|---|
| Recipients | Theodore Tso, dstufft, larry, ncoghlan, vstinner |
| Date | 2016-06-08.23:59:22 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1465430362.75.0.993530083711.issue27266@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Wait a minute. If I read the code correctly, currently os.urandom() is implemented strictly using getrandom() *on all platforms*. And if block=false, it... returns an empty buffer? Am I reading that right? And what does it do on platforms that don't have a getrandom() call? Does os.urandom() literally always raise an exception on OS X or FreeBSD? This is so crazy. Surely I'm misunderstanding the code. What am I missing? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-06-08 23:59:23 | larry | set | recipients: + larry, ncoghlan, vstinner, dstufft, Theodore Tso |
| 2016-06-08 23:59:22 | larry | set | messageid: <1465430362.75.0.993530083711.issue27266@psf.upfronthosting.co.za> |
| 2016-06-08 23:59:22 | larry | link | issue27266 messages |
| 2016-06-08 23:59:22 | larry | create | |