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

Ka-Ping Yee python-dev at zesty.ca
Wed Nov 8 03:20:52 CET 2006

On Mon, 6 Nov 2006, Armin Rigo wrote:
> I know it's a discussion that comes up and dies out regularly.  My two
> cents is that it would be saner to have two separate concepts: cache
> files used internally by the interpreter for speed reasons only, and
> bytecode files that can be shipped and imported.

I like this approach.  Bringing source code and program behaviour closer
together makes debugging easier, and if someone wants to run Python
programs without source code, then EIBTI.

-- ?!ng

More information about the Python-Dev mailing list