Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc7156 commit 54454e7Copy full SHA for 54454e7
1 file changed
Lib/multiprocessing/dummy/__init__.py
@@ -70,7 +70,8 @@ def __init__(self, group=None, target=None, name=None, args=(), kwargs={}):
70
def start(self):
71
assert self._parent is current_process()
72
self._start_called = True
73
- self._parent._children[self] = None
+ if hasattr(self._parent, '_children'):
74
+ self._parent._children[self] = None
75
threading.Thread.start(self)
76
77
@property
0 commit comments