def __reduce_ex__(self, protocol=None):
        return (copy_reg._reconstructor,
                (type(self), set, list(self)),
                self.__getstate__())
Overridden to make sure we call our custom __getstate__.
dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/TraitSetObject.__reduce_ex__