[issue27908] del _limbo[self] KeyError

Maciej Urbański report at bugs.python.org
Tue Sep 13 15:40:29 EDT 2016


Maciej Urbański added the comment:

@Dima.Tisnek, only reason for having both of these conditions together is so I won't have to repeat the same error message in the code at little price of the performance in this edge case (trying to start the same thread multiple times).

Unless I'm missing something there should be no way how it would make this lock required for setting `self._started`.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27908>
_______________________________________


More information about the Python-bugs-list mailing list