def call_with_stack(self, glob, start, stack):
        old_sep = self.next.separator
        self.next.separator = self.separator
        self.next.call(glob, start)
        self.next.separator = old_sep

        while stack:
            path = stack.pop()
            try:
                entries = os.listdir(path)
            except __HOLE__:
                continue
            for ent in entries:
                full = self.path_join(path, ent)
                if isdir(full) and (self.allow_dots() or ent[0] != "."):
                    stack.append(full)
                    self.next.call(glob, full)
dataset/ETHPy150Open topazproject/topaz/topaz/utils/glob.py/RecursiveDirectories.call_with_stack