[New-bugs-announce] [issue26793] uuid causing thread issues when forking using os.fork py3.4+
report at bugs.python.org
Mon Apr 18 00:51:59 EDT 2016
New submission from Steven Adams:
I've ran into a strange issue after trying to port a project to support py 3.x
The app uses a double os.fork to run in the background. On py 3.4+ it seems that when you have an import uuid statement it causes threading.threads to always return false on is_alive()..
Here is an example of the issue. You can see i've imported uuid. This script should fork into the background and stay alive for at least 3 loops (3 seconds) but it dies after 1 loop as self._thread.is_alive() return False??
This does NOT happen in py 2.7 or py3.3. Only occurs py3.4+
components: Interpreter Core
nosy: Steven Adams
title: uuid causing thread issues when forking using os.fork py3.4+
versions: Python 3.4, Python 3.5
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce