[issue14308] '_DummyThread' object has no attribute '_Thread__block'
sbt
report at bugs.python.org
Thu Mar 15 15:25:10 CET 2012
sbt <shibturn at gmail.com> added the comment:
_DummyThread.__init__() explicitly deletes self._Thread__block:
def __init__(self):
Thread.__init__(self, name=_newname("Dummy-%d"))
# Thread.__block consumes an OS-level locking primitive, which
# can never be used by a _DummyThread. Since a _DummyThread
# instance is immortal, that's bad, so release this resource.
del self._Thread__block
^^^^^^^^^^^^^^^^^^^^^^^
----------
nosy: +sbt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14308>
_______________________________________
More information about the Python-bugs-list
mailing list