Message216232
Just to add for those interested: a possible work around solution is using "os.path.sameopenfile" to check fds against another known fd for urandom.
And for those wish to have a bit of fun (and maybe a security consideration):
python -c "import os;os.urandom(1);os.closerange(3,256);fd = open('/dev/zero');print(os.urandom(10))"
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' |
|
Date |
User |
Action |
Args |
2014-04-14 22:08:24 | kwirk | set | recipients:
+ kwirk, pitrou |
2014-04-14 22:08:24 | kwirk | set | messageid: <1397513304.17.0.528133224232.issue21207@psf.upfronthosting.co.za> |
2014-04-14 22:08:24 | kwirk | link | issue21207 messages |
2014-04-14 22:08:24 | kwirk | create | |
|