Paul Rubin wrote:
There's another issue with marshal that makes it unsuitable for Pyro,
which is that its data format is (for legitimate reasons) not
guaranteed to be the same across different Python releases.  That
means that if the two ends of the Pyro application aren't using the
same Python version, they might not be able to interoperate.

Paul, the default serialization protocol that Pyro uses is pickle (with the highest available protocol number). So there is a risk already that it doesn't interoperate with older Python versions, unless you configure the max pickle protocol or switch to using one of the supported XML serializations. For mobile code, Pyro relies on the transfer of the actual bytecode and this won't work at all no matter what if you use different Python versions. Unless the bytecode happens to be the same (consider yourself lucky).

--Irmen
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to