[Python-bugs-list] [Bug #116295] pickle fails to reduce class instances as documented

noreply@sourceforge.net noreply@sourceforge.net
Fri, 6 Oct 2000 21:21:38 -0700


Bug #116295, was updated on 2000-Oct-06 21:21
Here is a current snapshot of the bug.

Project: Python
Category: Library
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: pickle fails to reduce class instances as documented

Details: According to the documentation of module copy_reg, copy_reg.pickle registers reduction functions for types and classes, which are then used by module pickle to reduce objects to a function and a tuple of arguments.  However, module pickle (and probably also cPickle) does not use registered reduction functions to reduce class instances.  Therefore, either the documentation of module copy_reg or the implementation of module pickle (and cPickle) is wrong.

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=116295&group_id=5470