def _delete(self):
    try:
        with _active_limbo_lock:
            del _active[self._Thread__ident]
    except __HOLE__:
        if 'dummy_threading' not in _sys.modules:
            raise


# http://bugs.python.org/issue14308
dataset/ETHPy150Open tarekziade/boom/boom/_patch.py/_delete