[issue10701] Error pickling objects with mutating __getstate__

2017-02-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> not a bug stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue10701] Error pickling objects with mutating __getstate__

2017-02-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: I agree with Antoine that, "As the name suggests, __getstate__ should probably not mutate anything." Unless a problematic non-mutating example can be found, I suggest this be closed. For the most part, our rule has been that pure python code doesn't have

[issue10701] Error pickling objects with mutating __getstate__

2017-02-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> docs@python components: +Documentation nosy: +docs@python status: open -> pending type: behavior -> enhancement versions: +Python 3.5, Python 3.6, Python 3.7 -Python 3.3, Python 3.4

[issue10701] Error pickling objects with mutating __getstate__

2013-12-05 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti alexan...@peadrop.com: -- title: Error pickling a dict - Error pickling objects with mutating __getstate__ ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10701