[IronPython] Compatibility of cPython Pickled Objects w/ IronPython

Michael Foord fuzzyman at voidspace.org.uk
Sun Jul 15 20:33:05 CEST 2007

M. David Peterson wrote:
> As per the subject line, is there any reason why passing pickled 
> objects between cPython and IronPython wouldn't just work? Of course I 
> could just try and find out, but I hesitate to jump into unchartered 
> territory as (and I assume I am not alone in this) I have a tendency 
> to become infatuated with forcing things into submission when they 
> don't "just work", eating away an entire dev day or two in the process.
> Anyone care to help a brother save a couple dev days and a few strands 
> of hair? :D
> Thanks in advance!

I haven't tried it, but they *should* be compatible. Pickle uses its own 
stack based language to write out objects - so for pure Python it should 
work fine.

As pickle is a pure Python module which works (I'm pretty sure I tried 
it back in the past !?!) with IronPython, the semantics should be unchanged.

Michael Foord

> -- 
> /M:D
> M. David Peterson
> http://mdavid.name <http://mdavid.name> | 
> http://www.oreillynet.com/pub/au/2354 | http://dev.aol.com/blog/3155
> ------------------------------------------------------------------------
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

More information about the Ironpython-users mailing list