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.
On Sat, Jun 7, 2014 at 11:00 PM, Ethan Furman
On 06/07/2014 12:39 PM, Neil Girdhar wrote:
Any comments on this?
__reduce__ is already a well-defined part of pickle.
We also have __reduce_ex__, __getnewargs__, and now __getnewargs_ex__ -- why do we need __reduce__ to do the same thing as __getnewargs_ex__?
-- ~Ethan~ _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
--
--- You received this message because you are subscribed to a topic in the Google Groups "python-ideas" group. To unsubscribe from this topic, visit https://groups.google.com/d/ topic/python-ideas/zohH2BCtYzY/unsubscribe. To unsubscribe from this group and all its topics, send an email to python-ideas+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.