You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bad file descriptor error occurs if random library is imported before closing FDs #67361
bpo-21207: urandom persistent fd - not re-openned after fd close
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2015-01-05.21:27:53.714>created_at=<Date2015-01-05.21:12:41.240>labels= ['type-bug', 'library']
title='Bad file descriptor error occurs if random library is imported before closing FDs'updated_at=<Date2015-01-05.21:27:53.712>user='https://bugs.python.org/waynesong'
Activity
waynesong commentedon Jan 5, 2015
The following script:
Crashes with the following output:
On an Ubuntu 14.04 install (in VirtualBox). It seems to run correctly on Mac OS X. The script runs fine if I don't import random at the top.
vstinner commentedon Jan 5, 2015
This issue is a duplicate of the issue bpo-21207 which was already fixed in Python 3.4.1.