def __init__(self, patterns, ignore_patterns=None, suffixes=["<STR_LIT>"]):
super(Handler, self).__init__()<EOL>self.patterns = [os.path.normcase(pattern) for pattern in patterns]<EOL>self.ignore_patterns = None<EOL>if ignore_patterns:<EOL><INDENT>self.ignore_patterns = [os.path.normcase(pattern) for<EOL>pattern in ignore_patterns]<EOL><DEDENT>self.suffixes = suffixes<EOL>self.failures = {}<EOL>
Creates a new handler. `patterns` and `ignore_patterns` are lists of
        glob patterns that determine what files this handler operates on.
        `suffixes` is a list of extensions that will be added to a input file
        to produce output files (the files will be produced in the output
        folder, but will respect the input folder structure).