This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ddorfman
Recipients
Date 2004-11-08.08:10:51
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Two problems with deque.__reduce__:

  1. If one of the elements is self, it ends up in args,
     which makes it impossible for the unpickler to
     correctly supply it. Fixed by using the listitems
     argument (PEP 307 says that non-lists may use this if
     they support append and extend, which deque does)
     (test_pickle_recursive). This is related to SF #1062277
     but does not depend on it.

  2. Since we wrote our reduce, the standard ones don't have
     a chance to save the instance dictionary, so we have to
     do it ourselves (TestSubclass.test_pickle).
History
Date User Action Args
2007-08-23 15:40:38adminlinkissue1062279 messages
2007-08-23 15:40:38admincreate