[issue26793] uuid causing thread issues when forking using os.fork py3.4+

Xiang Zhang report at bugs.python.org
Mon Apr 18 01:48:43 EDT 2016


Xiang Zhang added the comment:

It seems a matter of lib uuid. The comments in uuid.py tells that the module is not thread-safe. I try to comment out the code using ctypes and rerun your sample, it works well. 

In uuid's documentation it does not mention the non-thread-safe characteristic. Maybe we should add it.

----------
nosy:  -pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26793>
_______________________________________


More information about the Python-bugs-list mailing list