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
remove __reduce__ method from Mutability #30281
Comments
Author: Michael Jung |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
New commits:
|
Commit: |
comment:5
Is this for a ticket where the existence of this method is a creating a problem? |
comment:6
Yes. See comment:10 in #30261 and all the following by Travis. |
comment:7
It seems that inheriting from |
comment:8
Yes. When there is a |
comment:10
This |
Reviewer: Travis Scrimshaw |
comment:11
I really think this should be removed. However, we need to make sure that when we pickle and unpickle an immutable object |
comment:12
Fine with me too |
Changed reviewer from Travis Scrimshaw to Travis Scrimshaw, Matthias Koeppe |
Changed branch from u/gh-mjungmath/remove___reduce___method_from_mutability to |
The class
Mutability
used to be a mixin class for mutable objects. However, not every class inheriting from it uses pickling and even then it must be overloaded manually in most cases anyway.We suggest to remove that method from
Mutability
.CC: @tscrim @mkoeppe @egourgoulhon
Component: misc
Author: Michael Jung
Branch/Commit:
f0230f0
Reviewer: Travis Scrimshaw, Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/30281
The text was updated successfully, but these errors were encountered: