[Python-Dev] Importing .pyc in -O mode and vice versa (original) (raw)

Jean-Paul Calderone exarkun at divmod.com
Tue Nov 7 00:33:36 CET 2006


On Tue, 07 Nov 2006 12:20:00 +1300, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:

I think I'd be happy with having to do that explicitly. I expect the vast majority of Python programs don't need to track changes to the set of importable modules during execution. The exceptions would be things like IDEs, and they could do a cache flush before reloading a module, etc.

Another questionable optimization which changes application- level semantics.

No, please?

Jean-Paul



More information about the Python-Dev mailing list