Message216232
| Author |
kwirk |
| Recipients |
kwirk, pitrou |
| Date |
2014年04月14日.22:08:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1397513304.17.0.528133224232.issue21207@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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' |
|
History
|
|---|
| 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 |
|