[issue1703448] "t.join(); assert t not in threading.enumerate()" fails

Gregory P. Smith report at bugs.python.org
Tue Jan 22 00:42:51 CET 2008


Gregory P. Smith added the comment:

why not just do this?

    finally:
        with _active_limbo_lock:
            self.__stop()
            try:
                self.__delete()
            except:
                pass

(i believe with works on locks?  if not turn that into an acquire, try:
finally: release)

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1703448>
_____________________________________


More information about the Python-bugs-list mailing list