def findall(self):
from stat import S_ISREG, S_ISDIR, S_ISLNK<EOL>self.allfiles = allfiles = []<EOL>root = self.base<EOL>stack = [root]<EOL>pop = stack.pop<EOL>push = stack.append<EOL>while stack:<EOL><INDENT>root = pop()<EOL>names = os.listdir(root)<EOL>for name in names:<EOL><INDENT>fullname = os.path.join(root, name)<EOL>stat = os.stat(fullname)<EOL>mode = stat.st_mode<EOL>if S_ISREG(mode):<EOL><INDENT>allfiles.append(fsdecode(fullname))<EOL><DEDENT>elif S_ISDIR(mode) and not S_ISLNK(mode):<EOL><INDENT>push(fullname)<EOL><DEDENT><DEDENT><DEDENT>
Find all files under the base and set ``allfiles`` to the absolute
        pathnames of files found.