def __init__(self, **kwargs): SlotObject.__init__(self, **kwargs) if self.priority is None: self.priority = DepPriority() if self.depth is None: self.depth = 0 if self.collapsed_parent is None: self.collapsed_parent = self.parent if self.collapsed_priority is None: self.collapsed_priority = self.priority
def __repr__(self): if self._hash_key is None: # triggered by python-trace return SlotObject.__repr__(self) return "<%s (%s)>" % ( self.__class__.__name__, ", ".join(("'%s'" % x for x in self._hash_key)), )
def __init__(self, **kwargs): SlotObject.__init__(self, **kwargs) self._task_queue = deque() self.running_tasks = set() if self.max_jobs is None: self.max_jobs = 1
def __init__(self, **kwargs): SlotObject.__init__(self, **kwargs) self.locked = False
def __repr__(self): if self._hash_key is None: # triggered by python-trace return SlotObject.__repr__(self) return "<%s (%s)>" % (self.__class__.__name__, ", ".join(("'%s'" % x for x in self._hash_key)))