Message186882
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__. |
|
Date |
User |
Action |
Args |
2013-04-14 05:03:39 | alexandre.vassalotti | set | recipients:
+ alexandre.vassalotti, belopolsky, pitrou, neologix, Leo.Na, serhiy.storchaka |
2013-04-14 05:03:39 | alexandre.vassalotti | set | messageid: <1365915819.59.0.234031679743.issue10701@psf.upfronthosting.co.za> |
2013-04-14 05:03:39 | alexandre.vassalotti | link | issue10701 messages |
2013-04-14 05:03:39 | alexandre.vassalotti | create | |
|