Message267976
> I dislike the “block” term for a different reason: it suggests raising EAGAIN (= BlockingIOError). But the proposal here is actually to generate data with low entropy.
Since os.urandom() is part of the os module, yes, I'm suggesting to raise BlockingIOError. The caller would be responsible to handle this error and make a choice. For example, random.py can reuse its fallback on time.time(). |
|
Date |
User |
Action |
Args |
2016-06-09 08:02:15 | vstinner | set | recipients:
+ vstinner, lemburg, ncoghlan, larry, christian.heimes, martin.panter, dstufft, Theodore Tso |
2016-06-09 08:02:15 | vstinner | set | messageid: <1465459335.61.0.252054849071.issue27266@psf.upfronthosting.co.za> |
2016-06-09 08:02:15 | vstinner | link | issue27266 messages |
2016-06-09 08:02:15 | vstinner | create | |
|