[issue29368] Optimize unpickling list-like objects

Serhiy Storchaka report at bugs.python.org
Wed Jan 25 07:22:42 EST 2017


Serhiy Storchaka added the comment:

collections.Sequence has no relation to the pickle protocol.

Every object that return listitems from the __reduce__() method must support the extend() method according to the specification.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29368>
_______________________________________


More information about the Python-bugs-list mailing list