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 jhylton
Recipients
Date 2002-11-13.19:26:53
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
If you write a getstate / setstate pair for a new-style
type so that it can be pickled, the reduce code for
new-style types imposes extra restrictions on the
getstate / setstate pair.  Specifically, the setstate
method will be called only if the object returned by
getstate is not false.
The reconstructor code uses the variable "dict" for the
getstate result.  This suggests that it must be a dict,
although I can't tell if that is actually true.  If it
is an empty dict, setstate won't be called.
History
Date User Action Args
2007-08-23 14:08:08adminlinkissue637941 messages
2007-08-23 14:08:08admincreate