From 8e6e0fdb7fee3796df8b578c1311b5e46005f2d9 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Thu, 19 Apr 2012 23:55:01 +0200 Subject: Issue #14308: Fix an exception when a "dummy" thread is in the threading module's active list after a fork(). --- Lib/threading.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Lib/threading.py') diff --git a/Lib/threading.py b/Lib/threading.py index 69b7763c8a..58ffa7ebc2 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -1007,6 +1007,9 @@ class _DummyThread(Thread): def _set_daemon(self): return True + def _stop(self): + pass + def join(self, timeout=None): assert False, "cannot join a dummy thread" -- cgit v1.2.1