[Python-Dev] Importing .pyc in -O mode and vice versa

"Martin v. Löwis" martin at v.loewis.de
Mon Nov 6 19:03:57 CET 2006


Wolfgang Langner schrieb:
> Why not only import *.pyc files and no longer use *.pyo files.
> 
> It is simpler to have one compiled python file extension.
> PYC files can contain optimized python byte code and normal byte code.

So what would you do with the -O option of the interpreter?

Regards,
Martin


More information about the Python-Dev mailing list