[issue29368] Optimize unpickling list-like objects
STINNER Victor
report at bugs.python.org
Wed Jan 25 08:13:27 EST 2017
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 <report at bugs.python.org>
<http://bugs.python.org/issue29368>
_______________________________________
More information about the Python-bugs-list
mailing list