In article <LemdnTe8n5ZcsSeiRVn-jA@august.net>,
Terry Hancock <hancock@anansispaceworks.com> wrote:[color=blue]
>
>Are the .pyc / .pyo files safely architecture independent? (I.e. are
>they now, and are they likely or even guaranteed to remain so?).[/color]
Yes. I don't know about future guarantees, but you may be assured that
it would be a Big Change if that were no longer true.
[color=blue]
>I know the bytecode can change between interpreter versions and other
>interpreters like Jython, Stackless, and PyPy (does that exist yet?)
>may not even choose to make them. But given that the same interpreter
>is made available, will they work on, say, an ARM processor, a 68K, and
>a i386 sharing them on the same network?[/color]
Yes.
--
Aahz (aahz@pythoncraft.com) <*>
http://www.pythoncraft.com/
Weinberg's Second Law: If builders built buildings the way programmers wrote
programs, then the first woodpecker that came along would destroy civilization.