_pickle.UnpicklingError: could not find MARK
问题 I got exceptions like UnicodeDecodeError raised when pickling (a list of) objects of EventFrame with a member participants that was an empty set. class EventFrame: """Frame for an event""" def __init__(self, id=0): ... self.participants = set() ... When it wasn't empty, there were no problems, so I first set participants to something and then pickled it. But during runtime it may happen that participants is emptied again. So I tried to manually delete the object in this case. After that I