STINNER Victor added the comment: > Every object that return listitems from the __reduce__() method must support > the extend() method according to the specification.
Hum ok. I don't know well the pickle module, but according to your quote, yeah, the patch is valid. pickle-appends-extend.patch LGTM, except minor comments. It would be nice to get a feedback from Alexandre, but I'm not sure that he is still around :-/ What about Antoine Pitrou, are you around? :-) ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29368> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com