[Python-bugs-list] [ python-Bugs-482752 ] __getstate__ & __setstate__ ignored

noreply@sourceforge.net noreply@sourceforge.net
Fri, 23 Nov 2001 14:04:43 -0800


Bugs item #482752, was opened at 2001-11-16 22:08
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=482752&group_id=5470

Category: Type/class unification
Group: Python 2.2
Status: Open
Resolution: None
>Priority: 7
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Guido van Rossum (gvanrossum)
Summary: __getstate__ & __setstate__ ignored

Initial Comment:
pickle does not recognize overloaded __getstate__ or 
__setstate__ methods on subclasses of python built-in 
types. Instead, the instances' __dict__ attribute is 
always pickled.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=482752&group_id=5470