[ python-Bugs-873246 ] pickle: __getinitargs__ not used for new-style objects

SourceForge.net noreply at sourceforge.net
Wed May 5 00:57:34 EDT 2004


Bugs item #873246, was opened at 2004-01-08 14:17
Message generated for change (Comment added) made by fdrake
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=873246&group_id=5470

Category: Documentation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Fred L. Drake, Jr. (fdrake)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: pickle: __getinitargs__ not used for new-style objects

Initial Comment:
The documentation (libref section 3.14.5.1) doesn't
state that __getinitargs__() is not supported on
new-style objects.

The pickle docs are generally in a sad state.  ;-(

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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2004-05-05 00:57

Message:
Logged In: YES 
user_id=3066

Noted that __getinitargs__() is only used for old-style
classes.  Also described __getnewargs__() for new-style
types as used with protocol 2.

Doc/lib/libpickle.tex revisions  1.48, 1.49 (index entry),
1.42.10.3

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

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



More information about the Python-bugs-list mailing list