where '%s' is replaced with parse_until elements joined into a string, separated with ', '. define the method compile_filter_error with 3 arguments: self, token and e.
def compile_filter_error ( self , token , e ) :