Unpickling fails for OrderingList under pickle protocol 2

Issue #2454 resolved
Jeff Dairiki created an issue

Apparently, when unpickling from pickle protocol 2 (the highest), list items are appended to the new object before its {{{dict}}} is updated. This is resulting in an {{{AttributeError}}} being thrown by

(Because {{{self.reorder_on_append}}} hasn't been set yet).

A patch including a test and a fix will be attached momentarily.

Comments (4)

  1. Log in to comment