Updates:
        Summary: Unpickling a Singleton doesn't return the singleton object
        Status: Started
Labels: -Documentation -CodeInDifficulty-Easy -CodeInCategory-Documentation -EasyToFix -CodeInImportedIntoMelange Core

Comment #17 on issue 2204 by [email protected]: Unpickling a Singleton doesn't return the singleton object
http://code.google.com/p/sympy/issues/detail?id=2204

Instead of documenting the bug, it would be better to fix it. I just noticed that it's actually rather easy: by implementing __reduce_ex__, we can force protocols 0 and 1 to behave like protocol 2. I'm working on this in my "new-core" branch.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to