'Return a dialect-specific literal processor for this type.'

def _cached_literal_processor(self, dialect):

    try:
        return dialect._type_memos[self]['literal']
    except KeyError:
        d = self._dialect_info(dialect)
        d['literal'] = lp = d['impl'].literal_processor(dialect)
        return lp
