New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pickling of Functors #10460
Comments
comment:3
I don't know why the patchbot complains. The patch applies cleanly to a fresh |
Pickling of functors. Independent of #8800 |
comment:4
Attachment: 10460_pickling_functors.patch.gz Since the patchbot did not try to apply the patch again and since the patch cleanly applies to sage-4.6.1.alpha4, I now try to trigger another attempt of the patchbot by posting a new copy of the patch. And, by the way, this rather simple patch still needs review... |
Reviewer: Martin Raum |
comment:5
I only corrected tiny typos in the documentation, and I altered one doctest to better reflect the change that you introduced. |
Replacement for original patch. |
comment:6
Attachment: trac-10460-pickling_functors-review.patch.gz Replying to @sagetrac-mraum:
Thank you, Martin! For the record, the patchbot and the release manager: Apply trac-10460-pickling_functors-review.patch |
Merged: sage-4.7.alpha2 |
We used to have:
In other words, the cdef'd attributes of the construction functor are lost.
I created a generic pickling method for functors, so that it works a lot better:
The patch contains two tests, showing that the problem is solved.
Component: categories
Keywords: functors
Author: Simon King
Reviewer: Martin Raum
Merged: sage-4.7.alpha2
Issue created by migration from https://trac.sagemath.org/ticket/10460
The text was updated successfully, but these errors were encountered: