On 3/30/06, Tim Lesher <[EMAIL PROTECTED]> wrote:

> yes but i think that will optimice for your machine.

The target for a Python compilation is the Python virtual machine, so
on any physical machine, a given version of CPython should generate the
same bytecode.  If it doesn't, it's a bug. :-)

ok good to know

> also aren't .pyc files platform dependant?

No--they're platform independent, because they are comprised of opcodes
for the Python virtual machine.  They are definitely
implementation-dependent (CPython only) and version-dependent (.pycs
compiled with one version of CPython will not work with another
version), though,

so they do depend on your instalation, not OS but your compiler.

--
Tim Lesher
[EMAIL PROTECTED]






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to