Author alexandre.vassalotti
Recipients alexandre.vassalotti, pitrou, python-dev, serhiy.storchaka
Date 2017-01-24.21:46:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485294402.79.0.216404100634.issue17720@psf.upfronthosting.co.za>
In-reply-to
Content
I don't recall where I picked up the referred spec. Looking at PEP 307 and pickle docs [1], it does look like that objects which provides the listitems field of the reduce tuple should support extend() too.

It might best to try both in the implementation to avoid breaking existing code that relies on the previous behavior.

[1]: https://docs.python.org/3/library/pickle.html#object.__reduce__
History
Date User Action Args
2017-01-24 21:46:42alexandre.vassalottisetrecipients: + alexandre.vassalotti, pitrou, python-dev, serhiy.storchaka
2017-01-24 21:46:42alexandre.vassalottisetmessageid: <1485294402.79.0.216404100634.issue17720@psf.upfronthosting.co.za>
2017-01-24 21:46:42alexandre.vassalottilinkissue17720 messages
2017-01-24 21:46:42alexandre.vassalotticreate