Re: revised import.c

Guido.van.Rossum@cwi.nl
Fri, 30 Jul 1993 10:36:49 +0200

> I have merged my changes to import.c into the 0.9.9 version.
> Here are the diffs for the 0.9.9 version that allow you to have
> a .pyc file without the .py file being present. Again, this still
> needs to be tested by someone that uses dynamic linking as I don't.

I can see why you'd want this in certain cases, but when I designed
this code I made a conscious decision to require that the .py should
file be there for the .pyc file to be valid -- unlike Emacs .elc
files, .pyc files can be considered as pure caches and are managed
completely automatic. Perhaps Lance's version can be made into a
compile-time or run-time option?

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>