You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_DummyThread objects have _is_stopped = False, but _tstate_lock = None. This causes an AssertionError in is_alive and __repr__ .
File ".../cp34/lib/python3.4/threading.py", line 814, in __repr__
self.is_alive() # easy way to get ._is_stopped set when appropriate
File ".../cp34/lib/python3.4/threading.py", line 1110, in is_alive
self._wait_for_tstate_lock(False)
File ".../cp34/lib/python3.4/threading.py", line 1066, in _wait_for_tstate_lock
assert self._is_stopped
AssertionError
This seems an regression from bpo-18808, so nosy Tim and Antoine. Since _DummyThread is always alive and daemonic, I think the solution could be overriding is_alive in _DummyThread and always returning True.
Misc/NEWS
so that it is managed by towncrier #552Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: