Message24892
Logged In: YES
user_id=81797
Just providing some feedback:
I'm able to reproduce this. Importing random will cause
this file descriptor to be called. Opening urandom on every
call could lead to unacceptable syscall overhead for some.
Perhaps there should be a "urandomcleanup" method that
closes the file descriptor, and then random could get the
bytes from urandom(), and clean up after itself?
Personally, I only clean up the file descriptors I have
allocated when I fork a new process. On the one hand I
agree with you about sucking up a fd in the standard
library, but on the other hand I'm thinking that you just
shouldn't be closing file descriptors for stuff you'll be
needing. That's my two cents on this bug. |
|
Date |
User |
Action |
Args |
2007-08-23 14:30:44 | admin | link | issue1177468 messages |
2007-08-23 14:30:44 | admin | create | |
|