def getparam(self, ext, filter=None):
        try:
            param = self.extensions[ext.upper()]
        except KeyError:
            return None
        if filter:
            try:
                return filter(param)
            except ValueError:
                return None
        else:
            return param
Given a filter implementation, compile this expression.
dataset/ETHPy150Open slimta/python-slimta/slimta/smtp/extensions.py/Extensions.getparam--crossover with--dataset/ETHPy150Open google/grr/grr/lib/lexer.py/Expression.Compile