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 <rep...@bugs.python.org> <http://bugs.python.org/issue26793> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com