Python 3.4.0 forking error with /dev/urandom causes errors in several libraries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3.4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 14.04.1 LTS
Release: 14.04
python3:
Installed: 3.4.0-0ubuntu2
Candidate: 3.4.0-0ubuntu2
Version table:
*** 3.4.0-0ubuntu2 0
500 http://
100 /var/lib/
Personally I found this to be a problem with pytest-xdist and celery but it shows up just by using multiprocessing.
After fork a file descriptor is held for /dev/urandom and all calls to os.urandom() in the child process fail.
Details of the bug are here: http://
I'd like the latest version of python: 3.4.2 to be available in 14.04 LTS either as the default for python3 or available as a specific point release.
The issue is already fixed in the latest versions of python 3.4, I'm not sure if it's made it into 3.4.1 or 3.4.2 but if the package is updated it makes sense for it to be at the latest.
Thank you.