On 2015-05-04 14:18, Nathann Cohen wrote:
Yo !
I guess it would be simpler to use __setstate__() in your use case.
What is the difference between setstate and a helper function ?
Not much, only that __setstate__() is a cleaner design and that
__getstate__() is easier to doctest than __reduce__().
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.