[Python-ideas] Make __reduce__ to correspond to __getnewargs_ex__
Neil Girdhar
mistersheik at gmail.com
Sun Jun 8 19:59:22 CEST 2014
Of course they should? What should they use?
On Sun, Jun 8, 2014 at 6:03 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
>
> On 8 Jun 2014 16:53, "Neil Girdhar" <mistersheik at gmail.com> wrote:
> >
> > Was my proposal clear? If reduce isn't updated to return the keyword
> arguments then it is not compatible with classes that require keyword
> arguments without some serious metaclass fiddling as far as I can tell.
>
> Those classes shouldn't use reduce for their pickling support.
>
> Cheers,
> Nick.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140608/74db2fef/attachment.html>
More information about the Python-ideas
mailing list