py26 doesn't support set {} constructor. Use frozenset.