def _build_reverse_list(original): result = [] for c in range(1, 126): c = six.unichr(c) if c not in original: result.append(c) return frozenset(result)