pyc / pyo architecture independent?

Michael Hudson mwh at python.net
Tue Nov 18 09:54:40 EST 2003


Terry Hancock <hancock at anansispaceworks.com> writes:

> This question was brought up by packagers trying to set
> policy for including Python modules in Debian Gnu/Linux:
> 
> Are the .pyc / .pyo files safely architecture independent?
> (I.e. are they now, and are they likely or even guaranteed
> to remain so?).

Yes.  .pycs are marshalled code objects (mostly) so the notes in

    http://www.python.org/doc/current/lib/module-marshal.html

apply.

Cheers,
mwh

-- 
  CLiki pages can be edited by anybody at any time. Imagine the most
  fearsomely comprehensive legal disclaimer you have ever seen, and
  double it                        -- http://ww.telent.net/cliki/index




More information about the Python-list mailing list