Author alexandre.vassalotti
Recipients Leo.Na, alexandre.vassalotti, belopolsky, neologix, pitrou, serhiy.storchaka
Date 2013-04-14.05:03:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365915819.59.0.234031679743.issue10701@psf.upfronthosting.co.za>
In-reply-to
Content
The mutating __getstate__ is very likely the problem here. I've attached a small test case which shows the described behavior.

We could fix this by always making a copy of any mutable container we  want to iterate over to save its items. Performance-wise this solution is not very attractive. We are better off documenting this behavior as a limitation of __getstate__.
History
Date User Action Args
2013-04-14 05:03:39alexandre.vassalottisetrecipients: + alexandre.vassalotti, belopolsky, pitrou, neologix, Leo.Na, serhiy.storchaka
2013-04-14 05:03:39alexandre.vassalottisetmessageid: <1365915819.59.0.234031679743.issue10701@psf.upfronthosting.co.za>
2013-04-14 05:03:39alexandre.vassalottilinkissue10701 messages
2013-04-14 05:03:39alexandre.vassalotticreate