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

Martin v. Löwis martin@v.loewis.de
22 Jan 2003 02:44:27 +0100


Guido van Rossum <guido@python.org> writes:

> What's the problem with compiling mm_cfg.py or site.py?  As long as
> you don't delete the .py file, the .pyc file acts only as a cache.  I
> see no need to avoid compilation.

If you change the configuration file, Python will try to regenerate
the .pyc file. This is a problem for people who don't want pyc files
written at program execution time.

Regards,
Martin