Message286219
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__ |
|
Date |
User |
Action |
Args |
2017-01-24 21:46:42 | alexandre.vassalotti | set | recipients:
+ alexandre.vassalotti, pitrou, python-dev, serhiy.storchaka |
2017-01-24 21:46:42 | alexandre.vassalotti | set | messageid: <1485294402.79.0.216404100634.issue17720@psf.upfronthosting.co.za> |
2017-01-24 21:46:42 | alexandre.vassalotti | link | issue17720 messages |
2017-01-24 21:46:42 | alexandre.vassalotti | create | |
|