If I have objects a
and b
and both reference object obj
, what happens when I Pickle and then restore the objects? Will the pickled data 'know' that a
and b
both referenced the same object and restore everything accordingly, or will the two get two different — and initially equal — objects?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…