Hi, I was wondering if there is anything like a dictionary or container class, that inherits from SageObject, and to which I can add arbitrary SageObjects?
I would like to be able to do something like: sage: D = SageDictionary() sage: D["matrix1"] = M sage: D["bound"] = x sage: s = D.dumps() Then I can make use of the dumps/loads facilities without having to subclass SageObject (which would entail me having to import my class, rather than just include it in an attach()ed file, which I'd like to avoid). Alternatively, if I just make a dictionary of SageObjects and pickle, would that work? Thanks, Emil -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org