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

Guido van Rossum guido@python.org
Sat, 01 Feb 2003 14:12:11 -0500


> Personally I would like to see py have the ability to *not* generate
> .pyc files.  99% of the time generation of .pyc doesn't make much
> difference to me, but there are times where you simply cannot
> generate them.

If a .pyc file can't be written, this error is silently ignored and
the .py file is compiled each time.  A feature to suppress writing
.pyc files isn't needed to support having Python installed on a
read-only filesystem.

--Guido van Rossum (home page: http://www.python.org/~guido/)