parameters: (self)
return_statement: return todo
docstring: Try to add routines to the library to satisfy all the dependencies
          for each routine in the library.
  
          Returns a set of routine names that have the dependencies unresolved.
docstring_summary: Try to add routines to the library to satisfy all the dependencies
          for each routine in the library.
docstring_tokens: Try to add routines to the library to satisfy all the dependencies for each routine in the library .
function: def resolveAllDependencies(self):
          """Try to add routines to the library to satisfy all the dependencies
          for each routine in the library.
  
          Returns a set of routine names that have the dependencies unresolved.
          """
          done_this = set()
          last_todo = set()
          while True:
              todo = set(self.allRoutineNames()) - done_this
              if todo == last_todo:
                  break
              for rn in todo:
                  r = self.getRoutine(rn)
                  deps = r.dependencies()
                  for d in deps:
                      self.addRoutine(d)
                  done_this.add(rn)
              last_todo = todo
          return todo
function_tokens: def resolveAllDependencies ( self ) : done_this = set ( ) last_todo = set ( ) while True : todo = set ( self . allRoutineNames ( ) ) - done_this if todo == last_todo : break for rn in todo : r = self . getRoutine ( rn ) deps = r . dependencies ( ) for d in deps : self . addRoutine ( d ) done_this . add ( rn ) last_todo = todo return todo