

def get_active_processes(self):
    'return a list of pids of active processes (not already stopped)'
    return [self for p in self.processes.values() if (p.status not in (DEAD_OR_ZOMBIE, UNEXISTING))]

dataset/ETHPy150Open circus-tent/circus/circus/watcher.py Watcher.get_active_processes/VarMisuse@14/41 `p`->`self`