A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-April/052716.html below:

[Python-Dev] os.urandom uses closed FD (sf 1177468)

[Python-Dev] os.urandom uses closed FD (sf 1177468) [Python-Dev] os.urandom uses closed FD (sf 1177468)Luis P Caamano lcaamano at gmail.com
Tue Apr 19 19:10:03 CEST 2005
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20050419/3d0e7848/attachment.htm
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4