Hello everybody, I have a simple problem. I need to implement a __reduce__ function for pickling, and such a function must apparently return a pair:
(f, args) You can then build the original object with "f(*args)". I would like to do the same, but with additional "keywords arguments", i.e. something like: (f, args, kwargs) Which would then be used as f(*args, **kwargs). It can work with an intermediate function, but I would really like to avoid it. Especially since this problem must have been solved 1000 times already. Thaaaaaaaanks, Nathann -- 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.