[Python-Dev] disable writing .py[co]

holger krekel pyth@devel.trillke.net
Tue, 21 Jan 2003 15:47:02 +0100


Skip Montanaro wrote:
> 
>     holger> Actually i'd prefer to have a runtime call to control writing
>     holger> and/or usage of .pyc files.
> 
> Initialize sys.pycroot to os.environ["PYCROOT"]?

I'd like to hear e.g. Just's oppinion on it.  Doesn't this
interfere with the (new) import mechanisms?  

I would think that a runtime interface should be a 
bit more higherlevel than setting a string with 
implicit meaning. 

    holger