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 ethan.furman
Recipients alexandre.vassalotti, barry, ethan.furman, pitrou, python-dev, serhiy.storchaka
Date 2014-02-07.23:57:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The version 2 docs:
The object class implements both __reduce__() and __reduce_ex__();
however, if a subclass overrides __reduce__() but not __reduce_ex__(),
the __reduce_ex__() implementation detects this and calls __reduce__().

The current docs may say the same thing, but much less clearly:
Alternatively, a __reduce_ex__() method may be defined. The only
difference is this method should take a single integer argument, the
protocol version. When defined, pickle will prefer it over the
__reduce__() method. In addition, __reduce__() automatically becomes
a synonym for the extended version. The main use for this method is to
provide backwards-compatible reduce values for older Python releases.
Date User Action Args
2014-02-07 23:57:15ethan.furmansetrecipients: + ethan.furman, barry, pitrou, alexandre.vassalotti, python-dev, serhiy.storchaka
2014-02-07 23:57:15ethan.furmansetmessageid: <>
2014-02-07 23:57:15ethan.furmanlinkissue20534 messages
2014-02-07 23:57:14ethan.furmancreate