def keys(self): with _IterationGuard(self): for k, wr in self.data.items(): if wr() is not None: yield k