Message416920
Apparently, the explanation is not that easy: `_stop` first sets `_is_stopped` to `True` and only then `_tstate_lock` to `None`. Therefore, the race should not cause the `AssertionError`.
I observed the `AssertionError` in Python 3.6. The related `threading` code is however almost identical to that in Python 3.11. |
|
Date |
User |
Action |
Args |
2022-04-07 09:34:45 | dmaurer | set | recipients:
+ dmaurer |
2022-04-07 09:34:45 | dmaurer | set | messageid: <1649324085.44.0.480197974496.issue47246@roundup.psfhosted.org> |
2022-04-07 09:34:45 | dmaurer | link | issue47246 messages |
2022-04-07 09:34:45 | dmaurer | create | |
|