commit | 8e6e0fdb7fee3796df8b578c1311b5e46005f2d9 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Thu Apr 19 23:55:01 2012 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Thu Apr 19 23:55:01 2012 +0200 |
tree | e1f800a5e8c4747cbe643209d54574ab8314b54b | |
parent | 10ac77d2d886c0921b21253b768fca8bc9b3c0dd [diff] [blame] |
Issue #14308: Fix an exception when a "dummy" thread is in the threading module's active list after a fork().
diff --git a/Lib/threading.py b/Lib/threading.py index 69b7763..58ffa7e 100644 --- a/Lib/threading.py +++ b/Lib/threading.py
@@ -1007,6 +1007,9 @@ def _set_daemon(self): return True + def _stop(self): + pass + def join(self, timeout=None): assert False, "cannot join a dummy thread"