We're running into the problem described in bug 1177468, where urandom tries to
use a cached file descriptor that was closed by a daemonizing function.   A quick
fix/workaround is to have os.urandom open /dev/urandom everytime it gets called
instead of using the a cached fd.
 
Would that create any problems other that those related to the additional system
call overhead?
 
BTW, I added the traceback we're getting as comment to the bug.
 
Thanks
 
PS
 
This is with Python 2.4.1
 
--
Luis P Caamano
Atlanta, GA USA
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to