[Python-Dev] Re: [Python-checkins]python/dist/src/Pythonmarshal.c, 1.79, 1.80

Fredrik Lundh fredrik at pythonware.com
Tue Dec 21 16:21:28 CET 2004

Armin Rigo wrote:

> Some code in the 'py' lib used to use marshal to send simple objects between
> the main process and a subprocess.  We ran into trouble when we extended the
> idea to a subprocess that would actually run via ssh on a remote machine, and
> the remote machine's Python version didn't match the local one.  The obvious
> quick fix was to set the 'version' argument to 0 and pretend that it would be
> fine forever.

this is a rather common use case.


More information about the Python-Dev mailing list