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 pitrou
Recipients alexandre.vassalotti, barry, eli.bendersky, ethan.furman, gvanrossum, larry, pitrou, python-dev, serhiy.storchaka
Date 2014-02-21.10:37:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392979064.2282.1.camel@fsol>
In-reply-to <1392978955.77.0.775025662301.issue20653@psf.upfronthosting.co.za>
Content
> If the mixed-in class defines __reduce_ex__, and the Enum class
> defines __reduce__, pickle will see that the Enum class has both, and
> will call the _ex__ method.

Ah, I understand your concern. You are using "preferred" in a different
sense. The pickle docs don't mention __reduce_ex__ as being preferred,
as in "you should use this one", on the contrary.
History
Date User Action Args
2014-02-21 10:37:47pitrousetrecipients: + pitrou, gvanrossum, barry, larry, alexandre.vassalotti, eli.bendersky, ethan.furman, python-dev, serhiy.storchaka
2014-02-21 10:37:47pitroulinkissue20653 messages
2014-02-21 10:37:47pitroucreate