'Customize attribute updating when using the `copy` module.
This may not be needed in the future if we fix the mess we have with
different timeout types.'

def __setstate__(self, state):

    (dictstate, slotstate) = state
    if (dictstate is not None):
        self.__dict__.update(dictstate)
    for name in slotstate:
        setter_name = ('_setter__' + name)
        if (setter_name not in slotstate):
            setattr(self, name, slotstate[name])
