Comment #2 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
Pickling of new-style classes with __getnewarg__ only works in protocol 2 and higher.
aa = pickle.loads(pickle.dumps(S.Pi, -1))
Pickles using the highest protocol version available
aa is pi
True I suppose this should be documented somewhere. -- 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.
