def get_interpretor_by_name(name): if name not in interpretors: raise ConfigurationException('Interpretor %s is unknown' % name) return interpretors.get(name)