Antoine Pitrou added the comment: __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__. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20653> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com