[Python-bugs-list] [ python-Feature Requests-835521 ] More obvious indication of __reduce__ documentation.

SourceForge.net noreply at sourceforge.net
Tue Nov 4 01:58:38 EST 2003


Feature Requests item #835521, was opened at 2003-11-04 01:58
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=835521&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeremy Fincher (jemfinch)
Assigned to: Nobody/Anonymous (nobody)
Summary: More obvious indication of __reduce__ documentation.

Initial Comment:
I just spent quite some time searching for
documentation on the interface for __reduce__.  Turns
out, it's in the library documentation, 3.14.5.2, under
the heading "Pickling and unpickling extension types."

Perhaps that heading can be changed to more clearly
indicate that "__reduce__ is documented here!"  At
least, when I'm writing new-style classes (which the
pickle/copy machinery doesn't accept anything but a
copy_reg registration or __reduce__ or __reduce_ex__) I
don't generally consider my work to be an "extension
class" and thus hadn't ever looked under that heading.

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

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



More information about the Python-bugs-list mailing list