2011/12/21 Massa, Harald Armin <c...@ghum.de> > Is this a bug? Or is multiprocessing not supposed to be compatible across >> implementations? I would think it is, since it's just sockets with pickled >> data, right? >> >> As much as I know, pickles are not exactly a data-exchange format. Being > that in a Pickle something quite similiar to the internal memory > representation of Python objects is serialized. > > And the internal memory representation of cPython to the PyPy one. >
Pickle uses known byte order and sizes, and has a stable set of formats and opcodes. Pickles generated on one platform can be read on a different one; even with different Python versions, even with PyPy vs. CPython. Otherwise it's a bug, like this one :) -- Amaury Forgeot d'Arc
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev