What is "marshal data"?

Michael Hudson mwh at python.net
Fri Nov 16 13:18:21 CET 2001


Michael Hudson <mwh at python.net> writes:

> "Werner Schiendl" <ws-news at gmx.at> writes:
> 
> > just a guess, but even if the magic id in the .pyc file is the same,
> > does this guarantee that the .pyc file is protable between different
> > platforms?
> 
> Yes.  This fact is even documented <wink>.

Woops, shouldn't be so glib.  The fact that marshalled data is
portable is documented, but it's not obvious that if you're wondering
whether pycs are portable between platforms that you should be reading
the marshal docs.  They are, though.

Cheers,
M.

-- 
  Well, you pretty much need Microsoft stuff to get misbehaviours
  bad enough to actually tear the time-space continuum.  Luckily 
  for you, MS Internet Explorer is available for Solaris.
                              -- Calle Dybedahl, alt.sysadmin.recovery



More information about the Python-list mailing list