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:28:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392978520.35.0.886690871704.issue20653@psf.upfronthosting.co.za>
In-reply-to
Content
__reduce_ex__ is not the "preferred method": it's only necessary if you want so special-case according to the prototocol number.
In most cases, this is not necessary so it is simpler to define __reduce__ and not __reduce_ex__.

So I think the patch really should make use of __reduce__, not __reduce_ex__.
History
Date User Action Args
2014-02-21 10:28:40pitrousetrecipients: + pitrou, gvanrossum, barry, larry, alexandre.vassalotti, eli.bendersky, ethan.furman, python-dev, serhiy.storchaka
2014-02-21 10:28:40pitrousetmessageid: <1392978520.35.0.886690871704.issue20653@psf.upfronthosting.co.za>
2014-02-21 10:28:40pitroulinkissue20653 messages
2014-02-21 10:28:39pitroucreate