ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 13 Oct 2011 17:47:27 -0500pickling extension classeshttp://ask.sagemath.org/question/8376/pickling-extension-classes/What is the right way to pickle a cython extension class? Consider the example
cdef class Stuff:
def __init__(self):
pass
then
a = Stuff()
a == loads(dumps(a))
gives the result **False** because the address of the new object generated by *loads* is different from the original object *a*.
Hartmut MonienThu, 13 Oct 2011 17:47:27 -0500http://ask.sagemath.org/question/8376/