On 21 March 2012 23:21, Mike Hansen <mhan...@gmail.com> wrote:
> A normal dictionary should work:

Hi Mike, thanks! I see from a quick look at the source that, on
non-SageObjects dumps() does:

cPickle.dumps(obj, protocol=2)

I am a bit confused about the relationship between the dumps/loads
mechanism and pickling... Does this mean that dumps() will be called
on objects that the dictionary contains? (Doesn't pickle use
__getstate__ or something like that instead?)

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

Reply via email to